@idmwx/idmui-report 2.9.9 → 3.0.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(oe,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),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-gl","@element-plus/icons-vue","element-plus","axios"],te):(oe=typeof globalThis<"u"?globalThis:oe||self,te(oe["idmui-report"]={},oe["@idmwx/idmwx-base"],oe.moment,oe.Vue,oe.echarts,oe["@wangeditor/editor-for-vue"],oe["mapbox-gl"],oe["@idmwx/idmui-gl"],oe["@element-plus/icons-vue"],oe["element-plus"],oe.axios))})(this,function(oe,te,w,e,pi,rn,fl,hi,tn,mn,gl){"use strict";function yi(t){const s=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(s,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const Uo=yi(pi),Pee="",Ee=(t,s)=>{const o=t.__vccOpts||t;for(const[c,l]of s)o[c]=l;return o},Ei={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(s)}`}}}},pn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),_i={class:"section brand-section flex-space"},Ni=e.createStaticVNode('<div class="logo-box flex-center" data-v-c0d9515b><div class="logo" data-v-c0d9515b><a href="https://fmp.idmwx.com" target="_blank" data-v-c0d9515b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-c0d9515b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-c0d9515b><div class="brand" data-v-c0d9515b><span style="text-decoration:underline;" data-v-c0d9515b>Weather Routing</span><div class="company" data-v-c0d9515b>Ocean Right Marine Service</div></div></a></div></div>',1),Vi={class:"report-box flex-space"},fi={class:"name flex-start"},gi={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Di={class:"flex-start",style:{width:"100%"}},xi={class:"label-block flex-evenly",style:{flex:"1"}},bi=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Ci={class:"flex-end",style:{flex:"2"}},Si=pn(()=>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 ki(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",_i,[Ni,e.createElementVNode("div",Vi,[e.createElementVNode("div",fi,e.toDisplayString(o.name),1),e.createElementVNode("div",gi,[e.createElementVNode("div",Di,[e.createElementVNode("div",xi,[bi,e.createElementVNode("span",Ci,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),Si])])])}const zo=Ee(Ei,[["render",ki],["__scopeId","data-v-c0d9515b"]]),Ai={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}}},Bi={key:0,class:"loading"},wi=e.createElementVNode("i",{class:"iconfont"},"",-1);function Ti(t,s,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Bi,[wi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=Ee(Ai,[["render",Ti]]),Lee="",Oi={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:zo},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,s,o,c;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=te.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 te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,h,i,_,D,S,y,N;const s={};for(let x=0;x<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);x++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[x];if(x===0)r.precip.pacc=0;else{const C=(h=t==null?void 0:t.extend)==null?void 0:h.data[x-1],k=w(r.utc).utcOffset(this.localTZ),T=w(C.utc).utcOffset(this.localTZ),P=(i=C==null?void 0:C.precip)==null?void 0:i.prate,L=k.diff(T,"h"),O=this.roundPrecision(P*L,1);if(r.precip.pacc=O,O>0){const b=s[k.format("MMM-DD")],u=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${u}`]?b[`${u}`]+=O:(b[`${u}`]=O,b.colspan+=1)):(s[k.format("MMM-DD")]={pacc:O,colspan:1},s[k.format("MMM-DD")][`${u}`]=O)}}}t.paccInDays=s;let o=0;for(const x of Object.keys(s))o+=(_=s[x])==null?void 0:_.colspan,s[x].level=((D=s[x])==null?void 0:D.pacc)<10?"Light":((S=s[x])==null?void 0:S.pacc)<24.9?"Moderate":((y=s[x])==null?void 0:y.pacc)<49.9?"Heavy":((N=s[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,h,i;this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const t=[],s=[],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=(h=(a=this.report)==null?void 0:a.extend)==null?void 0:h.data)==null||i.forEach(_=>{var S,y,N,x,r,C,k,T,P,L,O,b,u;const D=w(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),c=((y=(S=_.wave)==null?void 0:S.sig)==null?void 0:y.height)>c?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:c,s.push([D,(r=_.wind)==null?void 0:r.kts,(C=_.gusts)==null?void 0:C.kts,(T=(k=_.wave)==null?void 0:k.sig)==null?void 0:T.height,(P=_.wind)==null?void 0:P.direction,(L=_.wind)==null?void 0:L.degree,(O=_.wind)==null?void 0:O.scale,(b=_.current)==null?void 0:b.kts,(u=_.precip)==null?void 0:u.acc,this.roundPrecision(_.visibility/1852,0),_.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:s,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:s,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:s,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:s,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:s,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),Fi={class:"point-report"},ui={class:"section info-section"},Pi={class:"flex-evenly"},Li={class:"flex-space label-block",style:{width:"100%"}},Wi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),Hi={class:"flex-space label-block",style:{width:"100%"}},Mi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Gi={class:"flex-evenly"},Ii={class:"flex-space label-block",style:{width:"100%"}},Ri=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),zi={class:"flex-space label-block",style:{width:"100%"}},Ui={class:"flex-end",style:{width:"180px"}},Yi={class:"section echart-section"},Zi={ref:"echart",class:"echart"},Qi={class:"section sample-section"},Ji=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),$i=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ki=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),qi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Xi=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),ji=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),vi=["colspan"],ec=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),tc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),oc=st(()=>e.createElementVNode("th",null,"Dir",-1)),lc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ac=st(()=>e.createElementVNode("th",null,"BF",-1)),nc=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),sc=st(()=>e.createElementVNode("th",null,"Dir",-1)),ic=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),cc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),dc=st(()=>e.createElementVNode("th",null,"Dir",-1)),rc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),mc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),pc=st(()=>e.createElementVNode("th",null,"Dir",-1)),hc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),yc={key:0},Ec={key:1},_c=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Nc=st(()=>e.createElementVNode("th",null,"°C",-1)),Vc={width:"120px"},fc={key:0,class:"degree-box"},gc={key:1},Dc={key:0,class:"degree-box"},xc={key:1},bc={key:0,class:"degree-box"},Cc={key:1},Sc={key:0,class:"degree-box"},kc={key:1},Ac={key:0},Bc={key:1};function wc(t,s,o,c,l,a){var _,D,S,y;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Fi,[e.createVNode(h,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",ui,[e.createElementVNode("div",Pi,[e.createElementVNode("div",Li,[Wi,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((_=o.report)==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(a.computeLng((D=o.report)==null?void 0:D.lng).pretty),1)]),e.createElementVNode("div",Hi,[Mi,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Gi,[e.createElementVNode("div",Ii,[Ri,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",zi,[e.createElementVNode("label",Ui,"("+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",Yi,[e.createElementVNode("div",Zi,null,512)]),e.createElementVNode("div",Qi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ji,$i,Ki,qi,Xi,ji,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,vi),ec,tc]),e.createElementVNode("tr",null,[oc,lc,ac,nc,sc,ic,cc,dc,rc,mc,pc,hc,o.showPrate?(e.openBlock(),e.createElementBlock("th",yc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Ec,"Acc (mm)")):e.createCommentVNode("",!0),_c,Nc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=(S=o.report)==null?void 0:S.extend)==null?void 0:y.data,(N,x)=>{var r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",Vc,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",fc,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",gc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((P=N.wind)==null?void 0:P.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((L=N.gusts)==null?void 0:L.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((b=(O=N.wave)==null?void 0:O.wd)==null?void 0:b.height,1)),1),e.createElementVNode("td",null,[(R=(u=N.wave)==null?void 0:u.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",Dc,[e.createTextVNode(e.toDisplayString((z=(Z=N.wave)==null?void 0:Z.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=N.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",xc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((I=(Y=N.wave)==null?void 0:Y.swell)==null?void 0:I.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(H=N.wave)==null?void 0:H.swell)==null?void 0:$.period,1)),1),e.createElementVNode("td",null,[(X=(K=N.wave)==null?void 0:K.sig)!=null&&X.height?(e.openBlock(),e.createElementBlock("span",bc,[e.createTextVNode(e.toDisplayString((V=(q=N.wave)==null?void 0:q.sig)==null?void 0:V.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(M=N.wave)==null?void 0:M.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Cc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(n=N.wave)==null?void 0:n.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=N.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(le=N.current)!=null&&le.kts?(e.openBlock(),e.createElementBlock("span",Sc,[e.createTextVNode(e.toDisplayString((ee=N.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=N.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",kc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ie=N.current)==null?void 0:ie.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Ac,e.toDisplayString(a.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Bc,e.toDisplayString(a.roundPrecision((re=N.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.temp,1)),1)])}),128))])])])])}const hn=Ee(Oi,[["render",wc],["__scopeId","data-v-f465d74a"]]),Wee="",Tc={props:{name:{type:String,default:""}}},Oc={class:"section brand-section flex-space"},Fc=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"},Pc={class:"name flex-start"},Lc=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 Wc(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Oc,[Fc,e.createElementVNode("div",uc,[e.createElementVNode("div",Pc,e.toDisplayString(o.name),1),Lc])])}const ja=Ee(Tc,[["render",Wc],["__scopeId","data-v-602c94e3"]]),Hee="",Hc={name:"PointReport",components:{IdmBrand:ja},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return`${w(t).utc().format(s)}Z`}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Mc={class:"point-report"},Gc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),Ic={class:"report-header flex-center"},Rc={class:"info-box"},zc=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Uc={class:"info"},Yc=et(()=>e.createElementVNode("label",null,"Position",-1)),Zc={class:"info"},Qc=et(()=>e.createElementVNode("label",null,"Issued",-1)),Jc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),$c={class:"report-body"},Kc={class:"weather-sample"},qc=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Xc=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),jc=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),vc=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ed=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),td=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),od=["colspan"],ld=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),ad=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),nd=et(()=>e.createElementVNode("th",null,"Dir",-1)),sd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),id=et(()=>e.createElementVNode("th",null,"BF",-1)),cd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),dd=et(()=>e.createElementVNode("th",null,"Dir",-1)),rd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),md=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),pd=et(()=>e.createElementVNode("th",null,"Dir",-1)),hd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),yd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Ed=et(()=>e.createElementVNode("th",null,"Dir",-1)),_d=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Nd={key:0},Vd={key:1},fd=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),gd=et(()=>e.createElementVNode("th",null,"°C",-1)),Dd={width:"120px"},xd={key:0,class:"degree-box"},bd={key:1},Cd={key:0,class:"degree-box"},Sd={key:1},kd={key:0,class:"degree-box"},Ad={key:1},Bd={key:0,class:"degree-box"},wd={key:1},Td={key:0},Od={key:1};function Fd(t,s,o,c,l,a){const h=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Mc,[e.createVNode(h),Gc,e.createElementVNode("div",Ic,[e.createElementVNode("div",Rc,[zc,e.createElementVNode("div",Uc,[Yc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Zc,[Qc,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Jc]),e.createElementVNode("div",$c,[e.createElementVNode("div",Kc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qc,Xc,jc,vc,ed,td,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,od),ld,ad]),e.createElementVNode("tr",null,[nd,sd,id,cd,dd,rd,md,pd,hd,yd,Ed,_d,o.showPrate?(e.openBlock(),e.createElementBlock("th",Nd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Vd,"Acc (mm)")):e.createCommentVNode("",!0),fd,gd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Dd,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",xd,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((y=i.wind)==null?void 0:y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",bd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=i.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((x=i.wind)==null?void 0:x.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((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(P=(T=i.wave)==null?void 0:T.swell)!=null&&P.height?(e.openBlock(),e.createElementBlock("span",Cd,[e.createTextVNode(e.toDisplayString((O=(L=i.wave)==null?void 0:L.swell)==null?void 0:O.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((u=(b=i.wave)==null?void 0:b.swell)==null?void 0:u.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Sd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(R=i.wave)==null?void 0:R.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(z=i.wave)==null?void 0:z.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(Y=(f=i.wave)==null?void 0:f.sig)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",kd,[e.createTextVNode(e.toDisplayString((H=(I=i.wave)==null?void 0:I.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=($=i.wave)==null?void 0:$.sig)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=(X=i.wave)==null?void 0:X.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(V=i.wave)==null?void 0:V.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",Bd,[e.createTextVNode(e.toDisplayString((n=i.current)==null?void 0:n.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((j=i.current)==null?void 0:j.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",wd,"-"))]),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",Td,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Od,e.toDisplayString(a.roundPrecision((le=i.precip)==null?void 0:le.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 yn=Ee(Hc,[["render",Fd],["__scopeId","data-v-2fead0ca"]]),ud={install(t){t.component("ORMPointReport",hn),t.component("PointReport",yn)}},Pd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Ld={class:"logo"},Wd=[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 Hd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Ld,Wd)}const Md=Ee(Pd,[["render",Hd]]),Gd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Id={class:"logo"},Rd=[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 zd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Id,Rd)}const Ud=Ee(Gd,[["render",zd]]),Yd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Zd={class:"logo"},Qd=[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 Jd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Zd,Qd)}const $d=Ee(Yd,[["render",Jd]]),Ree="",Kd={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=te.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}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),qd={class:"lng-box"},Xd={key:0},jd=En(()=>e.createElementVNode("span",null,"°",-1)),vd=En(()=>e.createElementVNode("span",null,"'",-1));function er(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",qd,[o.label?(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),jd,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),vd,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const va=Ee(Kd,[["render",er],["__scopeId","data-v-533ec662"]]),zee="",tr={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}}},_n=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),or={class:"lat-box"},lr={key:0},ar=_n(()=>e.createElementVNode("span",null,"°",-1)),nr=_n(()=>e.createElementVNode("span",null,"'",-1));function sr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",or,[o.label?(e.openBlock(),e.createElementBlock("span",lr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),ar,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),nr,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const en=Ee(tr,[["render",sr],["__scopeId","data-v-d3432239"]]),Uee="",ir={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.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 s,o;t?(s=this.editor)==null||s.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 s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.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()}}},cr={class:"editor-box"};function dr(t,s,o,c,l,a){const h=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cr,[e.withDirectives(e.createVNode(h,{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":s[0]||(s[0]=_=>l.valueHtml=_),"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 Ro=Ee(ir,[["render",dr],["__scopeId","data-v-0d3b5c3c"]]),rr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4NGycoqe6QSs7QQqzOWtmH6aG5XvG+/f+iH0Tc6PCTYyvIsZaCRAASG3LaWtL52k2H+j8Nvpzxcys6Nn+BFOovDIkt2dqZa8kVekBj9PFxUSJ1dcvPI1uuRUQ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6uP5srdGsBWni4H5QLwgAtdAX+9OzkQ3AFMA7Ee7L7btB4DZwOnAsb93cBj9B4DLDwf4MpAE7gH4nQXcCHQATxXGOxvt1cA/A4cLMvwT2uGF9z1nZDw/9+c6byWQ7k2kAg+/AfCG/z8BnJ7T4sKgz6C9DXgY6Dln4oH5LJiJ7gZ+CPQ4LpferwP8zWTg+cLkS9HyaSWP/U1gKnAlwBXuPGAFwIvZBiQAJj4LKAH4uDYCfALYD2wAjkskhRe8OvcCPwOYKK/kNOBbAGfuWwqDoPm/62ncMfHHgN4RiLV8M3AtwEc7rOG/A/gHUV40JrEZuB44FziWCE9QCSwDTgYWAVXAQ8AvgfuA7t1jb40wke8Aq4AeInfi/kKAV49N7ksAr9ax178VJmBBe9TPP5R+tSDIo4Xx/hutC7CW+ShpDcDEeYFWA2wqbEo9GuE52ITY1MYACwE2T16AnwMsZ/c1VETWYiz2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Yee="",Zee="",mr={name:"RouteReport",components:{Lng:va,Lat:en,Editor:Ro,Route1:Md,Route2:Ud,Route3:$d,IdmBrand:ja},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`${w(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,s){const o=w(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((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,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,h;const s=(h=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:h.hours,o=s[0],c=s[s.length-1];return w(c.eta).diff(w(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,s,o,c,l,a,h,i,_,D;if(this.sogChart||(this.sogChart=e.markRaw(Uo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Uo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Uo.init(this.$refs.waveChart))),(s=(t=this.plan)==null?void 0:t.speeds)!=null&&s.length){const S=[],y={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],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:[]},N={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],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:[]},x={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],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,C;for(let k=0;k<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);k++){const T=(l=this.plan)==null?void 0:l.speeds[k].speed,P=[],L=[],O=[],b=[];for(let z=0;z<T.sample.hours.length;z++){const W=T.sample.hours[z];if(k===0){r||(r=w(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const $=w(W.eta).utc();if($.isAfter(C))break;S.push(`${$.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),I=this.roundPrecision((h=(a=W.meteo)==null?void 0:a.wind)==null?void 0:h.kts,1),H=this.roundPrecision((D=(_=(i=W.meteo)==null?void 0:i.wave)==null?void 0:_.sig)==null?void 0:D.height,1);P.push(f),O.push(I),b.push(H),L.push(Y)}const u={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:P},R={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:O},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:b};y.series.push(u),N.series.push(R),x.series.push(Z)}this.sogChart.setOption(y),this.windChart.setOption(N),this.waveChart.setOption(x)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),pr={class:"route-report"},hr={class:"report-header flex-space"},yr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:rr,alt:""},null,-1)),Er=it(()=>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)),_r={class:"issued flex-end"},Nr=it(()=>e.createElementVNode("label",null,"Issued",-1)),Vr={class:"report-body"},fr={class:"voyage-summary flex-space"},gr={class:"title"},Dr={key:0},xr={key:1},br={key:0,class:"initial"},Cr={key:1,class:"warning"},Sr={class:"summary flex-start"},kr={class:"summary-item"},Ar=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Br={class:"summary-item"},wr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),Tr={key:0},Or={key:1,class:"flex-start"},Fr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ur={class:"summary-item"},Pr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Lr={key:0},Wr={key:1,class:"flex-start"},Hr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mr={class:"route-advisory"},Gr={class:"charts"},Ir={key:0},Rr=["src"],zr={class:"legend-box"},Ur=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),Yr={key:0,class:"legend-item"},Zr=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Qr={key:1,class:"legend-item"},Jr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],$r={key:1,class:"empty"},Kr={class:"route-comparison"},qr=it(()=>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)),Xr={class:"container"},jr={key:0},vr=it(()=>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)),em=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),tm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),om=it(()=>e.createElementVNode("th",null,"*FO",-1)),lm=it(()=>e.createElementVNode("th",null,"*DO",-1)),am={colspan:"3"},nm={rowspan:"2"},sm={rowspan:"2"},im={rowspan:"2"},cm={rowspan:"2"},dm={rowspan:"2"},rm={rowspan:"2"},mm={rowspan:"2"},pm={rowspan:"2"},hm={rowspan:"2"},ym={class:"route-advisory",style:{"page-break-after":"always"}},Em={class:"advisory"},_m={class:"reason"},Nm={class:"secondary-title flex-space"},Vm=it(()=>e.createElementVNode("div",null,"Note",-1)),fm=["innerHTML"],gm={class:"major-waypoints"},Dm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),xm={class:"container"},bm=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),Cm={class:"body"},Sm={class:"cell-item",style:{width:"180px"}},km={key:0,class:"flex-center"},Am={key:1,class:"flex-center"},Bm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wm={key:0},Tm={class:"cell-item",style:{width:"100px"}},Om={key:0,class:"cell-item offset",style:{width:"35px"}},Fm={key:1,class:"cell-item offset",style:{width:"55px"}},um={key:2,class:"cell-item offset",style:{width:"40px"}},Pm={key:3,class:"cell-item offset",style:{width:"125px"}},Lm={class:"weather-eChart"},Wm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),Hm={ref:"sogChart",class:"eChart"},Mm={ref:"windChart",class:"eChart wind"},Gm={ref:"waveChart",class:"eChart"},Im={class:"weather-sample"},Rm={class:"secondary-title"},zm=it(()=>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)),Um={class:"flex-center"},Ym=it(()=>e.createElementVNode("span",null,"/",-1)),Zm={key:0,class:"degree-box"},Qm={key:1},Jm={key:0,class:"degree-box"},$m={key:1},Km={key:0,class:"degree-box"},qm={key:1},Xm={key:0,class:"degree-box"},jm={key:1};function vm(t,s,o,c,l,a){var S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pr,[e.createVNode(h,{name:"Voyage Planning"}),e.createElementVNode("div",hr,[yr,Er,e.createElementVNode("div",_r,[Nr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",Vr,[e.createElementVNode("div",fr,[e.createElementVNode("div",gr,[((y=o.plan)==null?void 0:y.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",Dr,"Recommended Route Report for "+e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",xr,"Route Report for "+e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name),1)),e.createElementVNode("div",null,[((P=o.plan)==null?void 0:P.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",br,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",Cr,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Sr,[e.createElementVNode("div",kr,[Ar,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",Br,[wr,(Z=(R=(u=o.plan)==null?void 0:u.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",Tr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(i,{lat:(I=(Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure)==null?void 0:I.lat,label:""},null,8,["lat"]),Fr,e.createVNode(_,{lng:(K=($=(H=o.plan)==null?void 0:H.leg)==null?void 0:$.departure)==null?void 0:K.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",ur,[Pr,(V=(q=(X=o.plan)==null?void 0:X.leg)==null?void 0:q.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Lr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Wr,[e.createVNode(i,{lat:(j=(n=(J=o.plan)==null?void 0:J.leg)==null?void 0:n.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Hr,e.createVNode(_,{lat:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Mr,[e.createElementVNode("div",Gr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",Ir,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Rr),e.createElementVNode("div",zr,[Ur,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Yr,Zr)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Qr,Jr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",$r,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[0]||(s[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Kr,[qr,e.createElementVNode("div",Xr,[(ce=(pe=o.plan)==null?void 0:pe.speeds)!=null&&ce.length?(e.openBlock(),e.createElementBlock("table",jr,[e.createElementVNode("thead",null,[vr,e.createElementVNode("tr",null,[em,tm,om,lm,e.createElementVNode("th",am,"*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,(F,ye)=>{var Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ye},[e.createElementVNode("tr",null,[e.createElementVNode("td",nm,e.toDisplayString(ye+1),1),e.createElementVNode("td",sm,e.toDisplayString((Le=(Pe=F.speed)==null?void 0:Pe.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=F.speed)==null?void 0:We.label)??"CP"} ${((we=F.speed)==null?void 0:we.v0)??(($e=(He=F.speed)==null?void 0:He.cpCopy)==null?void 0:$e.speed)}`),1),e.createElementVNode("td",im,e.toDisplayString(a.roundPrecision((Ke=F.speed)==null?void 0:Ke.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=F.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",cm,e.toDisplayString(a.computeTimeDiff(o.plan,ye)),1),e.createElementVNode("td",dm,e.toDisplayString(a.roundPrecision((Oe=F.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",rm,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",mm,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",pm,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",hm,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(E=F.speed)==null?void 0:E.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((fe=F.speed)==null?void 0:fe.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ym,[e.createElementVNode("div",Em,[e.createElementVNode("div",_m,[e.createElementVNode("div",Nm,[Vm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:s[1]||(s[1]=F=>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":s[2]||(s[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,fm))])]),e.createElementVNode("div",gm,[Dm,e.createElementVNode("div",xm,[bm,e.createElementVNode("div",Cm,[(De=(ge=o.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Se=(Ce=(be=(xe=o.plan)==null?void 0:xe.speeds[0])==null?void 0:be.speed)==null?void 0:Ce.sample)==null?void 0:Se.wps),(F,ye)=>(e.openBlock(),e.createElementBlock("div",{key:ye,class:"cell-row"},[e.createElementVNode("div",Sm,[F.isResume?(e.openBlock(),e.createElementBlock("div",km,"Resume")):(e.openBlock(),e.createElementBlock("div",Am,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),Bm,e.createVNode(_,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",wm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Tm,e.toDisplayString(a.computeUTCTime(F.eta)),1),ye?(e.openBlock(),e.createElementBlock("div",Om,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",Fm,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",um,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",Pm,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lm,[Wm,e.createElementVNode("div",Hm,null,512),e.createElementVNode("div",Mm,null,512),e.createElementVNode("div",Gm,null,512)]),e.createElementVNode("div",Im,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Rm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[zm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ve=(ue=(Fe=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:Fe.speed)==null?void 0:ue.sample)==null?void 0:Ve.hours,(F,ye)=>{var Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:ye,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Um,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),Ym,e.createVNode(_,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(Pe=F.meteo)==null?void 0:Pe.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Zm,[e.createTextVNode(e.toDisplayString((we=(We=F.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($e=(He=F.meteo)==null?void 0:He.wind)==null?void 0:$e.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(Ke=F.meteo)==null?void 0:Ke.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=F.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Jm,[e.createTextVNode(e.toDisplayString((Q=(E=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:E.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(fe=F.meteo)==null?void 0:fe.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",$m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=(qe=(me=F.meteo)==null?void 0:me.wave)==null?void 0:qe.swell)==null?void 0:je.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(mt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",Km,[e.createTextVNode(e.toDisplayString((yt=(ht=(pt=F.meteo)==null?void 0:pt.wave)==null?void 0:ht.sig)==null?void 0:yt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(Et=F.meteo)==null?void 0:Et.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=F.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(xt=(Dt=F.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=F.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",Xm,[e.createTextVNode(e.toDisplayString((At=(kt=F.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",jm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=F.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=Ee(mr,[["render",vm],["__scopeId","data-v-ba499fc2"]]),qee="",ep={name:"RouteReport",components:{Lng:va,Lat:en,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLTime(){return function(t,s){const o=w(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((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,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,h;const s=(h=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:h.hours,o=s[0],c=s[s.length-1];return w(c.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.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}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),tp={class:"route-report"},op=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),lp={class:"section"},ap=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),np={class:"section-body basics"},sp={class:"flex-space section-row"},ip={class:"flex-start"},cp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),dp={class:"flex-start"},rp={class:"flex-start"},mp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),pp={class:"flex-start flex"},hp={key:0,class:"flex"},yp={key:1,class:"flex-space flex"},Ep=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_p={class:"time flex"},Np={class:"flex-space section-row"},Vp={class:"flex-start"},fp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),gp={class:"flex-start"},Dp={class:"flex-start"},xp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),bp={class:"flex-start flex"},Cp={key:0,class:"flex"},Sp={key:1,class:"flex-space"},kp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ap={class:"time flex"},Bp={class:"flex-space section-row"},wp={class:"flex-start"},Tp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Op={class:"flex-start"},Fp={class:"flex-start"},up=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Pp={class:"flex-start flex"},Lp={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Wp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Hp={class:"section-body detail"},Mp={class:"flex-space",style:{"align-items":"stretch"}},Gp={class:"chart"},Ip=["src"],Rp={key:1,class:"empty flex-center"},zp={class:"route flex",style:{"justify-content":"space-between"}},Up=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Yp={class:"suggestion"},Zp=["innerHTML"],Qp={class:"flex-start legends"},Jp=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),$p={key:0,class:"legend"},Kp=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],qp={key:1,class:"legend"},Xp=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],jp={class:"section"},vp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),eh={class:"section-body comparison"},th={class:"container"},oh={key:0},lh=ct(()=>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)),ah={class:"section",style:{"page-break-inside":"avoid"}},nh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),sh={class:"section-body sample"},ih={class:"major-waypoints"},ch={class:"container"},dh=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),rh={class:"body"},mh={class:"cell-item flexM"},ph={class:"flex-center"},hh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),yh={class:"cell-item flexL"},Eh={key:0,class:"flex-center"},_h={key:1},Nh={class:"cell-item flex"},Vh={key:0,class:"cell-item flex offset"},fh={key:1,class:"cell-item flex nbsp"},gh={key:2,class:"cell-item flex offset"},Dh={key:3,class:"cell-item flex nbsp"},xh={key:4,class:"cell-item flex offset"},bh={key:5,class:"cell-item flex nbsp"},Ch={class:"section"},Sh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),kh={class:"section-body sample"},Ah={key:0},Bh=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)),wh={class:"flex-center"},Th=ct(()=>e.createElementVNode("span",null,"/",-1)),Oh={key:0,class:"degree-box"},Fh={key:1},uh={key:0,class:"degree-box"},Ph={key:1},Lh={key:0,class:"degree-box"},Wh={key:1},Hh={key:0,class:"degree-box"},Mh={key:1},Gh=ct(()=>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 Ih(t,s,o,c,l,a){var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",tp,[op,e.createElementVNode("div",lp,[ap,e.createElementVNode("div",np,[e.createElementVNode("div",sp,[e.createElementVNode("div",ip,[cp,e.createElementVNode("div",dp,e.toDisplayString((y=(S=(D=o.plan)==null?void 0:D.voyage)==null?void 0:S.company)==null?void 0:y.name),1)]),e.createElementVNode("div",rp,[mp,e.createElementVNode("div",pp,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",hp,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",yp,[e.createVNode(h,{lat:(L=(P=(T=o.plan)==null?void 0:T.leg)==null?void 0:P.departure)==null?void 0:L.lat,label:""},null,8,["lat"]),Ep,e.createVNode(i,{lng:(u=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:u.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",_p,e.toDisplayString(a.computeUTCTime(((z=(Z=(R=o.plan)==null?void 0:R.leg)==null?void 0:Z.departure)==null?void 0:z.atd)||((Y=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:Y.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[fp,e.createElementVNode("div",gp,e.toDisplayString(($=(H=(I=o.plan)==null?void 0:I.voyage)==null?void 0:H.vessel)==null?void 0:$.name),1)]),e.createElementVNode("div",Dp,[xp,e.createElementVNode("div",bp,[(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.destination)!=null&&q.name?(e.openBlock(),e.createElementBlock("div",Cp,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Sp,[e.createVNode(h,{lat:(j=(n=(J=o.plan)==null?void 0:J.leg)==null?void 0:n.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),kp,e.createVNode(i,{lng:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Ap,e.toDisplayString(a.computeUTCTime(((ie=(se=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:se[0])==null?void 0:ie.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",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("div",Op,e.toDisplayString(a.computeUTCTime((pe=o.plan)==null?void 0:pe.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Fp,[up,e.createElementVNode("div",Pp,[e.createElementVNode("div",null,e.toDisplayString((he=(ce=o.plan)==null?void 0:ce.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Lp,[Wp,e.createElementVNode("div",Hp,[e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[(ge=o.plan)!=null&&ge.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(De=o.plan)==null?void 0:De.chartUrl},null,8,Ip)):(e.openBlock(),e.createElementBlock("div",Rp,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",zp,[e.createElementVNode("div",null,[Up,e.createElementVNode("div",Yp,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:s[2]||(s[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Zp))])]),e.createElementVNode("div",Qp,[Jp,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",$p,Kp)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",qp,Xp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",jp,[vp,e.createElementVNode("div",eh,[e.createElementVNode("div",th,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",oh,[lh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Be=o.plan)==null?void 0:Be.speeds,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve;return e.openBlock(),e.createElementBlock("tr",{key:Oe},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Oe+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ze=U.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=U.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=U.speed)==null?void 0:Ye.v0)??((Qe=(Ze=U.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((E=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:E.fo)+" FO / "+e.toDisplayString((fe=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:fe.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Te=U.speed)==null?void 0:Te.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=U.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((me=U.speed)==null?void 0:me.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((qe=U.speed)==null?void 0:qe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=U.speed)==null?void 0:je.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=U.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[e.createElementVNode("div",ih,[e.createElementVNode("div",ch,[dh,e.createElementVNode("div",rh,[(ue=(Fe=o.plan)==null?void 0:Fe.speeds)!=null&&ue.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(ye=(F=(Ve=o.plan)==null?void 0:Ve.speeds[0])==null?void 0:F.speed)==null?void 0:ye.sample)==null?void 0:Pe.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",mh,[e.createElementVNode("div",ph,[e.createVNode(h,{lat:U.lat,label:""},null,8,["lat"]),hh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",yh,[U.name?(e.openBlock(),e.createElementBlock("span",Eh,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",_h,"-"))]),e.createElementVNode("div",Nh,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",Vh,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",fh)),Oe?(e.openBlock(),e.createElementBlock("div",gh,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Dh)),Oe?(e.openBlock(),e.createElementBlock("div",xh,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",bh))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",kh,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",Ah,[Bh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=($e=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:$e.sample)==null?void 0:Ke.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("tr",{key:Oe,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",wh,[e.createVNode(h,{lat:U.lat,label:""},null,8,["lat"]),Th,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(ze=U.meteo)==null?void 0:ze.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",Oh,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",Fh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=U.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((fe=(Q=(E=U.meteo)==null?void 0:E.wave)==null?void 0:Q.wd)==null?void 0:fe.height,1)),1),e.createElementVNode("td",null,[(me=(Me=(Te=U.meteo)==null?void 0:Te.wave)==null?void 0:Me.swell)!=null&&me.height?(e.openBlock(),e.createElementBlock("span",uh,e.toDisplayString((ve=(je=(qe=U.meteo)==null?void 0:qe.wave)==null?void 0:je.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Ph,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=U.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((pt=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:pt.period,1)),1),e.createElementVNode("td",null,[(Et=(yt=(ht=U.meteo)==null?void 0:ht.wave)==null?void 0:yt.sig)!=null&&Et.height?(e.openBlock(),e.createElementBlock("span",Lh,e.toDisplayString((Vt=(Nt=(_t=U.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.direction),1)):(e.openBlock(),e.createElementBlock("span",Wh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=U.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=U.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=U.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",Hh,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Mh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Tt=(wt=U.meteo)==null?void 0:wt.current)==null?void 0:Tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Gh])}const Nn=Ee(ep,[["render",Ih],["__scopeId","data-v-afd0f0bf"]]),tte="",Rh={name:"OrmRouteReport",components:{Lng:va,Lat:en,Editor:Ro,Brand:zo,Loading:on},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLTime(){return function(t,s,o){let c=0;return o&&s&&(c=te.LngLatHelper.guessTimeZoneOffset(s,o)),`${w(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var o,c,l,a,h;if(s===0)return"-";{const i=w((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[s])==null?void 0:c.speed)==null?void 0:l.eta).diff(w((h=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:h.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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 s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var a,h,i,_;const o=(_=(i=(h=(a=t==null?void 0:t.speeds)==null?void 0:a[s])==null?void 0:h.speed)==null?void 0:i.sample)==null?void 0:_.hours,c=o[0],l=o[o.length-1];return Math.round(w(l.eta).diff(w(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.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(Uo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,D,S,y,N,x,r;const t=[],s=[],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((C,k)=>{c[C]=Math.PI/8*k});const a=18;let h=4;(x=(N=(y=(S=(D=(_=this.plan)==null?void 0:_.speeds)==null?void 0:D[this.speedIndex])==null?void 0:S.speed)==null?void 0:y.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var T,P,L,O,b,u,R,Z,z,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),h=Math.ceil(((P=(T=k.wave)==null?void 0:T.sig)==null?void 0:P.height)>h?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:h),s.push([f,(b=k.wind)==null?void 0:b.kts,(R=(u=k.wave)==null?void 0:u.sig)==null?void 0:R.height,(Z=k.wind)==null?void 0:Z.direction,(z=k.wind)==null?void 0:z.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.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:h,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:s,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:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=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:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:s,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:s,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:s,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-530b57c2"),t=t(),e.popScopeId(),t),zh={class:"voyage-plan"},Uh={class:"plan-report"},Yh={class:"section voyage-section flex-space"},Zh={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Qh={class:"flex-start label-block",style:{width:"100%"}},Jh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),$h={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Kh={class:"flex-start label-block",style:{width:"100%"}},qh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Xh={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},jh={class:"flex-start label-block",style:{width:"100%"}},vh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),e1={class:"flex-end"},t1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},o1={class:"flex-start label-block",style:{width:"100%"}},l1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),a1={key:0,class:"flex-end",style:{flex:"1"}},n1={key:1,class:"flex-end",style:{flex:"1"}},s1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),i1={class:"flex-end",style:{width:"120px"}},c1={class:"flex-space label-block",style:{width:"100%"}},d1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),r1={key:0,class:"flex-end",style:{flex:"1"}},m1={key:1,class:"flex-end",style:{flex:"1"}},p1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),h1={class:"flex-end",style:{width:"120px"}},y1={class:"flex-space label-block",style:{width:"100%"}},E1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),_1={class:"flex-end",style:{"text-transform":"uppercase"}},N1={class:"section chart-section"},V1=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),f1={class:"flex-center"},g1=["src"],D1={class:"legends"},x1=e.createStaticVNode('<div class="legend" data-v-530b57c2><label style="background-color:var(--idm-dangerous);" data-v-530b57c2></label><span data-v-530b57c2>Dangerous</span></div><div class="legend" data-v-530b57c2><label style="background-color:var(--idm-severe);" data-v-530b57c2></label><span data-v-530b57c2>Severe</span></div><div class="legend" data-v-530b57c2><label style="background-color:var(--idm-heavy);" data-v-530b57c2></label><span data-v-530b57c2>Heavy</span></div>',3),b1={class:"legend"},C1=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),S1={key:0,class:"legend"},k1=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),A1={key:1,class:"legend"},B1=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),w1={key:1,class:"empty"},T1={class:"section comparison-section"},O1={key:0},F1=dt(()=>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 (LT)"),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)),u1=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),P1=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),L1=dt(()=>e.createElementVNode("th",null,"*FO",-1)),W1=dt(()=>e.createElementVNode("th",null,"*DO",-1)),H1={colspan:"3"},M1={rowspan:"2"},G1={rowspan:"2"},I1={rowspan:"2"},R1={rowspan:"2"},z1={rowspan:"2"},U1={rowspan:"2"},Y1={rowspan:"2"},Z1={rowspan:"2"},Q1={rowspan:"2"},J1=dt(()=>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)),$1={class:"section waypoint-section"},K1={class:"header-block flex-start"},q1=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),X1={class:"title"},j1={key:0,class:"flex-end",style:{flex:"1"}},v1=["onClick"],ey={class:"advisory"},ty=["innerHTML"],oy={class:"major-waypoint"},ly=e.createStaticVNode('<div class="major-header" data-v-530b57c2><div class="cell-item flex" style="flex:1.5;" data-v-530b57c2>Major waypoint</div><div class="cell-item flex" data-v-530b57c2>Time</div><div class="cell-item flex" data-v-530b57c2>Nav</div><div class="cell-item flex" data-v-530b57c2>Dist</div><div class="cell-item flex" data-v-530b57c2>SOG</div><div class="cell-item flex" data-v-530b57c2>Memo</div></div>',1),ay={class:"major-body"},ny={class:"cell-item flex",style:{flex:"1.5"}},sy={key:0,class:"flex-center"},iy={key:1,class:"flex-center"},cy=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),dy={key:0},ry={class:"cell-item flex"},my={key:0,class:"cell-item flex offset"},py={key:1,class:"cell-item flex nbsp"},hy={key:2,class:"cell-item flex offset"},yy={key:3,class:"cell-item flex nbsp"},Ey={key:4,class:"cell-item flex offset"},_y={key:5,class:"cell-item flex nbsp"},Ny={key:6,class:"cell-item flex offset"},Vy={key:7,class:"cell-item flex nbsp"},fy={class:"section forecast-section"},gy={class:"header-block flex-start"},Dy=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xy={class:"title"},by={key:0,class:"flex-end",style:{flex:"1"}},Cy=["onClick"],Sy={class:"echart-block"},ky={ref:"echart",class:"echart"},Ay=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)),By={class:"flex-center"},wy=dt(()=>e.createElementVNode("span",null,"/",-1)),Ty={key:0,class:"degree-box"},Oy={key:1},Fy={key:0,class:"degree-box"},uy={key:1},Py={key:0,class:"degree-box"},Ly={key:1},Wy={key:0,class:"degree-box"},Hy={key:1},My=dt(()=>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 Gy(t,s,o,c,l,a){var y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo;const h=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zh,[e.createElementVNode("div",Uh,[e.createVNode(h,{name:"Voyage Planning",issued:(y=o.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=G=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[e.createElementVNode("div",Qh,[Jh,e.createElementVNode("span",$h,e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.company)==null?void 0:r.name),1)]),e.createElementVNode("div",Kh,[qh,e.createElementVNode("span",Xh,e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((b=(O=(L=(P=o.plan)==null?void 0:P.voyage)==null?void 0:L.vessel)==null?void 0:O.vesselType)==null?void 0:b.name)+")",1)]),e.createElementVNode("div",jh,[vh,e.createElementVNode("span",e1,e.toDisplayString((R=(u=o.plan)==null?void 0:u.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",t1,[e.createElementVNode("div",o1,[l1,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",a1,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",n1,[e.createVNode(_,{lat:($=(H=(I=o.plan)==null?void 0:I.leg)==null?void 0:H.departure)==null?void 0:$.lat,label:""},null,8,["lat"]),s1,e.createVNode(D,{lng:(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.departure)==null?void 0:q.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",i1,e.toDisplayString(a.computeUTCTime(((J=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:J.atd)||((d=(j=(n=o.plan)==null?void 0:n.leg)==null?void 0:j.departure)==null?void 0:d.etd)||((se=(ee=(le=(v=o.plan)==null?void 0:v.speeds)==null?void 0:le[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",c1,[d1,(re=(de=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",r1,e.toDisplayString((he=(ce=(pe=o.plan)==null?void 0:pe.leg)==null?void 0:ce.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",m1,[e.createVNode(_,{lat:(xe=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:xe.lat,label:""},null,8,["lat"]),p1,e.createVNode(D,{lng:(Se=(Ce=(be=o.plan)==null?void 0:be.leg)==null?void 0:Ce.destination)==null?void 0:Se.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",h1,e.toDisplayString(a.computeUTCTime(((Fe=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:Fe.ata)||((ye=(F=(Ve=(ue=o.plan)==null?void 0:ue.speeds)==null?void 0:Ve[l.speedIndex])==null?void 0:F.speed)==null?void 0:ye.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",y1,[E1,e.createElementVNode("span",_1,e.toDisplayString((Le=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",N1,[V1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",f1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,g1)]),e.createElementVNode("div",D1,[x1,e.createElementVNode("div",b1,[C1,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=G=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(Ke=($e=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:$e.speed)==null?void 0:Ke.lane)==null?void 0:U.name),1)]),((ze=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ze.length)>1?(e.openBlock(),e.createElementBlock("div",S1,[k1,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=G=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((Q=(E=o.plan)==null?void 0:E.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",A1,[B1,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=G=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((qe=(me=(Me=(Te=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",w1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...G)=>a.handleRefresh&&a.handleRefresh(...G))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",T1,[(ve=(je=o.plan)==null?void 0:je.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",O1,[e.createElementVNode("thead",null,[F1,e.createElementVNode("tr",null,[u1,P1,L1,W1,e.createElementVNode("th",H1,"*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((ot=o.plan)==null?void 0:ot.speeds,(G,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",M1,e.toDisplayString(tt+1),1),e.createElementVNode("td",G1,e.toDisplayString((Ft=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=G.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=G.speed)==null?void 0:Gt.v0)??((Rt=(It=G.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",I1,e.toDisplayString(a.roundPrecision((zt=G.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=G.speed)==null?void 0:Ut.eta,(Qt=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lng,(Kt=($t=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:$t.destination)==null?void 0:Kt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((qt=G.speed)==null?void 0:qt.eta))+"]",1)]),e.createElementVNode("td",R1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",z1,e.toDisplayString(a.roundPrecision((Xt=G.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",U1,e.toDisplayString(a.roundPrecision((jt=G.speed)==null?void 0:jt.totalDgoCons,3)),1),e.createElementVNode("td",Y1,e.toDisplayString(a.roundPrecision(((vt=G.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",Z1,e.toDisplayString(a.roundPrecision(((eo=G.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",Q1,e.toDisplayString(a.roundPrecision(((to=G.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=G.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=G.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=G.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=G.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=G.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),J1]),e.createElementVNode("div",$1,[e.createElementVNode("div",K1,[q1,e.createElementVNode("div",X1,"Advisory & Major Waypoint of Route "+e.toDisplayString((mt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:mt.name),1),((ht=(pt=o.plan)==null?void 0:pt.speeds)==null?void 0:ht.length)>1?(e.openBlock(),e.createElementBlock("div",j1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((yt=o.plan)==null?void 0:yt.speeds,(G,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,v1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ey,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=G=>l.advisory=G),class:"editor",height:"120px",onBlur:s[6]||(s[6]=G=>a.handleCommit(G))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...G)=>a.handleEdit&&a.handleEdit(...G)),innerHTML:l.advisory},null,40,ty))]),e.createElementVNode("div",oy,[ly,e.createElementVNode("div",ay,[(_t=(Et=o.plan)==null?void 0:Et.speeds)!=null&&_t.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)==null?void 0:Vt[l.speedIndex])==null?void 0:ft.speed)==null?void 0:gt.sample)==null?void 0:Dt.wps),(G,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",ny,[G.isResume?(e.openBlock(),e.createElementBlock("div",sy,"Resume")):(e.openBlock(),e.createElementBlock("div",iy,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),cy,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"]),G.pilot?(e.openBlock(),e.createElementBlock("span",dy," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",ry,e.toDisplayString(a.computeUTCTime(G.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",my,e.toDisplayString(a.computeNav(G)),1)):(e.openBlock(),e.createElementBlock("div",py)),tt?(e.openBlock(),e.createElementBlock("div",hy,e.toDisplayString(a.roundPrecision(G.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",yy)),tt?(e.openBlock(),e.createElementBlock("div",Ey,e.toDisplayString(a.roundPrecision(G.avgSpd??G.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",_y)),tt?(e.openBlock(),e.createElementBlock("div",Ny,e.toDisplayString(a.computeMemo(G)),1)):(e.openBlock(),e.createElementBlock("div",Vy))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",fy,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",gy,[Dy,e.createElementVNode("div",xy,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Bt=(At=(kt=(St=(Ct=o.plan)==null?void 0:Ct.speeds)==null?void 0:St[l.speedIndex])==null?void 0:kt.speed)==null?void 0:At.lane)==null?void 0:Bt.name),1),((Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt.length)>1?(e.openBlock(),e.createElementBlock("div",by,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(G,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=G==null?void 0:G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,Cy)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Sy,[e.createElementVNode("div",ky,null,512)]),e.createElementVNode("table",null,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(Eo=(po=o.plan)==null?void 0:po.speeds)==null?void 0:Eo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(G,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(G.isDangerous?"dangerous":G.isSevere?"severe":G.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(G.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",By,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),wy,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ft=(Ot=G.meteo)==null?void 0:Ot.wind)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",Ty,[e.createTextVNode(e.toDisplayString((Gt=(Mt=G.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=G.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Oy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=G.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=(Zt=(Yt=G.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(Kt=($t=(Jt=G.meteo)==null?void 0:Jt.wave)==null?void 0:$t.swell)!=null&&Kt.height?(e.openBlock(),e.createElementBlock("span",Fy,[e.createTextVNode(e.toDisplayString((jt=(Xt=(qt=G.meteo)==null?void 0:qt.wave)==null?void 0:Xt.swell)==null?void 0:jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=G.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=G.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=G.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(go=(fo=(co=G.meteo)==null?void 0:co.wave)==null?void 0:fo.sig)!=null&&go.height?(e.openBlock(),e.createElementBlock("span",Py,[e.createTextVNode(e.toDisplayString((bo=(xo=(Do=G.meteo)==null?void 0:Do.wave)==null?void 0:xo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ko=(So=(Co=G.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ly,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((wo=(Bo=(Ao=G.meteo)==null?void 0:Ao.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Fo=(Oo=(To=G.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(Po=(uo=G.meteo)==null?void 0:uo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",Wy,[e.createTextVNode(e.toDisplayString((Wo=(Lo=G.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Mo=(Ho=G.meteo)==null?void 0:Ho.current)==null?void 0:Mo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Hy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Io=(Go=G.meteo)==null?void 0:Go.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(G.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),My])])])}const Vn=Ee(Rh,[["render",Gy],["__scopeId","data-v-530b57c2"]]),Iy={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},Ry={install(t){t.component("IdmEditor",Ro)}},zy={install(t){t.component("IdmLat",en)}},Uy={install(t){t.component("IdmLng",va)}},Yy={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},Zy={class:"logo"},Qy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Jy=["fill","fill-opacity"],$y=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(oe,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),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-gl","@element-plus/icons-vue","element-plus","axios"],te):(oe=typeof globalThis<"u"?globalThis:oe||self,te(oe["idmui-report"]={},oe["@idmwx/idmwx-base"],oe.moment,oe.Vue,oe.echarts,oe["@wangeditor/editor-for-vue"],oe["mapbox-gl"],oe["@idmwx/idmui-gl"],oe["@element-plus/icons-vue"],oe["element-plus"],oe.axios))})(this,function(oe,te,w,e,pi,rn,fl,hi,tn,mn,gl){"use strict";function yi(t){const s=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(s,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const Uo=yi(pi),Pee="",Ee=(t,s)=>{const o=t.__vccOpts||t;for(const[c,l]of s)o[c]=l;return o},Ei={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(s)}`}}}},pn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),_i={class:"section brand-section flex-space"},Ni=e.createStaticVNode('<div class="logo-box flex-center" data-v-c0d9515b><div class="logo" data-v-c0d9515b><a href="https://fmp.idmwx.com" target="_blank" data-v-c0d9515b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-c0d9515b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-c0d9515b><div class="brand" data-v-c0d9515b><span style="text-decoration:underline;" data-v-c0d9515b>Weather Routing</span><div class="company" data-v-c0d9515b>Ocean Right Marine Service</div></div></a></div></div>',1),Vi={class:"report-box flex-space"},fi={class:"name flex-start"},gi={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Di={class:"flex-start",style:{width:"100%"}},xi={class:"label-block flex-evenly",style:{flex:"1"}},bi=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Ci={class:"flex-end",style:{flex:"2"}},Si=pn(()=>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 ki(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",_i,[Ni,e.createElementVNode("div",Vi,[e.createElementVNode("div",fi,e.toDisplayString(o.name),1),e.createElementVNode("div",gi,[e.createElementVNode("div",Di,[e.createElementVNode("div",xi,[bi,e.createElementVNode("span",Ci,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),Si])])])}const zo=Ee(Ei,[["render",ki],["__scopeId","data-v-c0d9515b"]]),Ai={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}}},Bi={key:0,class:"loading"},wi=e.createElementVNode("i",{class:"iconfont"},"",-1);function Ti(t,s,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Bi,[wi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=Ee(Ai,[["render",Ti]]),Lee="",Oi={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:zo},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,s,o,c;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=te.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 te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,h,i,_,D,S,y,N;const s={};for(let x=0;x<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);x++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[x];if(x===0)r.precip.pacc=0;else{const C=(h=t==null?void 0:t.extend)==null?void 0:h.data[x-1],k=w(r.utc).utcOffset(this.localTZ),T=w(C.utc).utcOffset(this.localTZ),P=(i=C==null?void 0:C.precip)==null?void 0:i.prate,L=k.diff(T,"h"),O=this.roundPrecision(P*L,1);if(r.precip.pacc=O,O>0){const b=s[k.format("MMM-DD")],u=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${u}`]?b[`${u}`]+=O:(b[`${u}`]=O,b.colspan+=1)):(s[k.format("MMM-DD")]={pacc:O,colspan:1},s[k.format("MMM-DD")][`${u}`]=O)}}}t.paccInDays=s;let o=0;for(const x of Object.keys(s))o+=(_=s[x])==null?void 0:_.colspan,s[x].level=((D=s[x])==null?void 0:D.pacc)<10?"Light":((S=s[x])==null?void 0:S.pacc)<24.9?"Moderate":((y=s[x])==null?void 0:y.pacc)<49.9?"Heavy":((N=s[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,h,i;this.echart||(this.echart=e.markRaw(Uo.init(this.$refs.echart)));const t=[],s=[],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=(h=(a=this.report)==null?void 0:a.extend)==null?void 0:h.data)==null||i.forEach(_=>{var S,y,N,x,r,C,k,T,P,L,O,b,u;const D=w(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),c=((y=(S=_.wave)==null?void 0:S.sig)==null?void 0:y.height)>c?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:c,s.push([D,(r=_.wind)==null?void 0:r.kts,(C=_.gusts)==null?void 0:C.kts,(T=(k=_.wave)==null?void 0:k.sig)==null?void 0:T.height,(P=_.wind)==null?void 0:P.direction,(L=_.wind)==null?void 0:L.degree,(O=_.wind)==null?void 0:O.scale,(b=_.current)==null?void 0:b.kts,(u=_.precip)==null?void 0:u.acc,this.roundPrecision(_.visibility/1852,0),_.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:s,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:s,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:s,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:s,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:s,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),Fi={class:"point-report"},ui={class:"section info-section"},Pi={class:"flex-evenly"},Li={class:"flex-space label-block",style:{width:"100%"}},Wi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),Hi={class:"flex-space label-block",style:{width:"100%"}},Mi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Gi={class:"flex-evenly"},Ii={class:"flex-space label-block",style:{width:"100%"}},Ri=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),zi={class:"flex-space label-block",style:{width:"100%"}},Ui={class:"flex-end",style:{width:"180px"}},Yi={class:"section echart-section"},Zi={ref:"echart",class:"echart"},Qi={class:"section sample-section"},Ji=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),$i=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ki=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),qi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Xi=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),ji=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),vi=["colspan"],ec=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),tc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),oc=st(()=>e.createElementVNode("th",null,"Dir",-1)),lc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ac=st(()=>e.createElementVNode("th",null,"BF",-1)),nc=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),sc=st(()=>e.createElementVNode("th",null,"Dir",-1)),ic=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),cc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),dc=st(()=>e.createElementVNode("th",null,"Dir",-1)),rc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),mc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),pc=st(()=>e.createElementVNode("th",null,"Dir",-1)),hc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),yc={key:0},Ec={key:1},_c=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Nc=st(()=>e.createElementVNode("th",null,"°C",-1)),Vc={width:"120px"},fc={key:0,class:"degree-box"},gc={key:1},Dc={key:0,class:"degree-box"},xc={key:1},bc={key:0,class:"degree-box"},Cc={key:1},Sc={key:0,class:"degree-box"},kc={key:1},Ac={key:0},Bc={key:1};function wc(t,s,o,c,l,a){var _,D,S,y;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Fi,[e.createVNode(h,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",ui,[e.createElementVNode("div",Pi,[e.createElementVNode("div",Li,[Wi,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((_=o.report)==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(a.computeLng((D=o.report)==null?void 0:D.lng).pretty),1)]),e.createElementVNode("div",Hi,[Mi,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Gi,[e.createElementVNode("div",Ii,[Ri,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",zi,[e.createElementVNode("label",Ui,"("+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",Yi,[e.createElementVNode("div",Zi,null,512)]),e.createElementVNode("div",Qi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ji,$i,Ki,qi,Xi,ji,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,vi),ec,tc]),e.createElementVNode("tr",null,[oc,lc,ac,nc,sc,ic,cc,dc,rc,mc,pc,hc,o.showPrate?(e.openBlock(),e.createElementBlock("th",yc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Ec,"Acc (mm)")):e.createCommentVNode("",!0),_c,Nc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=(S=o.report)==null?void 0:S.extend)==null?void 0:y.data,(N,x)=>{var r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",Vc,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",fc,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",gc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((P=N.wind)==null?void 0:P.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((L=N.gusts)==null?void 0:L.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((b=(O=N.wave)==null?void 0:O.wd)==null?void 0:b.height,1)),1),e.createElementVNode("td",null,[(R=(u=N.wave)==null?void 0:u.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",Dc,[e.createTextVNode(e.toDisplayString((z=(Z=N.wave)==null?void 0:Z.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=N.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",xc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((I=(Y=N.wave)==null?void 0:Y.swell)==null?void 0:I.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(H=N.wave)==null?void 0:H.swell)==null?void 0:$.period,1)),1),e.createElementVNode("td",null,[(X=(K=N.wave)==null?void 0:K.sig)!=null&&X.height?(e.openBlock(),e.createElementBlock("span",bc,[e.createTextVNode(e.toDisplayString((V=(q=N.wave)==null?void 0:q.sig)==null?void 0:V.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(M=N.wave)==null?void 0:M.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Cc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(n=N.wave)==null?void 0:n.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=N.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(le=N.current)!=null&&le.kts?(e.openBlock(),e.createElementBlock("span",Sc,[e.createTextVNode(e.toDisplayString((ee=N.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=N.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",kc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ie=N.current)==null?void 0:ie.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Ac,e.toDisplayString(a.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Bc,e.toDisplayString(a.roundPrecision((re=N.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.temp,1)),1)])}),128))])])])])}const hn=Ee(Oi,[["render",wc],["__scopeId","data-v-f465d74a"]]),Wee="",Tc={props:{name:{type:String,default:""}}},Oc={class:"section brand-section flex-space"},Fc=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"},Pc={class:"name flex-start"},Lc=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 Wc(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Oc,[Fc,e.createElementVNode("div",uc,[e.createElementVNode("div",Pc,e.toDisplayString(o.name),1),Lc])])}const ja=Ee(Tc,[["render",Wc],["__scopeId","data-v-602c94e3"]]),Hee="",Hc={name:"PointReport",components:{IdmBrand:ja},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return`${w(t).utc().format(s)}Z`}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Mc={class:"point-report"},Gc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),Ic={class:"report-header flex-center"},Rc={class:"info-box"},zc=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Uc={class:"info"},Yc=et(()=>e.createElementVNode("label",null,"Position",-1)),Zc={class:"info"},Qc=et(()=>e.createElementVNode("label",null,"Issued",-1)),Jc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),$c={class:"report-body"},Kc={class:"weather-sample"},qc=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Xc=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),jc=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),vc=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ed=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),td=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),od=["colspan"],ld=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),ad=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),nd=et(()=>e.createElementVNode("th",null,"Dir",-1)),sd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),id=et(()=>e.createElementVNode("th",null,"BF",-1)),cd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),dd=et(()=>e.createElementVNode("th",null,"Dir",-1)),rd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),md=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),pd=et(()=>e.createElementVNode("th",null,"Dir",-1)),hd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),yd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Ed=et(()=>e.createElementVNode("th",null,"Dir",-1)),_d=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Nd={key:0},Vd={key:1},fd=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),gd=et(()=>e.createElementVNode("th",null,"°C",-1)),Dd={width:"120px"},xd={key:0,class:"degree-box"},bd={key:1},Cd={key:0,class:"degree-box"},Sd={key:1},kd={key:0,class:"degree-box"},Ad={key:1},Bd={key:0,class:"degree-box"},wd={key:1},Td={key:0},Od={key:1};function Fd(t,s,o,c,l,a){const h=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Mc,[e.createVNode(h),Gc,e.createElementVNode("div",Ic,[e.createElementVNode("div",Rc,[zc,e.createElementVNode("div",Uc,[Yc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Zc,[Qc,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Jc]),e.createElementVNode("div",$c,[e.createElementVNode("div",Kc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qc,Xc,jc,vc,ed,td,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,od),ld,ad]),e.createElementVNode("tr",null,[nd,sd,id,cd,dd,rd,md,pd,hd,yd,Ed,_d,o.showPrate?(e.openBlock(),e.createElementBlock("th",Nd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Vd,"Acc (mm)")):e.createCommentVNode("",!0),fd,gd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Dd,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",xd,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((y=i.wind)==null?void 0:y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",bd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=i.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((x=i.wind)==null?void 0:x.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((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(P=(T=i.wave)==null?void 0:T.swell)!=null&&P.height?(e.openBlock(),e.createElementBlock("span",Cd,[e.createTextVNode(e.toDisplayString((O=(L=i.wave)==null?void 0:L.swell)==null?void 0:O.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((u=(b=i.wave)==null?void 0:b.swell)==null?void 0:u.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Sd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(R=i.wave)==null?void 0:R.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(z=i.wave)==null?void 0:z.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(Y=(f=i.wave)==null?void 0:f.sig)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",kd,[e.createTextVNode(e.toDisplayString((H=(I=i.wave)==null?void 0:I.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=($=i.wave)==null?void 0:$.sig)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=(X=i.wave)==null?void 0:X.sig)==null?void 0:q.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(V=i.wave)==null?void 0:V.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",Bd,[e.createTextVNode(e.toDisplayString((n=i.current)==null?void 0:n.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((j=i.current)==null?void 0:j.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",wd,"-"))]),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",Td,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Od,e.toDisplayString(a.roundPrecision((le=i.precip)==null?void 0:le.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 yn=Ee(Hc,[["render",Fd],["__scopeId","data-v-2fead0ca"]]),ud={install(t){t.component("ORMPointReport",hn),t.component("PointReport",yn)}},Pd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Ld={class:"logo"},Wd=[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 Hd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Ld,Wd)}const Md=Ee(Pd,[["render",Hd]]),Gd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Id={class:"logo"},Rd=[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 zd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Id,Rd)}const Ud=Ee(Gd,[["render",zd]]),Yd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Zd={class:"logo"},Qd=[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 Jd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Zd,Qd)}const $d=Ee(Yd,[["render",Jd]]),Ree="",Kd={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=te.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}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),qd={class:"lng-box"},Xd={key:0},jd=En(()=>e.createElementVNode("span",null,"°",-1)),vd=En(()=>e.createElementVNode("span",null,"'",-1));function er(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",qd,[o.label?(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),jd,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),vd,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const va=Ee(Kd,[["render",er],["__scopeId","data-v-533ec662"]]),zee="",tr={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}}},_n=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),or={class:"lat-box"},lr={key:0},ar=_n(()=>e.createElementVNode("span",null,"°",-1)),nr=_n(()=>e.createElementVNode("span",null,"'",-1));function sr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",or,[o.label?(e.openBlock(),e.createElementBlock("span",lr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),ar,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),nr,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const en=Ee(tr,[["render",sr],["__scopeId","data-v-d3432239"]]),Uee="",ir={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.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 s,o;t?(s=this.editor)==null||s.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 s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.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()}}},cr={class:"editor-box"};function dr(t,s,o,c,l,a){const h=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cr,[e.withDirectives(e.createVNode(h,{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":s[0]||(s[0]=_=>l.valueHtml=_),"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 Ro=Ee(ir,[["render",dr],["__scopeId","data-v-0d3b5c3c"]]),rr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg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ORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Yee="",Zee="",mr={name:"RouteReport",components:{Lng:va,Lat:en,Editor:Ro,Route1:Md,Route2:Ud,Route3:$d,IdmBrand:ja},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`${w(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,s){const o=w(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((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,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,h;const s=(h=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:h.hours,o=s[0],c=s[s.length-1];return w(c.eta).diff(w(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,s,o,c,l,a,h,i,_,D;if(this.sogChart||(this.sogChart=e.markRaw(Uo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Uo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Uo.init(this.$refs.waveChart))),(s=(t=this.plan)==null?void 0:t.speeds)!=null&&s.length){const S=[],y={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],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:[]},N={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],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:[]},x={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],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,C;for(let k=0;k<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);k++){const T=(l=this.plan)==null?void 0:l.speeds[k].speed,P=[],L=[],O=[],b=[];for(let z=0;z<T.sample.hours.length;z++){const W=T.sample.hours[z];if(k===0){r||(r=w(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const $=w(W.eta).utc();if($.isAfter(C))break;S.push(`${$.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),I=this.roundPrecision((h=(a=W.meteo)==null?void 0:a.wind)==null?void 0:h.kts,1),H=this.roundPrecision((D=(_=(i=W.meteo)==null?void 0:i.wave)==null?void 0:_.sig)==null?void 0:D.height,1);P.push(f),O.push(I),b.push(H),L.push(Y)}const u={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:P},R={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:O},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:b};y.series.push(u),N.series.push(R),x.series.push(Z)}this.sogChart.setOption(y),this.windChart.setOption(N),this.waveChart.setOption(x)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),pr={class:"route-report"},hr={class:"report-header flex-space"},yr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:rr,alt:""},null,-1)),Er=it(()=>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)),_r={class:"issued flex-end"},Nr=it(()=>e.createElementVNode("label",null,"Issued",-1)),Vr={class:"report-body"},fr={class:"voyage-summary flex-space"},gr={class:"title"},Dr={key:0},xr={key:1},br={key:0,class:"initial"},Cr={key:1,class:"warning"},Sr={class:"summary flex-start"},kr={class:"summary-item"},Ar=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Br={class:"summary-item"},wr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),Tr={key:0},Or={key:1,class:"flex-start"},Fr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ur={class:"summary-item"},Pr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Lr={key:0},Wr={key:1,class:"flex-start"},Hr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mr={class:"route-advisory"},Gr={class:"charts"},Ir={key:0},Rr=["src"],zr={class:"legend-box"},Ur=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),Yr={key:0,class:"legend-item"},Zr=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Qr={key:1,class:"legend-item"},Jr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],$r={key:1,class:"empty"},Kr={class:"route-comparison"},qr=it(()=>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)),Xr={class:"container"},jr={key:0},vr=it(()=>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)),em=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),tm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),om=it(()=>e.createElementVNode("th",null,"*FO",-1)),lm=it(()=>e.createElementVNode("th",null,"*DO",-1)),am={colspan:"3"},nm={rowspan:"2"},sm={rowspan:"2"},im={rowspan:"2"},cm={rowspan:"2"},dm={rowspan:"2"},rm={rowspan:"2"},mm={rowspan:"2"},pm={rowspan:"2"},hm={rowspan:"2"},ym={class:"route-advisory",style:{"page-break-after":"always"}},Em={class:"advisory"},_m={class:"reason"},Nm={class:"secondary-title flex-space"},Vm=it(()=>e.createElementVNode("div",null,"Note",-1)),fm=["innerHTML"],gm={class:"major-waypoints"},Dm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),xm={class:"container"},bm=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),Cm={class:"body"},Sm={class:"cell-item",style:{width:"180px"}},km={key:0,class:"flex-center"},Am={key:1,class:"flex-center"},Bm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wm={key:0},Tm={class:"cell-item",style:{width:"100px"}},Om={key:0,class:"cell-item offset",style:{width:"35px"}},Fm={key:1,class:"cell-item offset",style:{width:"55px"}},um={key:2,class:"cell-item offset",style:{width:"40px"}},Pm={key:3,class:"cell-item offset",style:{width:"125px"}},Lm={class:"weather-eChart"},Wm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),Hm={ref:"sogChart",class:"eChart"},Mm={ref:"windChart",class:"eChart wind"},Gm={ref:"waveChart",class:"eChart"},Im={class:"weather-sample"},Rm={class:"secondary-title"},zm=it(()=>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)),Um={class:"flex-center"},Ym=it(()=>e.createElementVNode("span",null,"/",-1)),Zm={key:0,class:"degree-box"},Qm={key:1},Jm={key:0,class:"degree-box"},$m={key:1},Km={key:0,class:"degree-box"},qm={key:1},Xm={key:0,class:"degree-box"},jm={key:1};function vm(t,s,o,c,l,a){var S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pr,[e.createVNode(h,{name:"Voyage Planning"}),e.createElementVNode("div",hr,[yr,Er,e.createElementVNode("div",_r,[Nr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",Vr,[e.createElementVNode("div",fr,[e.createElementVNode("div",gr,[((y=o.plan)==null?void 0:y.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",Dr,"Recommended Route Report for "+e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",xr,"Route Report for "+e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name),1)),e.createElementVNode("div",null,[((P=o.plan)==null?void 0:P.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",br,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",Cr,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Sr,[e.createElementVNode("div",kr,[Ar,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",Br,[wr,(Z=(R=(u=o.plan)==null?void 0:u.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",Tr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(i,{lat:(I=(Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure)==null?void 0:I.lat,label:""},null,8,["lat"]),Fr,e.createVNode(_,{lng:(K=($=(H=o.plan)==null?void 0:H.leg)==null?void 0:$.departure)==null?void 0:K.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",ur,[Pr,(V=(q=(X=o.plan)==null?void 0:X.leg)==null?void 0:q.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Lr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Wr,[e.createVNode(i,{lat:(j=(n=(J=o.plan)==null?void 0:J.leg)==null?void 0:n.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Hr,e.createVNode(_,{lat:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Mr,[e.createElementVNode("div",Gr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",Ir,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Rr),e.createElementVNode("div",zr,[Ur,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Yr,Zr)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Qr,Jr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",$r,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[0]||(s[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Kr,[qr,e.createElementVNode("div",Xr,[(ce=(pe=o.plan)==null?void 0:pe.speeds)!=null&&ce.length?(e.openBlock(),e.createElementBlock("table",jr,[e.createElementVNode("thead",null,[vr,e.createElementVNode("tr",null,[em,tm,om,lm,e.createElementVNode("th",am,"*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,(F,ye)=>{var Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ye},[e.createElementVNode("tr",null,[e.createElementVNode("td",nm,e.toDisplayString(ye+1),1),e.createElementVNode("td",sm,e.toDisplayString((Le=(Pe=F.speed)==null?void 0:Pe.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=F.speed)==null?void 0:We.label)??"CP"} ${((we=F.speed)==null?void 0:we.v0)??(($e=(He=F.speed)==null?void 0:He.cpCopy)==null?void 0:$e.speed)}`),1),e.createElementVNode("td",im,e.toDisplayString(a.roundPrecision((Ke=F.speed)==null?void 0:Ke.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=F.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",cm,e.toDisplayString(a.computeTimeDiff(o.plan,ye)),1),e.createElementVNode("td",dm,e.toDisplayString(a.roundPrecision((Oe=F.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",rm,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",mm,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",pm,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",hm,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(E=F.speed)==null?void 0:E.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((fe=F.speed)==null?void 0:fe.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ym,[e.createElementVNode("div",Em,[e.createElementVNode("div",_m,[e.createElementVNode("div",Nm,[Vm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:s[1]||(s[1]=F=>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":s[2]||(s[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,fm))])]),e.createElementVNode("div",gm,[Dm,e.createElementVNode("div",xm,[bm,e.createElementVNode("div",Cm,[(De=(ge=o.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Se=(Ce=(be=(xe=o.plan)==null?void 0:xe.speeds[0])==null?void 0:be.speed)==null?void 0:Ce.sample)==null?void 0:Se.wps),(F,ye)=>(e.openBlock(),e.createElementBlock("div",{key:ye,class:"cell-row"},[e.createElementVNode("div",Sm,[F.isResume?(e.openBlock(),e.createElementBlock("div",km,"Resume")):(e.openBlock(),e.createElementBlock("div",Am,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),Bm,e.createVNode(_,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",wm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Tm,e.toDisplayString(a.computeUTCTime(F.eta)),1),ye?(e.openBlock(),e.createElementBlock("div",Om,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",Fm,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",um,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),ye?(e.openBlock(),e.createElementBlock("div",Pm,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lm,[Wm,e.createElementVNode("div",Hm,null,512),e.createElementVNode("div",Mm,null,512),e.createElementVNode("div",Gm,null,512)]),e.createElementVNode("div",Im,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Rm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[zm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ve=(ue=(Fe=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:Fe.speed)==null?void 0:ue.sample)==null?void 0:Ve.hours,(F,ye)=>{var Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:ye,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Um,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),Ym,e.createVNode(_,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(Pe=F.meteo)==null?void 0:Pe.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Zm,[e.createTextVNode(e.toDisplayString((we=(We=F.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($e=(He=F.meteo)==null?void 0:He.wind)==null?void 0:$e.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(Ke=F.meteo)==null?void 0:Ke.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=F.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Jm,[e.createTextVNode(e.toDisplayString((Q=(E=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:E.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(fe=F.meteo)==null?void 0:fe.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",$m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=(qe=(me=F.meteo)==null?void 0:me.wave)==null?void 0:qe.swell)==null?void 0:je.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(mt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",Km,[e.createTextVNode(e.toDisplayString((yt=(ht=(pt=F.meteo)==null?void 0:pt.wave)==null?void 0:ht.sig)==null?void 0:yt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(Et=F.meteo)==null?void 0:Et.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",qm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=F.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(xt=(Dt=F.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=F.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",Xm,[e.createTextVNode(e.toDisplayString((At=(kt=F.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",jm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=F.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=Ee(mr,[["render",vm],["__scopeId","data-v-ba499fc2"]]),qee="",ep={name:"RouteReport",components:{Lng:va,Lat:en,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLTime(){return function(t,s){const o=w(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(w((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,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,h;const s=(h=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:h.hours,o=s[0],c=s[s.length-1];return w(c.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.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}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),tp={class:"route-report"},op=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),lp={class:"section"},ap=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),np={class:"section-body basics"},sp={class:"flex-space section-row"},ip={class:"flex-start"},cp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),dp={class:"flex-start"},rp={class:"flex-start"},mp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),pp={class:"flex-start flex"},hp={key:0,class:"flex"},yp={key:1,class:"flex-space flex"},Ep=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_p={class:"time flex"},Np={class:"flex-space section-row"},Vp={class:"flex-start"},fp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),gp={class:"flex-start"},Dp={class:"flex-start"},xp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),bp={class:"flex-start flex"},Cp={key:0,class:"flex"},Sp={key:1,class:"flex-space"},kp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ap={class:"time flex"},Bp={class:"flex-space section-row"},wp={class:"flex-start"},Tp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Op={class:"flex-start"},Fp={class:"flex-start"},up=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Pp={class:"flex-start flex"},Lp={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Wp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Hp={class:"section-body detail"},Mp={class:"flex-space",style:{"align-items":"stretch"}},Gp={class:"chart"},Ip=["src"],Rp={key:1,class:"empty flex-center"},zp={class:"route flex",style:{"justify-content":"space-between"}},Up=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Yp={class:"suggestion"},Zp=["innerHTML"],Qp={class:"flex-start legends"},Jp=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),$p={key:0,class:"legend"},Kp=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],qp={key:1,class:"legend"},Xp=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],jp={class:"section"},vp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),eh={class:"section-body comparison"},th={class:"container"},oh={key:0},lh=ct(()=>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)),ah={class:"section",style:{"page-break-inside":"avoid"}},nh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),sh={class:"section-body sample"},ih={class:"major-waypoints"},ch={class:"container"},dh=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),rh={class:"body"},mh={class:"cell-item flexM"},ph={class:"flex-center"},hh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),yh={class:"cell-item flexL"},Eh={key:0,class:"flex-center"},_h={key:1},Nh={class:"cell-item flex"},Vh={key:0,class:"cell-item flex offset"},fh={key:1,class:"cell-item flex nbsp"},gh={key:2,class:"cell-item flex offset"},Dh={key:3,class:"cell-item flex nbsp"},xh={key:4,class:"cell-item flex offset"},bh={key:5,class:"cell-item flex nbsp"},Ch={class:"section"},Sh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),kh={class:"section-body sample"},Ah={key:0},Bh=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)),wh={class:"flex-center"},Th=ct(()=>e.createElementVNode("span",null,"/",-1)),Oh={key:0,class:"degree-box"},Fh={key:1},uh={key:0,class:"degree-box"},Ph={key:1},Lh={key:0,class:"degree-box"},Wh={key:1},Hh={key:0,class:"degree-box"},Mh={key:1},Gh=ct(()=>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 Ih(t,s,o,c,l,a){var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",tp,[op,e.createElementVNode("div",lp,[ap,e.createElementVNode("div",np,[e.createElementVNode("div",sp,[e.createElementVNode("div",ip,[cp,e.createElementVNode("div",dp,e.toDisplayString((y=(S=(D=o.plan)==null?void 0:D.voyage)==null?void 0:S.company)==null?void 0:y.name),1)]),e.createElementVNode("div",rp,[mp,e.createElementVNode("div",pp,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",hp,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",yp,[e.createVNode(h,{lat:(L=(P=(T=o.plan)==null?void 0:T.leg)==null?void 0:P.departure)==null?void 0:L.lat,label:""},null,8,["lat"]),Ep,e.createVNode(i,{lng:(u=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:u.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",_p,e.toDisplayString(a.computeUTCTime(((z=(Z=(R=o.plan)==null?void 0:R.leg)==null?void 0:Z.departure)==null?void 0:z.atd)||((Y=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:Y.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[fp,e.createElementVNode("div",gp,e.toDisplayString(($=(H=(I=o.plan)==null?void 0:I.voyage)==null?void 0:H.vessel)==null?void 0:$.name),1)]),e.createElementVNode("div",Dp,[xp,e.createElementVNode("div",bp,[(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.destination)!=null&&q.name?(e.openBlock(),e.createElementBlock("div",Cp,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Sp,[e.createVNode(h,{lat:(j=(n=(J=o.plan)==null?void 0:J.leg)==null?void 0:n.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),kp,e.createVNode(i,{lng:(le=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:le.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Ap,e.toDisplayString(a.computeUTCTime(((ie=(se=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:se[0])==null?void 0:ie.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",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("div",Op,e.toDisplayString(a.computeUTCTime((pe=o.plan)==null?void 0:pe.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Fp,[up,e.createElementVNode("div",Pp,[e.createElementVNode("div",null,e.toDisplayString((he=(ce=o.plan)==null?void 0:ce.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Lp,[Wp,e.createElementVNode("div",Hp,[e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[(ge=o.plan)!=null&&ge.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(De=o.plan)==null?void 0:De.chartUrl},null,8,Ip)):(e.openBlock(),e.createElementBlock("div",Rp,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",zp,[e.createElementVNode("div",null,[Up,e.createElementVNode("div",Yp,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:s[2]||(s[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Zp))])]),e.createElementVNode("div",Qp,[Jp,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",$p,Kp)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",qp,Xp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",jp,[vp,e.createElementVNode("div",eh,[e.createElementVNode("div",th,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",oh,[lh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Be=o.plan)==null?void 0:Be.speeds,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve;return e.openBlock(),e.createElementBlock("tr",{key:Oe},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Oe+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ze=U.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=U.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=U.speed)==null?void 0:Ye.v0)??((Qe=(Ze=U.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((E=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:E.fo)+" FO / "+e.toDisplayString((fe=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:fe.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Te=U.speed)==null?void 0:Te.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=U.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((me=U.speed)==null?void 0:me.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((qe=U.speed)==null?void 0:qe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((je=U.speed)==null?void 0:je.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=U.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[e.createElementVNode("div",ih,[e.createElementVNode("div",ch,[dh,e.createElementVNode("div",rh,[(ue=(Fe=o.plan)==null?void 0:Fe.speeds)!=null&&ue.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(ye=(F=(Ve=o.plan)==null?void 0:Ve.speeds[0])==null?void 0:F.speed)==null?void 0:ye.sample)==null?void 0:Pe.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",mh,[e.createElementVNode("div",ph,[e.createVNode(h,{lat:U.lat,label:""},null,8,["lat"]),hh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",yh,[U.name?(e.openBlock(),e.createElementBlock("span",Eh,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",_h,"-"))]),e.createElementVNode("div",Nh,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",Vh,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",fh)),Oe?(e.openBlock(),e.createElementBlock("div",gh,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Dh)),Oe?(e.openBlock(),e.createElementBlock("div",xh,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",bh))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",kh,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",Ah,[Bh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=($e=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:$e.sample)==null?void 0:Ke.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("tr",{key:Oe,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",wh,[e.createVNode(h,{lat:U.lat,label:""},null,8,["lat"]),Th,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(ze=U.meteo)==null?void 0:ze.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",Oh,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",Fh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=U.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((fe=(Q=(E=U.meteo)==null?void 0:E.wave)==null?void 0:Q.wd)==null?void 0:fe.height,1)),1),e.createElementVNode("td",null,[(me=(Me=(Te=U.meteo)==null?void 0:Te.wave)==null?void 0:Me.swell)!=null&&me.height?(e.openBlock(),e.createElementBlock("span",uh,e.toDisplayString((ve=(je=(qe=U.meteo)==null?void 0:qe.wave)==null?void 0:je.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Ph,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=U.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((pt=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:pt.period,1)),1),e.createElementVNode("td",null,[(Et=(yt=(ht=U.meteo)==null?void 0:ht.wave)==null?void 0:yt.sig)!=null&&Et.height?(e.openBlock(),e.createElementBlock("span",Lh,e.toDisplayString((Vt=(Nt=(_t=U.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.direction),1)):(e.openBlock(),e.createElementBlock("span",Wh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=U.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=U.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=U.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",Hh,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Mh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Tt=(wt=U.meteo)==null?void 0:wt.current)==null?void 0:Tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Gh])}const Nn=Ee(ep,[["render",Ih],["__scopeId","data-v-afd0f0bf"]]),tte="",Rh={name:"OrmRouteReport",components:{Lng:va,Lat:en,Editor:Ro,Brand:zo,Loading:on},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLTime(){return function(t,s,o){let c=0;return o&&s&&(c=te.LngLatHelper.guessTimeZoneOffset(s,o)),`${w(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var o,c,l,a,h;if(s===0)return"-";{const i=w((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[s])==null?void 0:c.speed)==null?void 0:l.eta).diff(w((h=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:h.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+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 s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var a,h,i,_;const o=(_=(i=(h=(a=t==null?void 0:t.speeds)==null?void 0:a[s])==null?void 0:h.speed)==null?void 0:i.sample)==null?void 0:_.hours,c=o[0],l=o[o.length-1];return Math.round(w(l.eta).diff(w(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.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(Uo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,D,S,y,N,x,r;const t=[],s=[],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((C,k)=>{c[C]=Math.PI/8*k});const a=18;let h=4;(x=(N=(y=(S=(D=(_=this.plan)==null?void 0:_.speeds)==null?void 0:D[this.speedIndex])==null?void 0:S.speed)==null?void 0:y.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var T,P,L,O,b,u,R,Z,z,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),h=Math.ceil(((P=(T=k.wave)==null?void 0:T.sig)==null?void 0:P.height)>h?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:h),s.push([f,(b=k.wind)==null?void 0:b.kts,(R=(u=k.wave)==null?void 0:u.sig)==null?void 0:R.height,(Z=k.wind)==null?void 0:Z.direction,(z=k.wind)==null?void 0:z.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.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:h,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:s,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:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=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:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:s,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:s,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:s,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-6a564b84"),t=t(),e.popScopeId(),t),zh={class:"voyage-plan"},Uh={class:"plan-report"},Yh={class:"section voyage-section flex-space"},Zh={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Qh={class:"flex-start label-block",style:{width:"100%"}},Jh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),$h={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Kh={class:"flex-start label-block",style:{width:"100%"}},qh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Xh={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},jh={class:"flex-start label-block",style:{width:"100%"}},vh=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),e1={class:"flex-end"},t1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},o1={class:"flex-start label-block",style:{width:"100%"}},l1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),a1={key:0,class:"flex-end",style:{flex:"1"}},n1={key:1,class:"flex-end",style:{flex:"1"}},s1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),i1={class:"flex-end",style:{width:"120px"}},c1={class:"flex-space label-block",style:{width:"100%"}},d1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),r1={key:0,class:"flex-end",style:{flex:"1"}},m1={key:1,class:"flex-end",style:{flex:"1"}},p1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),h1={class:"flex-end",style:{width:"120px"}},y1={class:"flex-space label-block",style:{width:"100%"}},E1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),_1={class:"flex-end",style:{"text-transform":"uppercase"}},N1={class:"section chart-section"},V1=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),f1={class:"flex-center"},g1=["src"],D1={class:"legends"},x1=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),b1={class:"legend"},C1=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),S1={key:0,class:"legend"},k1=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),A1={key:1,class:"legend"},B1=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),w1={key:1,class:"empty"},T1={class:"section comparison-section"},O1={key:0},F1=dt(()=>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=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),P1=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),L1=dt(()=>e.createElementVNode("th",null,"*FO",-1)),W1=dt(()=>e.createElementVNode("th",null,"*DO",-1)),H1={colspan:"3"},M1={rowspan:"2"},G1={rowspan:"2"},I1={rowspan:"2"},R1={rowspan:"2"},z1={rowspan:"2"},U1={rowspan:"2"},Y1={rowspan:"2"},Z1={rowspan:"2"},Q1={rowspan:"2"},J1=dt(()=>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)),$1={class:"section waypoint-section"},K1={class:"header-block flex-start"},q1=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),X1={class:"title"},j1={key:0,class:"flex-end",style:{flex:"1"}},v1=["onClick"],ey={class:"advisory"},ty=["innerHTML"],oy={class:"major-waypoint"},ly=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),ay={class:"major-body"},ny={class:"cell-item flex",style:{flex:"1.5"}},sy={key:0,class:"flex-center"},iy={key:1,class:"flex-center"},cy=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),dy={key:0},ry={class:"cell-item flex"},my={key:0,class:"cell-item flex offset"},py={key:1,class:"cell-item flex nbsp"},hy={key:2,class:"cell-item flex offset"},yy={key:3,class:"cell-item flex nbsp"},Ey={key:4,class:"cell-item flex offset"},_y={key:5,class:"cell-item flex nbsp"},Ny={key:6,class:"cell-item flex offset"},Vy={key:7,class:"cell-item flex nbsp"},fy={class:"section forecast-section"},gy={class:"header-block flex-start"},Dy=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xy={class:"title"},by={key:0,class:"flex-end",style:{flex:"1"}},Cy=["onClick"],Sy={class:"echart-block"},ky={ref:"echart",class:"echart"},Ay=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)),By={class:"flex-center"},wy=dt(()=>e.createElementVNode("span",null,"/",-1)),Ty={key:0,class:"degree-box"},Oy={key:1},Fy={key:0,class:"degree-box"},uy={key:1},Py={key:0,class:"degree-box"},Ly={key:1},Wy={key:0,class:"degree-box"},Hy={key:1},My=dt(()=>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 Gy(t,s,o,c,l,a){var y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo;const h=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zh,[e.createElementVNode("div",Uh,[e.createVNode(h,{name:"Voyage Planning",issued:(y=o.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=G=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[e.createElementVNode("div",Qh,[Jh,e.createElementVNode("span",$h,e.toDisplayString((r=(x=(N=o.plan)==null?void 0:N.voyage)==null?void 0:x.company)==null?void 0:r.name),1)]),e.createElementVNode("div",Kh,[qh,e.createElementVNode("span",Xh,e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((b=(O=(L=(P=o.plan)==null?void 0:P.voyage)==null?void 0:L.vessel)==null?void 0:O.vesselType)==null?void 0:b.name)+")",1)]),e.createElementVNode("div",jh,[vh,e.createElementVNode("span",e1,e.toDisplayString((R=(u=o.plan)==null?void 0:u.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",t1,[e.createElementVNode("div",o1,[l1,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",a1,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",n1,[e.createVNode(_,{lat:($=(H=(I=o.plan)==null?void 0:I.leg)==null?void 0:H.departure)==null?void 0:$.lat,label:""},null,8,["lat"]),s1,e.createVNode(D,{lng:(q=(X=(K=o.plan)==null?void 0:K.leg)==null?void 0:X.departure)==null?void 0:q.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",i1,e.toDisplayString(a.computeUTCTime(((J=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:J.atd)||((d=(j=(n=o.plan)==null?void 0:n.leg)==null?void 0:j.departure)==null?void 0:d.etd)||((se=(ee=(le=(v=o.plan)==null?void 0:v.speeds)==null?void 0:le[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",c1,[d1,(re=(de=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",r1,e.toDisplayString((he=(ce=(pe=o.plan)==null?void 0:pe.leg)==null?void 0:ce.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",m1,[e.createVNode(_,{lat:(xe=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:xe.lat,label:""},null,8,["lat"]),p1,e.createVNode(D,{lng:(Se=(Ce=(be=o.plan)==null?void 0:be.leg)==null?void 0:Ce.destination)==null?void 0:Se.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",h1,e.toDisplayString(a.computeUTCTime(((Fe=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:Fe.ata)||((ye=(F=(Ve=(ue=o.plan)==null?void 0:ue.speeds)==null?void 0:Ve[l.speedIndex])==null?void 0:F.speed)==null?void 0:ye.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",y1,[E1,e.createElementVNode("span",_1,e.toDisplayString((Le=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",N1,[V1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",f1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,g1)]),e.createElementVNode("div",D1,[x1,e.createElementVNode("div",b1,[C1,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=G=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(Ke=($e=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:$e.speed)==null?void 0:Ke.lane)==null?void 0:U.name),1)]),((ze=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ze.length)>1?(e.openBlock(),e.createElementBlock("div",S1,[k1,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=G=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((Q=(E=o.plan)==null?void 0:E.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",A1,[B1,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=G=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((qe=(me=(Me=(Te=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",w1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...G)=>a.handleRefresh&&a.handleRefresh(...G))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",T1,[(ve=(je=o.plan)==null?void 0:je.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",O1,[e.createElementVNode("thead",null,[F1,e.createElementVNode("tr",null,[u1,P1,L1,W1,e.createElementVNode("th",H1,"*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((ot=o.plan)==null?void 0:ot.speeds,(G,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",M1,e.toDisplayString(tt+1),1),e.createElementVNode("td",G1,e.toDisplayString((Ft=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=G.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=G.speed)==null?void 0:Gt.v0)??((Rt=(It=G.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",I1,e.toDisplayString(a.roundPrecision((zt=G.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=G.speed)==null?void 0:Ut.eta,(Qt=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lng,(Kt=($t=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:$t.destination)==null?void 0:Kt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((qt=G.speed)==null?void 0:qt.eta))+"]",1)]),e.createElementVNode("td",R1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",z1,e.toDisplayString(a.roundPrecision((Xt=G.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",U1,e.toDisplayString(a.roundPrecision((jt=G.speed)==null?void 0:jt.totalDgoCons,3)),1),e.createElementVNode("td",Y1,e.toDisplayString(a.roundPrecision(((vt=G.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",Z1,e.toDisplayString(a.roundPrecision(((eo=G.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",Q1,e.toDisplayString(a.roundPrecision(((to=G.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=G.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=G.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=G.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=G.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=G.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),J1]),e.createElementVNode("div",$1,[e.createElementVNode("div",K1,[q1,e.createElementVNode("div",X1,"Advisory & Major Waypoint of Route "+e.toDisplayString((mt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:mt.name),1),((ht=(pt=o.plan)==null?void 0:pt.speeds)==null?void 0:ht.length)>1?(e.openBlock(),e.createElementBlock("div",j1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((yt=o.plan)==null?void 0:yt.speeds,(G,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,v1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ey,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=G=>l.advisory=G),class:"editor",height:"120px",onBlur:s[6]||(s[6]=G=>a.handleCommit(G))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...G)=>a.handleEdit&&a.handleEdit(...G)),innerHTML:l.advisory},null,40,ty))]),e.createElementVNode("div",oy,[ly,e.createElementVNode("div",ay,[(_t=(Et=o.plan)==null?void 0:Et.speeds)!=null&&_t.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)==null?void 0:Vt[l.speedIndex])==null?void 0:ft.speed)==null?void 0:gt.sample)==null?void 0:Dt.wps),(G,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",ny,[G.isResume?(e.openBlock(),e.createElementBlock("div",sy,"Resume")):(e.openBlock(),e.createElementBlock("div",iy,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),cy,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"]),G.pilot?(e.openBlock(),e.createElementBlock("span",dy," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",ry,e.toDisplayString(a.computeUTCTime(G.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",my,e.toDisplayString(a.computeNav(G)),1)):(e.openBlock(),e.createElementBlock("div",py)),tt?(e.openBlock(),e.createElementBlock("div",hy,e.toDisplayString(a.roundPrecision(G.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",yy)),tt?(e.openBlock(),e.createElementBlock("div",Ey,e.toDisplayString(a.roundPrecision(G.avgSpd??G.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",_y)),tt?(e.openBlock(),e.createElementBlock("div",Ny,e.toDisplayString(a.computeMemo(G)),1)):(e.openBlock(),e.createElementBlock("div",Vy))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",fy,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",gy,[Dy,e.createElementVNode("div",xy,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Bt=(At=(kt=(St=(Ct=o.plan)==null?void 0:Ct.speeds)==null?void 0:St[l.speedIndex])==null?void 0:kt.speed)==null?void 0:At.lane)==null?void 0:Bt.name),1),((Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt.length)>1?(e.openBlock(),e.createElementBlock("div",by,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(G,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=G==null?void 0:G.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,Cy)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Sy,[e.createElementVNode("div",ky,null,512)]),e.createElementVNode("table",null,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(Eo=(po=o.plan)==null?void 0:po.speeds)==null?void 0:Eo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(G,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(G.isDangerous?"dangerous":G.isSevere?"severe":G.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(G.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",By,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),wy,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ft=(Ot=G.meteo)==null?void 0:Ot.wind)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",Ty,[e.createTextVNode(e.toDisplayString((Gt=(Mt=G.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=G.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Oy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=G.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=(Zt=(Yt=G.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(Kt=($t=(Jt=G.meteo)==null?void 0:Jt.wave)==null?void 0:$t.swell)!=null&&Kt.height?(e.openBlock(),e.createElementBlock("span",Fy,[e.createTextVNode(e.toDisplayString((jt=(Xt=(qt=G.meteo)==null?void 0:qt.wave)==null?void 0:Xt.swell)==null?void 0:jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=G.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=G.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=G.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(go=(fo=(co=G.meteo)==null?void 0:co.wave)==null?void 0:fo.sig)!=null&&go.height?(e.openBlock(),e.createElementBlock("span",Py,[e.createTextVNode(e.toDisplayString((bo=(xo=(Do=G.meteo)==null?void 0:Do.wave)==null?void 0:xo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ko=(So=(Co=G.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ly,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((wo=(Bo=(Ao=G.meteo)==null?void 0:Ao.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Fo=(Oo=(To=G.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(Po=(uo=G.meteo)==null?void 0:uo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",Wy,[e.createTextVNode(e.toDisplayString((Wo=(Lo=G.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Mo=(Ho=G.meteo)==null?void 0:Ho.current)==null?void 0:Mo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Hy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Io=(Go=G.meteo)==null?void 0:Go.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(G.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),My])])])}const Vn=Ee(Rh,[["render",Gy],["__scopeId","data-v-6a564b84"]]),Iy={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},Ry={install(t){t.component("IdmEditor",Ro)}},zy={install(t){t.component("IdmLat",en)}},Uy={install(t){t.component("IdmLng",va)}},Yy={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},Zy={class:"logo"},Qy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},Jy=["fill","fill-opacity"],$y=[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,7 +38,7 @@
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 Ky(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Zy,[(e.openBlock(),e.createElementBlock("svg",Qy,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},$y,8,Jy)]))])}const fn=Ee(Yy,[["render",Ky]]),qy={install(t){t.component("PiLogo",fn)}},lte="",ate="",Xy={components:{Editor:Ro,IdmBrand:ja},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+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9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JTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p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DW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQ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5JXs2IVVHTmFS0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/VOjgnTf2zVlVdM1aVRudbp6WoWZXXEJecuphkG5lwATQADUAD0ODNhIXVR3rk5WOqjTl9sjW/32rnuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/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 s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=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`${s} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):s==="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,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(s==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(s==="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,s){return s?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let s="";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})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(s="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."),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){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,s){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}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,s;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(s=(t=this.reportData)==null?void 0:t.segments)==null||s.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(h=>{let i={time:w(h.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(h.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:h.duration,distance:h.distance,fo:h.foCons,dgo:h.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(h=>{a.push(this.computedSeg(h))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(h=>h.type!=="A"&&h.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),jy=["src"],vy={class:"voyage-main"},eE={class:"main",style:{"page-break-after":"always"}},tE={class:"main-title",style:{position:"relative !important"}},oE=["src"],lE={class:"main-title-content"},aE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),nE={class:"title-date"},sE={class:"main-subtitle"},iE={class:"white"},cE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),dE={class:"subtitle-main"},rE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),mE={class:"subtitle-main"},pE={class:"main-box"},hE={class:"main-table"},yE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),EE={class:"bold"},_E=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),NE={class:"bold"},VE=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),fE={class:"bold"},gE=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),DE={class:"bold"},xE={style:{display:"inline-block",width:"50%"}},bE=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),CE={class:"bold"},SE={style:{display:"inline-block",width:"50%"}},kE=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),AE={class:"tips",style:{display:"flex"}},BE={style:{color:"var(--table-note-color)"}},wE={class:"summary-table",style:{"margin-top":"5px"}},TE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),OE={style:{width:"15%"}},FE={key:1},uE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),PE={key:1},LE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),WE={key:1},HE=g(()=>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)),ME=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),GE={class:"weather-definition"},IE={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},RE=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),zE=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),UE={class:"remark-table"},YE=g(()=>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)),ZE=["innerHTML"],QE={class:"analysis page-title"},JE={class:"analysis-title"},$E={class:"analysis-title-detail"},KE=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),qE={class:"page-avoid"},XE={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},jE=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),vE=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),e_=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),t_=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),o_=g(()=>e.createElementVNode("tr",null,null,-1)),l_={class:"title"},a_={class:"title"},n_={class:"title"},s_={class:"title"},i_=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),c_={class:"page-avoid",style:{"margin-bottom":"15px"}},d_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},r_=g(()=>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)),m_=g(()=>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)),p_=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),h_={class:"inGoodWx"},y_={class:"inGoodWx"},E_=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),__={class:"inGoodWx"},N_={class:"inGoodWx"},V_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),f_={class:"inGoodWx"},g_={class:"inGoodWx"},D_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),x_={class:"inGoodWx"},b_={class:"inGoodWx"},C_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),S_={class:"inGoodWx"},k_={class:"inGoodWx"},A_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),B_={class:"inGoodWx"},w_={class:"inGoodWx"},T_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),O_={class:"inGoodWx"},F_={class:"inGoodWx"},u_={key:0,class:"analysis-tips"},P_={key:1,class:"analysis-definition"},L_={key:2,class:"analysis-definition"},W_=g(()=>e.createElementVNode("br",null,null,-1)),H_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},M_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),G_=g(()=>e.createElementVNode("span",null,"= ",-1)),I_={key:0},R_={key:1},z_={key:2},U_={key:3},Y_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},Z_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),Q_=g(()=>e.createElementVNode("span",null,"=",-1)),J_={key:0},$_={key:1},K_=g(()=>e.createElementVNode("span",null,"-",-1)),q_=g(()=>e.createElementVNode("span",null,"=",-1)),X_={key:0},j_={key:1},v_={key:6,class:"tr-tips tips-color"},eN={class:"formula page-title"},tN={class:"page-avoid"},oN={class:"subtitle",style:{"margin-top":"0"}},lN={key:0},aN={class:"definition"},nN=g(()=>e.createElementVNode("br",null,null,-1)),sN=g(()=>e.createElementVNode("br",null,null,-1)),iN=g(()=>e.createElementVNode("br",null,null,-1)),cN={class:"equation"},dN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),rN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mN={style:{width:"50%"},class:"fraction"},pN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),EN={class:"equation"},_N={style:{width:"35%"}},NN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VN={style:{width:"50%"},class:"fraction"},fN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"50%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),AN=g(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),BN={class:"page-avoid"},wN={key:0,class:"definition",style:{margin:"15px 0"}},TN={class:"equation"},ON=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),FN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"35%"},class:"fraction"},PN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WN={style:{width:"10%","text-align":"center"}},HN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),MN={class:"equation"},GN={style:{width:"35%"}},IN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RN={style:{width:"35%"},class:"fraction"},zN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YN={style:{width:"10%","text-align":"center"}},ZN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),QN={class:"equation"},JN={style:{width:"35%"}},$N=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KN={style:{width:"35%"},class:"fraction"},qN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"10%","text-align":"center"}},vN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),eV=g(()=>e.createElementVNode("span",null,"=",-1)),tV=g(()=>e.createElementVNode("span",null,"=",-1)),oV=g(()=>e.createElementVNode("span",null,"=",-1)),lV=["innerHTML"],aV={class:"page-avoid"},nV={class:"subtitle page-title"},sV={key:0},iV={class:"definition",style:{"margin-bottom":"15px"}},cV=g(()=>e.createElementVNode("br",null,null,-1)),dV=g(()=>e.createElementVNode("br",null,null,-1)),rV=g(()=>e.createElementVNode("br",null,null,-1)),mV={class:"equation"},pV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),hV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yV={style:{width:"25%"},class:"fraction"},EV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_V=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VV=g(()=>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)),fV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),gV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},DV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),xV={key:0},bV={class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"25%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),wV=g(()=>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)),TV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),OV={class:"equation"},FV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),uV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PV={style:{width:"25%"},class:"fraction"},LV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),HV=g(()=>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)),MV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),GV=g(()=>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)),IV={key:0,class:"equation"},RV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),zV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),UV={style:{width:"45%"},class:"fraction"},YV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV={key:1,class:"equation"},JV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),$V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KV={style:{width:"45%"},class:"fraction"},qV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),XV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV={class:"page-avoid"},vV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),ef={key:0,class:"definition",style:{margin:"15px 0"}},tf={class:"equation"},of=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),lf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),af={style:{width:"20%"},class:"fraction"},nf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),cf={style:{width:"20%"},class:"fraction"},df=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"10%","text-align":"center"}},pf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),hf={class:"equation"},yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_f={style:{width:"20%"},class:"fraction"},Nf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Vf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ff={style:{width:"20%"},class:"fraction"},gf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Df=g(()=>e.createElementVNode("div",null,"24",-1)),xf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bf={style:{width:"10%","text-align":"center"}},Cf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Sf={class:"equation"},kf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Bf={style:{width:"20%"},class:"fraction"},wf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Of={style:{width:"20%"},class:"fraction"},Ff=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uf=g(()=>e.createElementVNode("div",null,"24",-1)),Pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Lf={style:{width:"10%","text-align":"center"}},Wf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),Hf=g(()=>e.createElementVNode("span",null,"=",-1)),Mf=g(()=>e.createElementVNode("span",null,"=",-1)),Gf=g(()=>e.createElementVNode("span",null,"=",-1)),If={key:0},Rf={key:0,class:"equation"},zf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),Uf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Yf={style:{width:"45%"},class:"fraction"},Zf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Qf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"10%","text-align":"center"}},$f={key:1,class:"equation"},Kf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),qf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"45%"},class:"fraction"},jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eg={style:{width:"10%","text-align":"center"}},tg=["innerHTML"],og={class:"page-avoid"},lg={key:0},ag=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),ng={key:0,class:"definition",style:{margin:"15px 0"}},sg={class:"equation"},ig=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),cg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),dg={style:{width:"20%"},class:"fraction"},rg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pg={style:{width:"20%"},class:"fraction"},hg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Eg={style:{width:"10%","text-align":"center"}},_g=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),Ng={class:"equation"},Vg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),fg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gg={style:{width:"20%"},class:"fraction"},Dg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),bg={style:{width:"20%"},class:"fraction"},Cg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sg=g(()=>e.createElementVNode("div",null,"24",-1)),kg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ag={style:{width:"10%","text-align":"center"}},Bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),wg={class:"equation"},Tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Fg={style:{width:"20%"},class:"fraction"},ug=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Lg={style:{width:"20%"},class:"fraction"},Wg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hg=g(()=>e.createElementVNode("div",null,"24",-1)),Mg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Gg={style:{width:"10%","text-align":"center"}},Ig=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Rg=g(()=>e.createElementVNode("span",null,"=",-1)),zg=g(()=>e.createElementVNode("span",null,"=",-1)),Ug=g(()=>e.createElementVNode("span",null,"=",-1)),Yg=["innerHTML"];function Zg(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.referenceOnly||(y=(S=o.reportData)==null?void 0:S.weather)!=null&&y.overallAsGoodWx?"watermark":"")},[e.createVNode(h,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,jy),e.createElementVNode("div",vy,[e.createElementVNode("div",eE,[e.createElementVNode("div",tE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,oE),e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",sE,[e.createElementVNode("table",iE,[e.createElementVNode("tr",null,[cE,e.createElementVNode("td",dE,"    "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[rE,e.createElementVNode("td",mE,"    "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",pE,[e.createElementVNode("table",hE,[e.createElementVNode("tr",null,[yE,e.createElementVNode("td",EE,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[_E,e.createElementVNode("td",NE,e.toDisplayString((P=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:P.loadCondition),1)]),e.createElementVNode("tr",null,[VE,e.createElementVNode("td",fE,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[gE,e.createElementVNode("td",DE,[e.createElementVNode("span",xE,e.toDisplayString(((u=(b=o.reportData)==null?void 0:b.departure)==null?void 0:u.portName)||a.computedLngLat((Z=(R=o.reportData)==null?void 0:R.departure)==null?void 0:Z.lat,(W=(z=o.reportData)==null?void 0:z.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Y=(f=o.reportData)==null?void 0:f.departure)==null?void 0:Y.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[bE,e.createElementVNode("td",CE,[e.createElementVNode("span",SE,e.toDisplayString(((H=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:H.portName)||a.computedLngLat((K=($=o.reportData)==null?void 0:$.arrival)==null?void 0:K.lat,(q=(X=o.reportData)==null?void 0:X.arrival)==null?void 0:q.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(V=o.reportData)==null?void 0:V.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),kE,(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",AE,[e.createElementVNode("div",BE,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(le,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(le),1))),128))])]),e.createElementVNode("table",wE,[e.createElementVNode("tr",null,[TE,e.createElementVNode("td",OE,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",FE,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,[uE,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",PE,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,[LE,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",WE,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)])]),HE]))),128)),ME,e.createElementVNode("div",GE,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((n=o.reportData)==null?void 0:n.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",IE,[RE,e.createElementVNode("div",null,[zE,e.createElementVNode("table",UE,[YE,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":s[0]||(s[0]=d=>l.advisory=d),height:"320px",onBlur:s[1]||(s[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:s[2]||(s[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,ZE))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=o.reportData)==null?void 0:j.segments,(d,v)=>{var le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",QE,[e.createElementVNode("div",JE,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",$E,[e.createElementVNode("div",null,e.toDisplayString((ee=(le=o.reportData)==null?void 0:le.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),KE,e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),vE,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[e_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),t_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),o_,e.createElementVNode("tr",null,[e.createElementVNode("td",l_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",a_,"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",n_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",s_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),i_,e.createElementVNode("div",c_,[e.createElementVNode("table",d_,[r_,m_,e.createElementVNode("tr",null,[p_,e.createElementVNode("td",h_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",y_,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,[E_,e.createElementVNode("td",__,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",N_,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,[V_,e.createElementVNode("td",f_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",g_,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,[D_,e.createElementVNode("td",x_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",b_,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,[C_,e.createElementVNode("td",S_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",k_,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,[A_,e.createElementVNode("td",B_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",w_,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,[T_,e.createElementVNode("td",O_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",F_,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",u_," 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",P_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ie=(se=o.reportData)==null?void 0:se.weather)!=null&&ie.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",L_,[e.createTextVNode(" No Charter Party defined good weather was found. "),W_,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",H_,[M_,G_,(ce=(pe=o.reportData)==null?void 0:pe.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",I_,e.toDisplayString(d.goodWx.avgSpd),1)),(ge=(he=o.reportData)==null?void 0:he.weather)!=null&&ge.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",R_,"-")),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",z_,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",U_,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",Y_,[Z_,Q_,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",J_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",$_,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),K_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),q_,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",X_,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",j_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",v_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",eN,[e.createElementVNode("div",tN,[e.createElementVNode("div",oN,[e.createTextVNode(" Time Analysis "),(ue=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&ue.noExtrapolation?(e.openBlock(),e.createElementBlock("span",lN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",aN,[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),nN,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),sN,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),iN,e.createElementVNode("div",cN,[dN,rN,e.createElementVNode("div",mN,[e.createElementVNode("div",null,e.toDisplayString((F=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),pN,hN]),yN]),e.createElementVNode("div",EN,[e.createElementVNode("div",_N," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),NN,e.createElementVNode("div",VN,[e.createElementVNode("div",null,e.toDisplayString((Pe=(ye=o.reportData)==null?void 0:ye.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),fN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((We=(Le=o.reportData)==null?void 0:Le.weather)!=null&&We.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),SN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),kN]),AN])]),e.createElementVNode("div",BN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",wN,[e.createElementVNode("div",TN,[ON,FN,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.weather)!=null&&He.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),PN,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),LN,e.createElementVNode("div",WN,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),HN]),e.createElementVNode("div",MN,[e.createElementVNode("div",GN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),IN,e.createElementVNode("div",RN,[e.createElementVNode("div",null,e.toDisplayString((Ke=($e=o.reportData)==null?void 0:$e.weather)!=null&&Ke.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),zN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),UN,e.createElementVNode("div",YN,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),ZN]),e.createElementVNode("div",QN,[e.createElementVNode("div",JN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),$N,e.createElementVNode("div",KN,[e.createElementVNode("div",null,e.toDisplayString((Oe=(U=o.reportData)==null?void 0:U.weather)!=null&&Oe.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),qN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),XN,e.createElementVNode("div",jN,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),vN]),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),eV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),tV,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),oV,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(((ze=d.timeConclusion)==null?void 0:ze.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,lV))]),e.createElementVNode("div",aV,[e.createElementVNode("div",nV,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",sV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",iV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),cV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),dV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),rV,e.createElementVNode("div",mV,[pV,hV,e.createElementVNode("div",yV,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),EV,_V]),NV,VV,fV]),e.createElementVNode("div",gV,[DV,((E=(Je=d.extend)==null?void 0:Je.cp)==null?void 0:E.dgo)>0?(e.openBlock(),e.createElementBlock("div",xV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",bV,[CV,SV,e.createElementVNode("div",kV,[e.createElementVNode("div",null,e.toDisplayString((fe=(Q=o.reportData)==null?void 0:Q.weather)!=null&&fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),AV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),BV,wV,TV]),e.createElementVNode("div",OV,[FV,uV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString((Me=(Te=o.reportData)==null?void 0:Te.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),WV,HV,MV]),GV,((qe=(me=d.extend)==null?void 0:me.cp)==null?void 0:qe.dgo)>0?(e.openBlock(),e.createElementBlock("div",IV,[RV,zV,e.createElementVNode("div",UV,[YV,ZV,e.createElementVNode("div",null,e.toDisplayString((ve=(je=o.reportData)==null?void 0:je.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=d.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",QV,[JV,$V,e.createElementVNode("div",KV,[qV,XV,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",jV,[vV,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ef,[e.createElementVNode("div",tf,[of,lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString((pt=(mt=o.reportData)==null?void 0:mt.weather)!=null&&pt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),nf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),sf,e.createElementVNode("div",cf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),df,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),rf,e.createElementVNode("div",mf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),pf]),e.createElementVNode("div",hf,[yf,Ef,e.createElementVNode("div",_f,[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),Nf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Vf,e.createElementVNode("div",ff,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),gf,Df]),xf,e.createElementVNode("div",bf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Cf]),e.createElementVNode("div",Sf,[kf,Af,e.createElementVNode("div",Bf,[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),wf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Tf,e.createElementVNode("div",Of,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Ff,uf]),Pf,e.createElementVNode("div",Lf,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),Wf]),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),Hf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Mf,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),Gf,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",If,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Rf,[zf,Uf,e.createElementVNode("div",Yf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),Zf,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)]),Qf,e.createElementVNode("div",Jf,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",$f,[Kf,qf,e.createElementVNode("div",Xf,[e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),jf,e.createElementVNode("div",null,e.toDisplayString((xt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&xt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),vf,e.createElementVNode("div",eg,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,tg))]),e.createElementVNode("div",og,[((Ct=(bt=d.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",lg,[ag,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ng,[e.createElementVNode("div",sg,[ig,cg,e.createElementVNode("div",dg,[e.createElementVNode("div",null,e.toDisplayString((kt=(St=o.reportData)==null?void 0:St.weather)!=null&&kt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),rg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),mg,e.createElementVNode("div",pg,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),hg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),yg,e.createElementVNode("div",Eg,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),_g]),e.createElementVNode("div",Ng,[Vg,fg,e.createElementVNode("div",gg,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Dg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),xg,e.createElementVNode("div",bg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Cg,Sg]),kg,e.createElementVNode("div",Ag,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),Bg]),e.createElementVNode("div",wg,[Tg,Og,e.createElementVNode("div",Fg,[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),ug,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Pg,e.createElementVNode("div",Lg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Wg,Hg]),Mg,e.createElementVNode("div",Gg,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),Ig]),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),Rg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),zg,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),Ug,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,Yg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Qg=Ee(Xy,[["render",Zg],["__scopeId","data-v-6f2b44b1"]]),nte="",Jg={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,s=2){return t==="--"?"--":te.roundPrecision(t,s)}},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,s,o){let c="";return s&&(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,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(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}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,h,i,_,D,S,y,N,x;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=(h=this.reportData)==null?void 0:h.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(_=this.reportData)==null?void 0:_.weather)==null?void 0:D.showSwell)??!0,this.showWave=((y=(S=this.reportData)==null?void 0:S.weather)==null?void 0:y.showWave)??!0;let t=[];(x=(N=this.reportData)==null?void 0:N.segments)==null||x.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let T=JSON.parse(JSON.stringify(k));T.cp=C,t.push(T)})}),t.sort(function(r,C){let k=r.date,T=C.date;return k-T});let s="";t.forEach(r=>{r.seg!==s&&(r.isFirstSeg=!0,s=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+w(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},_e=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),$g={class:"table",id:"second-table"},Kg=_e(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),qg={class:"subtitle"},Xg={class:"introduce"},jg={class:"introduce-ship"},vg={style:{"margin-bottom":"15px"}},e0=_e(()=>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)),t0={rowspan:"4"},o0=_e(()=>e.createElementVNode("td",null,"Entire Period",-1)),l0=_e(()=>e.createElementVNode("td",null,"Good weather period",-1)),a0=_e(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),n0=_e(()=>e.createElementVNode("td",null,"Excluded period",-1)),s0=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),i0={class:"summary-table"},c0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),d0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),r0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),m0=_e(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),p0=["colspan"],h0={key:0,colspan:"2"},y0=_e(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),E0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),_0=_e(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),N0=_e(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),V0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),f0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),g0={key:0,rowspan:"2"},D0=_e(()=>e.createElementVNode("br",null,null,-1)),x0={key:1,rowspan:"2"},b0=_e(()=>e.createElementVNode("br",null,null,-1)),C0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),S0={key:2,rowspan:"2"},k0=_e(()=>e.createElementVNode("br",null,null,-1)),A0={key:3,colspan:"2"},B0={key:4,rowspan:"2"},w0=_e(()=>e.createElementVNode("br",null,null,-1)),T0={key:5,colspan:"2"},O0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F0={key:6,rowspan:"2"},u0={key:7,rowspan:"2"},P0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),L0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),W0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),M0=_e(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),G0=_e(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),I0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),R0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z0=_e(()=>e.createElementVNode("th",null,"FO",-1)),U0=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),Y0=_e(()=>e.createElementVNode("th",null,"Dir",-1)),Z0=_e(()=>e.createElementVNode("th",null,"BF",-1)),Q0={key:0},J0={key:1},$0={key:2},K0={key:3},q0=_e(()=>e.createElementVNode("th",null,"RPM",-1)),X0=_e(()=>e.createElementVNode("th",null,"Slip%",-1)),j0=_e(()=>e.createElementVNode("th",null,"FO",-1)),v0=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),e2=_e(()=>e.createElementVNode("th",null,"FO",-1)),t2=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),o2=_e(()=>e.createElementVNode("th",null,"Dir",-1)),l2=_e(()=>e.createElementVNode("th",null,"BF",-1)),a2={class:"summary-tbody"};function n2(t,s,o,c,l,a){var h,i,_,D,S,y,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",$g,[Kg,e.createElementVNode("div",qg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",Xg,[e.createElementVNode("div",jg,[e.createElementVNode("span",null,e.toDisplayString((N=(y=o.reportData)==null?void 0:y.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",vg,[e.createElementVNode("table",null,[e0,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((x=o.reportData)==null?void 0:x.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",t0,e.toDisplayString(C+1),1),o0,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,[l0,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,[a0,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,[n0,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))])])]),s0,e.createElementVNode("div",null,[e.createElementVNode("table",i0,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c0,d0,r0,m0,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,p0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",h0,"meteo")):e.createCommentVNode("",!0),y0,E0]),e.createElementVNode("tr",null,[_0,N0,V0,f0,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",g0,[e.createTextVNode("Spd"),D0,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",x0,[e.createTextVNode("Dis"),b0,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),C0,l.showWave?(e.openBlock(),e.createElementBlock("th",S0,[e.createTextVNode("Sea HT"),k0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",A0,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",B0,[e.createTextVNode("Sig Wave"),w0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",T0,"Current")):e.createCommentVNode("",!0),O0,o.isAdmin?(e.openBlock(),e.createElementBlock("th",F0,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",u0,"wxFactor")):e.createCommentVNode("",!0),P0,L0,W0,H0,M0,G0,I0,R0]),e.createElementVNode("tr",null,[z0,U0,Y0,Z0,l.showSwell?(e.openBlock(),e.createElementBlock("th",Q0,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",J0,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",$0,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",K0,"CF(kts)")):e.createCommentVNode("",!0),q0,X0,j0,v0,e2,t2,o2,l2])]),e.createElementVNode("tbody",a2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.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(((P=(T=r.meteo)==null?void 0:T.wind)==null?void 0:P.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((O=(L=r.meteo)==null?void 0:L.wind)==null?void 0:O.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((R=(u=(b=r.meteo)==null?void 0:b.wave)==null?void 0:u.wd)==null?void 0:R.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(z=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:z.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((I=(Y=(f=r.meteo)==null?void 0:f.wave)==null?void 0:Y.swell)==null?void 0:I.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((K=($=(H=r.meteo)==null?void 0:H.wave)==null?void 0:$.sig)==null?void 0:K.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=(X=r.meteo)==null?void 0:X.current)==null?void 0:q.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((V=r.meteo)==null?void 0:V.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(((M=r.meteo)==null?void 0:M.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 s2=Ee(Jg,[["render",n2],["__scopeId","data-v-9fe5beca"]]),i2={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,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,s){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)}),s.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(Uo.init(c))}let t=this,s=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:s};this.$nextTick(()=>{this.chart.setOption(o)})}}},c2=["id"];function d2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,c2)])}const r2=Ee(i2,[["render",d2]]),m2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},p2={class:"logo"},h2=[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 y2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",p2,h2)}const E2=Ee(m2,[["render",y2]]),ite="",_2={components:{ScCharts:r2,BrabImg:E2},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 s=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(s.push({num:l,id:a}),o=l)});let c=[];return s.forEach((l,a)=>{let h=0;a==s.length-1?h=t.length-l.id:h=s[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&h>0?(i.push(l.num),h=h-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,s){let o=[],c=null,l=0;t.forEach((h,i)=>{h!=c&&this.computedIsNull(h)!==""?(o.push({num:h,id:i}),c=h,l++):this.computedIsNull(h)!==""&&h==c&&(o[l-1].id=i)});let a=[];return o.forEach((h,i)=>{let _=i?o[i-1].id:-1;for(let D=_;D<h.id;D++)a.push(h.num)}),a}},computedTime(){return function(t,s){return s=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const s=/.*(?=<)/,o=t.match(s);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let s=te.EmailHelper.convert2Html(t);return s=s.replace(/<\/br><\/br>+/g,"</br>"),s=s.replace(/(<\/br> <\/br>)+/g,"</br>"),s}else return"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(s)}`:"-"}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,s){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(s=>s.status===1);this.mailList=t},getTableData(){var X,q;let t=[];(q=(X=this.reportData)==null?void 0:X.segments)==null||q.forEach((V,M)=>{let J=V.extend.cp;V.inventory.sample.hours.forEach((n,j)=>{let d=JSON.parse(JSON.stringify(n));d.cp=J,d.fuelConclusion=V.fuelConclusion,d.timeConclusion=V.timeConclusion,t.push(d)})}),t.sort(function(V,M){let J=V.date,n=M.date;return J-n});let s=[],o=[],c=[],l=[],a=[],h=[],i=[],_=[],D=[],S=[],y=[],N=[],x=[],r=[],C=[],k=[],T=[],P=[],L=[],O=[],b=[],u=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],I=[!1,!1],H=[],$=[];t.forEach((V,M)=>{var n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me;if(s.push(w(V.utc).utc().format("MM/DD HHmm[Z]")),V.goodWx===!0&&V.excluded!==!0?(W.indexOf(!0)==-1&&(V.type==="BOSP"?f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[]),V.excluded===!0?(I.indexOf(!0)===-1&&(M===0?H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!0),I.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,$.push(H),H=[])):I.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,$.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((n=t[M+1])==null?void 0:n.type)==="BOSP"){let me=[];me.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),me.push({xAxis:w(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),$.push(me)}V.type!="A"&&(V.type==="BOSP"&&M===0?l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),(j=V==null?void 0:V.noon)==null?void 0:j.avgSpd,V==null?void 0:V.type]):l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((d=V==null?void 0:V.noon)==null?void 0:d.avgSpd)||"-",V==null?void 0:V.type]),L.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((v=V==null?void 0:V.noon)==null?void 0:v.windBF)||"-"]),R.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((le=V==null?void 0:V.noon)==null?void 0:le.seasHt)||"-"])),_.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ee=V==null?void 0:V.noon)==null?void 0:ee.foCons):""),x.push((V==null?void 0:V.type)!="A"?this.computedIsNull((se=V==null?void 0:V.noon)==null?void 0:se.dgoCons):""),z.push((V==null?void 0:V.type)!="A"?this.computedIsNull(V==null?void 0:V.dailyAvgCf):""),c.push((V==null?void 0:V.cpSpd)??""),a.push(((ie=V==null?void 0:V.timeConclusion)==null?void 0:ie.minusAbtSpd)??""),i.push(((de=V==null?void 0:V.cp)==null?void 0:de.fo)??""),D.push(((pe=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:pe.underTolerance)??""),S.push(((he=(ce=V==null?void 0:V.fuelConclusion)==null?void 0:ce.fo)==null?void 0:he.overTolerance)??""),N.push(((ge=V==null?void 0:V.cp)==null?void 0:ge.dgo)??""),r.push(((xe=(De=V==null?void 0:V.fuelConclusion)==null?void 0:De.dgo)==null?void 0:xe.underTolerance)??""),C.push(((Ce=(be=V==null?void 0:V.fuelConclusion)==null?void 0:be.dgo)==null?void 0:Ce.overTolerance)??""),T.push(((ke=(Se=V==null?void 0:V.meteo)==null?void 0:Se.wind)==null?void 0:ke.scale)??""),P.push(((Be=(Ae=this.reportData)==null?void 0:Ae.weather)==null?void 0:Be.windScale)??"");let J="";(ue=(Fe=this.reportData)==null?void 0:Fe.weather)!=null&&ue.sigSwitch?(J=(ye=(F=(Ve=V.meteo)==null?void 0:Ve.wave)==null?void 0:F.sig)!=null&&ye.height?(We=(Le=(Pe=V.meteo)==null?void 0:Pe.wave)==null?void 0:Le.sig)==null?void 0:We.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",u.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(Ke=($e=V.meteo)==null?void 0:$e.wave)==null?void 0:Ke.wd)!=null&&U.height?(Ue=(ze=(Oe=V.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",u.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(E=(Je=(Qe=V.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&E.height?(Te=(fe=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:fe.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",u.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),b.push(J)}),this.params={xAxis:s,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:$},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),S=this.computedArray(S),N=this.computedArray(N),r=this.computedArray(r),C=this.computedArray(C),_=this.computedCurrent(_),x=this.computedCurrent(x,"dgotype"),z=this.computedCurrent(z),c.forEach((V,M)=>{let J={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};o.push(J)}),a.forEach((V,M)=>{let J={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:V,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((V,M)=>{let J={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};h.push(J)}),D.forEach((V,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};h.push(J)}),S.forEach((V,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily FO",type:"bar",showSymbol:!1,data:_,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),N.forEach((V,M)=>{let J={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};y.push(J)}),r.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};y.push(J)}),C.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};y.push(J)}),y.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:x,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:P,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:T,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:L,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),O.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0});let K=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:K,type:"line",data:b,color:"#5eb3e0",showSymbol:!1,smooth:!0}),O.push({name:"Ship Report",type:"scatter",data:R,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:z,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=h,this.DGOChartData=y,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),N2={class:"charts"},V2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),f2={class:"subtitle"},g2=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),D2={class:"weather-eChart"},x2={class:"charts page-title"},b2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),C2={class:"subtitle"},S2=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),k2={class:"weather-eChart"},A2={class:"charts page-title"},B2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),w2={class:"subtitle"},T2={class:"message-table"},O2=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),F2=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),u2=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),P2={style:{display:"inline-block",width:"50%"}},L2=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),W2={style:{display:"inline-block",width:"50%"}},H2={style:{margin:"15px auto","padding-left":"20px"}},M2=["src"],G2={class:"charts-imgLegend"},I2={style:{position:"relative",left:"-20px"}},R2=Ge(()=>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)),z2=Ge(()=>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)),U2=Ge(()=>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)),Y2={key:0,class:"charts page-title"},Z2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),Q2={class:"subtitle"},J2={class:"message-table"},$2=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),K2=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),q2=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),X2={style:{display:"inline-block",width:"50%"}},j2=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),v2={style:{display:"inline-block",width:"50%"}},eD={class:"columns"},tD={class:"title"},oD=["innerHTML"],lD={class:"charts",style:{"page-break-before":"always"}},aD=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),nD={class:"methodology"},sD=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),iD={class:"definition"},cD={class:"equation"},dD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),rD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),mD={style:{width:"50%"},class:"fraction"},pD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),yD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),ED={class:"equation"},_D=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),ND=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),VD={style:{width:"50%"},class:"fraction"},fD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gD=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),DD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),xD={class:"equation"},bD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),CD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),SD={style:{width:"50%"},class:"fraction"},kD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AD=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),BD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),wD=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),TD=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),OD=Ge(()=>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)),FD=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),uD=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function PD(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue;const h=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.referenceOnly||(y=(S=o.reportData)==null?void 0:S.weather)!=null&&y.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",N2,[V2,e.createElementVNode("div",f2,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),g2,e.createElementVNode("div",D2,[e.createVNode(h,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",x2,[b2,e.createElementVNode("div",C2,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),S2,e.createElementVNode("div",k2,[e.createVNode(h,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",A2,[B2,e.createElementVNode("div",w2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",T2,[e.createElementVNode("tr",null,[O2,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[F2,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[u2,e.createElementVNode("td",null,[e.createElementVNode("span",P2,e.toDisplayString(((L=(P=o.reportData)==null?void 0:P.departure)==null?void 0:L.portName)||a.computedLngLat((b=(O=o.reportData)==null?void 0:O.departure)==null?void 0:b.lat,(R=(u=o.reportData)==null?void 0:u.departure)==null?void 0:R.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:z.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[L2,e.createElementVNode("td",null,[e.createElementVNode("span",W2,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((I=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:I.lat,($=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:$.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((X=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:X.utcTime,"table")),1)])])])]),e.createElementVNode("div",H2,[e.createElementVNode("img",{style:{width:"100%"},src:(q=o.reportData)==null?void 0:q.chartUrl,alt:""},null,8,M2),e.createElementVNode("div",G2,[e.createElementVNode("div",I2,[R2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),z2]),U2])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",Y2,[Z2,e.createElementVNode("div",Q2,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",J2,[e.createElementVNode("tr",null,[$2,e.createElementVNode("td",null,e.toDisplayString((n=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:n.name),1)]),e.createElementVNode("tr",null,[K2,e.createElementVNode("td",null,e.toDisplayString((j=o.reportData)==null?void 0:j.preparedFor),1)]),e.createElementVNode("tr",null,[q2,e.createElementVNode("td",null,[e.createElementVNode("span",X2,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(le=o.reportData)==null?void 0:le.departure)==null?void 0:ee.lat,(ie=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ie.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,[j2,e.createElementVNode("td",null,[e.createElementVNode("span",v2,e.toDisplayString(((ce=(pe=o.reportData)==null?void 0:pe.arrival)==null?void 0:ce.portName)||a.computedLngLat((ge=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:ge.lat,(xe=(De=o.reportData)==null?void 0:De.arrival)==null?void 0:xe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Ce=(be=o.reportData)==null?void 0:be.arrival)==null?void 0:Ce.utcTime,"table")),1)])])])]),e.createElementVNode("div",eD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ve,F)=>(e.openBlock(),e.createElementBlock("div",{key:Ve.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",tD,"FROM "+e.toDisplayString(a.computeFrom(Ve.from))+" "+e.toDisplayString(a.computeUTCTime(Ve.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ve==null?void 0:Ve.body)??"-")},null,8,oD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",lD,[aD,e.createElementVNode("div",nD,[sD,e.createElementVNode("div",iD,[e.createElementVNode("div",cD,[dD,rD,e.createElementVNode("div",mD,[e.createElementVNode("div",null,e.toDisplayString((ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),pD,hD]),yD]),e.createElementVNode("div",ED,[_D,ND,e.createElementVNode("div",VD,[e.createElementVNode("div",null,e.toDisplayString((Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),fD,gD]),DD]),e.createElementVNode("div",xD,[bD,CD,e.createElementVNode("div",SD,[e.createElementVNode("div",null,e.toDisplayString((ue=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&ue.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),kD,AD]),BD]),wD]),TD,OD,FD,uD])])],2)}const LD=Ee(_2,[["render",PD],["__scopeId","data-v-4fb04207"]]),cte="",WD={components:{firstPart:Qg,secondPart:s2,thirdPart:LD},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},HD={class:"voyage-report"};function MD(t,s,o,c,l,a){const h=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",HD,[e.createVNode(h,{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(_,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=Ee(WD,[["render",MD],["__scopeId","data-v-61638416"]]),dte="",GD={components:{Editor:Ro},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 s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):s?w(t).utc().format(s):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=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"),h=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:h}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):s=="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,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";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})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){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 s,o,c;return(s=t.timeConclusion)!=null&&s.spdPercentage?te.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,s){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}°${te.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 s,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(s=this.reportData)==null?void 0:s.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let _={begin:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(_)}),!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 h=[];c.extend.segTimes.forEach(i=>{h.push(this.computedSeg(i))}),this.segDetail.push(h),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},p=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),ID=p(()=>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)),RD={class:"fli-main"},zD=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),UD={class:"card basics"},YD={class:"list flex"},ZD={class:"item"},QD=p(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),JD={class:"content flex"},$D={class:"item"},KD=p(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),qD={class:"content flex"},XD={class:"item"},jD=p(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),vD={class:"content flex"},ex={class:"list"},tx={class:"item"},ox=p(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),lx={class:"content flex"},ax={class:"content flex"},nx={class:"item"},sx=p(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),ix={class:"content flex"},cx={class:"content flex"},dx={class:"item"},rx=p(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),mx={class:"content flexL"},px=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),hx={class:"clause"},yx={key:0,class:"definition flex"},Ex={key:1,class:"definition flex"},_x={class:"item"},Nx=p(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Vx={class:"content"},fx={key:0,class:"item"},gx=p(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Dx={class:"content"},xx={key:1,class:"item"},bx=p(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Cx={class:"content"},Sx={key:2,class:"item"},kx=p(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Ax={class:"content"},Bx={key:3,class:"item"},wx=p(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),Tx={class:"content"},Ox={key:4,class:"item"},Fx=[p(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],ux={key:5,class:"item"},Px=[p(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Lx={class:"definition flexM"},Wx={class:"table"},Hx=p(()=>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)),Mx=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Gx={class:"summary"},Ix={key:0,class:"summary-overall"},Rx=p(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),zx={class:"summary-overall-row"},Ux={class:"card"},Yx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Zx={class:"main-content"},Qx={key:0},Jx={key:1},$x={class:"card"},Kx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),qx={class:"main-content"},Xx={key:0},jx={key:1},vx={class:"card"},eb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),tb={class:"main-content"},ob={key:0},lb={key:1},ab={class:"summary-overall-row"},nb={class:"card"},sb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),ib={class:"main-content"},cb={class:"card"},db=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),rb={class:"main-content"},mb={class:"card"},pb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),hb={class:"main-content"},yb=p(()=>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)),Eb={class:"card",style:{flex:"1.5"}},_b={class:"card-title"},Nb=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Vb={class:"card-segment"},fb={class:"card-segment"},gb={class:"card-segment"},Db=p(()=>e.createElementVNode("div",null,"Applied",-1)),xb={class:"uppercase"},bb={class:"card summary-card",style:{flex:"1"}},Cb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Sb={key:0,class:"main-content"},kb={key:0,class:"iconfont success"},Ab={key:1,class:"iconfont error"},Bb={key:1,class:"main-content"},wb={class:"card-content",style:{"justify-content":"flex-start"}},Tb={class:"card summary-card",style:{flex:"1"}},Ob=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Fb={key:0,class:"main-content"},ub={key:0,class:"iconfont success"},Pb={key:1,class:"iconfont error"},Lb={key:1,class:"main-content"},Wb={class:"card-content",style:{"justify-content":"flex-start"}},Hb={class:"card summary-card",style:{flex:"1"}},Mb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Gb={key:0,class:"main-content"},Ib={key:0,class:"iconfont success"},Rb={key:1,class:"iconfont error"},zb={key:1,class:"main-content"},Ub={class:"card-content",style:{"justify-content":"flex-start"}},Yb={style:{"page-break-inside":"avoid"}},Zb=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Qb={class:"remarks"},Jb={class:"item"},$b=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Kb={class:"speed"},qb={class:"uppercase"},Xb={class:"item"},jb=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),vb={key:0,class:"remark-detail"},eC={key:1,class:"remark-detail"},tC={class:"page-avoid"},oC={class:"dashed"},lC={class:"card phase-title-card",style:{flex:"0.5"}},aC={class:"card-title"},nC=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sC={class:"card-segment"},iC={class:"card-segment"},cC={class:"card-segment"},dC=p(()=>e.createElementVNode("div",null,"Applied",-1)),rC={class:"uppercase"},mC=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),pC={class:"phase-analysis"},hC={class:"card phase-card",style:{flex:"1"}},yC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),EC={class:"main-content"},_C=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),NC={class:"main-content"},VC={class:"card-content"},fC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),gC=p(()=>e.createElementVNode("span",null,"mt",-1)),DC={class:"card-content"},xC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),bC=p(()=>e.createElementVNode("span",null,"mt",-1)),CC={class:"card-content"},SC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),kC=p(()=>e.createElementVNode("span",null,"mt",-1)),AC={class:"card-content"},BC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),wC=p(()=>e.createElementVNode("span",null,"mt",-1)),TC=p(()=>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)),OC={class:"card phase-card",style:{flex:"1"}},FC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),uC={class:"main-content"},PC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),LC={class:"main-content"},WC={class:"card-content"},HC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),MC=p(()=>e.createElementVNode("span",null,"mt",-1)),GC={class:"card-content"},IC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),RC=p(()=>e.createElementVNode("span",null,"mt",-1)),zC={class:"card-content"},UC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),YC=p(()=>e.createElementVNode("span",null,"mt",-1)),ZC={class:"card-content"},QC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),JC=p(()=>e.createElementVNode("span",null,"mt",-1)),$C=p(()=>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)),KC={class:"phase-analysis"},qC={class:"card phase-card",style:{flex:"1"}},XC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),jC={class:"main-content"},vC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e3={class:"main-content"},t3={class:"card-content"},o3=p(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),l3=p(()=>e.createElementVNode("span",null,"nm",-1)),a3={class:"card-content"},n3=p(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),s3=p(()=>e.createElementVNode("span",null,"nm",-1)),i3={class:"card-content"},c3=p(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),d3=p(()=>e.createElementVNode("span",null,"nm",-1)),r3={class:"card-content"},m3=p(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),p3=p(()=>e.createElementVNode("span",null,"nm",-1)),h3={class:"card phase-card",style:{flex:"1"}},y3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),E3={class:"main-content"},_3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),N3={class:"main-content"},V3={class:"card-content"},f3=p(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),g3=p(()=>e.createElementVNode("span",null,"hrs",-1)),D3={class:"card-content"},x3=p(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),b3=p(()=>e.createElementVNode("span",null,"hrs",-1)),C3={class:"card-content"},S3=p(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),k3=p(()=>e.createElementVNode("span",null,"hrs",-1)),A3={class:"card-content"},B3=p(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),w3=p(()=>e.createElementVNode("span",null,"hrs",-1)),T3={class:"card phase-card",style:{flex:"1"}},O3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),F3={class:"main-content"},u3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),P3={class:"main-content"},L3={class:"card-content"},W3=p(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),H3=p(()=>e.createElementVNode("span",null,"kts",-1)),M3={class:"card-content"},G3=p(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),I3=p(()=>e.createElementVNode("span",null,"kts",-1)),R3={class:"card-content"},z3=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),U3=p(()=>e.createElementVNode("span",null,"kts",-1)),Y3={class:"card-content"},Z3=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),Q3=p(()=>e.createElementVNode("span",null,"kts",-1)),J3={class:"phase-analysis"},$3={class:"card phase-card",style:{flex:"1"}},K3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),q3={class:"main-content"},X3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),j3={class:"main-content"},v3={class:"card-content"},eS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),tS=p(()=>e.createElementVNode("span",null,"mt",-1)),oS={class:"card-content"},lS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),aS=p(()=>e.createElementVNode("span",null,"mt",-1)),nS={class:"card-content"},sS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),iS=p(()=>e.createElementVNode("span",null,"mt",-1)),cS={class:"card-content"},dS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),rS=p(()=>e.createElementVNode("span",null,"mt",-1)),mS={class:"card phase-card",style:{flex:"1"}},pS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),hS={class:"main-content"},yS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),ES={class:"main-content"},_S={class:"card-content"},NS=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),VS=p(()=>e.createElementVNode("span",null,"mt",-1)),fS={class:"card-content"},gS=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),DS=p(()=>e.createElementVNode("span",null,"mt",-1)),xS={class:"card-content"},bS=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),CS=p(()=>e.createElementVNode("span",null,"mt",-1)),SS={class:"card-content"},kS=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),AS=p(()=>e.createElementVNode("span",null,"mt",-1)),BS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},wS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),TS={class:"main-content"},OS={class:"card-content"},FS=p(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),uS={key:0},PS=p(()=>e.createElementVNode("span",null,"kts",-1)),LS={key:1},WS={class:"phase-card"},HS={class:"card",style:{flex:"1"}},MS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),GS={key:0,class:"main-content"},IS={key:0,class:"iconfont success"},RS={key:1,class:"iconfont error"},zS={key:1,class:"main-content"},US={class:"nogwd"},YS={class:"card-content",style:{"justify-content":"flex-start"}},ZS={key:0},QS={class:"equation"},JS=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),$S=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),KS={style:{width:"8%"}},qS=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XS=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jS={style:{width:"10%"}},vS=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ek={class:"equation"},tk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),ok=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),lk={style:{width:"8%"}},ak=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sk={style:{width:"10%"}},ik=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ck={class:"equation"},dk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),rk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),mk={style:{width:"8%"}},pk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),yk={style:{width:"10%"}},Ek=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),_k={class:"phase-card"},Nk={class:"card",style:{flex:"1"}},Vk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),fk={key:0,class:"main-content"},gk={key:0,class:"iconfont success"},Dk={key:1,class:"iconfont error"},xk={key:1,class:"main-content"},bk={class:"nogwd"},Ck={class:"card-content",style:{"justify-content":"flex-start"}},Sk={key:0},kk={class:"equation"},Ak=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Bk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),wk={style:{width:"8%"}},Tk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ok=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Fk={style:{width:"120px"}},uk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"10%"}},Wk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Hk={class:"equation"},Mk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Gk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ik={style:{width:"8%"}},Rk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Uk={style:{width:"120px"}},Yk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zk=p(()=>e.createElementVNode("div",null,"24",-1)),Qk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Jk={style:{width:"10%"}},$k=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Kk={class:"equation"},qk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Xk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jk={style:{width:"8%"}},vk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),t4={style:{width:"120px"}},o4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l4=p(()=>e.createElementVNode("div",null,"24",-1)),a4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),n4={style:{width:"10%"}},s4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),i4={class:"phase-card"},c4={class:"card",style:{flex:"1"}},d4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),r4={key:0,class:"main-content"},m4={key:0,class:"iconfont success"},p4={key:1,class:"iconfont error"},h4={key:1,class:"main-content"},y4={class:"nogwd"},E4={class:"card-content",style:{"justify-content":"flex-start"}},_4={key:0},N4={class:"equation"},V4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),f4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),g4={style:{width:"8%"}},D4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),b4={style:{width:"120px"}},C4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),S4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"10%"}},A4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),B4={class:"equation"},w4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),T4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),O4={style:{width:"8%"}},F4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),P4={style:{width:"120px"}},L4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),W4=p(()=>e.createElementVNode("div",null,"24",-1)),H4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),M4={style:{width:"10%"}},G4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),I4={class:"equation"},R4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),z4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U4={style:{width:"8%"}},Y4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Q4={style:{width:"120px"}},J4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=p(()=>e.createElementVNode("div",null,"24",-1)),K4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),q4={style:{width:"10%"}},X4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),j4=p(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),v4={class:"formular dashed",style:{"page-break-inside":"avoid"}},eA={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},tA=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),oA={class:""},lA={class:"equation"},aA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),nA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sA={style:{width:"50%"},class:"fraction"},iA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cA=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),dA=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),rA={class:"equation"},mA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),pA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),hA={style:{width:"50%"},class:"fraction"},yA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_A=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),NA={class:"equation"},VA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),fA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gA={style:{width:"50%"},class:"fraction"},DA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xA=p(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),bA=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),CA=p(()=>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)),SA={class:"flexL formular-item",style:{"margin-left":"20px"}},kA=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),AA={class:""},BA={class:"equation"},wA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),TA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),OA={style:{width:"25%"},class:"fraction"},FA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uA=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),LA=p(()=>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)),WA=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),HA={class:"equation"},MA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),GA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),IA={style:{width:"25%"},class:"fraction"},RA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),UA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YA=p(()=>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)),ZA=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),QA={class:"equation"},JA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),$A=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KA={style:{width:"25%"},class:"fraction"},qA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),jA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),vA=p(()=>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)),e5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),t5=p(()=>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)),o5=p(()=>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 l5(t,s,o,c,l,a){var h,i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly?"watermark":"")},[ID,e.createElementVNode("div",RD,[zD,e.createElementVNode("div",UD,[e.createElementVNode("div",YD,[e.createElementVNode("div",ZD,[QD,e.createElementVNode("div",JD,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",$D,[KD,e.createElementVNode("div",qD,e.toDisplayString((S=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",XD,[jD,e.createElementVNode("div",vD,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",ex,[e.createElementVNode("div",tx,[ox,e.createElementVNode("div",lx,e.toDisplayString(((N=(y=o.reportData)==null?void 0:y.departure)==null?void 0:N.portName)||a.computedLngLat((r=(x=o.reportData)==null?void 0:x.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",ax,e.toDisplayString(a.computedTime((P=(T=o.reportData)==null?void 0:T.departure)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((u=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:u.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",cx,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",dx,[rx,e.createElementVNode("div",mx,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),px,e.createElementVNode("div",hx,[(H=(I=o.reportData)==null?void 0:I.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",yx," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Ex,[e.createElementVNode("div",_x,[Nx,e.createElementVNode("div",Vx,"BF "+e.toDisplayString(((K=($=o.reportData)==null?void 0:$.weather)==null?void 0:K.windScale)||"-"),1)]),(q=(X=o.reportData)==null?void 0:X.weather)!=null&&q.waveSwitch?(e.openBlock(),e.createElementBlock("div",fx,[gx,e.createElementVNode("div",Dx,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(n=(J=o.reportData)==null?void 0:J.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",xx,[bx,e.createElementVNode("div",Cx,e.toDisplayString(((d=(j=o.reportData)==null?void 0:j.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(le=(v=o.reportData)==null?void 0:v.weather)!=null&&le.sigSwitch?(e.openBlock(),e.createElementBlock("div",Sx,[kx,e.createElementVNode("div",Ax,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ie=o.reportData)==null?void 0:ie.weather)!=null&&de.waveSwitch||(pe=(re=o.reportData)==null?void 0:re.weather)!=null&&pe.swellHeight||(he=(ce=o.reportData)==null?void 0:ce.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Bx,[wx,e.createElementVNode("div",Tx,e.toDisplayString((De=(ge=o.reportData)==null?void 0:ge.weather)==null?void 0:De.seaScale),1)])):e.createCommentVNode("",!0),(be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Ox,Fx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ux,Px)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Lx,[e.createElementVNode("table",Wx,[Hx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(E,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(E==null?void 0:E.type),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.speed} | ${E==null?void 0:E.spdOfOver} , ${E.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.fo} | ${E==null?void 0:E.over} , ${E.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.dgo} | ${E==null?void 0:E.over} , ${E.under}`),1)]))),128))])])])]),Mx,e.createElementVNode("div",Gx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",Ix,[Rx,e.createElementVNode("div",zx,[e.createElementVNode("div",Ux,[Yx,e.createElementVNode("div",Zx,[(Fe=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",Qx,e.toDisplayString((Ve=(ue=o.reportData)==null?void 0:ue.goodWx)==null?void 0:Ve.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Jx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",$x,[Kx,e.createElementVNode("div",qx,[(ye=(F=o.reportData)==null?void 0:F.goodWx)!=null&&ye.avgSpd?(e.openBlock(),e.createElementBlock("div",Xx,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",jx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",vx,[eb,e.createElementVNode("div",tb,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",ob,e.toDisplayString(($e=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:$e.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",lb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",ab,[e.createElementVNode("div",nb,[sb,e.createElementVNode("div",ib,e.toDisplayString((U=(Ke=o.reportData)==null?void 0:Ke.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",cb,[db,e.createElementVNode("div",rb,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),yb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(E,Q)=>{var fe,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",Eb,[e.createElementVNode("div",_b,[Nb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,qe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+qe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Vb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port1),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time1),1)]),e.createElementVNode("div",fb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port2),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time2),1)])],2))),128)),e.createElementVNode("div",gb,[Db,e.createElementVNode("div",null,[e.createElementVNode("span",xb,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",bb,[Cb,(fe=E.goodWx)!=null&&fe.distance?(e.openBlock(),e.createElementBlock("div",Sb,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",kb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Ab,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Bb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",wb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",Tb,[Ob,(Te=E.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Fb,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",ub,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Pb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Lb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Wb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",Hb,[Mb,(Me=E.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Gb,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ib,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",zb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ub,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Yb,[Zb,e.createElementVNode("div",Qb,[e.createElementVNode("div",Jb,[$b,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",Kb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",qb,e.toDisplayString(E.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(fe,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${fe.port1} (${fe.fullTime1}) to ${fe.port2} (${fe.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Xb,[jb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",vb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${E.begin} to ${E.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",eC,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(E,Q)=>{var fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo,G,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,$o,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",tC,[e.createElementVNode("div",oC,[e.createElementVNode("div",lC,[e.createElementVNode("div",aC,[nC,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(ut,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port1),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time1),1)]),e.createElementVNode("div",iC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port2),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time2),1)])],2))),128)),e.createElementVNode("div",cC,[dC,e.createElementVNode("div",null,[e.createElementVNode("span",rC,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])])]),mC,e.createElementVNode("div",pC,[e.createElementVNode("div",hC,[yC,e.createElementVNode("div",EC,[e.createElementVNode("span",null,e.toDisplayString(((fe=E.goodWx)==null?void 0:fe.avgFoEcaCons)||"-")+" mt",1)]),_C,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((Te=E.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",VC,[fC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=E.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),gC])]),e.createElementVNode("div",DC,[xC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=E.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),bC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=E.allWx)==null?void 0:qe.outEca.avgFoCons)||"-"),1),kC])]),e.createElementVNode("div",AC,[BC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=E.allWx)==null?void 0:je.inEca.avgFoEcaCons)||"-"),1),wC])]),TC]),e.createElementVNode("div",OC,[FC,e.createElementVNode("div",uC,[e.createElementVNode("span",null,e.toDisplayString(((ve=E.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ot=E.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",WC,[HC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=E.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),MC])]),e.createElementVNode("div",GC,[IC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=E.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),RC])]),e.createElementVNode("div",zC,[UC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=E.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),YC])]),e.createElementVNode("div",ZC,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=E.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),JC])]),$C])]),e.createElementVNode("div",KC,[e.createElementVNode("div",qC,[XC,e.createElementVNode("div",jC,[e.createElementVNode("span",null,e.toDisplayString(((pt=E.goodWx)==null?void 0:pt.distance)||"-")+" nm",1)]),vC,e.createElementVNode("div",e3,[e.createElementVNode("span",null,e.toDisplayString(((ht=E.allWx)==null?void 0:ht.distance)||"-")+" nm",1)]),e.createElementVNode("div",t3,[o3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=E.goodWx)==null?void 0:yt.outEca.distance)||"-"),1),l3])]),e.createElementVNode("div",a3,[n3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=E.goodWx)==null?void 0:Et.inEca.distance)||"-"),1),s3])]),e.createElementVNode("div",i3,[c3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=E.allWx)==null?void 0:_t.outEca.distance)||"-"),1),d3])]),e.createElementVNode("div",r3,[m3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=E.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),p3])])]),e.createElementVNode("div",h3,[y3,e.createElementVNode("div",E3,[e.createElementVNode("span",null,e.toDisplayString(((Vt=E.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),_3,e.createElementVNode("div",N3,[e.createElementVNode("span",null,e.toDisplayString(((ft=E.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",V3,[f3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=E.goodWx)==null?void 0:gt.outEca.time)||"-"),1),g3])]),e.createElementVNode("div",D3,[x3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=E.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),b3])]),e.createElementVNode("div",C3,[S3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=E.allWx)==null?void 0:xt.outEca.time)||"-"),1),k3])]),e.createElementVNode("div",A3,[B3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=E.allWx)==null?void 0:bt.inEca.time)||"-"),1),w3])])]),e.createElementVNode("div",T3,[O3,e.createElementVNode("div",F3,[e.createElementVNode("span",null,e.toDisplayString(((Ct=E.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),u3,e.createElementVNode("div",P3,[e.createElementVNode("span",null,e.toDisplayString(((St=E.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",L3,[W3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=E.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),H3])]),e.createElementVNode("div",M3,[G3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=E.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),I3])]),e.createElementVNode("div",R3,[z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=E.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),U3])]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=E.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),Q3])])])]),e.createElementVNode("div",J3,[e.createElementVNode("div",$3,[K3,e.createElementVNode("div",q3,[e.createElementVNode("span",null,e.toDisplayString(((Tt=E.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),X3,e.createElementVNode("div",j3,[e.createElementVNode("span",null,e.toDisplayString(((Ht=E.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",v3,[eS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=E.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),tS])]),e.createElementVNode("div",oS,[lS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=E.goodWx)==null?void 0:Eo.inEca.sumFoCons)||"-"),1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=E.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),iS])]),e.createElementVNode("div",cS,[dS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=E.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),rS])])]),e.createElementVNode("div",mS,[pS,e.createElementVNode("div",hS,[e.createElementVNode("span",null,e.toDisplayString(((Vo=E.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),yS,e.createElementVNode("div",ES,[e.createElementVNode("span",null,e.toDisplayString(((G=E.allWx)==null?void 0:G.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",_S,[NS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=E.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),VS])]),e.createElementVNode("div",fS,[gS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=E.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),DS])]),e.createElementVNode("div",xS,[bS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=E.allWx)==null?void 0:Ft.outEca.sumDgoCons)||"-"),1),CS])]),e.createElementVNode("div",SS,[kS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=E.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),AS])])]),e.createElementVNode("div",BS,[wS,e.createElementVNode("div",TS,[e.createElementVNode("span",null,e.toDisplayString(((Gt=E.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",OS,[FS,(It=E.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=E.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",uS,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=E.goodWx)==null?void 0:Yt.avgCf)),1),PS])):(e.openBlock(),e.createElementBlock("b",LS,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",WS,[e.createElementVNode("div",HS,[MS,(Zt=E.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",GS,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",IS,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",RS,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",zS,[e.createElementVNode("span",US,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",YS,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=E.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=E.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",ZS,[e.createElementVNode("div",QS,[JS,$S,e.createElementVNode("div",KS,[e.createElementVNode("div",null,e.toDisplayString((Kt=($t=o.reportData)==null?void 0:$t.weather)!=null&&Kt.noExtrapolation?(qt=E.goodWx)==null?void 0:qt.distance:(Xt=E.allWx)==null?void 0:Xt.distance),1),qS,e.createElementVNode("div",null,e.toDisplayString((jt=E.goodWx)==null?void 0:jt.pfmSpd),1)]),XS,e.createElementVNode("div",jS,e.toDisplayString(E.timeConclusion.timeAtPfmSpd)+" Hrs",1),vS]),e.createElementVNode("div",ek,[tk,ok,e.createElementVNode("div",lk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=E.goodWx)==null?void 0:to.distance:(oo=E.allWx)==null?void 0:oo.distance),1),ak,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),nk,e.createElementVNode("div",sk,e.toDisplayString(E.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),ik]),e.createElementVNode("div",ck,[dk,rk,e.createElementVNode("div",mk,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=E.goodWx)==null?void 0:no.distance:(so=E.allWx)==null?void 0:so.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.plusAbtSpd),1)]),hk,e.createElementVNode("div",yk,e.toDisplayString(E.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Ek])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",_k,[e.createElementVNode("div",Nk,[Vk,(io=E.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",fk,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",gk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Dk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",xk,[e.createElementVNode("span",bk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ck,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=E.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=E.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",Sk,[e.createElementVNode("div",kk,[Ak,Bk,e.createElementVNode("div",wk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=E.goodWx)==null?void 0:xo.distance:(bo=E.allWx)==null?void 0:bo.distance),1),Tk,e.createElementVNode("div",null,e.toDisplayString((Co=E.goodWx)==null?void 0:Co.pfmSpd),1)]),Ok,e.createElementVNode("div",Fk,[e.createElementVNode("div",null,e.toDisplayString((So=E.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=E.allWx)==null?void 0:ko.inEca.distance)>0?` + ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),uk,e.createElementVNode("div",null,e.toDisplayString((Ao=E.goodWx)==null?void 0:Ao.time),1)]),Pk,e.createElementVNode("div",Lk,e.toDisplayString(E.fuelConclusion.fo.entireCons)+" MT",1),Wk]),e.createElementVNode("div",Hk,[Mk,Gk,e.createElementVNode("div",Ik,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=E.goodWx)==null?void 0:To.distance:(Oo=E.allWx)==null?void 0:Oo.distance),1),Rk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),zk,e.createElementVNode("div",Uk,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.overTolerance),1),Yk,Zk]),Qk,e.createElementVNode("div",Jk,e.toDisplayString(E.fuelConclusion.fo.maxCons)+" MT",1),$k]),e.createElementVNode("div",Kk,[qk,Xk,e.createElementVNode("div",jk,[e.createElementVNode("div",null,e.toDisplayString((uo=(Fo=o.reportData)==null?void 0:Fo.weather)!=null&&uo.noExtrapolation?(Po=E.goodWx)==null?void 0:Po.distance:(Lo=E.allWx)==null?void 0:Lo.distance),1),vk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),e4,e.createElementVNode("div",t4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.underTolerance),1),o4,l4]),a4,e.createElementVNode("div",n4,e.toDisplayString(E.fuelConclusion.fo.minCons)+" MT",1),s4])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",i4,[e.createElementVNode("div",c4,[d4,(Wo=E.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",r4,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",m4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",p4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",h4,[e.createElementVNode("span",y4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",E4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=E.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=E.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",_4,[e.createElementVNode("div",N4,[V4,f4,e.createElementVNode("div",g4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Yo=E.goodWx)==null?void 0:Yo.distance:(Zo=E.allWx)==null?void 0:Zo.distance),1),D4,e.createElementVNode("div",null,e.toDisplayString((Qo=E.goodWx)==null?void 0:Qo.pfmSpd),1)]),x4,e.createElementVNode("div",b4,[e.createElementVNode("div",null,e.toDisplayString((Jo=E.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString((($o=E.allWx)==null?void 0:$o.inEca.distance)>0?` - ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),C4,e.createElementVNode("div",null,e.toDisplayString((Ko=E.goodWx)==null?void 0:Ko.time),1)]),S4,e.createElementVNode("div",k4,e.toDisplayString(E.fuelConclusion.dgo.entireCons)+" MT",1),A4]),e.createElementVNode("div",B4,[w4,T4,e.createElementVNode("div",O4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=E.goodWx)==null?void 0:jo.distance:(vo=E.allWx)==null?void 0:vo.distance),1),F4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),u4,e.createElementVNode("div",P4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.overTolerance),1),L4,W4]),H4,e.createElementVNode("div",M4,e.toDisplayString(E.fuelConclusion.dgo.maxCons)+" MT",1),G4]),e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=E.goodWx)==null?void 0:ol.distance:(ll=E.allWx)==null?void 0:ll.distance),1),Y4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),Z4,e.createElementVNode("div",Q4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.underTolerance),1),J4,$4]),K4,e.createElementVNode("div",q4,e.toDisplayString(E.fuelConclusion.dgo.minCons)+" MT",1),X4])])):e.createCommentVNode("",!0)],2)])]),j4,e.createElementVNode("div",v4,[e.createElementVNode("div",eA,[tA,e.createElementVNode("div",oA,[e.createElementVNode("div",lA,[aA,nA,e.createElementVNode("div",sA,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),iA,cA]),dA]),e.createElementVNode("div",rA,[mA,pA,e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,EA]),_A]),e.createElementVNode("div",NA,[VA,fA,e.createElementVNode("div",gA,[e.createElementVNode("div",null,e.toDisplayString((dl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),DA,xA]),bA]),CA])]),e.createElementVNode("div",SA,[kA,e.createElementVNode("div",AA,[e.createElementVNode("div",BA,[wA,TA,e.createElementVNode("div",OA,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),FA,uA]),PA,LA,WA]),e.createElementVNode("div",HA,[MA,GA,e.createElementVNode("div",IA,[e.createElementVNode("div",null,e.toDisplayString((hl=(pl=o.reportData)==null?void 0:pl.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),RA,zA]),UA,YA,ZA]),e.createElementVNode("div",QA,[JA,$A,e.createElementVNode("div",KA,[e.createElementVNode("div",null,e.toDisplayString((El=(yl=o.reportData)==null?void 0:yl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),qA,XA]),jA,vA,e5]),t5,o5])])])])])}),128))])],2)}const a5=Ee(GD,[["render",l5],["__scopeId","data-v-9be6b8be"]]),yte="",n5={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,s,o,c){var h;let l="";const a=((h=this.summaryTable)==null?void 0:h.length)-1;return o&&s!==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,s){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&s!==o)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.isFirstSeg)return"td-bottom";if(s!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,h;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(h=(a=this.reportData)==null?void 0:a.segments)==null||h.forEach((i,_)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((S,y)=>{let N=JSON.parse(JSON.stringify(S));N.cp=D,t.push(N)})}),t.sort(function(i,_){let D=i.date,S=_.date;return D-S});let s="",o="";t.forEach((i,_)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const S=w(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=w(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},dn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),s5=dn(()=>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)),i5={class:"table",id:"second-table"},c5={class:"summary-table"},d5=dn(()=>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)),r5={class:"summary-tbody"},m5=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),p5={class:"voyage-map",style:{"page-break-inside":"avoid"}},h5=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),y5=["src"],E5=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 _5(t,s,o,c,l,a){var h,i,_,D,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[s5,e.createElementVNode("div",i5,[e.createElementVNode("div",null,[e.createElementVNode("table",c5,[d5,e.createElementVNode("tbody",r5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(y,N)=>{var x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(y,N))},e.toDisplayString(y.isFirstSeg?y.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.time),3),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString((x=y.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(r=y.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0))},e.toDisplayString(y.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0))},e.toDisplayString(y.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((k=(C=y.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((L=(P=(T=y.meteo)==null?void 0:T.wave)==null?void 0:P.swell)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((u=(b=(O=y.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:u.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((z=(Z=(R=y.meteo)==null?void 0:R.wave)==null?void 0:Z.sig)==null?void 0:z.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((W=y.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":y.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((f=y.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((Y=y.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(I=y.cp)==null?void 0:I.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(H=y.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(($=y.noon)==null?void 0:$.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((K=y.noon)==null?void 0:K.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(X=y.noon)==null?void 0:X.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(q=y.noon)==null?void 0:q.dgoBrob),3)])}),128))])])])]),m5,e.createElementVNode("div",p5,[h5,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,y5),E5])],2)}const N5=Ee(n5,[["render",_5],["__scopeId","data-v-a420dc44"]]),Ete="",V5={components:{Summary:a5,Inventory:N5},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},f5={class:"voyage-report"};function g5(t,s,o,c,l,a){const h=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",f5,[e.createVNode(h,{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 Dn=Ee(V5,[["render",g5],["__scopeId","data-v-7345a543"]]),_te="",D5={components:{Lng:va,Lat:en,Editor:Ro},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`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?s+=`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&&(s+=`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, ${s}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),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 te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const h={time:w(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+w(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(h)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-e47c6491"),t=t(),e.popScopeId(),t),x5={class:"report-summary"},b5={class:"section voyage-section flex-space"},C5={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},S5={class:"flex-space label-block",style:{width:"100%"}},k5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),A5={style:{"text-transform":"uppercase"}},B5={class:"flex-space label-block",style:{width:"100%"}},w5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),T5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},O5={class:"flex-space label-block",style:{width:"100%"}},F5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),u5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},P5={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},L5={class:"flex-space label-block",style:{width:"100%"}},W5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),H5={key:0,class:"flex-end",style:{flex:"1"}},M5={key:1,class:"flex-end",style:{flex:"1"}},G5=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),I5={class:"flex-end",style:{width:"150px"}},R5={class:"flex-space label-block",style:{width:"100%"}},z5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),U5={key:0,class:"flex-end",style:{flex:"1"}},Y5={key:1,class:"flex-end",style:{flex:"1"}},Z5=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q5={class:"flex-end",style:{width:"150px"}},J5={class:"flex-space label-block",style:{width:"100%"}},$5=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),K5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},q5={class:"section weather-section"},X5=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),j5={class:"definition"},v5={class:"txt"},eB={class:"section summary-section"},tB=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),oB={class:"phase-box"},lB={class:"phase-index"},aB={class:"phase-position"},nB={key:0},sB={key:1},iB=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),cB={class:"phase-position"},dB={key:0},rB={key:1},mB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),pB={class:"phase-cp flex-space"},hB={class:"cp-box"},yB=m(()=>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)),EB={class:"flex-space"},_B=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),NB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),VB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),fB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),gB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),DB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),xB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),bB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),CB={class:"phase-conclusion flex-space"},SB={class:"item-conclusion"},kB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),AB={class:"value flex-start"},BB=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),wB={key:0,class:"label flex-end"},TB={key:0},OB={key:1},FB={key:2},uB={key:1,class:"label flex-end"},PB={key:2,class:"value flex-end"},LB={key:0},WB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),HB={class:"gain"},MB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),GB={key:1},IB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),RB={class:"lost"},zB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),UB={key:2},YB={class:"item-conclusion"},ZB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),QB={class:"value flex-start"},JB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),$B={key:0,class:"label flex-end"},KB={key:0},qB={key:1},XB={key:2},jB={key:1,class:"label flex-end"},vB={key:2,class:"value flex-end"},e8={key:0},t8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),o8={class:"gain"},l8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),a8={key:1},n8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),s8={class:"lost"},i8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),c8={key:2},d8={class:"item-conclusion"},r8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),m8={class:"value flex-start"},p8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),h8={key:0,class:"label flex-end"},y8={key:0},E8={key:1},_8={key:2},N8={key:1,class:"label flex-end"},V8={key:2,class:"value flex-end"},f8={key:0},g8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),D8={class:"gain"},x8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),b8={key:1},C8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),S8={class:"lost"},k8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A8={key:2},B8=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),w8=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),T8={key:0,class:"exclusion-block"},O8=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),F8=m(()=>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"}},P8={class:"remark-table"},L8=m(()=>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)),W8=["innerHTML"],H8={class:"section segment-section"},M8=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),G8={class:"segment-index flex-center"},I8={class:"segment-position"},R8={key:0},z8={key:1},U8=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Y8={class:"segment-position"},Z8={key:0},Q8={key:1},J8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),$8={style:{margin:"10px 0 0"}},K8=m(()=>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)),q8=m(()=>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)),X8=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),j8={class:"good-wx"},v8={class:"good-wx"},ew=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),tw={class:"good-wx"},ow={class:"good-wx"},lw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),aw={class:"good-wx"},nw={class:"good-wx"},sw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),iw={class:"good-wx"},cw={class:"good-wx"},dw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),rw={class:"good-wx"},mw={class:"good-wx"},pw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),hw={class:"good-wx"},yw={class:"good-wx"},Ew=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),_w={class:"good-wx"},Nw={class:"good-wx"},Vw={key:0,class:"flex-end tip"},fw={key:1,class:"segment-speed"},gw={class:"flex-center"},Dw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),xw={class:"speed-right flex-space"},bw=m(()=>e.createElementVNode("span",null,"-",-1)),Cw=m(()=>e.createElementVNode("span",null,"-",-1)),Sw=m(()=>e.createElementVNode("label",null,"=",-1)),kw={class:"speed"},Aw=m(()=>e.createElementVNode("span",null,"-",-1)),Bw=m(()=>e.createElementVNode("label",null,"=",-1)),ww={class:"speed"},Tw={key:2,class:"under"},Ow={key:3,class:"over"},Fw={class:"flex-center"},uw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Pw={class:"speed-right formula flex-space"},Lw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ww=m(()=>e.createElementVNode("label",null,"-",-1)),Hw=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Mw=m(()=>e.createElementVNode("label",null,"-",-1)),Gw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Iw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Rw=m(()=>e.createElementVNode("label",null,"-",-1)),zw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Uw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Yw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Zw={key:2,class:"segment-speed"},Qw={class:"flex-center"},Jw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),$w={class:"speed-right flex-space"},Kw=m(()=>e.createElementVNode("span",null,"-",-1)),qw=m(()=>e.createElementVNode("span",null,"-",-1)),Xw=m(()=>e.createElementVNode("label",null,"=",-1)),jw={class:"speed"},vw=m(()=>e.createElementVNode("span",null,"-",-1)),e7=m(()=>e.createElementVNode("label",null,"=",-1)),t7={class:"speed"},o7={key:2,class:"under"},l7={key:3,class:"over"},a7={class:"flex-center"},n7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),s7={class:"speed-right formula flex-space"},i7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),c7=m(()=>e.createElementVNode("label",null,"-",-1)),d7=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),r7=m(()=>e.createElementVNode("label",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),p7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),h7=m(()=>e.createElementVNode("label",null,"-",-1)),y7=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),E7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),_7=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),N7={class:"segment-formula"},V7={class:"header-block flex-start"},f7=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),g7={class:"title"},D7={key:0,style:{"margin-left":"4px","font-weight":"300"}},x7={class:"formula-block"},b7={class:"flex-evenly"},C7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),S7={class:"formula-right flex-evenly"},k7={class:"fraction",style:{width:"240px"}},A7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),B7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),w7=m(()=>e.createElementVNode("div",null,"(a)",-1)),T7={class:"flex-center"},O7={class:"formula-left flex-space"},F7=m(()=>e.createElementVNode("label",null,"=",-1)),u7={class:"formula-right flex-evenly"},P7={class:"fraction",style:{width:"240px"}},L7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7=m(()=>e.createElementVNode("div",null,"(b)",-1)),H7={class:"flex-center"},M7={class:"formula-left flex-space"},G7=m(()=>e.createElementVNode("label",null,"=",-1)),I7={class:"formula-right flex-evenly"},R7={class:"fraction",style:{width:"240px"}},z7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),U7=m(()=>e.createElementVNode("div",null,"(c)",-1)),Y7=e.createStaticVNode('<div class="flex-start" data-v-e47c6491><div class="flex-space" style="width:300px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Time Lost</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(a)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Time Gained</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(c)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(a)</div></div></div>',1),Z7={class:"formula-desc"},Q7={class:"flex-end"},J7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),$7={class:"flex-end"},K7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),q7={class:"flex-end"},X7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),j7={key:0,class:"formula-block",style:{"font-weight":"400"}},v7={class:"flex-evenly"},e9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),t9={class:"formula-right flex-evenly"},o9={class:"fraction",style:{width:"240px"}},l9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9=m(()=>e.createElementVNode("div",null,"(a')",-1)),s9={class:"flex-center"},i9={class:"formula-left flex-space"},c9=m(()=>e.createElementVNode("label",null,"=",-1)),d9={class:"formula-right flex-evenly"},r9={class:"fraction",style:{width:"240px"}},m9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),p9=m(()=>e.createElementVNode("div",null,"=",-1)),h9=m(()=>e.createElementVNode("div",null,"(b')",-1)),y9={class:"flex-center"},E9={class:"formula-left flex-space"},_9=m(()=>e.createElementVNode("label",null,"=",-1)),N9={class:"formula-right flex-evenly"},V9={class:"fraction",style:{width:"240px"}},f9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),g9=m(()=>e.createElementVNode("div",null,"=",-1)),D9=m(()=>e.createElementVNode("div",null,"(c')",-1)),x9={class:"formula-conclusion",style:{"margin-bottom":"0"}},b9={key:0,class:"flex-evenly",style:{width:"500px"}},C9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),S9=m(()=>e.createElementVNode("div",null,"=",-1)),k9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),A9=m(()=>e.createElementVNode("div",null,"=",-1)),B9=m(()=>e.createElementVNode("div",null,"-",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9={key:1,class:"flex-evenly",style:{width:"500px"}},O9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),F9=m(()=>e.createElementVNode("div",null,"=",-1)),u9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),L9=m(()=>e.createElementVNode("div",null,"-",-1)),W9=m(()=>e.createElementVNode("div",null,"=",-1)),H9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),M9={key:1,class:"formula-conclusion"},G9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),I9={class:"segment-formula"},R9={class:"header-block flex-start"},z9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),U9={class:"title"},Y9={key:0,style:{"margin-left":"4px","font-weight":"300"}},Z9={class:"formula-block"},Q9={class:"flex-evenly"},J9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},K9={class:"fraction",style:{width:"240px"}},q9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),X9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j9=m(()=>e.createElementVNode("div",null,"x",-1)),v9=m(()=>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)),e6=m(()=>e.createElementVNode("div",null,"(d)",-1)),t6={style:{"line-height":"1"}},o6=m(()=>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)),l6={key:0,class:"tips flex-end",style:{"font-size":"14px"}},a6={class:"flex-center"},n6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),s6={class:"formula-right flex-evenly"},i6={class:"fraction",style:{width:"240px"}},c6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=m(()=>e.createElementVNode("div",null,"x",-1)),r6=m(()=>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)),m6=m(()=>e.createElementVNode("div",null,"(e)",-1)),p6={class:"flex-center"},h6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),y6={class:"formula-right flex-evenly"},E6={class:"fraction",style:{width:"240px"}},_6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),N6=m(()=>e.createElementVNode("div",null,"x",-1)),V6=m(()=>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)),f6=m(()=>e.createElementVNode("div",null,"(f)",-1)),g6=e.createStaticVNode('<div class="flex-start" data-v-e47c6491><div class="flex-space" style="width:300px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Fuel Over-consumption</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(d)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Fuel Saving</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(f)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(d)</div></div></div>',1),D6={class:"flex-center"},x6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),b6={class:"formula-right flex-evenly"},C6={class:"fraction",style:{width:"270px"}},S6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),k6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),A6={class:"flex-center"},B6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),w6={class:"formula-right flex-evenly"},T6={class:"fraction",style:{width:"270px"}},O6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),u6=m(()=>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)),P6={class:"header-block flex-start",style:{"margin-top":"10px"}},L6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),W6={class:"title"},H6={key:0,class:"formula-block"},M6={class:"flex-evenly"},G6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),I6={class:"formula-right flex-evenly"},R6={class:"fraction",style:{width:"240px"}},z6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),U6=m(()=>e.createElementVNode("div",null,"x",-1)),Y6={class:"fraction",style:{width:"240px"}},Z6={key:0},Q6=m(()=>e.createElementVNode("span",null," + ",-1)),J6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),K6=m(()=>e.createElementVNode("div",null,"(d')",-1)),q6={class:"flex-evenly"},X6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),j6={class:"formula-right flex-evenly"},v6={class:"fraction",style:{width:"240px"}},eT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),tT=m(()=>e.createElementVNode("div",null,"x",-1)),oT={class:"fraction",style:{width:"240px"}},lT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),aT=m(()=>e.createElementVNode("div",null,"24",-1)),nT=m(()=>e.createElementVNode("div",null,"=",-1)),sT=m(()=>e.createElementVNode("div",null,"(e')",-1)),iT={class:"flex-evenly"},cT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),dT={class:"formula-right flex-evenly"},rT={class:"fraction",style:{width:"240px"}},mT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),pT=m(()=>e.createElementVNode("div",null,"x",-1)),hT={class:"fraction",style:{width:"240px"}},yT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),ET=m(()=>e.createElementVNode("div",null,"24",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT=m(()=>e.createElementVNode("div",null,"(f')",-1)),VT={class:"formula-conclusion",style:{"margin-bottom":"0"}},fT={class:"flex-evenly",style:{width:"500px"}},gT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),DT=m(()=>e.createElementVNode("div",null,"=",-1)),xT=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),bT=m(()=>e.createElementVNode("div",null,"=",-1)),CT=m(()=>e.createElementVNode("div",null,"-",-1)),ST=m(()=>e.createElementVNode("div",null,"=",-1)),kT={key:0,class:"flex-evenly"},AT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),BT=m(()=>e.createElementVNode("div",null,"=",-1)),wT={class:"fraction"},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"=",-1)),FT={class:"flex-evenly",style:{width:"700px"}},uT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),PT=m(()=>e.createElementVNode("div",null,"=",-1)),LT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"-",-1)),MT=m(()=>e.createElementVNode("div",null,"=",-1)),GT={key:0,class:"flex-evenly",style:{width:"500px"}},IT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),RT=m(()=>e.createElementVNode("div",null,"=",-1)),zT={class:"fraction",style:{width:"140px"}},UT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),YT=m(()=>e.createElementVNode("div",null,"=",-1)),ZT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),QT={key:1,class:"formula-conclusion"},JT={class:"header-block flex-end",style:{"margin-top":"10px"}},$T=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),KT={class:"title"},qT={key:0,class:"formula-block"},XT={class:"flex-evenly"},jT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),vT={class:"formula-right flex-evenly"},eO={class:"fraction",style:{width:"240px"}},tO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),oO=m(()=>e.createElementVNode("div",null,"x",-1)),lO={class:"fraction",style:{width:"240px"}},aO={key:0},nO=m(()=>e.createElementVNode("span",null," - ",-1)),sO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),iO=m(()=>e.createElementVNode("div",null,"=",-1)),cO=m(()=>e.createElementVNode("div",null,"(d'')",-1)),dO={class:"flex-evenly"},rO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mO={class:"formula-right flex-evenly"},pO={class:"fraction",style:{width:"240px"}},hO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),yO=m(()=>e.createElementVNode("div",null,"x",-1)),EO={class:"fraction",style:{width:"240px"}},_O=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),NO=m(()=>e.createElementVNode("div",null,"24",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"(e'')",-1)),gO={class:"flex-evenly"},DO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),xO={class:"formula-right flex-evenly"},bO={class:"fraction",style:{width:"240px"}},CO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),SO=m(()=>e.createElementVNode("div",null,"x",-1)),kO={class:"fraction",style:{width:"240px"}},AO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),BO=m(()=>e.createElementVNode("div",null,"24",-1)),wO=m(()=>e.createElementVNode("div",null,"=",-1)),TO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),OO={class:"formula-conclusion",style:{"margin-bottom":"0"}},FO={key:0,class:"flex-evenly",style:{width:"500px"}},uO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),PO=m(()=>e.createElementVNode("div",null,"=",-1)),LO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),WO=m(()=>e.createElementVNode("div",null,"=",-1)),HO=m(()=>e.createElementVNode("div",null,"-",-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO={key:1,class:"flex-evenly",style:{width:"700px"}},IO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),RO=m(()=>e.createElementVNode("div",null,"=",-1)),zO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),UO=m(()=>e.createElementVNode("div",null,"=",-1)),YO=m(()=>e.createElementVNode("div",null,"-",-1)),ZO=m(()=>e.createElementVNode("div",null,"=",-1)),QO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),JO={key:1,class:"formula-conclusion"};function $O(t,s,o,c,l,a){var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",x5,[e.createElementVNode("div",b5,[e.createElementVNode("div",C5,[e.createElementVNode("div",S5,[k5,e.createElementVNode("span",A5,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",B5,[w5,e.createElementVNode("span",T5,e.toDisplayString((S=(D=o.report)==null?void 0:D.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(y=o.report)==null?void 0:y.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",O5,[F5,e.createElementVNode("span",u5,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",P5,[e.createElementVNode("div",L5,[W5,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",H5,e.toDisplayString((P=(T=o.report)==null?void 0:T.departure)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",M5,[e.createVNode(h,{lat:(O=(L=o.report)==null?void 0:L.departure)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G5,e.createVNode(i,{lng:(b=o.report.departure)==null?void 0:b.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",I5,e.toDisplayString(a.computeUTCTime((u=o.report.departure)==null?void 0:u.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",R5,[z5,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",U5,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",Y5,[e.createVNode(h,{lat:(Y=(f=o.report)==null?void 0:f.arrival)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Z5,e.createVNode(i,{lng:(H=(I=o.report)==null?void 0:I.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Q5,e.toDisplayString(a.computeUTCTime((K=($=o.report)==null?void 0:$.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",J5,[$5,e.createElementVNode("span",K5,e.toDisplayString((q=(X=o.report)==null?void 0:X.voyage)==null?void 0:q.loadCondition),1)])])]),e.createElementVNode("div",q5,[X5,e.createElementVNode("div",j5,[e.createElementVNode("div",v5,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",eB,[tB,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(n,j)=>{var d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",oB,[e.createElementVNode("div",lB,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(Q,fe)=>{var Te,Me,me,qe,je,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:fe},[e.createElementVNode("div",aB,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",nB,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",sB,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((qe=Q==null?void 0:Q.departure)==null?void 0:qe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((je=Q==null?void 0:Q.departure)==null?void 0:je.utcTime))+")",1)]),iB,e.createElementVNode("div",cB,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",dB,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",rB,e.toDisplayString(a.computeLat((lt=Q==null?void 0:Q.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=Q==null?void 0:Q.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=Q==null?void 0:Q.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),mB,e.createElementVNode("div",pB,[e.createElementVNode("div",hB,[yB,e.createElementVNode("div",EB,[_B,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((le=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:le.speed)+" |",1),e.createElementVNode("span",null,[NB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ee=n==null?void 0:n.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[VB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(de=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((pe=(re=n==null?void 0:n.extend)==null?void 0:re.cp)==null?void 0:pe.fo)+" |",1),e.createElementVNode("span",null,[fB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[gB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(ce=n==null?void 0:n.extend)==null?void 0:ce.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[DB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[xB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),bB,e.createElementVNode("div",CB,[e.createElementVNode("div",SB,[kB,e.createElementVNode("div",AB,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),BB]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",wB,[((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",TB," Time Gained ")):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",OB," Time Lost ")):(e.openBlock(),e.createElementBlock("div",FB,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",uB,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",PB,[((xe=n==null?void 0:n.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",LB,[WB,e.createElementVNode("span",HB,e.toDisplayString((be=n==null?void 0:n.timeConclusion)==null?void 0:be.timeGain),1),MB])):((Ce=n==null?void 0:n.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",GB,[IB,e.createElementVNode("span",RB,e.toDisplayString((Se=n==null?void 0:n.timeConclusion)==null?void 0:Se.timeLost),1),zB])):(e.openBlock(),e.createElementBlock("div",UB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",YB,[ZB,e.createElementVNode("div",QB,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),JB]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",$B,[((Ae=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",KB," FO Saving ")):((Fe=(Be=n==null?void 0:n.fuelConclusion)==null?void 0:Be.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",qB," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",XB,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",jB,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",vB,[((Ve=(ue=n==null?void 0:n.fuelConclusion)==null?void 0:ue.fo)==null?void 0:Ve.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",e8,[t8,e.createElementVNode("span",o8,e.toDisplayString((ye=(F=n==null?void 0:n.fuelConclusion)==null?void 0:F.fo)==null?void 0:ye.saving),1),l8])):((Le=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",a8,[n8,e.createElementVNode("span",s8,e.toDisplayString((we=(We=n==null?void 0:n.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),i8])):(e.openBlock(),e.createElementBlock("div",c8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",d8,[r8,e.createElementVNode("div",m8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),p8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",h8,[(($e=(He=n==null?void 0:n.fuelConclusion)==null?void 0:He.dgo)==null?void 0:$e.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",y8," DO/GO Saving ")):((U=(Ke=n==null?void 0:n.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",E8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",_8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",N8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",V8,[((ze=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",f8,[g8,e.createElementVNode("span",D8,e.toDisplayString((Ye=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),x8])):((Qe=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",b8,[C8,e.createElementVNode("span",S8,e.toDisplayString((E=(Je=n==null?void 0:n.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:E.overCons),1),k8])):(e.openBlock(),e.createElementBlock("div",A8,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),B8]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[w8,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",T8,[O8,F8,e.createElementVNode("div",u8,[e.createElementVNode("table",P8,[L8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(n,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.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(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=n=>l.remarks=n),class:"editor",height:"120px",onBlur:s[1]||(s[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:l.remarks},null,40,W8))],2)],2),e.createElementVNode("div",H8,[M8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(n,j)=>{var d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo,G,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,$o,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Nl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,ul,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,$l,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,ua,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,ae,ro,Qa,Ja,$a,ne,mo,Ka,qa,Xa,rt,ln,an,nn,sn,Pt,Mn,Gn,In,Rn,zn,Un,Yn,Zn,Qn,Jn,$n,Kn,qn,Xn,jn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,ys,Es,_s,Ns,Vs,fs,gs,Ds,xs,bs,Cs,Ss,ks,As,Bs,ws,Ts,Os,Fs,us,Ps,Ls,Ws,Hs,Ms,Gs,Is,Rs,zs,Us,Ys,Zs,Qs,Js,$s,Ks,qs,Xs,js,vs,ei,ti;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",G8,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(Xe,uee)=>{var oi,li,ai,ni,si,ii,ci,di,ri,mi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:uee},[e.createElementVNode("div",I8,[(oi=Xe==null?void 0:Xe.departure)!=null&&oi.portName?(e.openBlock(),e.createElementBlock("span",R8,e.toDisplayString((li=Xe==null?void 0:Xe.departure)==null?void 0:li.portName),1)):(e.openBlock(),e.createElementBlock("span",z8,e.toDisplayString(a.computeLat((ai=Xe==null?void 0:Xe.departure)==null?void 0:ai.lat).pretty)+", "+e.toDisplayString(a.computeLng((ni=Xe==null?void 0:Xe.departure)==null?void 0:ni.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((si=Xe==null?void 0:Xe.departure)==null?void 0:si.utcTime))+")",1)]),U8,e.createElementVNode("div",Y8,[(ii=Xe==null?void 0:Xe.arrival)!=null&&ii.portName?(e.openBlock(),e.createElementBlock("span",Z8,e.toDisplayString((ci=Xe==null?void 0:Xe.arrival)==null?void 0:ci.portName),1)):(e.openBlock(),e.createElementBlock("span",Q8,e.toDisplayString(a.computeLat((di=Xe==null?void 0:Xe.arrival)==null?void 0:di.lat).pretty)+", "+e.toDisplayString(a.computeLng((ri=Xe==null?void 0:Xe.arrival)==null?void 0:ri.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((mi=Xe==null?void 0:Xe.arrival)==null?void 0:mi.utcTime))+")",1)])])}),128)),J8,e.createElementVNode("div",$8,[e.createElementVNode("table",null,[K8,q8,e.createElementVNode("tr",null,[X8,e.createElementVNode("td",j8,e.toDisplayString((le=(v=n==null?void 0:n.goodWx)==null?void 0:v.outEca)==null?void 0:le.distance),1),e.createElementVNode("td",v8,e.toDisplayString((se=(ee=n==null?void 0:n.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ie=n==null?void 0:n.allWx)==null?void 0:ie.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((pe=(re=n==null?void 0:n.allWx)==null?void 0:re.inEca)==null?void 0:pe.distance),1)]),e.createElementVNode("tr",null,[ew,e.createElementVNode("td",tw,e.toDisplayString((he=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.outEca)==null?void 0:he.time),1),e.createElementVNode("td",ow,e.toDisplayString((De=(ge=n==null?void 0:n.goodWx)==null?void 0:ge.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=n==null?void 0:n.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=n==null?void 0:n.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[lw,e.createElementVNode("td",aw,e.toDisplayString(((Ae=(ke=n==null?void 0:n.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",nw,e.toDisplayString(((Fe=(Be=n==null?void 0:n.goodWx)==null?void 0:Be.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ve=(ue=n==null?void 0:n.allWx)==null?void 0:ue.outEca)==null?void 0:Ve.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(F=n==null?void 0:n.allWx)==null?void 0:F.inEca)==null?void 0:ye.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[sw,e.createElementVNode("td",iw,e.toDisplayString(((Le=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",cw,e.toDisplayString(((we=(We=n==null?void 0:n.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString((($e=(He=n==null?void 0:n.allWx)==null?void 0:He.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[dw,e.createElementVNode("td",rw,e.toDisplayString(((ze=(Oe=n==null?void 0:n.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",mw,e.toDisplayString(((Ye=(Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Je=n==null?void 0:n.allWx)==null?void 0:Je.inEca)==null?void 0:E.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[pw,e.createElementVNode("td",hw,e.toDisplayString(((fe=(Q=n==null?void 0:n.goodWx)==null?void 0:Q.outEca)==null?void 0:fe.sumDgoCons)||"--"),1),e.createElementVNode("td",yw,e.toDisplayString(((Me=(Te=n==null?void 0:n.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((qe=(me=n==null?void 0:n.allWx)==null?void 0:me.outEca)==null?void 0:qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(je=n==null?void 0:n.allWx)==null?void 0:je.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Ew,e.createElementVNode("td",_w,e.toDisplayString(((lt=(ot=n==null?void 0:n.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",Nw,e.toDisplayString(((nt=(at=n==null?void 0:n.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((pt=(mt=n==null?void 0:n.allWx)==null?void 0:mt.outEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=n==null?void 0:n.allWx)==null?void 0:ht.inEca)==null?void 0:yt.avgDgoCons)||"--"),1)])])]),(Et=l.exclusion[j])!=null&&Et.time?(e.openBlock(),e.createElementBlock("div",Vw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=n==null?void 0:n.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",fw,[e.createElementVNode("div",gw,[Dw,e.createElementVNode("div",xw,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=n==null?void 0:n.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ht=(Tt=o.report)==null?void 0:Tt.weather)!=null&&Ht.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((po=n==null?void 0:n.goodWx)==null?void 0:po.avgSpd),1),Aw,e.createElementVNode("span",null,e.toDisplayString(((Eo=n==null?void 0:n.goodWx)==null?void 0:Eo.avgWf)>0?(_o=n==null?void 0:n.goodWx)==null?void 0:_o.avgWf:`(${(No=n==null?void 0:n.goodWx)==null?void 0:No.avgWf})`),1),Bw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",ww,e.toDisplayString((Vo=n==null?void 0:n.goodWx)==null?void 0:Vo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgSpd),1),bw,e.createElementVNode("span",null,e.toDisplayString(((Dt=n==null?void 0:n.goodWx)==null?void 0:Dt.avgCf)>0?(xt=n==null?void 0:n.goodWx)==null?void 0:xt.avgCf:`(${(bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf})`),1),(St=(Ct=o.report)==null?void 0:Ct.weather)!=null&&St.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Cw,e.createElementVNode("span",null,e.toDisplayString(((kt=n==null?void 0:n.goodWx)==null?void 0:kt.avgWf)>0?(At=n==null?void 0:n.goodWx)==null?void 0:At.avgWf:`(${(Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Sw,e.createElementVNode("span",kw,e.toDisplayString((wt=n==null?void 0:n.goodWx)==null?void 0:wt.pfmSpd)+" (kts)",1)],64)),((G=n==null?void 0:n.goodWx)==null?void 0:G.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Tw,"(Under-performance)")):e.createCommentVNode("",!0),((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ow,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fw,[uw,e.createElementVNode("div",Pw,[(Ft=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ft.favorableCur&&((Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(Rt=o.report)==null?void 0:Rt.weather)!=null&&zt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Iw,Rw,zw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Uw,Yw],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Lw,Ww,Hw,(It=(Gt=o.report)==null?void 0:Gt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Mw,Gw],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",Zw,[e.createElementVNode("div",Qw,[Jw,e.createElementVNode("div",$w,[(Yt=(Ut=o.report)==null?void 0:Ut.weather)!=null&&Yt.favorableCur&&((Zt=n==null?void 0:n.allWx)==null?void 0:Zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((eo=n==null?void 0:n.allWx)==null?void 0:eo.avgSpd),1),vw,e.createElementVNode("span",null,e.toDisplayString(((to=n==null?void 0:n.allWx)==null?void 0:to.avgWf)>0?(oo=n==null?void 0:n.allWx)==null?void 0:oo.avgWf:`(${(lo=n==null?void 0:n.allWx)==null?void 0:lo.avgWf})`),1),e7,e.createElementVNode("span",t7,e.toDisplayString((ao=n==null?void 0:n.allWx)==null?void 0:ao.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=n==null?void 0:n.allWx)==null?void 0:Qt.avgSpd),1),Kw,e.createElementVNode("span",null,e.toDisplayString(((Jt=n==null?void 0:n.allWx)==null?void 0:Jt.avgCf)>0?($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf:`(${(Kt=n==null?void 0:n.allWx)==null?void 0:Kt.avgCf})`),1),qw,e.createElementVNode("span",null,e.toDisplayString(((qt=n==null?void 0:n.allWx)==null?void 0:qt.avgWf)>0?(Xt=n==null?void 0:n.allWx)==null?void 0:Xt.avgWf:`(${(jt=n==null?void 0:n.allWx)==null?void 0:jt.avgWf})`),1),Xw,e.createElementVNode("span",jw,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.pfmSpd)+" (kts)",1)],64)),((no=n==null?void 0:n.allWx)==null?void 0:no.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",o7,"(Under-performance)")):e.createCommentVNode("",!0),((so=n==null?void 0:n.allWx)==null?void 0:so.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",l7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",a7,[n7,e.createElementVNode("div",s7,[(co=(io=o.report)==null?void 0:io.weather)!=null&&co.favorableCur&&((fo=n==null?void 0:n.allWx)==null?void 0:fo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[p7,h7,y7,E7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i7,c7,d7,r7,m7],64))])])])),_7,e.createElementVNode("div",N7,[e.createElementVNode("div",V7,[f7,e.createElementVNode("div",g7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Do=(go=o.report)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(e.openBlock(),e.createElementBlock("span",D7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",x7,[e.createElementVNode("div",b7,[C7,e.createElementVNode("div",S7,[e.createElementVNode("div",k7,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=o.report)==null?void 0:xo.weather)!=null&&bo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),A7,B7]),w7])]),e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(So=(Co=n==null?void 0:n.extend)==null?void 0:Co.cp)==null?void 0:So.speed,"Under"))+"kts)",1),F7]),e.createElementVNode("div",u7,[e.createElementVNode("div",P7,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=o.report)==null?void 0:ko.weather)!=null&&Ao.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),L7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(wo=(Bo=n==null?void 0:n.extend)==null?void 0:Bo.cp)==null?void 0:wo.speed,"Under"))+"kts",1)]),W7])]),e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Oo=(To=n==null?void 0:n.extend)==null?void 0:To.cp)==null?void 0:Oo.speed,"Over"))+"kts)",1),G7]),e.createElementVNode("div",I7,[e.createElementVNode("div",R7,[e.createElementVNode("div",null,e.toDisplayString((uo=(Fo=o.report)==null?void 0:Fo.weather)!=null&&uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),z7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Lo=(Po=n==null?void 0:n.extend)==null?void 0:Po.cp)==null?void 0:Lo.speed,"Over"))+"kts",1)]),U7])]),Y7]),e.createElementVNode("div",Z7,[e.createElementVNode("div",Q7,[J7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ho=(Wo=n==null?void 0:n.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",$7,[K7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Go=(Mo=n==null?void 0:n.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",q7,[X7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Yo=(Io=n==null?void 0:n.extend)==null?void 0:Io.cp)==null?void 0:Yo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Qo=(Zo=n==null?void 0:n.extend)==null?void 0:Zo.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=n==null?void 0:n.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",j7,[e.createElementVNode("div",v7,[e9,e.createElementVNode("div",t9,[e.createElementVNode("div",o9,[e.createElementVNode("div",null,e.toDisplayString((Ko=($o=o.report)==null?void 0:$o.weather)!=null&&Ko.noExtrapolation?(qo=n==null?void 0:n.goodWx)==null?void 0:qo.distance:(Xo=n==null?void 0:n.allWx)==null?void 0:Xo.distance),1),l9,e.createElementVNode("div",null,e.toDisplayString((jo=n==null?void 0:n.goodWx)==null?void 0:jo.pfmSpd),1)]),a9,e.createElementVNode("div",null,e.toDisplayString((vo=n==null?void 0:n.timeConclusion)==null?void 0:vo.timeAtPfmSpd)+" (hrs)",1),n9])]),e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tl=(el=n==null?void 0:n.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts)",1),c9]),e.createElementVNode("div",d9,[e.createElementVNode("div",r9,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=o.report)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?(al=n==null?void 0:n.goodWx)==null?void 0:al.distance:(nl=n==null?void 0:n.allWx)==null?void 0:nl.distance),1),m9,e.createElementVNode("div",null,e.toDisplayString((sl=n==null?void 0:n.timeConclusion)==null?void 0:sl.minusAbtSpd),1)]),p9,e.createElementVNode("div",null,e.toDisplayString((il=n==null?void 0:n.timeConclusion)==null?void 0:il.timeAtMinusAbtSpd)+" (hrs)",1),h9])]),e.createElementVNode("div",y9,[e.createElementVNode("div",E9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(dl=(cl=n==null?void 0:n.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Over"))+"kts)",1),_9]),e.createElementVNode("div",N9,[e.createElementVNode("div",V9,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.report)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?(pl=n==null?void 0:n.goodWx)==null?void 0:pl.distance:(hl=n==null?void 0:n.allWx)==null?void 0:hl.distance),1),f9,e.createElementVNode("div",null,e.toDisplayString((yl=n==null?void 0:n.timeConclusion)==null?void 0:yl.plusAbtSpd),1)]),g9,e.createElementVNode("div",null,e.toDisplayString((El=n==null?void 0:n.timeConclusion)==null?void 0:El.timeAtPlusAbtSpd)+" (hrs)",1),D9])]),e.createElementVNode("div",x9,[((ut=n==null?void 0:n.timeConclusion)==null?void 0:ut.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",b9,[C9,S9,k9,A9,e.createElementVNode("div",null,e.toDisplayString((Nl=n==null?void 0:n.timeConclusion)==null?void 0:Nl.timeAtPfmSpd),1),B9,e.createElementVNode("div",null,e.toDisplayString((Dl=n==null?void 0:n.timeConclusion)==null?void 0:Dl.timeAtMinusAbtSpd),1),w9,e.createElementVNode("div",null,e.toDisplayString((xl=n==null?void 0:n.timeConclusion)==null?void 0:xl.timeLost)+" (hrs)",1)])):((bl=n==null?void 0:n.timeConclusion)==null?void 0:bl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",T9,[O9,F9,u9,P9,e.createElementVNode("div",null,e.toDisplayString((Cl=n==null?void 0:n.timeConclusion)==null?void 0:Cl.timeAtPlusAbtSpd),1),L9,e.createElementVNode("div",null,e.toDisplayString((Sl=n==null?void 0:n.timeConclusion)==null?void 0:Sl.timeAtPfmSpd),1),W9,e.createElementVNode("div",null,e.toDisplayString((kl=n==null?void 0:n.timeConclusion)==null?void 0:kl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Al=n==null?void 0:n.timeConclusion)==null?void 0:Al.conclusionStatus)==="Lost"?"flex-center lost":((Bl=n==null?void 0:n.timeConclusion)==null?void 0:Bl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[H9,e.createElementVNode("div",null,e.toDisplayString(((wl=n==null?void 0:n.timeConclusion)==null?void 0:wl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",M9,e.toDisplayString(l.noGoodWxDay),1))]),G9,e.createElementVNode("div",I9,[e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Y9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Z9,[e.createElementVNode("div",Q9,[J9,e.createElementVNode("div",$9,[e.createElementVNode("div",K9,[e.createElementVNode("div",null,e.toDisplayString((ul=(Fl=o.report)==null?void 0:Fl.weather)!=null&&ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q9,X9]),j9,v9,e6])]),e.createElementVNode("div",t6,[o6,((Ll=(Pl=n.extend)==null?void 0:Pl.cp)==null?void 0:Ll.dgo)>0?(e.openBlock(),e.createElementBlock("div",l6,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",a6,[n6,e.createElementVNode("div",s6,[e.createElementVNode("div",i6,[e.createElementVNode("div",null,e.toDisplayString((Hl=(Wl=o.report)==null?void 0:Wl.weather)!=null&&Hl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Gl=(Ml=n==null?void 0:n.extend)==null?void 0:Ml.cp)==null?void 0:Gl.speed,"Under"))+"kts",1)]),d6,r6,m6])]),e.createElementVNode("div",p6,[h6,e.createElementVNode("div",y6,[e.createElementVNode("div",E6,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Il=o.report)==null?void 0:Il.weather)!=null&&Rl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ul=(zl=n==null?void 0:n.extend)==null?void 0:zl.cp)==null?void 0:Ul.speed,"Under"))+"kts",1)]),N6,V6,f6])]),g6,((Zl=(Yl=n.extend)==null?void 0:Yl.cp)==null?void 0:Zl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",D6,[x6,e.createElementVNode("div",b6,[e.createElementVNode("div",C6,[S6,k6,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)])])]),e.createElementVNode("div",A6,[B6,e.createElementVNode("div",w6,[e.createElementVNode("div",T6,[O6,F6,e.createElementVNode("div",null,e.toDisplayString((Kl=($l=o.report)==null?void 0:$l.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),u6,e.createElementVNode("div",P6,[L6,e.createElementVNode("div",W6,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(ql=n==null?void 0:n.goodWx)!=null&&ql.distance?(e.openBlock(),e.createElementBlock("div",H6,[e.createElementVNode("div",M6,[G6,e.createElementVNode("div",I6,[e.createElementVNode("div",R6,[e.createElementVNode("div",null,e.toDisplayString((jl=(Xl=o.report)==null?void 0:Xl.weather)!=null&&jl.noExtrapolation?(vl=n==null?void 0:n.goodWx)==null?void 0:vl.distance:(ea=n==null?void 0:n.allWx)==null?void 0:ea.distance),1),z6,e.createElementVNode("div",null,e.toDisplayString((ta=n==null?void 0:n.goodWx)==null?void 0:ta.pfmSpd),1)]),U6,e.createElementVNode("div",Y6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((oa=n==null?void 0:n.goodWx)==null?void 0:oa.sumFoCons),1),((aa=(la=n==null?void 0:n.goodWx)==null?void 0:la.inEca)==null?void 0:aa.distance)>0?(e.openBlock(),e.createElementBlock("span",Z6,[Q6,e.createElementVNode("span",null,e.toDisplayString((sa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:sa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),J6,e.createElementVNode("div",null,e.toDisplayString((ia=n==null?void 0:n.goodWx)==null?void 0:ia.time),1)]),$6,e.createElementVNode("div",null,e.toDisplayString((da=(ca=n.fuelConclusion)==null?void 0:ca.fo)==null?void 0:da.entireCons)+" (mt)",1),K6])]),e.createElementVNode("div",q6,[X6,e.createElementVNode("div",j6,[e.createElementVNode("div",v6,[e.createElementVNode("div",null,e.toDisplayString((ma=(ra=o.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?(pa=n==null?void 0:n.goodWx)==null?void 0:pa.distance:(ha=n==null?void 0:n.allWx)==null?void 0:ha.distance),1),eT,e.createElementVNode("div",null,e.toDisplayString((ya=n==null?void 0:n.timeConclusion)==null?void 0:ya.minusAbtSpd),1)]),tT,e.createElementVNode("div",oT,[e.createElementVNode("div",null,e.toDisplayString((_a=(Ea=n==null?void 0:n.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:_a.overTolerance),1),lT,aT]),nT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=n.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.maxCons)+" (mt)",1),sT])]),e.createElementVNode("div",iT,[cT,e.createElementVNode("div",dT,[e.createElementVNode("div",rT,[e.createElementVNode("div",null,e.toDisplayString((ga=(fa=o.report)==null?void 0:fa.weather)!=null&&ga.noExtrapolation?(Da=n==null?void 0:n.goodWx)==null?void 0:Da.distance:(xa=n==null?void 0:n.allWx)==null?void 0:xa.distance),1),mT,e.createElementVNode("div",null,e.toDisplayString((ba=n==null?void 0:n.timeConclusion)==null?void 0:ba.minusAbtSpd),1)]),pT,e.createElementVNode("div",hT,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=n==null?void 0:n.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.underTolerance),1),yT,ET]),_T,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=n.fuelConclusion)==null?void 0:ka.fo)==null?void 0:Aa.minCons)+" (mt)",1),NT])]),e.createElementVNode("div",VT,[((wa=(Ba=n==null?void 0:n.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:wa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",fT,[gT,DT,xT,bT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.entireCons),1),CT,e.createElementVNode("div",null,e.toDisplayString((ua=(Fa=n==null?void 0:n.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:ua.maxCons),1),ST,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=n==null?void 0:n.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.overCons),1)]),(Ha=(Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.inEca)!=null&&Ha.distance?(e.openBlock(),e.createElementBlock("div",kT,[AT,BT,e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=n==null?void 0:n.goodWx)==null?void 0:Ma.inEca)==null?void 0:Ga.distance)+" * "+e.toDisplayString((Ra=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overCons),1),TT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(Ya=n==null?void 0:n.goodWx)==null?void 0:Ya.distance:(Za=n==null?void 0:n.allWx)==null?void 0:Za.distance),1)]),OT,e.createElementVNode("div",null,e.toDisplayString((ro=(ae=n==null?void 0:n.fuelConclusion)==null?void 0:ae.fo)==null?void 0:ro.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Ja=(Qa=n==null?void 0:n.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",FT,[uT,PT,LT,WT,e.createElementVNode("div",null,e.toDisplayString((ne=($a=n==null?void 0:n.fuelConclusion)==null?void 0:$a.fo)==null?void 0:ne.minCons),1),HT,e.createElementVNode("div",null,e.toDisplayString((Ka=(mo=n==null?void 0:n.fuelConclusion)==null?void 0:mo.fo)==null?void 0:Ka.entireCons),1),MT,e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=n==null?void 0:n.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.saving)+" (mt)",1)]),(ln=(rt=n==null?void 0:n.goodWx)==null?void 0:rt.inEca)!=null&&ln.distance?(e.openBlock(),e.createElementBlock("div",GT,[IT,RT,e.createElementVNode("div",zT,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=o.report)==null?void 0:an.weather)!=null&&nn.noExtrapolation?(Pt=(sn=n==null?void 0:n.goodWx)==null?void 0:sn.inEca)==null?void 0:Pt.distance:(Gn=(Mn=n==null?void 0:n.allWx)==null?void 0:Mn.inEca)==null?void 0:Gn.distance)+" * "+e.toDisplayString((Rn=(In=n==null?void 0:n.fuelConclusion)==null?void 0:In.fo)==null?void 0:Rn.saving),1),UT,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=o.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=n==null?void 0:n.goodWx)==null?void 0:Yn.distance:(Zn=n==null?void 0:n.allWx)==null?void 0:Zn.distance),1)]),YT,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=n==null?void 0:n.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Kn=($n=n==null?void 0:n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:Kn.conclusionStatus)==="Over"?"flex-center lost":((Xn=(qn=n==null?void 0:n.fuelConclusion)==null?void 0:qn.fo)==null?void 0:Xn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[ZT,e.createElementVNode("div",null,e.toDisplayString(((vn=(jn=n==null?void 0:n.fuelConclusion)==null?void 0:jn.fo)==null?void 0:vn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",QT,e.toDisplayString(l.noGoodWxDay),1)),((ts=(es=n==null?void 0:n.extend)==null?void 0:es.cp)==null?void 0:ts.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",JT,[$T,e.createElementVNode("div",KT,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(os=n==null?void 0:n.goodWx)!=null&&os.distance?(e.openBlock(),e.createElementBlock("div",qT,[e.createElementVNode("div",XT,[jT,e.createElementVNode("div",vT,[e.createElementVNode("div",eO,[e.createElementVNode("div",null,e.toDisplayString((as=(ls=o.report)==null?void 0:ls.weather)!=null&&as.noExtrapolation?(ns=n==null?void 0:n.goodWx)==null?void 0:ns.distance:(ss=n==null?void 0:n.allWx)==null?void 0:ss.distance),1),tO,e.createElementVNode("div",null,e.toDisplayString((is=n==null?void 0:n.goodWx)==null?void 0:is.pfmSpd),1)]),oO,e.createElementVNode("div",lO,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((cs=n==null?void 0:n.goodWx)==null?void 0:cs.sumDgoCons),1),((rs=(ds=n==null?void 0:n.goodWx)==null?void 0:ds.inEca)==null?void 0:rs.distance)>0?(e.openBlock(),e.createElementBlock("span",aO,[nO,e.createElementVNode("span",null,e.toDisplayString((ps=(ms=n==null?void 0:n.fuelConclusion)==null?void 0:ms.fo)==null?void 0:ps.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),sO,e.createElementVNode("div",null,e.toDisplayString((hs=n==null?void 0:n.goodWx)==null?void 0:hs.time),1)]),iO,e.createElementVNode("div",null,e.toDisplayString((Es=(ys=n.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:Es.entireCons)+" (mt)",1),cO])]),e.createElementVNode("div",dO,[rO,e.createElementVNode("div",mO,[e.createElementVNode("div",pO,[e.createElementVNode("div",null,e.toDisplayString((Ns=(_s=o.report)==null?void 0:_s.weather)!=null&&Ns.noExtrapolation?(Vs=n==null?void 0:n.goodWx)==null?void 0:Vs.distance:(fs=n==null?void 0:n.allWx)==null?void 0:fs.distance),1),hO,e.createElementVNode("div",null,e.toDisplayString((gs=n==null?void 0:n.timeConclusion)==null?void 0:gs.minusAbtSpd),1)]),yO,e.createElementVNode("div",EO,[e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=n==null?void 0:n.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.overTolerance),1),_O,NO]),VO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=n.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.maxCons)+" (mt)",1),fO])]),e.createElementVNode("div",gO,[DO,e.createElementVNode("div",xO,[e.createElementVNode("div",bO,[e.createElementVNode("div",null,e.toDisplayString((ks=(Ss=o.report)==null?void 0:Ss.weather)!=null&&ks.noExtrapolation?(As=n==null?void 0:n.goodWx)==null?void 0:As.distance:(Bs=n==null?void 0:n.allWx)==null?void 0:Bs.distance),1),CO,e.createElementVNode("div",null,e.toDisplayString((ws=n==null?void 0:n.timeConclusion)==null?void 0:ws.minusAbtSpd),1)]),SO,e.createElementVNode("div",kO,[e.createElementVNode("div",null,e.toDisplayString((Os=(Ts=n==null?void 0:n.fuelConclusion)==null?void 0:Ts.dgo)==null?void 0:Os.underTolerance),1),AO,BO]),wO,e.createElementVNode("div",null,e.toDisplayString((us=(Fs=n.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:us.minCons)+" (mt)",1),TO])]),e.createElementVNode("div",OO,[((Ls=(Ps=n==null?void 0:n.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Ls.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",FO,[uO,PO,LO,WO,e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=n==null?void 0:n.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Hs.entireCons),1),HO,e.createElementVNode("div",null,e.toDisplayString((Gs=(Ms=n==null?void 0:n.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Gs.maxCons),1),MO,e.createElementVNode("div",null,e.toDisplayString((Rs=(Is=n==null?void 0:n.fuelConclusion)==null?void 0:Is.dgo)==null?void 0:Rs.overCons),1)])):((Us=(zs=n==null?void 0:n.fuelConclusion)==null?void 0:zs.fo)==null?void 0:Us.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",GO,[IO,RO,zO,UO,e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=n==null?void 0:n.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.minCons),1),YO,e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=n==null?void 0:n.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.entireCons),1),ZO,e.createElementVNode("div",null,e.toDisplayString((Ks=($s=n==null?void 0:n.fuelConclusion)==null?void 0:$s.dgo)==null?void 0:Ks.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Xs=(qs=n==null?void 0:n.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:Xs.conclusionStatus)==="Over"?"flex-center lost":((vs=(js=n==null?void 0:n.fuelConclusion)==null?void 0:js.dgo)==null?void 0:vs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[QO,e.createElementVNode("div",null,e.toDisplayString(((ti=(ei=n==null?void 0:n.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",JO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const KO=Ee(D5,[["render",$O],["__scopeId","data-v-e47c6491"]]),Nte="",qO={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}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=11;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,o="0.0"){return t?te.roundPrecision(t,s):o}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,o,c,l,a,h,i,_,D;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.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=(h=this.report)==null?void 0:h.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(_=this.report)==null?void 0:_.weather)==null?void 0:D.showWave)??!0}}},Ne=t=>(e.pushScopeId("data-v-52fade0b"),t=t(),e.popScopeId(),t),XO={class:"report-inventory"},jO={class:"section summary-section"},vO=Ne(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),eF={class:"summary-block"},tF=Ne(()=>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)),oF={class:"label",rowspan:"4"},lF=Ne(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),aF=Ne(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),nF=Ne(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),sF=Ne(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),iF={class:"section inventory-section"},cF=e.createStaticVNode('<div class="legends flex-space" data-v-52fade0b><div class="flex-start" style="flex:1.2;" data-v-52fade0b><div class="legend good-wx" data-v-52fade0b></div><div class="label flex-end" data-v-52fade0b>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-52fade0b><div class="legend adverse-wx" data-v-52fade0b></div><div class="label" data-v-52fade0b>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-52fade0b><div class="legend excluded" data-v-52fade0b></div><div class="label" data-v-52fade0b>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-52fade0b><div data-v-52fade0b><label data-v-52fade0b>B</label><span data-v-52fade0b>BOSP</span></div><div data-v-52fade0b><label data-v-52fade0b>N</label><span data-v-52fade0b>NOON</span></div><div data-v-52fade0b><label data-v-52fade0b>E</label><span data-v-52fade0b>EOSP</span></div><div data-v-52fade0b><label data-v-52fade0b>*</label><span data-v-52fade0b>Ship Reported Position</span></div></div></div>',1),dF={class:"inventory-block flex-center"},rF={style:{"font-size":"12px"}},mF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),pF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),hF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),yF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),EF=["colspan"],_F={key:0,class:"label",colspan:"2"},NF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),VF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),fF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),gF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),DF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),xF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),bF={key:0,class:"label",rowspan:"2"},CF=Ne(()=>e.createElementVNode("br",null,null,-1)),SF={key:1,class:"label",rowspan:"2"},kF=Ne(()=>e.createElementVNode("br",null,null,-1)),AF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),BF={key:2,class:"label",rowspan:"2"},wF=Ne(()=>e.createElementVNode("br",null,null,-1)),TF={key:3,class:"label",colspan:"2"},OF={key:4,class:"label",rowspan:"2"},FF=Ne(()=>e.createElementVNode("br",null,null,-1)),uF={key:5,class:"label",colspan:"2"},PF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),LF={key:6,class:"label",rowspan:"2"},WF={key:7,class:"label",rowspan:"2"},HF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),MF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),GF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),IF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),RF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),zF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),UF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),YF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),ZF=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),QF=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),JF=Ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),$F=Ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),KF={key:0,class:"label"},qF={key:1,class:"label"},XF={key:2,class:"label"},jF={key:3,class:"label"},vF=Ne(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),eu=Ne(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),tu=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),ou=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),lu=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),au=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),nu=Ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),su=Ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),iu={class:"summary-tbody"};function cu(t,s,o,c,l,a){var h;return e.openBlock(),e.createElementBlock("div",XO,[e.createElementVNode("div",jO,[vO,e.createElementVNode("div",eF,[e.createElementVNode("table",null,[tF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.report)==null?void 0:h.segments,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",oF,e.toDisplayString(_+1),1),lF,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((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=i==null?void 0:i.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[aF,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((C=i==null?void 0:i.goodWx)==null?void 0:C.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((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.goodWx)==null?void 0:P.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[nF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.badWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[sF,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((z=i==null?void 0:i.excluded)==null?void 0:z.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.excluded)==null?void 0:Y.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",iF,[cF,e.createElementVNode("div",dF,[e.createElementVNode("table",rF,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[mF,pF,hF,yF,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,EF),o.showFactor?(e.openBlock(),e.createElementBlock("th",_F,"Factor")):e.createCommentVNode("",!0),NF,VF]),e.createElementVNode("tr",null,[fF,gF,DF,xF,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",bF,[e.createTextVNode("Spd"),CF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",SF,[e.createTextVNode("Dis"),kF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),AF,l.showWave?(e.openBlock(),e.createElementBlock("th",BF,[e.createTextVNode("Sea HT"),wF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",TF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",OF,[e.createTextVNode("Sig Wave"),FF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",uF,"Current")):e.createCommentVNode("",!0),PF,o.showFactor?(e.openBlock(),e.createElementBlock("th",LF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",WF,"wxFactor")):e.createCommentVNode("",!0),HF,MF,GF,IF,RF,zF,UF,YF]),e.createElementVNode("tr",null,[ZF,QF,JF,$F,l.showSwell?(e.openBlock(),e.createElementBlock("th",KF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",qF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",XF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",jF,"CF(kts)")):e.createCommentVNode("",!0),vF,eu,tu,ou,lu,au,nu,su])]),e.createElementVNode("tbody",iu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$;return e.openBlock(),e.createElementBlock("tr",{key:_},[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((S=i.noon)==null?void 0:S.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)&&_?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?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)&&_?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)&&_?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(y=i.meteo)==null?void 0:y.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(x=i.meteo)==null?void 0:x.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(((T=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.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(((O=(L=(P=i.meteo)==null?void 0:P.wave)==null?void 0:L.swell)==null?void 0:O.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(((R=(u=(b=i.meteo)==null?void 0:b.wave)==null?void 0:u.swell)==null?void 0:R.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(((W=(z=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:z.sig)==null?void 0:W.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(((Y=(f=i.meteo)==null?void 0:f.current)==null?void 0:Y.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(((I=i.meteo)==null?void 0:I.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?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((($=i.meteo)==null?void 0:$.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const du=Ee(qO,[["render",cu],["__scopeId","data-v-52fade0b"]]),Vte="",ru={components:{Lng:va,Lat:en},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Uo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Uo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Uo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,D,S,y,N;const t=[],s=[],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;this.inventory.forEach(x=>{var r,C,k,T,P,L,O,b,u,R,Z;if(x.noonLength){const z=this.computeUTCTime(x.noonUtc,"MM-DD/HHmm[Z]");t.push(z),c=Math.ceil(((r=x.noon)==null?void 0:r.foCons)>c?(C=x.noon)==null?void 0:C.foCons:c),c=Math.ceil(((k=x.cp)==null?void 0:k.fo)>c?(T=x.cp)==null?void 0:T.fo:c),l=Math.ceil(((P=x.noon)==null?void 0:P.dgoCons)>l?(L=x.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((O=x.cp)==null?void 0:O.dgo)>l?(b=x.cp)==null?void 0:b.dgo:l),s.push([z,(u=x.noon)==null?void 0:u.avgSpd,(R=x.noon)==null?void 0:R.foCons,(Z=x.noon)==null?void 0:Z.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(_=(i=this.report)==null?void 0:i.weather)!=null&&_.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:s,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:s,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:s,z:1}]};(D=this.spdFoConsChart)==null||D.setOption(a);const h={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(y=(S=this.report)==null?void 0:S.weather)!=null&&y.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:s,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:s,z:3},{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:s,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:s,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(h)},renderWxCurrChart(){var h;const t=[],s=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;this.inventory.forEach(i=>{var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const R=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(R),c=Math.ceil(((S=(D=(_=i.meteo)==null?void 0:_.wave)==null?void 0:D.sig)==null?void 0:S.height)>c?(x=(N=(y=i.meteo)==null?void 0:y.wave)==null?void 0:N.sig)==null?void 0:x.height:c),s.push([R,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(P=(T=i.meteo)==null?void 0:T.wind)==null?void 0:P.direction,(L=i.noon)==null?void 0:L.seasHt,(u=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:u.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},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},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:s,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1}]};(h=this.currChart)==null||h.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),mu={class:"report-summary"},pu={class:"section chart-section"},hu=_l(()=>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)),yu={class:"chart-block"},Eu={ref:"spdFoConsChart",class:"chart"},_u={ref:"spdDgoConsChart",class:"chart"},Nu={ref:"currChart",class:"chart"},Vu={class:"section map-section"},fu=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),gu={class:"map-block"},Du={class:"flex-space"},xu={class:"voyage-block",style:{height:"197px"}},bu={class:"flex-space label-block",style:{width:"100%"}},Cu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Su={style:{"text-transform":"uppercase"}},ku={class:"flex-space label-block",style:{width:"100%"}},Au=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Bu={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},wu={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},Tu={class:"flex-space label-block",style:{width:"100%"}},Ou=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),Fu={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uu={class:"flex-space label-block",style:{width:"100%"}},Pu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),Lu={key:0,class:"flex-end",style:{flex:"1"}},Wu={key:1,class:"flex-end",style:{flex:"1"}},Hu=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mu={class:"flex-end",style:{width:"140px"}},Gu={class:"flex-space label-block",style:{width:"100%"}},Iu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Ru={key:0,class:"flex-end",style:{flex:"1"}},zu={key:1,class:"flex-end",style:{flex:"1"}},Uu=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yu={class:"flex-end",style:{width:"140px"}},Zu={class:"flex-space label-block",style:{width:"100%"}},Qu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ju={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},$u=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),Ku=["src"],qu=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-dace21b5> 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-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function Xu(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",mu,[e.createElementVNode("div",pu,[hu,e.createElementVNode("div",yu,[e.createElementVNode("div",Eu,null,512),e.createElementVNode("div",_u,null,512),e.createElementVNode("div",Nu,null,512)])]),e.createElementVNode("div",Vu,[fu,e.createElementVNode("div",gu,[e.createElementVNode("div",Du,[e.createElementVNode("div",xu,[e.createElementVNode("div",bu,[Cu,e.createElementVNode("span",Su,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",ku,[Au,e.createElementVNode("span",Bu,e.toDisplayString((D=(_=o.report)==null?void 0:_.vessel)==null?void 0:D.name),1),e.createElementVNode("span",wu,"("+e.toDisplayString((y=(S=o.report)==null?void 0:S.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",Tu,[Ou,e.createElementVNode("span",Fu,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",uu,[Pu,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",Lu,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",Wu,[e.createVNode(h,{lat:(L=(P=o.report)==null?void 0:P.departure)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Hu,e.createVNode(i,{lng:(O=o.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Mu,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Gu,[Iu,(R=(u=o.report)==null?void 0:u.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",Ru,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",zu,[e.createVNode(h,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Uu,e.createVNode(i,{lng:(I=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:I.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Yu,e.toDisplayString(a.computeUTCTime(($=(H=o.report)==null?void 0:H.arrival)==null?void 0:$.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Zu,[Qu,e.createElementVNode("span",Ju,e.toDisplayString((X=(K=o.report)==null?void 0:K.voyage)==null?void 0:X.loadCondition),1)])]),$u]),e.createElementVNode("img",{src:(q=o.report)==null?void 0:q.chartUrl,alt:""},null,8,Ku)])]),qu])}const ju=Ee(ru,[["render",Xu],["__scopeId","data-v-dace21b5"]]),fte="",vu={components:{Brand:zo,Summary:KO,Inventory:du,Chart:ju,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}}},watch:{report:{handler(t,s){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 s,o;const t=[];(o=(s=this.report)==null?void 0:s.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,h,i=!1;c.inventory.sample.hours.forEach((_,D)=>{a||(a=_),(!h||i)&&(h=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),h.noonLength=(h.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,h.dailyAvgCf=_.dailyAvgCf,h.avgSpdCalc=_.avgSpdCalc,h.distanceCalc=_.distanceCalc,h.noonUtc=_.utc,h.noon=_.noon),_.abbrev=S,S=S==="M"?"*":S==="A"?"":S,_.time=`${S} ${this.computeUTCTime(_.utc,"MMM-DD/HHmm[Z]")}`,_._lng=te.LngLatHelper.lng2pretty(_.lng),_._lat=te.LngLatHelper.lat2pretty(_.lat),_.cp=l,t.push(_)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function eP(t,s,o,c,l,a){var y,N,x,r;const h=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(y=o.report)==null?void 0:y.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(h,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{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(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const xn=Ee(vu,[["render",eP],["__scopeId","data-v-23bf57dc"]]),tP={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",xn)}},gte="",Dte="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,s){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:s}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let s;return t<=1||t>1&&t<=2?s=40:t>2&&t<=3?s=30:t>3&&t<=4?s=20:t>4&&t<=5?s=15:s=10,s},computerLon(t){let s="";return t===0&&(s="0"),t>0&&t<=180&&(s=""+t+"° E"),t>180&&t<=360&&(s=""+(t-180)+"° W"),t>360&&(s=""+(t-360)+"° E"),t<0&&t>=-180&&(s=""+(0-t)+"° W"),t<-180&&t>-360&&(s=""+(t+360)+"° E"),s},computerLat(t){let s="";return t===0&&(s="0"),t>0&&t<=90&&(s=""+t+"° N"),t>-90&&t<0&&(s=""+(0-t)+"° S"),s},initGrid(){let t=[];const s=[],o=[];this.XY=this.bounds;const c=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+c)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),s.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+c)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),s.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(s,o)}},xte="",bte="",oP={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:hi.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clhvqa78k021f01r062401ahm",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let c=this;this.map.on("load",function(){Vl.initStyle(o),Vl.initProperty(c.map),Vl.addSourceData([]),Vl.addLayerData(),Vl.initGrid()}),this.map.on("moveend",l=>{Vl.initProperty(c.map),Vl.initGrid()}),this.map.on("zoomend",l=>{Vl.initProperty(c.map),Vl.initGrid()})}}},lP=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),aP={class:"map"},nP=lP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function sP(t,s,o,c,l,a){const h=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",aP,[nP,e.createVNode(h,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const iP=Ee(oP,[["render",sP],["__scopeId","data-v-0230b635"]]),cP={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,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,s=Number(w(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:s,axisLabel:{show:!0,formatter:function(c,l){var a=w(c).format("MMMDD"),h=w(c).format("HH");return h==="00"||l===0?a:h}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},dP=["id"];function rP(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,dP)])}const mP=Ee(cP,[["render",rP]]),Cte="",pP={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{IdmBrand:zo,Map:iP,Echart:mP},data(){return{dateTime:void 0,typhoonData:[],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:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":te.roundPrecision(t,0)}},computeWind(){let t=this;return function(s){return s>=0?t.computeRoundPrecision(s):"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(s)}`:"-"}},computeHours(){return function(t,s){return w(s).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,s){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(s).pretty}`}},computeCandidateIndex(){return function(t,s){let o=0;for(const c in t){if(Number(c)>s)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,s,o){return t?s?Math.round((t+(s-t)*o)*100)/100:t:s}},computeHourSubscript(){return function(t){let s="";return this.hourSubscript.forEach((o,c)=>{t<o&&s===""&&(s=c)}),s}},computeKLineData(){return function(t){const s=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[s-1][1],middle:""},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}}},methods:{async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let y in this.data.hours){let N=this.data.hours[y];N.hour=y,t.push(N)}else{let y=0;for(let N in this.data.hours)if(y<8){let x=this.data.hours[N];x.hour=N,t.push(x),y++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const s=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let y in this.records)w(this.data.date).add(y,"h").utc().format("YYYY-MM-DD HH")===s&&this.$emit("center",this.records[y]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const c=[],l=[],a=[],h=[];let i=[],_=[],D=[];for(let y in this.records){const N=this.records[y],x=w(this.data.date).add(y,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(_.push([C,N.wind.kts]),D.push([C,N.pressure]),i.push([C,N.wind.spd])):(c.push(i),l.push(_),a.push(D),o=r,i=[],_=[],D=[],i.push([C,N.wind.spd]),_.push([C,N.wind.kts]),D.push([C,N.pressure]),this.xAxis.push(x))}for(let y in this.data.hours){const N=this.data.hours[y],x=w(this.data.date).add(y,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;h.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(c),this.fetchSpdData(l,h),this.fetchPressureData(a)},fetchProbabilityData(t){let s={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,h=0,i=0,_=0;o.forEach(S=>{const y=S[1];y<=17.1?c++:y<=24.4?l++:y<=32.6?a++:y<=41.4?h++:y<=50.9?i++:y>50.9&&_++});const D=o.length;s.td.push([o[0][0],te.roundPrecision(c/D,2)*100]),s.ts.push([o[0][0],te.roundPrecision(l/D,2)*100]),s.sts.push([o[0][0],te.roundPrecision(a/D,2)*100]),s.ty.push([o[0][0],te.roundPrecision(h/D,2)*100]),s.sty.push([o[0][0],te.roundPrecision(i/D,2)*100]),s.supty.push([o[0][0],te.roundPrecision(_/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:s.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:s.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:s.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:s.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:s.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:s.td}]},fetchSpdData(t,s){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let h=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(h)}),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:s,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let s=[],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]),s.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:s},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,s,o=3){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le;const c=w(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const h={};for(;a=this.computeCandidateIndex(s,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);h[l]={gusts:this.computeInterpolateValue((i=s[a.prev])==null?void 0:i.gusts,(_=s[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((D=s[a.prev])==null?void 0:D.lat,(S=s[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((y=s[a.prev])==null?void 0:y.lng,(N=s[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=s[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=s[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((P=(T=s[a.prev])==null?void 0:T.movement)==null?void 0:P.kts,(O=(L=s[a.next])==null?void 0:L.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((u=(b=s[a.prev])==null?void 0:b.movement)==null?void 0:u.spd,(Z=(R=s[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((z=s[a.prev])==null?void 0:z.pressure,(W=s[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((Y=(f=s[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(I=s[a.next])==null?void 0:I.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((K=($=s[a.prev])==null?void 0:$.wind)==null?void 0:K.lat,(q=(X=s[a.next])==null?void 0:X.wind)==null?void 0:q.lat,ee),lng:this.computeInterpolateValue((M=(V=s[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(n=(J=s[a.next])==null?void 0:J.wind)==null?void 0:n.lng,ee),spd:this.computeInterpolateValue((d=(j=s[a.prev])==null?void 0:j.wind)==null?void 0:d.spd,(le=(v=s[a.next])==null?void 0:v.wind)==null?void 0:le.spd,ee)}},l+=o}return h}}},bn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),hP={class:"typhoon-report"},yP={class:"report-content"},EP={class:"map"},_P={class:"table"},NP=bn(()=>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)),VP=bn(()=>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 fP(t,s,o,c,l,a){const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",hP,[e.createVNode(h,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",yP,[e.createElementVNode("div",null,[e.createElementVNode("div",EP,[e.createVNode(i,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",_P,[e.createElementVNode("table",null,[NP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(D,S)=>{var y,N,x,r,C,k;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(D.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(D.lat,D.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(D.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((y=D==null?void 0:D.wind)==null?void 0:y.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=D.gusts)==null?void 0:N.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((x=D==null?void 0:D.wind)==null?void 0:x.r7)||"-")} / ${a.computeWind(((r=D==null?void 0:D.wind)==null?void 0:r.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=D==null?void 0:D.movement)==null?void 0:C.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((k=D==null?void 0:D.movement)==null?void 0:k.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(_,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(_,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(_,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])]),VP])}const Cn=Ee(pP,[["render",fP],["__scopeId","data-v-7324f644"]]),gP={install(t){t.component("HurricaneReport",Cn)}},Ste="",DP={components:{IdmBrand:ja},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(`
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function Ky(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Zy,[(e.openBlock(),e.createElementBlock("svg",Qy,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},$y,8,Jy)]))])}const fn=Ee(Yy,[["render",Ky]]),qy={install(t){t.component("PiLogo",fn)}},lte="",ate="",Xy={components:{Editor:Ro,IdmBrand:ja},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//c6zPSkndndm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fH0is8UF8g++zqT7++8F+zun72aWL3/r7Tuqv1mgv37Q7LSvv3L6tttfZvZAntVfaPr4/fo+dn+u231uf57Zvao/s8rx9af36PsTs285ZVv9cWZ3q/5I0x8uOqXtD5zu8ndtupNy7Z2q31+g37vD2wmr33W63d/veLtN9du3HQ/2zePyWwv0UadvHPP1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDVcLGsyf85VnSoyK031Z05ecns7sgvE54nb32qrLtmiNWaWvu5xedbszs1cW7o6MntjRYLVsR73b9h/fUk2Pb7tMrzvVWT32FlqytVbbo1fSFtWDG6rlplWlgW5c6a3E6ganFf6uN/rc42eNz7Mz8pmHVZ9+OD/YQ/nyqQX6pNPi074+YQc0eAIaggENbkAD0KALaAAagAY7oAFoSCMD0AA0eHtnoeHW1ZXpbnF60azCatGai7J4c91lW777kqw80GK1wmy/v5cOt8nred2Btlp1WWWV9MvJikE5sUBnaqNS1TZ2xdV0jEv/yPRbKpFMCWPvtw1PzEr3UFxTLFBd57gUNUQXrKA2IrsLui/bLk8r3my6bM/va5Jn9xh/Z6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knL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+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 s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=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`${s} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):s==="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,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(s==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(s==="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,s){return s?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let s="";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})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(s="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."),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){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,s){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}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,s;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(s=(t=this.reportData)==null?void 0:t.segments)==null||s.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(h=>{let i={time:w(h.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(h.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:h.duration,distance:h.distance,fo:h.foCons,dgo:h.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(h=>{a.push(this.computedSeg(h))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(h=>h.type!=="A"&&h.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),jy=["src"],vy={class:"voyage-main"},eE={class:"main",style:{"page-break-after":"always"}},tE={class:"main-title",style:{position:"relative !important"}},oE=["src"],lE={class:"main-title-content"},aE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),nE={class:"title-date"},sE={class:"main-subtitle"},iE={class:"white"},cE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),dE={class:"subtitle-main"},rE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),mE={class:"subtitle-main"},pE={class:"main-box"},hE={class:"main-table"},yE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),EE={class:"bold"},_E=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),NE={class:"bold"},VE=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),fE={class:"bold"},gE=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),DE={class:"bold"},xE={style:{display:"inline-block",width:"50%"}},bE=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),CE={class:"bold"},SE={style:{display:"inline-block",width:"50%"}},kE=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),AE={class:"tips",style:{display:"flex"}},BE={style:{color:"var(--table-note-color)"}},wE={class:"summary-table",style:{"margin-top":"5px"}},TE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),OE={style:{width:"15%"}},FE={key:1},uE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),PE={key:1},LE=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),WE={key:1},HE=g(()=>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)),ME=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),GE={class:"weather-definition"},IE={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},RE=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),zE=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),UE={class:"remark-table"},YE=g(()=>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)),ZE=["innerHTML"],QE={class:"analysis page-title"},JE={class:"analysis-title"},$E={class:"analysis-title-detail"},KE=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),qE={class:"page-avoid"},XE={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},jE=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),vE=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),e_=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),t_=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),o_=g(()=>e.createElementVNode("tr",null,null,-1)),l_={class:"title"},a_={class:"title"},n_={class:"title"},s_={class:"title"},i_=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),c_={class:"page-avoid",style:{"margin-bottom":"15px"}},d_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},r_=g(()=>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)),m_=g(()=>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)),p_=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),h_={class:"inGoodWx"},y_={class:"inGoodWx"},E_=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),__={class:"inGoodWx"},N_={class:"inGoodWx"},V_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),f_={class:"inGoodWx"},g_={class:"inGoodWx"},D_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),x_={class:"inGoodWx"},b_={class:"inGoodWx"},C_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),S_={class:"inGoodWx"},k_={class:"inGoodWx"},A_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),B_={class:"inGoodWx"},w_={class:"inGoodWx"},T_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),O_={class:"inGoodWx"},F_={class:"inGoodWx"},u_={key:0,class:"analysis-tips"},P_={key:1,class:"analysis-definition"},L_={key:2,class:"analysis-definition"},W_=g(()=>e.createElementVNode("br",null,null,-1)),H_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},M_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),G_=g(()=>e.createElementVNode("span",null,"= ",-1)),I_={key:0},R_={key:1},z_={key:2},U_={key:3},Y_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},Z_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),Q_=g(()=>e.createElementVNode("span",null,"=",-1)),J_={key:0},$_={key:1},K_=g(()=>e.createElementVNode("span",null,"-",-1)),q_=g(()=>e.createElementVNode("span",null,"=",-1)),X_={key:0},j_={key:1},v_={key:6,class:"tr-tips tips-color"},eN={class:"formula page-title"},tN={class:"page-avoid"},oN={class:"subtitle",style:{"margin-top":"0"}},lN={key:0},aN={class:"definition"},nN=g(()=>e.createElementVNode("br",null,null,-1)),sN=g(()=>e.createElementVNode("br",null,null,-1)),iN=g(()=>e.createElementVNode("br",null,null,-1)),cN={class:"equation"},dN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),rN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mN={style:{width:"50%"},class:"fraction"},pN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),EN={class:"equation"},_N={style:{width:"35%"}},NN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VN={style:{width:"50%"},class:"fraction"},fN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"50%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),AN=g(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),BN={class:"page-avoid"},wN={key:0,class:"definition",style:{margin:"15px 0"}},TN={class:"equation"},ON=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),FN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"35%"},class:"fraction"},PN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WN={style:{width:"10%","text-align":"center"}},HN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),MN={class:"equation"},GN={style:{width:"35%"}},IN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RN={style:{width:"35%"},class:"fraction"},zN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YN={style:{width:"10%","text-align":"center"}},ZN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),QN={class:"equation"},JN={style:{width:"35%"}},$N=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KN={style:{width:"35%"},class:"fraction"},qN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"10%","text-align":"center"}},vN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),eV=g(()=>e.createElementVNode("span",null,"=",-1)),tV=g(()=>e.createElementVNode("span",null,"=",-1)),oV=g(()=>e.createElementVNode("span",null,"=",-1)),lV=["innerHTML"],aV={class:"page-avoid"},nV={class:"subtitle page-title"},sV={key:0},iV={class:"definition",style:{"margin-bottom":"15px"}},cV=g(()=>e.createElementVNode("br",null,null,-1)),dV=g(()=>e.createElementVNode("br",null,null,-1)),rV=g(()=>e.createElementVNode("br",null,null,-1)),mV={class:"equation"},pV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),hV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yV={style:{width:"25%"},class:"fraction"},EV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_V=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VV=g(()=>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)),fV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),gV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},DV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),xV={key:0},bV={class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"25%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),wV=g(()=>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)),TV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),OV={class:"equation"},FV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),uV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PV={style:{width:"25%"},class:"fraction"},LV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),HV=g(()=>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)),MV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),GV=g(()=>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)),IV={key:0,class:"equation"},RV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),zV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),UV={style:{width:"45%"},class:"fraction"},YV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV={key:1,class:"equation"},JV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),$V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KV={style:{width:"45%"},class:"fraction"},qV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),XV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jV={class:"page-avoid"},vV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),ef={key:0,class:"definition",style:{margin:"15px 0"}},tf={class:"equation"},of=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),lf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),af={style:{width:"20%"},class:"fraction"},nf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),cf={style:{width:"20%"},class:"fraction"},df=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"10%","text-align":"center"}},pf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),hf={class:"equation"},yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_f={style:{width:"20%"},class:"fraction"},Nf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Vf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ff={style:{width:"20%"},class:"fraction"},gf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Df=g(()=>e.createElementVNode("div",null,"24",-1)),xf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bf={style:{width:"10%","text-align":"center"}},Cf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Sf={class:"equation"},kf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Bf={style:{width:"20%"},class:"fraction"},wf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Of={style:{width:"20%"},class:"fraction"},Ff=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uf=g(()=>e.createElementVNode("div",null,"24",-1)),Pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Lf={style:{width:"10%","text-align":"center"}},Wf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),Hf=g(()=>e.createElementVNode("span",null,"=",-1)),Mf=g(()=>e.createElementVNode("span",null,"=",-1)),Gf=g(()=>e.createElementVNode("span",null,"=",-1)),If={key:0},Rf={key:0,class:"equation"},zf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),Uf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Yf={style:{width:"45%"},class:"fraction"},Zf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Qf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"10%","text-align":"center"}},$f={key:1,class:"equation"},Kf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),qf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"45%"},class:"fraction"},jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eg={style:{width:"10%","text-align":"center"}},tg=["innerHTML"],og={class:"page-avoid"},lg={key:0},ag=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),ng={key:0,class:"definition",style:{margin:"15px 0"}},sg={class:"equation"},ig=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),cg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),dg={style:{width:"20%"},class:"fraction"},rg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pg={style:{width:"20%"},class:"fraction"},hg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Eg={style:{width:"10%","text-align":"center"}},_g=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),Ng={class:"equation"},Vg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),fg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gg={style:{width:"20%"},class:"fraction"},Dg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),bg={style:{width:"20%"},class:"fraction"},Cg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sg=g(()=>e.createElementVNode("div",null,"24",-1)),kg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ag={style:{width:"10%","text-align":"center"}},Bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),wg={class:"equation"},Tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Fg={style:{width:"20%"},class:"fraction"},ug=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Lg={style:{width:"20%"},class:"fraction"},Wg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hg=g(()=>e.createElementVNode("div",null,"24",-1)),Mg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Gg={style:{width:"10%","text-align":"center"}},Ig=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Rg=g(()=>e.createElementVNode("span",null,"=",-1)),zg=g(()=>e.createElementVNode("span",null,"=",-1)),Ug=g(()=>e.createElementVNode("span",null,"=",-1)),Yg=["innerHTML"];function Zg(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.referenceOnly||(y=(S=o.reportData)==null?void 0:S.weather)!=null&&y.overallAsGoodWx?"watermark":"")},[e.createVNode(h,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,jy),e.createElementVNode("div",vy,[e.createElementVNode("div",eE,[e.createElementVNode("div",tE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,oE),e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",sE,[e.createElementVNode("table",iE,[e.createElementVNode("tr",null,[cE,e.createElementVNode("td",dE,"    "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[rE,e.createElementVNode("td",mE,"    "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",pE,[e.createElementVNode("table",hE,[e.createElementVNode("tr",null,[yE,e.createElementVNode("td",EE,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[_E,e.createElementVNode("td",NE,e.toDisplayString((P=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:P.loadCondition),1)]),e.createElementVNode("tr",null,[VE,e.createElementVNode("td",fE,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[gE,e.createElementVNode("td",DE,[e.createElementVNode("span",xE,e.toDisplayString(((u=(b=o.reportData)==null?void 0:b.departure)==null?void 0:u.portName)||a.computedLngLat((Z=(R=o.reportData)==null?void 0:R.departure)==null?void 0:Z.lat,(W=(z=o.reportData)==null?void 0:z.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Y=(f=o.reportData)==null?void 0:f.departure)==null?void 0:Y.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[bE,e.createElementVNode("td",CE,[e.createElementVNode("span",SE,e.toDisplayString(((H=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:H.portName)||a.computedLngLat((K=($=o.reportData)==null?void 0:$.arrival)==null?void 0:K.lat,(q=(X=o.reportData)==null?void 0:X.arrival)==null?void 0:q.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(V=o.reportData)==null?void 0:V.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),kE,(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",AE,[e.createElementVNode("div",BE,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(le,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(le),1))),128))])]),e.createElementVNode("table",wE,[e.createElementVNode("tr",null,[TE,e.createElementVNode("td",OE,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",FE,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,[uE,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",PE,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,[LE,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",WE,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)])]),HE]))),128)),ME,e.createElementVNode("div",GE,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((n=o.reportData)==null?void 0:n.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",IE,[RE,e.createElementVNode("div",null,[zE,e.createElementVNode("table",UE,[YE,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":s[0]||(s[0]=d=>l.advisory=d),height:"320px",onBlur:s[1]||(s[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:s[2]||(s[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,ZE))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=o.reportData)==null?void 0:j.segments,(d,v)=>{var le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",QE,[e.createElementVNode("div",JE,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",$E,[e.createElementVNode("div",null,e.toDisplayString((ee=(le=o.reportData)==null?void 0:le.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),KE,e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),vE,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[e_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),t_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),o_,e.createElementVNode("tr",null,[e.createElementVNode("td",l_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",a_,"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",n_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",s_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),i_,e.createElementVNode("div",c_,[e.createElementVNode("table",d_,[r_,m_,e.createElementVNode("tr",null,[p_,e.createElementVNode("td",h_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",y_,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,[E_,e.createElementVNode("td",__,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",N_,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,[V_,e.createElementVNode("td",f_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",g_,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,[D_,e.createElementVNode("td",x_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",b_,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,[C_,e.createElementVNode("td",S_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",k_,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,[A_,e.createElementVNode("td",B_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",w_,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,[T_,e.createElementVNode("td",O_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",F_,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",u_," 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",P_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ie=(se=o.reportData)==null?void 0:se.weather)!=null&&ie.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",L_,[e.createTextVNode(" No Charter Party defined good weather was found. "),W_,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",H_,[M_,G_,(ce=(pe=o.reportData)==null?void 0:pe.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",I_,e.toDisplayString(d.goodWx.avgSpd),1)),(ge=(he=o.reportData)==null?void 0:he.weather)!=null&&ge.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",R_,"-")),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",z_,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",U_,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",Y_,[Z_,Q_,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",J_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",$_,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),K_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),q_,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",X_,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",j_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",v_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",eN,[e.createElementVNode("div",tN,[e.createElementVNode("div",oN,[e.createTextVNode(" Time Analysis "),(ue=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&ue.noExtrapolation?(e.openBlock(),e.createElementBlock("span",lN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",aN,[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),nN,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),sN,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),iN,e.createElementVNode("div",cN,[dN,rN,e.createElementVNode("div",mN,[e.createElementVNode("div",null,e.toDisplayString((F=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),pN,hN]),yN]),e.createElementVNode("div",EN,[e.createElementVNode("div",_N," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),NN,e.createElementVNode("div",VN,[e.createElementVNode("div",null,e.toDisplayString((Pe=(ye=o.reportData)==null?void 0:ye.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),fN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((We=(Le=o.reportData)==null?void 0:Le.weather)!=null&&We.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),SN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),kN]),AN])]),e.createElementVNode("div",BN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",wN,[e.createElementVNode("div",TN,[ON,FN,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.weather)!=null&&He.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),PN,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),LN,e.createElementVNode("div",WN,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),HN]),e.createElementVNode("div",MN,[e.createElementVNode("div",GN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),IN,e.createElementVNode("div",RN,[e.createElementVNode("div",null,e.toDisplayString((Ke=($e=o.reportData)==null?void 0:$e.weather)!=null&&Ke.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),zN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),UN,e.createElementVNode("div",YN,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),ZN]),e.createElementVNode("div",QN,[e.createElementVNode("div",JN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),$N,e.createElementVNode("div",KN,[e.createElementVNode("div",null,e.toDisplayString((Oe=(U=o.reportData)==null?void 0:U.weather)!=null&&Oe.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),qN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),XN,e.createElementVNode("div",jN,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),vN]),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),eV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),tV,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),oV,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(((ze=d.timeConclusion)==null?void 0:ze.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,lV))]),e.createElementVNode("div",aV,[e.createElementVNode("div",nV,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",sV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",iV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),cV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),dV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),rV,e.createElementVNode("div",mV,[pV,hV,e.createElementVNode("div",yV,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),EV,_V]),NV,VV,fV]),e.createElementVNode("div",gV,[DV,((E=(Je=d.extend)==null?void 0:Je.cp)==null?void 0:E.dgo)>0?(e.openBlock(),e.createElementBlock("div",xV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",bV,[CV,SV,e.createElementVNode("div",kV,[e.createElementVNode("div",null,e.toDisplayString((fe=(Q=o.reportData)==null?void 0:Q.weather)!=null&&fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),AV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),BV,wV,TV]),e.createElementVNode("div",OV,[FV,uV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString((Me=(Te=o.reportData)==null?void 0:Te.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),WV,HV,MV]),GV,((qe=(me=d.extend)==null?void 0:me.cp)==null?void 0:qe.dgo)>0?(e.openBlock(),e.createElementBlock("div",IV,[RV,zV,e.createElementVNode("div",UV,[YV,ZV,e.createElementVNode("div",null,e.toDisplayString((ve=(je=o.reportData)==null?void 0:je.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=d.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",QV,[JV,$V,e.createElementVNode("div",KV,[qV,XV,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",jV,[vV,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ef,[e.createElementVNode("div",tf,[of,lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString((pt=(mt=o.reportData)==null?void 0:mt.weather)!=null&&pt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),nf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),sf,e.createElementVNode("div",cf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),df,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),rf,e.createElementVNode("div",mf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),pf]),e.createElementVNode("div",hf,[yf,Ef,e.createElementVNode("div",_f,[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),Nf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Vf,e.createElementVNode("div",ff,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),gf,Df]),xf,e.createElementVNode("div",bf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Cf]),e.createElementVNode("div",Sf,[kf,Af,e.createElementVNode("div",Bf,[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),wf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Tf,e.createElementVNode("div",Of,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Ff,uf]),Pf,e.createElementVNode("div",Lf,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),Wf]),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),Hf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Mf,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),Gf,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",If,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Rf,[zf,Uf,e.createElementVNode("div",Yf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),Zf,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)]),Qf,e.createElementVNode("div",Jf,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",$f,[Kf,qf,e.createElementVNode("div",Xf,[e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),jf,e.createElementVNode("div",null,e.toDisplayString((xt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&xt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),vf,e.createElementVNode("div",eg,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,tg))]),e.createElementVNode("div",og,[((Ct=(bt=d.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",lg,[ag,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ng,[e.createElementVNode("div",sg,[ig,cg,e.createElementVNode("div",dg,[e.createElementVNode("div",null,e.toDisplayString((kt=(St=o.reportData)==null?void 0:St.weather)!=null&&kt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),rg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),mg,e.createElementVNode("div",pg,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),hg,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),yg,e.createElementVNode("div",Eg,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),_g]),e.createElementVNode("div",Ng,[Vg,fg,e.createElementVNode("div",gg,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Dg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),xg,e.createElementVNode("div",bg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Cg,Sg]),kg,e.createElementVNode("div",Ag,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),Bg]),e.createElementVNode("div",wg,[Tg,Og,e.createElementVNode("div",Fg,[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),ug,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Pg,e.createElementVNode("div",Lg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Wg,Hg]),Mg,e.createElementVNode("div",Gg,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),Ig]),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),Rg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),zg,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),Ug,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,Yg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Qg=Ee(Xy,[["render",Zg],["__scopeId","data-v-6f2b44b1"]]),nte="",Jg={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,s=2){return t==="--"?"--":te.roundPrecision(t,s)}},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,s,o){let c="";return s&&(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,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(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}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,h,i,_,D,S,y,N,x;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=(h=this.reportData)==null?void 0:h.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(_=this.reportData)==null?void 0:_.weather)==null?void 0:D.showSwell)??!0,this.showWave=((y=(S=this.reportData)==null?void 0:S.weather)==null?void 0:y.showWave)??!0;let t=[];(x=(N=this.reportData)==null?void 0:N.segments)==null||x.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let T=JSON.parse(JSON.stringify(k));T.cp=C,t.push(T)})}),t.sort(function(r,C){let k=r.date,T=C.date;return k-T});let s="";t.forEach(r=>{r.seg!==s&&(r.isFirstSeg=!0,s=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+w(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},_e=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),$g={class:"table",id:"second-table"},Kg=_e(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),qg={class:"subtitle"},Xg={class:"introduce"},jg={class:"introduce-ship"},vg={style:{"margin-bottom":"15px"}},e0=_e(()=>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)),t0={rowspan:"4"},o0=_e(()=>e.createElementVNode("td",null,"Entire Period",-1)),l0=_e(()=>e.createElementVNode("td",null,"Good weather period",-1)),a0=_e(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),n0=_e(()=>e.createElementVNode("td",null,"Excluded period",-1)),s0=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),i0={class:"summary-table"},c0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),d0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),r0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),m0=_e(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),p0=["colspan"],h0={key:0,colspan:"2"},y0=_e(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),E0=_e(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),_0=_e(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),N0=_e(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),V0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),f0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),g0={key:0,rowspan:"2"},D0=_e(()=>e.createElementVNode("br",null,null,-1)),x0={key:1,rowspan:"2"},b0=_e(()=>e.createElementVNode("br",null,null,-1)),C0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),S0={key:2,rowspan:"2"},k0=_e(()=>e.createElementVNode("br",null,null,-1)),A0={key:3,colspan:"2"},B0={key:4,rowspan:"2"},w0=_e(()=>e.createElementVNode("br",null,null,-1)),T0={key:5,colspan:"2"},O0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F0={key:6,rowspan:"2"},u0={key:7,rowspan:"2"},P0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),L0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),W0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),M0=_e(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),G0=_e(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),I0=_e(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),R0=_e(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z0=_e(()=>e.createElementVNode("th",null,"FO",-1)),U0=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),Y0=_e(()=>e.createElementVNode("th",null,"Dir",-1)),Z0=_e(()=>e.createElementVNode("th",null,"BF",-1)),Q0={key:0},J0={key:1},$0={key:2},K0={key:3},q0=_e(()=>e.createElementVNode("th",null,"RPM",-1)),X0=_e(()=>e.createElementVNode("th",null,"Slip%",-1)),j0=_e(()=>e.createElementVNode("th",null,"FO",-1)),v0=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),eD=_e(()=>e.createElementVNode("th",null,"FO",-1)),tD=_e(()=>e.createElementVNode("th",null,"DO/GO",-1)),oD=_e(()=>e.createElementVNode("th",null,"Dir",-1)),lD=_e(()=>e.createElementVNode("th",null,"BF",-1)),aD={class:"summary-tbody"};function nD(t,s,o,c,l,a){var h,i,_,D,S,y,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",$g,[Kg,e.createElementVNode("div",qg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",Xg,[e.createElementVNode("div",jg,[e.createElementVNode("span",null,e.toDisplayString((N=(y=o.reportData)==null?void 0:y.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",vg,[e.createElementVNode("table",null,[e0,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((x=o.reportData)==null?void 0:x.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",t0,e.toDisplayString(C+1),1),o0,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,[l0,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,[a0,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,[n0,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))])])]),s0,e.createElementVNode("div",null,[e.createElementVNode("table",i0,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c0,d0,r0,m0,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,p0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",h0,"meteo")):e.createCommentVNode("",!0),y0,E0]),e.createElementVNode("tr",null,[_0,N0,V0,f0,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",g0,[e.createTextVNode("Spd"),D0,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",x0,[e.createTextVNode("Dis"),b0,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),C0,l.showWave?(e.openBlock(),e.createElementBlock("th",S0,[e.createTextVNode("Sea HT"),k0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",A0,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",B0,[e.createTextVNode("Sig Wave"),w0,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",T0,"Current")):e.createCommentVNode("",!0),O0,o.isAdmin?(e.openBlock(),e.createElementBlock("th",F0,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",u0,"wxFactor")):e.createCommentVNode("",!0),P0,L0,W0,H0,M0,G0,I0,R0]),e.createElementVNode("tr",null,[z0,U0,Y0,Z0,l.showSwell?(e.openBlock(),e.createElementBlock("th",Q0,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",J0,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",$0,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",K0,"CF(kts)")):e.createCommentVNode("",!0),q0,X0,j0,v0,eD,tD,oD,lD])]),e.createElementVNode("tbody",aD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.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(((P=(T=r.meteo)==null?void 0:T.wind)==null?void 0:P.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((O=(L=r.meteo)==null?void 0:L.wind)==null?void 0:O.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((R=(u=(b=r.meteo)==null?void 0:b.wave)==null?void 0:u.wd)==null?void 0:R.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(z=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:z.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((I=(Y=(f=r.meteo)==null?void 0:f.wave)==null?void 0:Y.swell)==null?void 0:I.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((K=($=(H=r.meteo)==null?void 0:H.wave)==null?void 0:$.sig)==null?void 0:K.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=(X=r.meteo)==null?void 0:X.current)==null?void 0:q.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((V=r.meteo)==null?void 0:V.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(((M=r.meteo)==null?void 0:M.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 sD=Ee(Jg,[["render",nD],["__scopeId","data-v-9fe5beca"]]),iD={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,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,s){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)}),s.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(Uo.init(c))}let t=this,s=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:s};this.$nextTick(()=>{this.chart.setOption(o)})}}},cD=["id"];function dD(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,cD)])}const rD=Ee(iD,[["render",dD]]),mD={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},pD={class:"logo"},hD=[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 yD(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",pD,hD)}const ED=Ee(mD,[["render",yD]]),ite="",_D={components:{ScCharts:rD,BrabImg:ED},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 s=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(s.push({num:l,id:a}),o=l)});let c=[];return s.forEach((l,a)=>{let h=0;a==s.length-1?h=t.length-l.id:h=s[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&h>0?(i.push(l.num),h=h-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,s){let o=[],c=null,l=0;t.forEach((h,i)=>{h!=c&&this.computedIsNull(h)!==""?(o.push({num:h,id:i}),c=h,l++):this.computedIsNull(h)!==""&&h==c&&(o[l-1].id=i)});let a=[];return o.forEach((h,i)=>{let _=i?o[i-1].id:-1;for(let D=_;D<h.id;D++)a.push(h.num)}),a}},computedTime(){return function(t,s){return s=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const s=/.*(?=<)/,o=t.match(s);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let s=te.EmailHelper.convert2Html(t);return s=s.replace(/<\/br><\/br>+/g,"</br>"),s=s.replace(/(<\/br> <\/br>)+/g,"</br>"),s}else return"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(s)}`:"-"}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,s){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(s=>s.status===1);this.mailList=t},getTableData(){var X,q;let t=[];(q=(X=this.reportData)==null?void 0:X.segments)==null||q.forEach((V,M)=>{let J=V.extend.cp;V.inventory.sample.hours.forEach((n,j)=>{let d=JSON.parse(JSON.stringify(n));d.cp=J,d.fuelConclusion=V.fuelConclusion,d.timeConclusion=V.timeConclusion,t.push(d)})}),t.sort(function(V,M){let J=V.date,n=M.date;return J-n});let s=[],o=[],c=[],l=[],a=[],h=[],i=[],_=[],D=[],S=[],y=[],N=[],x=[],r=[],C=[],k=[],T=[],P=[],L=[],O=[],b=[],u=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],I=[!1,!1],H=[],$=[];t.forEach((V,M)=>{var n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me;if(s.push(w(V.utc).utc().format("MM/DD HHmm[Z]")),V.goodWx===!0&&V.excluded!==!0?(W.indexOf(!0)==-1&&(V.type==="BOSP"?f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[]),V.excluded===!0?(I.indexOf(!0)===-1&&(M===0?H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!0),I.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,$.push(H),H=[])):I.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,$.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((n=t[M+1])==null?void 0:n.type)==="BOSP"){let me=[];me.push({xAxis:w(V.utc).utc().format("MM/DD HHmm[Z]")}),me.push({xAxis:w(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),$.push(me)}V.type!="A"&&(V.type==="BOSP"&&M===0?l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),(j=V==null?void 0:V.noon)==null?void 0:j.avgSpd,V==null?void 0:V.type]):l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((d=V==null?void 0:V.noon)==null?void 0:d.avgSpd)||"-",V==null?void 0:V.type]),L.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((v=V==null?void 0:V.noon)==null?void 0:v.windBF)||"-"]),R.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((le=V==null?void 0:V.noon)==null?void 0:le.seasHt)||"-"])),_.push((V==null?void 0:V.type)!="A"?this.computedIsNull((ee=V==null?void 0:V.noon)==null?void 0:ee.foCons):""),x.push((V==null?void 0:V.type)!="A"?this.computedIsNull((se=V==null?void 0:V.noon)==null?void 0:se.dgoCons):""),z.push((V==null?void 0:V.type)!="A"?this.computedIsNull(V==null?void 0:V.dailyAvgCf):""),c.push((V==null?void 0:V.cpSpd)??""),a.push(((ie=V==null?void 0:V.timeConclusion)==null?void 0:ie.minusAbtSpd)??""),i.push(((de=V==null?void 0:V.cp)==null?void 0:de.fo)??""),D.push(((pe=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:pe.underTolerance)??""),S.push(((he=(ce=V==null?void 0:V.fuelConclusion)==null?void 0:ce.fo)==null?void 0:he.overTolerance)??""),N.push(((ge=V==null?void 0:V.cp)==null?void 0:ge.dgo)??""),r.push(((xe=(De=V==null?void 0:V.fuelConclusion)==null?void 0:De.dgo)==null?void 0:xe.underTolerance)??""),C.push(((Ce=(be=V==null?void 0:V.fuelConclusion)==null?void 0:be.dgo)==null?void 0:Ce.overTolerance)??""),T.push(((ke=(Se=V==null?void 0:V.meteo)==null?void 0:Se.wind)==null?void 0:ke.scale)??""),P.push(((Be=(Ae=this.reportData)==null?void 0:Ae.weather)==null?void 0:Be.windScale)??"");let J="";(ue=(Fe=this.reportData)==null?void 0:Fe.weather)!=null&&ue.sigSwitch?(J=(ye=(F=(Ve=V.meteo)==null?void 0:Ve.wave)==null?void 0:F.sig)!=null&&ye.height?(We=(Le=(Pe=V.meteo)==null?void 0:Pe.wave)==null?void 0:Le.sig)==null?void 0:We.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",u.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(Ke=($e=V.meteo)==null?void 0:$e.wave)==null?void 0:Ke.wd)!=null&&U.height?(Ue=(ze=(Oe=V.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",u.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(E=(Je=(Qe=V.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&E.height?(Te=(fe=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:fe.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",u.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),b.push(J)}),this.params={xAxis:s,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:$},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),S=this.computedArray(S),N=this.computedArray(N),r=this.computedArray(r),C=this.computedArray(C),_=this.computedCurrent(_),x=this.computedCurrent(x,"dgotype"),z=this.computedCurrent(z),c.forEach((V,M)=>{let J={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};o.push(J)}),a.forEach((V,M)=>{let J={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:V,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((V,M)=>{let J={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};h.push(J)}),D.forEach((V,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};h.push(J)}),S.forEach((V,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily FO",type:"bar",showSymbol:!1,data:_,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),N.forEach((V,M)=>{let J={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};y.push(J)}),r.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};y.push(J)}),C.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};y.push(J)}),y.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:x,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:P,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:T,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:L,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),O.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0});let K=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:K,type:"line",data:b,color:"#5eb3e0",showSymbol:!1,smooth:!0}),O.push({name:"Ship Report",type:"scatter",data:R,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:z,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=h,this.DGOChartData=y,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),ND={class:"charts"},VD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),fD={class:"subtitle"},gD=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),DD={class:"weather-eChart"},xD={class:"charts page-title"},bD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),CD={class:"subtitle"},SD=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),kD={class:"weather-eChart"},AD={class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),wD={class:"subtitle"},TD={class:"message-table"},OD=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),FD=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),uD=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),PD={style:{display:"inline-block",width:"50%"}},LD=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),WD={style:{display:"inline-block",width:"50%"}},HD={style:{margin:"15px auto","padding-left":"20px"}},MD=["src"],GD={class:"charts-imgLegend"},ID={style:{position:"relative",left:"-20px"}},RD=Ge(()=>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)),zD=Ge(()=>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)),UD=Ge(()=>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)),YD={key:0,class:"charts page-title"},ZD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),QD={class:"subtitle"},JD={class:"message-table"},$D=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),KD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),qD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),XD={style:{display:"inline-block",width:"50%"}},jD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),vD={style:{display:"inline-block",width:"50%"}},e2={class:"columns"},t2={class:"title"},o2=["innerHTML"],l2={class:"charts",style:{"page-break-before":"always"}},a2=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),n2={class:"methodology"},s2=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),i2={class:"definition"},c2={class:"equation"},d2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),r2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),m2={style:{width:"50%"},class:"fraction"},p2=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h2=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),y2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),E2={class:"equation"},_2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),N2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),V2={style:{width:"50%"},class:"fraction"},f2=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g2=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),D2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),x2={class:"equation"},b2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),C2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),S2={style:{width:"50%"},class:"fraction"},k2=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A2=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),B2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),w2=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),T2=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),O2=Ge(()=>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)),F2=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),u2=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function P2(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue;const h=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.referenceOnly||(y=(S=o.reportData)==null?void 0:S.weather)!=null&&y.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",ND,[VD,e.createElementVNode("div",fD,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),gD,e.createElementVNode("div",DD,[e.createVNode(h,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",xD,[bD,e.createElementVNode("div",CD,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),SD,e.createElementVNode("div",kD,[e.createVNode(h,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(h,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",AD,[BD,e.createElementVNode("div",wD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",TD,[e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[uD,e.createElementVNode("td",null,[e.createElementVNode("span",PD,e.toDisplayString(((L=(P=o.reportData)==null?void 0:P.departure)==null?void 0:L.portName)||a.computedLngLat((b=(O=o.reportData)==null?void 0:O.departure)==null?void 0:b.lat,(R=(u=o.reportData)==null?void 0:u.departure)==null?void 0:R.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:z.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[LD,e.createElementVNode("td",null,[e.createElementVNode("span",WD,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((I=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:I.lat,($=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:$.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((X=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:X.utcTime,"table")),1)])])])]),e.createElementVNode("div",HD,[e.createElementVNode("img",{style:{width:"100%"},src:(q=o.reportData)==null?void 0:q.chartUrl,alt:""},null,8,MD),e.createElementVNode("div",GD,[e.createElementVNode("div",ID,[RD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),zD]),UD])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",YD,[ZD,e.createElementVNode("div",QD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",JD,[e.createElementVNode("tr",null,[$D,e.createElementVNode("td",null,e.toDisplayString((n=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:n.name),1)]),e.createElementVNode("tr",null,[KD,e.createElementVNode("td",null,e.toDisplayString((j=o.reportData)==null?void 0:j.preparedFor),1)]),e.createElementVNode("tr",null,[qD,e.createElementVNode("td",null,[e.createElementVNode("span",XD,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(le=o.reportData)==null?void 0:le.departure)==null?void 0:ee.lat,(ie=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ie.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,[jD,e.createElementVNode("td",null,[e.createElementVNode("span",vD,e.toDisplayString(((ce=(pe=o.reportData)==null?void 0:pe.arrival)==null?void 0:ce.portName)||a.computedLngLat((ge=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:ge.lat,(xe=(De=o.reportData)==null?void 0:De.arrival)==null?void 0:xe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Ce=(be=o.reportData)==null?void 0:be.arrival)==null?void 0:Ce.utcTime,"table")),1)])])])]),e.createElementVNode("div",e2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ve,F)=>(e.openBlock(),e.createElementBlock("div",{key:Ve.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",t2,"FROM "+e.toDisplayString(a.computeFrom(Ve.from))+" "+e.toDisplayString(a.computeUTCTime(Ve.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ve==null?void 0:Ve.body)??"-")},null,8,o2)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",l2,[a2,e.createElementVNode("div",n2,[s2,e.createElementVNode("div",i2,[e.createElementVNode("div",c2,[d2,r2,e.createElementVNode("div",m2,[e.createElementVNode("div",null,e.toDisplayString((ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),p2,h2]),y2]),e.createElementVNode("div",E2,[_2,N2,e.createElementVNode("div",V2,[e.createElementVNode("div",null,e.toDisplayString((Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),f2,g2]),D2]),e.createElementVNode("div",x2,[b2,C2,e.createElementVNode("div",S2,[e.createElementVNode("div",null,e.toDisplayString((ue=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&ue.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),k2,A2]),B2]),w2]),T2,O2,F2,u2])])],2)}const L2=Ee(_D,[["render",P2],["__scopeId","data-v-4fb04207"]]),cte="",W2={components:{firstPart:Qg,secondPart:sD,thirdPart:L2},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},H2={class:"voyage-report"};function M2(t,s,o,c,l,a){const h=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",H2,[e.createVNode(h,{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(_,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=Ee(W2,[["render",M2],["__scopeId","data-v-61638416"]]),dte="",G2={components:{Editor:Ro},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 s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):s?w(t).utc().format(s):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=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"),h=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:h}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):s=="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,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";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})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){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 s,o,c;return(s=t.timeConclusion)!=null&&s.spdPercentage?te.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,s){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}°${te.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 s,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(s=this.reportData)==null?void 0:s.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let _={begin:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(_)}),!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 h=[];c.extend.segTimes.forEach(i=>{h.push(this.computedSeg(i))}),this.segDetail.push(h),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},p=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),I2=p(()=>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)),R2={class:"fli-main"},z2=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),U2={class:"card basics"},Y2={class:"list flex"},Z2={class:"item"},Q2=p(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),J2={class:"content flex"},$2={class:"item"},K2=p(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),q2={class:"content flex"},X2={class:"item"},j2=p(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),v2={class:"content flex"},ex={class:"list"},tx={class:"item"},ox=p(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),lx={class:"content flex"},ax={class:"content flex"},nx={class:"item"},sx=p(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),ix={class:"content flex"},cx={class:"content flex"},dx={class:"item"},rx=p(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),mx={class:"content flexL"},px=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),hx={class:"clause"},yx={key:0,class:"definition flex"},Ex={key:1,class:"definition flex"},_x={class:"item"},Nx=p(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Vx={class:"content"},fx={key:0,class:"item"},gx=p(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Dx={class:"content"},xx={key:1,class:"item"},bx=p(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Cx={class:"content"},Sx={key:2,class:"item"},kx=p(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Ax={class:"content"},Bx={key:3,class:"item"},wx=p(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),Tx={class:"content"},Ox={key:4,class:"item"},Fx=[p(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],ux={key:5,class:"item"},Px=[p(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Lx={class:"definition flexM"},Wx={class:"table"},Hx=p(()=>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)),Mx=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Gx={class:"summary"},Ix={key:0,class:"summary-overall"},Rx=p(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),zx={class:"summary-overall-row"},Ux={class:"card"},Yx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Zx={class:"main-content"},Qx={key:0},Jx={key:1},$x={class:"card"},Kx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),qx={class:"main-content"},Xx={key:0},jx={key:1},vx={class:"card"},eb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),tb={class:"main-content"},ob={key:0},lb={key:1},ab={class:"summary-overall-row"},nb={class:"card"},sb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),ib={class:"main-content"},cb={class:"card"},db=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),rb={class:"main-content"},mb={class:"card"},pb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),hb={class:"main-content"},yb=p(()=>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)),Eb={class:"card",style:{flex:"1.5"}},_b={class:"card-title"},Nb=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Vb={class:"card-segment"},fb={class:"card-segment"},gb={class:"card-segment"},Db=p(()=>e.createElementVNode("div",null,"Applied",-1)),xb={class:"uppercase"},bb={class:"card summary-card",style:{flex:"1"}},Cb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Sb={key:0,class:"main-content"},kb={key:0,class:"iconfont success"},Ab={key:1,class:"iconfont error"},Bb={key:1,class:"main-content"},wb={class:"card-content",style:{"justify-content":"flex-start"}},Tb={class:"card summary-card",style:{flex:"1"}},Ob=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Fb={key:0,class:"main-content"},ub={key:0,class:"iconfont success"},Pb={key:1,class:"iconfont error"},Lb={key:1,class:"main-content"},Wb={class:"card-content",style:{"justify-content":"flex-start"}},Hb={class:"card summary-card",style:{flex:"1"}},Mb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Gb={key:0,class:"main-content"},Ib={key:0,class:"iconfont success"},Rb={key:1,class:"iconfont error"},zb={key:1,class:"main-content"},Ub={class:"card-content",style:{"justify-content":"flex-start"}},Yb={style:{"page-break-inside":"avoid"}},Zb=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Qb={class:"remarks"},Jb={class:"item"},$b=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Kb={class:"speed"},qb={class:"uppercase"},Xb={class:"item"},jb=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),vb={key:0,class:"remark-detail"},eC={key:1,class:"remark-detail"},tC={class:"page-avoid"},oC={class:"dashed"},lC={class:"card phase-title-card",style:{flex:"0.5"}},aC={class:"card-title"},nC=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sC={class:"card-segment"},iC={class:"card-segment"},cC={class:"card-segment"},dC=p(()=>e.createElementVNode("div",null,"Applied",-1)),rC={class:"uppercase"},mC=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),pC={class:"phase-analysis"},hC={class:"card phase-card",style:{flex:"1"}},yC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),EC={class:"main-content"},_C=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),NC={class:"main-content"},VC={class:"card-content"},fC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),gC=p(()=>e.createElementVNode("span",null,"mt",-1)),DC={class:"card-content"},xC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),bC=p(()=>e.createElementVNode("span",null,"mt",-1)),CC={class:"card-content"},SC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),kC=p(()=>e.createElementVNode("span",null,"mt",-1)),AC={class:"card-content"},BC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),wC=p(()=>e.createElementVNode("span",null,"mt",-1)),TC=p(()=>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)),OC={class:"card phase-card",style:{flex:"1"}},FC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),uC={class:"main-content"},PC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),LC={class:"main-content"},WC={class:"card-content"},HC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),MC=p(()=>e.createElementVNode("span",null,"mt",-1)),GC={class:"card-content"},IC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),RC=p(()=>e.createElementVNode("span",null,"mt",-1)),zC={class:"card-content"},UC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),YC=p(()=>e.createElementVNode("span",null,"mt",-1)),ZC={class:"card-content"},QC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),JC=p(()=>e.createElementVNode("span",null,"mt",-1)),$C=p(()=>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)),KC={class:"phase-analysis"},qC={class:"card phase-card",style:{flex:"1"}},XC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),jC={class:"main-content"},vC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=p(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),lS=p(()=>e.createElementVNode("span",null,"nm",-1)),aS={class:"card-content"},nS=p(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),sS=p(()=>e.createElementVNode("span",null,"nm",-1)),iS={class:"card-content"},cS=p(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),dS=p(()=>e.createElementVNode("span",null,"nm",-1)),rS={class:"card-content"},mS=p(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),pS=p(()=>e.createElementVNode("span",null,"nm",-1)),hS={class:"card phase-card",style:{flex:"1"}},yS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),ES={class:"main-content"},_S=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=p(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),gS=p(()=>e.createElementVNode("span",null,"hrs",-1)),DS={class:"card-content"},xS=p(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),bS=p(()=>e.createElementVNode("span",null,"hrs",-1)),CS={class:"card-content"},SS=p(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),kS=p(()=>e.createElementVNode("span",null,"hrs",-1)),AS={class:"card-content"},BS=p(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),wS=p(()=>e.createElementVNode("span",null,"hrs",-1)),TS={class:"card phase-card",style:{flex:"1"}},OS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),FS={class:"main-content"},uS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),PS={class:"main-content"},LS={class:"card-content"},WS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),HS=p(()=>e.createElementVNode("span",null,"kts",-1)),MS={class:"card-content"},GS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),IS=p(()=>e.createElementVNode("span",null,"kts",-1)),RS={class:"card-content"},zS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),US=p(()=>e.createElementVNode("span",null,"kts",-1)),YS={class:"card-content"},ZS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),QS=p(()=>e.createElementVNode("span",null,"kts",-1)),JS={class:"phase-analysis"},$S={class:"card phase-card",style:{flex:"1"}},KS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),qS={class:"main-content"},XS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),jS={class:"main-content"},vS={class:"card-content"},e3=p(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),t3=p(()=>e.createElementVNode("span",null,"mt",-1)),o3={class:"card-content"},l3=p(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),a3=p(()=>e.createElementVNode("span",null,"mt",-1)),n3={class:"card-content"},s3=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),i3=p(()=>e.createElementVNode("span",null,"mt",-1)),c3={class:"card-content"},d3=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),r3=p(()=>e.createElementVNode("span",null,"mt",-1)),m3={class:"card phase-card",style:{flex:"1"}},p3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),h3={class:"main-content"},y3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),E3={class:"main-content"},_3={class:"card-content"},N3=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),V3=p(()=>e.createElementVNode("span",null,"mt",-1)),f3={class:"card-content"},g3=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),D3=p(()=>e.createElementVNode("span",null,"mt",-1)),x3={class:"card-content"},b3=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),C3=p(()=>e.createElementVNode("span",null,"mt",-1)),S3={class:"card-content"},k3=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),A3=p(()=>e.createElementVNode("span",null,"mt",-1)),B3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},w3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),T3={class:"main-content"},O3={class:"card-content"},F3=p(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),u3={key:0},P3=p(()=>e.createElementVNode("span",null,"kts",-1)),L3={key:1},W3={class:"phase-card"},H3={class:"card",style:{flex:"1"}},M3=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),G3={key:0,class:"main-content"},I3={key:0,class:"iconfont success"},R3={key:1,class:"iconfont error"},z3={key:1,class:"main-content"},U3={class:"nogwd"},Y3={class:"card-content",style:{"justify-content":"flex-start"}},Z3={key:0},Q3={class:"equation"},J3=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),$3=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),K3={style:{width:"8%"}},q3=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X3=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j3={style:{width:"10%"}},v3=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ek={class:"equation"},tk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),ok=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),lk={style:{width:"8%"}},ak=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sk={style:{width:"10%"}},ik=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ck={class:"equation"},dk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),rk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),mk={style:{width:"8%"}},pk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),yk={style:{width:"10%"}},Ek=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),_k={class:"phase-card"},Nk={class:"card",style:{flex:"1"}},Vk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),fk={key:0,class:"main-content"},gk={key:0,class:"iconfont success"},Dk={key:1,class:"iconfont error"},xk={key:1,class:"main-content"},bk={class:"nogwd"},Ck={class:"card-content",style:{"justify-content":"flex-start"}},Sk={key:0},kk={class:"equation"},Ak=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Bk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),wk={style:{width:"8%"}},Tk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ok=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Fk={style:{width:"120px"}},uk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"10%"}},Wk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Hk={class:"equation"},Mk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Gk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ik={style:{width:"8%"}},Rk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Uk={style:{width:"120px"}},Yk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zk=p(()=>e.createElementVNode("div",null,"24",-1)),Qk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Jk={style:{width:"10%"}},$k=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Kk={class:"equation"},qk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Xk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jk={style:{width:"8%"}},vk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),t4={style:{width:"120px"}},o4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l4=p(()=>e.createElementVNode("div",null,"24",-1)),a4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),n4={style:{width:"10%"}},s4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),i4={class:"phase-card"},c4={class:"card",style:{flex:"1"}},d4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),r4={key:0,class:"main-content"},m4={key:0,class:"iconfont success"},p4={key:1,class:"iconfont error"},h4={key:1,class:"main-content"},y4={class:"nogwd"},E4={class:"card-content",style:{"justify-content":"flex-start"}},_4={key:0},N4={class:"equation"},V4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),f4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),g4={style:{width:"8%"}},D4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),b4={style:{width:"120px"}},C4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),S4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"10%"}},A4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),B4={class:"equation"},w4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),T4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),O4={style:{width:"8%"}},F4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),P4={style:{width:"120px"}},L4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),W4=p(()=>e.createElementVNode("div",null,"24",-1)),H4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),M4={style:{width:"10%"}},G4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),I4={class:"equation"},R4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),z4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U4={style:{width:"8%"}},Y4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Q4={style:{width:"120px"}},J4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=p(()=>e.createElementVNode("div",null,"24",-1)),K4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),q4={style:{width:"10%"}},X4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),j4=p(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),v4={class:"formular dashed",style:{"page-break-inside":"avoid"}},eA={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},tA=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),oA={class:""},lA={class:"equation"},aA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),nA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sA={style:{width:"50%"},class:"fraction"},iA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cA=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),dA=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),rA={class:"equation"},mA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),pA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),hA={style:{width:"50%"},class:"fraction"},yA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_A=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),NA={class:"equation"},VA=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),fA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),gA={style:{width:"50%"},class:"fraction"},DA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xA=p(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),bA=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),CA=p(()=>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)),SA={class:"flexL formular-item",style:{"margin-left":"20px"}},kA=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),AA={class:""},BA={class:"equation"},wA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),TA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),OA={style:{width:"25%"},class:"fraction"},FA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uA=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),LA=p(()=>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)),WA=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),HA={class:"equation"},MA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),GA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),IA={style:{width:"25%"},class:"fraction"},RA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),UA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YA=p(()=>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)),ZA=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),QA={class:"equation"},JA=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),$A=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KA={style:{width:"25%"},class:"fraction"},qA=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XA=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),jA=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),vA=p(()=>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)),eB=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),tB=p(()=>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)),oB=p(()=>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 lB(t,s,o,c,l,a){var h,i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly?"watermark":"")},[I2,e.createElementVNode("div",R2,[z2,e.createElementVNode("div",U2,[e.createElementVNode("div",Y2,[e.createElementVNode("div",Z2,[Q2,e.createElementVNode("div",J2,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",$2,[K2,e.createElementVNode("div",q2,e.toDisplayString((S=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",X2,[j2,e.createElementVNode("div",v2,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",ex,[e.createElementVNode("div",tx,[ox,e.createElementVNode("div",lx,e.toDisplayString(((N=(y=o.reportData)==null?void 0:y.departure)==null?void 0:N.portName)||a.computedLngLat((r=(x=o.reportData)==null?void 0:x.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",ax,e.toDisplayString(a.computedTime((P=(T=o.reportData)==null?void 0:T.departure)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((u=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:u.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",cx,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",dx,[rx,e.createElementVNode("div",mx,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),px,e.createElementVNode("div",hx,[(H=(I=o.reportData)==null?void 0:I.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",yx," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Ex,[e.createElementVNode("div",_x,[Nx,e.createElementVNode("div",Vx,"BF "+e.toDisplayString(((K=($=o.reportData)==null?void 0:$.weather)==null?void 0:K.windScale)||"-"),1)]),(q=(X=o.reportData)==null?void 0:X.weather)!=null&&q.waveSwitch?(e.openBlock(),e.createElementBlock("div",fx,[gx,e.createElementVNode("div",Dx,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(n=(J=o.reportData)==null?void 0:J.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",xx,[bx,e.createElementVNode("div",Cx,e.toDisplayString(((d=(j=o.reportData)==null?void 0:j.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(le=(v=o.reportData)==null?void 0:v.weather)!=null&&le.sigSwitch?(e.openBlock(),e.createElementBlock("div",Sx,[kx,e.createElementVNode("div",Ax,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ie=o.reportData)==null?void 0:ie.weather)!=null&&de.waveSwitch||(pe=(re=o.reportData)==null?void 0:re.weather)!=null&&pe.swellHeight||(he=(ce=o.reportData)==null?void 0:ce.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Bx,[wx,e.createElementVNode("div",Tx,e.toDisplayString((De=(ge=o.reportData)==null?void 0:ge.weather)==null?void 0:De.seaScale),1)])):e.createCommentVNode("",!0),(be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Ox,Fx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ux,Px)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Lx,[e.createElementVNode("table",Wx,[Hx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(E,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(E==null?void 0:E.type),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.speed} | ${E==null?void 0:E.spdOfOver} , ${E.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.fo} | ${E==null?void 0:E.over} , ${E.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${E==null?void 0:E.dgo} | ${E==null?void 0:E.over} , ${E.under}`),1)]))),128))])])])]),Mx,e.createElementVNode("div",Gx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",Ix,[Rx,e.createElementVNode("div",zx,[e.createElementVNode("div",Ux,[Yx,e.createElementVNode("div",Zx,[(Fe=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",Qx,e.toDisplayString((Ve=(ue=o.reportData)==null?void 0:ue.goodWx)==null?void 0:Ve.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Jx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",$x,[Kx,e.createElementVNode("div",qx,[(ye=(F=o.reportData)==null?void 0:F.goodWx)!=null&&ye.avgSpd?(e.openBlock(),e.createElementBlock("div",Xx,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",jx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",vx,[eb,e.createElementVNode("div",tb,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",ob,e.toDisplayString(($e=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:$e.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",lb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",ab,[e.createElementVNode("div",nb,[sb,e.createElementVNode("div",ib,e.toDisplayString((U=(Ke=o.reportData)==null?void 0:Ke.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",cb,[db,e.createElementVNode("div",rb,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),yb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(E,Q)=>{var fe,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",Eb,[e.createElementVNode("div",_b,[Nb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,qe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+qe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Vb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port1),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time1),1)]),e.createElementVNode("div",fb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port2),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time2),1)])],2))),128)),e.createElementVNode("div",gb,[Db,e.createElementVNode("div",null,[e.createElementVNode("span",xb,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",bb,[Cb,(fe=E.goodWx)!=null&&fe.distance?(e.openBlock(),e.createElementBlock("div",Sb,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",kb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Ab,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Bb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",wb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",Tb,[Ob,(Te=E.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Fb,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",ub,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Pb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Lb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Wb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",Hb,[Mb,(Me=E.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Gb,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ib,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",zb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ub,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Yb,[Zb,e.createElementVNode("div",Qb,[e.createElementVNode("div",Jb,[$b,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",Kb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",qb,e.toDisplayString(E.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(fe,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${fe.port1} (${fe.fullTime1}) to ${fe.port2} (${fe.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Xb,[jb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",vb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(E,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${E.begin} to ${E.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",eC,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(E,Q)=>{var fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo,G,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,$o,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",tC,[e.createElementVNode("div",oC,[e.createElementVNode("div",lC,[e.createElementVNode("div",aC,[nC,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(ut,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port1),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time1),1)]),e.createElementVNode("div",iC,[e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.port2),1),e.createElementVNode("div",null,e.toDisplayString(ut==null?void 0:ut.time2),1)])],2))),128)),e.createElementVNode("div",cC,[dC,e.createElementVNode("div",null,[e.createElementVNode("span",rC,e.toDisplayString(E.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(E.extend.cp.dgo)+"mt",1)])])])]),mC,e.createElementVNode("div",pC,[e.createElementVNode("div",hC,[yC,e.createElementVNode("div",EC,[e.createElementVNode("span",null,e.toDisplayString(((fe=E.goodWx)==null?void 0:fe.avgFoEcaCons)||"-")+" mt",1)]),_C,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((Te=E.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",VC,[fC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=E.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),gC])]),e.createElementVNode("div",DC,[xC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=E.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),bC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=E.allWx)==null?void 0:qe.outEca.avgFoCons)||"-"),1),kC])]),e.createElementVNode("div",AC,[BC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=E.allWx)==null?void 0:je.inEca.avgFoEcaCons)||"-"),1),wC])]),TC]),e.createElementVNode("div",OC,[FC,e.createElementVNode("div",uC,[e.createElementVNode("span",null,e.toDisplayString(((ve=E.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ot=E.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",WC,[HC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=E.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),MC])]),e.createElementVNode("div",GC,[IC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=E.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),RC])]),e.createElementVNode("div",zC,[UC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=E.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),YC])]),e.createElementVNode("div",ZC,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=E.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),JC])]),$C])]),e.createElementVNode("div",KC,[e.createElementVNode("div",qC,[XC,e.createElementVNode("div",jC,[e.createElementVNode("span",null,e.toDisplayString(((pt=E.goodWx)==null?void 0:pt.distance)||"-")+" nm",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((ht=E.allWx)==null?void 0:ht.distance)||"-")+" nm",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=E.goodWx)==null?void 0:yt.outEca.distance)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=E.goodWx)==null?void 0:Et.inEca.distance)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=E.allWx)==null?void 0:_t.outEca.distance)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=E.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),pS])])]),e.createElementVNode("div",hS,[yS,e.createElementVNode("div",ES,[e.createElementVNode("span",null,e.toDisplayString(((Vt=E.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((ft=E.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=E.goodWx)==null?void 0:gt.outEca.time)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=E.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=E.allWx)==null?void 0:xt.outEca.time)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=E.allWx)==null?void 0:bt.inEca.time)||"-"),1),wS])])]),e.createElementVNode("div",TS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Ct=E.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),uS,e.createElementVNode("div",PS,[e.createElementVNode("span",null,e.toDisplayString(((St=E.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",LS,[WS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=E.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),HS])]),e.createElementVNode("div",MS,[GS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=E.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),IS])]),e.createElementVNode("div",RS,[zS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=E.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),US])]),e.createElementVNode("div",YS,[ZS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=E.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),QS])])])]),e.createElementVNode("div",JS,[e.createElementVNode("div",$S,[KS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((Tt=E.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),XS,e.createElementVNode("div",jS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=E.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",vS,[e3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=E.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),t3])]),e.createElementVNode("div",o3,[l3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=E.goodWx)==null?void 0:Eo.inEca.sumFoCons)||"-"),1),a3])]),e.createElementVNode("div",n3,[s3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=E.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),i3])]),e.createElementVNode("div",c3,[d3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=E.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),r3])])]),e.createElementVNode("div",m3,[p3,e.createElementVNode("div",h3,[e.createElementVNode("span",null,e.toDisplayString(((Vo=E.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),y3,e.createElementVNode("div",E3,[e.createElementVNode("span",null,e.toDisplayString(((G=E.allWx)==null?void 0:G.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",_3,[N3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=E.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),V3])]),e.createElementVNode("div",f3,[g3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=E.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),D3])]),e.createElementVNode("div",x3,[b3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=E.allWx)==null?void 0:Ft.outEca.sumDgoCons)||"-"),1),C3])]),e.createElementVNode("div",S3,[k3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=E.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),A3])])]),e.createElementVNode("div",B3,[w3,e.createElementVNode("div",T3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=E.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",O3,[F3,(It=E.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=E.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",u3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=E.goodWx)==null?void 0:Yt.avgCf)),1),P3])):(e.openBlock(),e.createElementBlock("b",L3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",W3,[e.createElementVNode("div",H3,[M3,(Zt=E.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",G3,[a.computedTimeConclusion(E.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",I3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(E.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",R3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",z3,[e.createElementVNode("span",U3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Y3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(E.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(E.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=E.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=E.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",Z3,[e.createElementVNode("div",Q3,[J3,$3,e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((Kt=($t=o.reportData)==null?void 0:$t.weather)!=null&&Kt.noExtrapolation?(qt=E.goodWx)==null?void 0:qt.distance:(Xt=E.allWx)==null?void 0:Xt.distance),1),q3,e.createElementVNode("div",null,e.toDisplayString((jt=E.goodWx)==null?void 0:jt.pfmSpd),1)]),X3,e.createElementVNode("div",j3,e.toDisplayString(E.timeConclusion.timeAtPfmSpd)+" Hrs",1),v3]),e.createElementVNode("div",ek,[tk,ok,e.createElementVNode("div",lk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=E.goodWx)==null?void 0:to.distance:(oo=E.allWx)==null?void 0:oo.distance),1),ak,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),nk,e.createElementVNode("div",sk,e.toDisplayString(E.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),ik]),e.createElementVNode("div",ck,[dk,rk,e.createElementVNode("div",mk,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=E.goodWx)==null?void 0:no.distance:(so=E.allWx)==null?void 0:so.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.plusAbtSpd),1)]),hk,e.createElementVNode("div",yk,e.toDisplayString(E.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Ek])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",_k,[e.createElementVNode("div",Nk,[Vk,(io=E.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",fk,[a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",gk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Dk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",xk,[e.createElementVNode("span",bk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ck,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=E.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=E.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",Sk,[e.createElementVNode("div",kk,[Ak,Bk,e.createElementVNode("div",wk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=E.goodWx)==null?void 0:xo.distance:(bo=E.allWx)==null?void 0:bo.distance),1),Tk,e.createElementVNode("div",null,e.toDisplayString((Co=E.goodWx)==null?void 0:Co.pfmSpd),1)]),Ok,e.createElementVNode("div",Fk,[e.createElementVNode("div",null,e.toDisplayString((So=E.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=E.allWx)==null?void 0:ko.inEca.distance)>0?` + ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),uk,e.createElementVNode("div",null,e.toDisplayString((Ao=E.goodWx)==null?void 0:Ao.time),1)]),Pk,e.createElementVNode("div",Lk,e.toDisplayString(E.fuelConclusion.fo.entireCons)+" MT",1),Wk]),e.createElementVNode("div",Hk,[Mk,Gk,e.createElementVNode("div",Ik,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=E.goodWx)==null?void 0:To.distance:(Oo=E.allWx)==null?void 0:Oo.distance),1),Rk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),zk,e.createElementVNode("div",Uk,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.overTolerance),1),Yk,Zk]),Qk,e.createElementVNode("div",Jk,e.toDisplayString(E.fuelConclusion.fo.maxCons)+" MT",1),$k]),e.createElementVNode("div",Kk,[qk,Xk,e.createElementVNode("div",jk,[e.createElementVNode("div",null,e.toDisplayString((uo=(Fo=o.reportData)==null?void 0:Fo.weather)!=null&&uo.noExtrapolation?(Po=E.goodWx)==null?void 0:Po.distance:(Lo=E.allWx)==null?void 0:Lo.distance),1),vk,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),e4,e.createElementVNode("div",t4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.fo.underTolerance),1),o4,l4]),a4,e.createElementVNode("div",n4,e.toDisplayString(E.fuelConclusion.fo.minCons)+" MT",1),s4])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",i4,[e.createElementVNode("div",c4,[d4,(Wo=E.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",r4,[a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",m4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",p4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",h4,[e.createElementVNode("span",y4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",E4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(E.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=E.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=E.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",_4,[e.createElementVNode("div",N4,[V4,f4,e.createElementVNode("div",g4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Yo=E.goodWx)==null?void 0:Yo.distance:(Zo=E.allWx)==null?void 0:Zo.distance),1),D4,e.createElementVNode("div",null,e.toDisplayString((Qo=E.goodWx)==null?void 0:Qo.pfmSpd),1)]),x4,e.createElementVNode("div",b4,[e.createElementVNode("div",null,e.toDisplayString((Jo=E.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString((($o=E.allWx)==null?void 0:$o.inEca.distance)>0?` - ${E.fuelConclusion.fo.dgoAsFoCons}`:""),1),C4,e.createElementVNode("div",null,e.toDisplayString((Ko=E.goodWx)==null?void 0:Ko.time),1)]),S4,e.createElementVNode("div",k4,e.toDisplayString(E.fuelConclusion.dgo.entireCons)+" MT",1),A4]),e.createElementVNode("div",B4,[w4,T4,e.createElementVNode("div",O4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=E.goodWx)==null?void 0:jo.distance:(vo=E.allWx)==null?void 0:vo.distance),1),F4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),u4,e.createElementVNode("div",P4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.overTolerance),1),L4,W4]),H4,e.createElementVNode("div",M4,e.toDisplayString(E.fuelConclusion.dgo.maxCons)+" MT",1),G4]),e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=E.goodWx)==null?void 0:ol.distance:(ll=E.allWx)==null?void 0:ll.distance),1),Y4,e.createElementVNode("div",null,e.toDisplayString(E.timeConclusion.minusAbtSpd),1)]),Z4,e.createElementVNode("div",Q4,[e.createElementVNode("div",null,e.toDisplayString(E.fuelConclusion.dgo.underTolerance),1),J4,$4]),K4,e.createElementVNode("div",q4,e.toDisplayString(E.fuelConclusion.dgo.minCons)+" MT",1),X4])])):e.createCommentVNode("",!0)],2)])]),j4,e.createElementVNode("div",v4,[e.createElementVNode("div",eA,[tA,e.createElementVNode("div",oA,[e.createElementVNode("div",lA,[aA,nA,e.createElementVNode("div",sA,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.reportData)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),iA,cA]),dA]),e.createElementVNode("div",rA,[mA,pA,e.createElementVNode("div",hA,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,EA]),_A]),e.createElementVNode("div",NA,[VA,fA,e.createElementVNode("div",gA,[e.createElementVNode("div",null,e.toDisplayString((dl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),DA,xA]),bA]),CA])]),e.createElementVNode("div",SA,[kA,e.createElementVNode("div",AA,[e.createElementVNode("div",BA,[wA,TA,e.createElementVNode("div",OA,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),FA,uA]),PA,LA,WA]),e.createElementVNode("div",HA,[MA,GA,e.createElementVNode("div",IA,[e.createElementVNode("div",null,e.toDisplayString((hl=(pl=o.reportData)==null?void 0:pl.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),RA,zA]),UA,YA,ZA]),e.createElementVNode("div",QA,[JA,$A,e.createElementVNode("div",KA,[e.createElementVNode("div",null,e.toDisplayString((El=(yl=o.reportData)==null?void 0:yl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),qA,XA]),jA,vA,eB]),tB,oB])])])])])}),128))])],2)}const aB=Ee(G2,[["render",lB],["__scopeId","data-v-9be6b8be"]]),yte="",nB={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,s,o,c){var h;let l="";const a=((h=this.summaryTable)==null?void 0:h.length)-1;return o&&s!==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,s){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&s!==o)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.isFirstSeg)return"td-bottom";if(s!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,h;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(h=(a=this.reportData)==null?void 0:a.segments)==null||h.forEach((i,_)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((S,y)=>{let N=JSON.parse(JSON.stringify(S));N.cp=D,t.push(N)})}),t.sort(function(i,_){let D=i.date,S=_.date;return D-S});let s="",o="";t.forEach((i,_)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const S=w(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=w(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},dn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),sB=dn(()=>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:"table",id:"second-table"},cB={class:"summary-table"},dB=dn(()=>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)),rB={class:"summary-tbody"},mB=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),pB={class:"voyage-map",style:{"page-break-inside":"avoid"}},hB=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),yB=["src"],EB=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 _B(t,s,o,c,l,a){var h,i,_,D,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(h=o.reportData)==null?void 0:h.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[sB,e.createElementVNode("div",iB,[e.createElementVNode("div",null,[e.createElementVNode("table",cB,[dB,e.createElementVNode("tbody",rB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(y,N)=>{var x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(y,N))},e.toDisplayString(y.isFirstSeg?y.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.time),3),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString((x=y.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(r=y.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0))},e.toDisplayString(y.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0))},e.toDisplayString(y.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((k=(C=y.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((L=(P=(T=y.meteo)==null?void 0:T.wave)==null?void 0:P.swell)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((u=(b=(O=y.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:u.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((z=(Z=(R=y.meteo)==null?void 0:R.wave)==null?void 0:Z.sig)==null?void 0:z.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(((W=y.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":y.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((f=y.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((Y=y.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(I=y.cp)==null?void 0:I.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(H=y.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(($=y.noon)==null?void 0:$.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":((K=y.noon)==null?void 0:K.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(X=y.noon)==null?void 0:X.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,N))},e.toDisplayString(y.abbreviation==="A"?"":(q=y.noon)==null?void 0:q.dgoBrob),3)])}),128))])])])]),mB,e.createElementVNode("div",pB,[hB,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,yB),EB])],2)}const NB=Ee(nB,[["render",_B],["__scopeId","data-v-a420dc44"]]),Ete="",VB={components:{Summary:aB,Inventory:NB},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},fB={class:"voyage-report"};function gB(t,s,o,c,l,a){const h=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",fB,[e.createVNode(h,{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 Dn=Ee(VB,[["render",gB],["__scopeId","data-v-7345a543"]]),_te="",DB={components:{Lng:va,Lat:en,Editor:Ro},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`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?s+=`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&&(s+=`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, ${s}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),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 te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const h={time:w(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+w(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(h)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-e47c6491"),t=t(),e.popScopeId(),t),xB={class:"report-summary"},bB={class:"section voyage-section flex-space"},CB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},SB={class:"flex-space label-block",style:{width:"100%"}},kB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),AB={style:{"text-transform":"uppercase"}},BB={class:"flex-space label-block",style:{width:"100%"}},wB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),TB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},OB={class:"flex-space label-block",style:{width:"100%"}},FB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),uB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},PB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},LB={class:"flex-space label-block",style:{width:"100%"}},WB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),HB={key:0,class:"flex-end",style:{flex:"1"}},MB={key:1,class:"flex-end",style:{flex:"1"}},GB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),IB={class:"flex-end",style:{width:"150px"}},RB={class:"flex-space label-block",style:{width:"100%"}},zB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),UB={key:0,class:"flex-end",style:{flex:"1"}},YB={key:1,class:"flex-end",style:{flex:"1"}},ZB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),QB={class:"flex-end",style:{width:"150px"}},JB={class:"flex-space label-block",style:{width:"100%"}},$B=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),KB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},qB={class:"section weather-section"},XB=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),jB={class:"definition"},vB={class:"txt"},e8={class:"section summary-section"},t8=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),o8={class:"phase-box"},l8={class:"phase-index"},a8={class:"phase-position"},n8={key:0},s8={key:1},i8=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),c8={class:"phase-position"},d8={key:0},r8={key:1},m8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),p8={class:"phase-cp flex-space"},h8={class:"cp-box"},y8=m(()=>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)),E8={class:"flex-space"},_8=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),N8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),V8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),f8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),g8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),D8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),x8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),b8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),C8={class:"phase-conclusion flex-space"},S8={class:"item-conclusion"},k8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),A8={class:"value flex-start"},B8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),w8={key:0,class:"label flex-end"},T8={key:0},O8={key:1},F8={key:2},u8={key:1,class:"label flex-end"},P8={key:2,class:"value flex-end"},L8={key:0},W8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),H8={class:"gain"},M8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),G8={key:1},I8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R8={class:"lost"},z8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),U8={key:2},Y8={class:"item-conclusion"},Z8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Q8={class:"value flex-start"},J8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),$8={key:0,class:"label flex-end"},K8={key:0},q8={key:1},X8={key:2},j8={key:1,class:"label flex-end"},v8={key:2,class:"value flex-end"},e5={key:0},t5=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),o5={class:"gain"},l5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),a5={key:1},n5=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),s5={class:"lost"},i5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),c5={key:2},d5={class:"item-conclusion"},r5=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),m5={class:"value flex-start"},p5=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),h5={key:0,class:"label flex-end"},y5={key:0},E5={key:1},_5={key:2},N5={key:1,class:"label flex-end"},V5={key:2,class:"value flex-end"},f5={key:0},g5=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),D5={class:"gain"},x5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),b5={key:1},C5=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),S5={class:"lost"},k5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A5={key:2},B5=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),w5=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),T5={key:0,class:"exclusion-block"},O5=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),F5=m(()=>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)),u5={style:{margin:"8px 0"}},P5={class:"remark-table"},L5=m(()=>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)),W5=["innerHTML"],H5={class:"section segment-section"},M5=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),G5={class:"segment-index flex-center"},I5={class:"segment-position"},R5={key:0},z5={key:1},U5=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Y5={class:"segment-position"},Z5={key:0},Q5={key:1},J5=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),$5={style:{margin:"10px 0 0"}},K5=m(()=>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)),q5=m(()=>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)),X5=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),j5={class:"good-wx"},v5={class:"good-wx"},ew=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),tw={class:"good-wx"},ow={class:"good-wx"},lw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),aw={class:"good-wx"},nw={class:"good-wx"},sw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),iw={class:"good-wx"},cw={class:"good-wx"},dw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),rw={class:"good-wx"},mw={class:"good-wx"},pw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),hw={class:"good-wx"},yw={class:"good-wx"},Ew=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),_w={class:"good-wx"},Nw={class:"good-wx"},Vw={key:0,class:"flex-end tip"},fw={key:1,class:"segment-speed"},gw={class:"flex-center"},Dw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),xw={class:"speed-right flex-space"},bw=m(()=>e.createElementVNode("span",null,"-",-1)),Cw=m(()=>e.createElementVNode("span",null,"-",-1)),Sw=m(()=>e.createElementVNode("label",null,"=",-1)),kw={class:"speed"},Aw=m(()=>e.createElementVNode("span",null,"-",-1)),Bw=m(()=>e.createElementVNode("label",null,"=",-1)),ww={class:"speed"},Tw={key:2,class:"under"},Ow={key:3,class:"over"},Fw={class:"flex-center"},uw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Pw={class:"speed-right formula flex-space"},Lw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ww=m(()=>e.createElementVNode("label",null,"-",-1)),Hw=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Mw=m(()=>e.createElementVNode("label",null,"-",-1)),Gw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Iw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Rw=m(()=>e.createElementVNode("label",null,"-",-1)),zw=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Uw=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Yw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Zw={key:2,class:"segment-speed"},Qw={class:"flex-center"},Jw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),$w={class:"speed-right flex-space"},Kw=m(()=>e.createElementVNode("span",null,"-",-1)),qw=m(()=>e.createElementVNode("span",null,"-",-1)),Xw=m(()=>e.createElementVNode("label",null,"=",-1)),jw={class:"speed"},vw=m(()=>e.createElementVNode("span",null,"-",-1)),e7=m(()=>e.createElementVNode("label",null,"=",-1)),t7={class:"speed"},o7={key:2,class:"under"},l7={key:3,class:"over"},a7={class:"flex-center"},n7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),s7={class:"speed-right formula flex-space"},i7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),c7=m(()=>e.createElementVNode("label",null,"-",-1)),d7=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),r7=m(()=>e.createElementVNode("label",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),p7=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),h7=m(()=>e.createElementVNode("label",null,"-",-1)),y7=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),E7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),_7=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),N7={class:"segment-formula"},V7={class:"header-block flex-start"},f7=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),g7={class:"title"},D7={key:0,style:{"margin-left":"4px","font-weight":"300"}},x7={class:"formula-block"},b7={class:"flex-evenly"},C7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),S7={class:"formula-right flex-evenly"},k7={class:"fraction",style:{width:"240px"}},A7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),B7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),w7=m(()=>e.createElementVNode("div",null,"(a)",-1)),T7={class:"flex-center"},O7={class:"formula-left flex-space"},F7=m(()=>e.createElementVNode("label",null,"=",-1)),u7={class:"formula-right flex-evenly"},P7={class:"fraction",style:{width:"240px"}},L7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7=m(()=>e.createElementVNode("div",null,"(b)",-1)),H7={class:"flex-center"},M7={class:"formula-left flex-space"},G7=m(()=>e.createElementVNode("label",null,"=",-1)),I7={class:"formula-right flex-evenly"},R7={class:"fraction",style:{width:"240px"}},z7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),U7=m(()=>e.createElementVNode("div",null,"(c)",-1)),Y7=e.createStaticVNode('<div class="flex-start" data-v-e47c6491><div class="flex-space" style="width:300px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Time Lost</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(a)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Time Gained</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(c)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(a)</div></div></div>',1),Z7={class:"formula-desc"},Q7={class:"flex-end"},J7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),$7={class:"flex-end"},K7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),q7={class:"flex-end"},X7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),j7={key:0,class:"formula-block",style:{"font-weight":"400"}},v7={class:"flex-evenly"},e9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),t9={class:"formula-right flex-evenly"},o9={class:"fraction",style:{width:"240px"}},l9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9=m(()=>e.createElementVNode("div",null,"(a')",-1)),s9={class:"flex-center"},i9={class:"formula-left flex-space"},c9=m(()=>e.createElementVNode("label",null,"=",-1)),d9={class:"formula-right flex-evenly"},r9={class:"fraction",style:{width:"240px"}},m9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),p9=m(()=>e.createElementVNode("div",null,"=",-1)),h9=m(()=>e.createElementVNode("div",null,"(b')",-1)),y9={class:"flex-center"},E9={class:"formula-left flex-space"},_9=m(()=>e.createElementVNode("label",null,"=",-1)),N9={class:"formula-right flex-evenly"},V9={class:"fraction",style:{width:"240px"}},f9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),g9=m(()=>e.createElementVNode("div",null,"=",-1)),D9=m(()=>e.createElementVNode("div",null,"(c')",-1)),x9={class:"formula-conclusion",style:{"margin-bottom":"0"}},b9={key:0,class:"flex-evenly",style:{width:"500px"}},C9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),S9=m(()=>e.createElementVNode("div",null,"=",-1)),k9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),A9=m(()=>e.createElementVNode("div",null,"=",-1)),B9=m(()=>e.createElementVNode("div",null,"-",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9={key:1,class:"flex-evenly",style:{width:"500px"}},O9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),F9=m(()=>e.createElementVNode("div",null,"=",-1)),u9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),L9=m(()=>e.createElementVNode("div",null,"-",-1)),W9=m(()=>e.createElementVNode("div",null,"=",-1)),H9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),M9={key:1,class:"formula-conclusion"},G9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),I9={class:"segment-formula"},R9={class:"header-block flex-start"},z9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),U9={class:"title"},Y9={key:0,style:{"margin-left":"4px","font-weight":"300"}},Z9={class:"formula-block"},Q9={class:"flex-evenly"},J9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},K9={class:"fraction",style:{width:"240px"}},q9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),X9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j9=m(()=>e.createElementVNode("div",null,"x",-1)),v9=m(()=>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)),e6=m(()=>e.createElementVNode("div",null,"(d)",-1)),t6={style:{"line-height":"1"}},o6=m(()=>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)),l6={key:0,class:"tips flex-end",style:{"font-size":"14px"}},a6={class:"flex-center"},n6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),s6={class:"formula-right flex-evenly"},i6={class:"fraction",style:{width:"240px"}},c6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=m(()=>e.createElementVNode("div",null,"x",-1)),r6=m(()=>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)),m6=m(()=>e.createElementVNode("div",null,"(e)",-1)),p6={class:"flex-center"},h6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),y6={class:"formula-right flex-evenly"},E6={class:"fraction",style:{width:"240px"}},_6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),N6=m(()=>e.createElementVNode("div",null,"x",-1)),V6=m(()=>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)),f6=m(()=>e.createElementVNode("div",null,"(f)",-1)),g6=e.createStaticVNode('<div class="flex-start" data-v-e47c6491><div class="flex-space" style="width:300px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Fuel Over-consumption</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(d)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-e47c6491><label data-v-e47c6491>Fuel Saving</label><div data-v-e47c6491>=</div><div data-v-e47c6491>(f)</div><div data-v-e47c6491>-</div><div data-v-e47c6491>(d)</div></div></div>',1),D6={class:"flex-center"},x6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),b6={class:"formula-right flex-evenly"},C6={class:"fraction",style:{width:"270px"}},S6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),k6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),A6={class:"flex-center"},B6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),w6={class:"formula-right flex-evenly"},T6={class:"fraction",style:{width:"270px"}},O6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),u6=m(()=>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)),P6={class:"header-block flex-start",style:{"margin-top":"10px"}},L6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),W6={class:"title"},H6={key:0,class:"formula-block"},M6={class:"flex-evenly"},G6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),I6={class:"formula-right flex-evenly"},R6={class:"fraction",style:{width:"240px"}},z6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),U6=m(()=>e.createElementVNode("div",null,"x",-1)),Y6={class:"fraction",style:{width:"240px"}},Z6={key:0},Q6=m(()=>e.createElementVNode("span",null," + ",-1)),J6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),K6=m(()=>e.createElementVNode("div",null,"(d')",-1)),q6={class:"flex-evenly"},X6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),j6={class:"formula-right flex-evenly"},v6={class:"fraction",style:{width:"240px"}},eT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),tT=m(()=>e.createElementVNode("div",null,"x",-1)),oT={class:"fraction",style:{width:"240px"}},lT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),aT=m(()=>e.createElementVNode("div",null,"24",-1)),nT=m(()=>e.createElementVNode("div",null,"=",-1)),sT=m(()=>e.createElementVNode("div",null,"(e')",-1)),iT={class:"flex-evenly"},cT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),dT={class:"formula-right flex-evenly"},rT={class:"fraction",style:{width:"240px"}},mT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),pT=m(()=>e.createElementVNode("div",null,"x",-1)),hT={class:"fraction",style:{width:"240px"}},yT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),ET=m(()=>e.createElementVNode("div",null,"24",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT=m(()=>e.createElementVNode("div",null,"(f')",-1)),VT={class:"formula-conclusion",style:{"margin-bottom":"0"}},fT={class:"flex-evenly",style:{width:"500px"}},gT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),DT=m(()=>e.createElementVNode("div",null,"=",-1)),xT=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),bT=m(()=>e.createElementVNode("div",null,"=",-1)),CT=m(()=>e.createElementVNode("div",null,"-",-1)),ST=m(()=>e.createElementVNode("div",null,"=",-1)),kT={key:0,class:"flex-evenly"},AT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),BT=m(()=>e.createElementVNode("div",null,"=",-1)),wT={class:"fraction"},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"=",-1)),FT={class:"flex-evenly",style:{width:"700px"}},uT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),PT=m(()=>e.createElementVNode("div",null,"=",-1)),LT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"-",-1)),MT=m(()=>e.createElementVNode("div",null,"=",-1)),GT={key:0,class:"flex-evenly",style:{width:"500px"}},IT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),RT=m(()=>e.createElementVNode("div",null,"=",-1)),zT={class:"fraction",style:{width:"140px"}},UT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),YT=m(()=>e.createElementVNode("div",null,"=",-1)),ZT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),QT={key:1,class:"formula-conclusion"},JT={class:"header-block flex-end",style:{"margin-top":"10px"}},$T=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),KT={class:"title"},qT={key:0,class:"formula-block"},XT={class:"flex-evenly"},jT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),vT={class:"formula-right flex-evenly"},eO={class:"fraction",style:{width:"240px"}},tO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),oO=m(()=>e.createElementVNode("div",null,"x",-1)),lO={class:"fraction",style:{width:"240px"}},aO={key:0},nO=m(()=>e.createElementVNode("span",null," - ",-1)),sO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),iO=m(()=>e.createElementVNode("div",null,"=",-1)),cO=m(()=>e.createElementVNode("div",null,"(d'')",-1)),dO={class:"flex-evenly"},rO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mO={class:"formula-right flex-evenly"},pO={class:"fraction",style:{width:"240px"}},hO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),yO=m(()=>e.createElementVNode("div",null,"x",-1)),EO={class:"fraction",style:{width:"240px"}},_O=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),NO=m(()=>e.createElementVNode("div",null,"24",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"(e'')",-1)),gO={class:"flex-evenly"},DO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),xO={class:"formula-right flex-evenly"},bO={class:"fraction",style:{width:"240px"}},CO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),SO=m(()=>e.createElementVNode("div",null,"x",-1)),kO={class:"fraction",style:{width:"240px"}},AO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),BO=m(()=>e.createElementVNode("div",null,"24",-1)),wO=m(()=>e.createElementVNode("div",null,"=",-1)),TO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),OO={class:"formula-conclusion",style:{"margin-bottom":"0"}},FO={key:0,class:"flex-evenly",style:{width:"500px"}},uO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),PO=m(()=>e.createElementVNode("div",null,"=",-1)),LO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),WO=m(()=>e.createElementVNode("div",null,"=",-1)),HO=m(()=>e.createElementVNode("div",null,"-",-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO={key:1,class:"flex-evenly",style:{width:"700px"}},IO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),RO=m(()=>e.createElementVNode("div",null,"=",-1)),zO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),UO=m(()=>e.createElementVNode("div",null,"=",-1)),YO=m(()=>e.createElementVNode("div",null,"-",-1)),ZO=m(()=>e.createElementVNode("div",null,"=",-1)),QO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),JO={key:1,class:"formula-conclusion"};function $O(t,s,o,c,l,a){var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",xB,[e.createElementVNode("div",bB,[e.createElementVNode("div",CB,[e.createElementVNode("div",SB,[kB,e.createElementVNode("span",AB,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",BB,[wB,e.createElementVNode("span",TB,e.toDisplayString((S=(D=o.report)==null?void 0:D.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(y=o.report)==null?void 0:y.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",OB,[FB,e.createElementVNode("span",uB,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",PB,[e.createElementVNode("div",LB,[WB,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",HB,e.toDisplayString((P=(T=o.report)==null?void 0:T.departure)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",MB,[e.createVNode(h,{lat:(O=(L=o.report)==null?void 0:L.departure)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),GB,e.createVNode(i,{lng:(b=o.report.departure)==null?void 0:b.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",IB,e.toDisplayString(a.computeUTCTime((u=o.report.departure)==null?void 0:u.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",RB,[zB,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",UB,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",YB,[e.createVNode(h,{lat:(Y=(f=o.report)==null?void 0:f.arrival)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),ZB,e.createVNode(i,{lng:(H=(I=o.report)==null?void 0:I.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",QB,e.toDisplayString(a.computeUTCTime((K=($=o.report)==null?void 0:$.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",JB,[$B,e.createElementVNode("span",KB,e.toDisplayString((q=(X=o.report)==null?void 0:X.voyage)==null?void 0:q.loadCondition),1)])])]),e.createElementVNode("div",qB,[XB,e.createElementVNode("div",jB,[e.createElementVNode("div",vB,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",e8,[t8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(n,j)=>{var d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",o8,[e.createElementVNode("div",l8,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(Q,fe)=>{var Te,Me,me,qe,je,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:fe},[e.createElementVNode("div",a8,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",n8,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",s8,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((qe=Q==null?void 0:Q.departure)==null?void 0:qe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((je=Q==null?void 0:Q.departure)==null?void 0:je.utcTime))+")",1)]),i8,e.createElementVNode("div",c8,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",d8,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",r8,e.toDisplayString(a.computeLat((lt=Q==null?void 0:Q.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=Q==null?void 0:Q.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=Q==null?void 0:Q.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),m8,e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[y8,e.createElementVNode("div",E8,[_8,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((le=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:le.speed)+" |",1),e.createElementVNode("span",null,[N8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ee=n==null?void 0:n.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[V8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(de=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((pe=(re=n==null?void 0:n.extend)==null?void 0:re.cp)==null?void 0:pe.fo)+" |",1),e.createElementVNode("span",null,[f8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[g8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(ce=n==null?void 0:n.extend)==null?void 0:ce.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[D8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[x8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),b8,e.createElementVNode("div",C8,[e.createElementVNode("div",S8,[k8,e.createElementVNode("div",A8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),B8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",w8,[((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",T8," Time Gained ")):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",O8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",F8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",u8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",P8,[((xe=n==null?void 0:n.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",L8,[W8,e.createElementVNode("span",H8,e.toDisplayString((be=n==null?void 0:n.timeConclusion)==null?void 0:be.timeGain),1),M8])):((Ce=n==null?void 0:n.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",G8,[I8,e.createElementVNode("span",R8,e.toDisplayString((Se=n==null?void 0:n.timeConclusion)==null?void 0:Se.timeLost),1),z8])):(e.openBlock(),e.createElementBlock("div",U8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y8,[Z8,e.createElementVNode("div",Q8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),J8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",$8,[((Ae=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",K8," FO Saving ")):((Fe=(Be=n==null?void 0:n.fuelConclusion)==null?void 0:Be.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",q8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",X8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",j8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",v8,[((Ve=(ue=n==null?void 0:n.fuelConclusion)==null?void 0:ue.fo)==null?void 0:Ve.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",e5,[t5,e.createElementVNode("span",o5,e.toDisplayString((ye=(F=n==null?void 0:n.fuelConclusion)==null?void 0:F.fo)==null?void 0:ye.saving),1),l5])):((Le=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",a5,[n5,e.createElementVNode("span",s5,e.toDisplayString((we=(We=n==null?void 0:n.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),i5])):(e.openBlock(),e.createElementBlock("div",c5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",d5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),p5]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",h5,[(($e=(He=n==null?void 0:n.fuelConclusion)==null?void 0:He.dgo)==null?void 0:$e.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",y5," DO/GO Saving ")):((U=(Ke=n==null?void 0:n.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",E5," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",_5,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",N5,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",V5,[((ze=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",f5,[g5,e.createElementVNode("span",D5,e.toDisplayString((Ye=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),x5])):((Qe=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",b5,[C5,e.createElementVNode("span",S5,e.toDisplayString((E=(Je=n==null?void 0:n.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:E.overCons),1),k5])):(e.openBlock(),e.createElementBlock("div",A5,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),B5]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[w5,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",T5,[O5,F5,e.createElementVNode("div",u5,[e.createElementVNode("table",P5,[L5,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(n,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.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(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=n=>l.remarks=n),class:"editor",height:"120px",onBlur:s[1]||(s[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:l.remarks},null,40,W5))],2)],2),e.createElementVNode("div",H5,[M5,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(n,j)=>{var d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue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ementVNode("div",G5,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(Xe,uee)=>{var oi,li,ai,ni,si,ii,ci,di,ri,mi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:uee},[e.createElementVNode("div",I5,[(oi=Xe==null?void 0:Xe.departure)!=null&&oi.portName?(e.openBlock(),e.createElementBlock("span",R5,e.toDisplayString((li=Xe==null?void 0:Xe.departure)==null?void 0:li.portName),1)):(e.openBlock(),e.createElementBlock("span",z5,e.toDisplayString(a.computeLat((ai=Xe==null?void 0:Xe.departure)==null?void 0:ai.lat).pretty)+", "+e.toDisplayString(a.computeLng((ni=Xe==null?void 0:Xe.departure)==null?void 0:ni.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((si=Xe==null?void 0:Xe.departure)==null?void 0:si.utcTime))+")",1)]),U5,e.createElementVNode("div",Y5,[(ii=Xe==null?void 0:Xe.arrival)!=null&&ii.portName?(e.openBlock(),e.createElementBlock("span",Z5,e.toDisplayString((ci=Xe==null?void 0:Xe.arrival)==null?void 0:ci.portName),1)):(e.openBlock(),e.createElementBlock("span",Q5,e.toDisplayString(a.computeLat((di=Xe==null?void 0:Xe.arrival)==null?void 0:di.lat).pretty)+", "+e.toDisplayString(a.computeLng((ri=Xe==null?void 0:Xe.arrival)==null?void 0:ri.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((mi=Xe==null?void 0:Xe.arrival)==null?void 0:mi.utcTime))+")",1)])])}),128)),J5,e.createElementVNode("div",$5,[e.createElementVNode("table",null,[K5,q5,e.createElementVNode("tr",null,[X5,e.createElementVNode("td",j5,e.toDisplayString((le=(v=n==null?void 0:n.goodWx)==null?void 0:v.outEca)==null?void 0:le.distance),1),e.createElementVNode("td",v5,e.toDisplayString((se=(ee=n==null?void 0:n.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ie=n==null?void 0:n.allWx)==null?void 0:ie.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((pe=(re=n==null?void 0:n.allWx)==null?void 0:re.inEca)==null?void 0:pe.distance),1)]),e.createElementVNode("tr",null,[ew,e.createElementVNode("td",tw,e.toDisplayString((he=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.outEca)==null?void 0:he.time),1),e.createElementVNode("td",ow,e.toDisplayString((De=(ge=n==null?void 0:n.goodWx)==null?void 0:ge.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=n==null?void 0:n.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=n==null?void 0:n.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[lw,e.createElementVNode("td",aw,e.toDisplayString(((Ae=(ke=n==null?void 0:n.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",nw,e.toDisplayString(((Fe=(Be=n==null?void 0:n.goodWx)==null?void 0:Be.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ve=(ue=n==null?void 0:n.allWx)==null?void 0:ue.outEca)==null?void 0:Ve.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(F=n==null?void 0:n.allWx)==null?void 0:F.inEca)==null?void 0:ye.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[sw,e.createElementVNode("td",iw,e.toDisplayString(((Le=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",cw,e.toDisplayString(((we=(We=n==null?void 0:n.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString((($e=(He=n==null?void 0:n.allWx)==null?void 0:He.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[dw,e.createElementVNode("td",rw,e.toDisplayString(((ze=(Oe=n==null?void 0:n.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",mw,e.toDisplayString(((Ye=(Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Je=n==null?void 0:n.allWx)==null?void 0:Je.inEca)==null?void 0:E.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[pw,e.createElementVNode("td",hw,e.toDisplayString(((fe=(Q=n==null?void 0:n.goodWx)==null?void 0:Q.outEca)==null?void 0:fe.sumDgoCons)||"--"),1),e.createElementVNode("td",yw,e.toDisplayString(((Me=(Te=n==null?void 0:n.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((qe=(me=n==null?void 0:n.allWx)==null?void 0:me.outEca)==null?void 0:qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(je=n==null?void 0:n.allWx)==null?void 0:je.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Ew,e.createElementVNode("td",_w,e.toDisplayString(((lt=(ot=n==null?void 0:n.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",Nw,e.toDisplayString(((nt=(at=n==null?void 0:n.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((pt=(mt=n==null?void 0:n.allWx)==null?void 0:mt.outEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=n==null?void 0:n.allWx)==null?void 0:ht.inEca)==null?void 0:yt.avgDgoCons)||"--"),1)])])]),(Et=l.exclusion[j])!=null&&Et.time?(e.openBlock(),e.createElementBlock("div",Vw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=n==null?void 0:n.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",fw,[e.createElementVNode("div",gw,[Dw,e.createElementVNode("div",xw,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=n==null?void 0:n.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ht=(Tt=o.report)==null?void 0:Tt.weather)!=null&&Ht.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((po=n==null?void 0:n.goodWx)==null?void 0:po.avgSpd),1),Aw,e.createElementVNode("span",null,e.toDisplayString(((Eo=n==null?void 0:n.goodWx)==null?void 0:Eo.avgWf)>0?(_o=n==null?void 0:n.goodWx)==null?void 0:_o.avgWf:`(${(No=n==null?void 0:n.goodWx)==null?void 0:No.avgWf})`),1),Bw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",ww,e.toDisplayString((Vo=n==null?void 0:n.goodWx)==null?void 0:Vo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgSpd),1),bw,e.createElementVNode("span",null,e.toDisplayString(((Dt=n==null?void 0:n.goodWx)==null?void 0:Dt.avgCf)>0?(xt=n==null?void 0:n.goodWx)==null?void 0:xt.avgCf:`(${(bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf})`),1),(St=(Ct=o.report)==null?void 0:Ct.weather)!=null&&St.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Cw,e.createElementVNode("span",null,e.toDisplayString(((kt=n==null?void 0:n.goodWx)==null?void 0:kt.avgWf)>0?(At=n==null?void 0:n.goodWx)==null?void 0:At.avgWf:`(${(Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Sw,e.createElementVNode("span",kw,e.toDisplayString((wt=n==null?void 0:n.goodWx)==null?void 0:wt.pfmSpd)+" (kts)",1)],64)),((G=n==null?void 0:n.goodWx)==null?void 0:G.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Tw,"(Under-performance)")):e.createCommentVNode("",!0),((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ow,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fw,[uw,e.createElementVNode("div",Pw,[(Ft=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ft.favorableCur&&((Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(Rt=o.report)==null?void 0:Rt.weather)!=null&&zt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Iw,Rw,zw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Uw,Yw],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Lw,Ww,Hw,(It=(Gt=o.report)==null?void 0:Gt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Mw,Gw],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",Zw,[e.createElementVNode("div",Qw,[Jw,e.createElementVNode("div",$w,[(Yt=(Ut=o.report)==null?void 0:Ut.weather)!=null&&Yt.favorableCur&&((Zt=n==null?void 0:n.allWx)==null?void 0:Zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((eo=n==null?void 0:n.allWx)==null?void 0:eo.avgSpd),1),vw,e.createElementVNode("span",null,e.toDisplayString(((to=n==null?void 0:n.allWx)==null?void 0:to.avgWf)>0?(oo=n==null?void 0:n.allWx)==null?void 0:oo.avgWf:`(${(lo=n==null?void 0:n.allWx)==null?void 0:lo.avgWf})`),1),e7,e.createElementVNode("span",t7,e.toDisplayString((ao=n==null?void 0:n.allWx)==null?void 0:ao.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=n==null?void 0:n.allWx)==null?void 0:Qt.avgSpd),1),Kw,e.createElementVNode("span",null,e.toDisplayString(((Jt=n==null?void 0:n.allWx)==null?void 0:Jt.avgCf)>0?($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf:`(${(Kt=n==null?void 0:n.allWx)==null?void 0:Kt.avgCf})`),1),qw,e.createElementVNode("span",null,e.toDisplayString(((qt=n==null?void 0:n.allWx)==null?void 0:qt.avgWf)>0?(Xt=n==null?void 0:n.allWx)==null?void 0:Xt.avgWf:`(${(jt=n==null?void 0:n.allWx)==null?void 0:jt.avgWf})`),1),Xw,e.createElementVNode("span",jw,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.pfmSpd)+" (kts)",1)],64)),((no=n==null?void 0:n.allWx)==null?void 0:no.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",o7,"(Under-performance)")):e.createCommentVNode("",!0),((so=n==null?void 0:n.allWx)==null?void 0:so.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",l7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",a7,[n7,e.createElementVNode("div",s7,[(co=(io=o.report)==null?void 0:io.weather)!=null&&co.favorableCur&&((fo=n==null?void 0:n.allWx)==null?void 0:fo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[p7,h7,y7,E7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i7,c7,d7,r7,m7],64))])])])),_7,e.createElementVNode("div",N7,[e.createElementVNode("div",V7,[f7,e.createElementVNode("div",g7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Do=(go=o.report)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(e.openBlock(),e.createElementBlock("span",D7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",x7,[e.createElementVNode("div",b7,[C7,e.createElementVNode("div",S7,[e.createElementVNode("div",k7,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=o.report)==null?void 0:xo.weather)!=null&&bo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),A7,B7]),w7])]),e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(So=(Co=n==null?void 0:n.extend)==null?void 0:Co.cp)==null?void 0:So.speed,"Under"))+"kts)",1),F7]),e.createElementVNode("div",u7,[e.createElementVNode("div",P7,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=o.report)==null?void 0:ko.weather)!=null&&Ao.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),L7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(wo=(Bo=n==null?void 0:n.extend)==null?void 0:Bo.cp)==null?void 0:wo.speed,"Under"))+"kts",1)]),W7])]),e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Oo=(To=n==null?void 0:n.extend)==null?void 0:To.cp)==null?void 0:Oo.speed,"Over"))+"kts)",1),G7]),e.createElementVNode("div",I7,[e.createElementVNode("div",R7,[e.createElementVNode("div",null,e.toDisplayString((uo=(Fo=o.report)==null?void 0:Fo.weather)!=null&&uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),z7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Lo=(Po=n==null?void 0:n.extend)==null?void 0:Po.cp)==null?void 0:Lo.speed,"Over"))+"kts",1)]),U7])]),Y7]),e.createElementVNode("div",Z7,[e.createElementVNode("div",Q7,[J7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ho=(Wo=n==null?void 0:n.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",$7,[K7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Go=(Mo=n==null?void 0:n.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",q7,[X7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Yo=(Io=n==null?void 0:n.extend)==null?void 0:Io.cp)==null?void 0:Yo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Qo=(Zo=n==null?void 0:n.extend)==null?void 0:Zo.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=n==null?void 0:n.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",j7,[e.createElementVNode("div",v7,[e9,e.createElementVNode("div",t9,[e.createElementVNode("div",o9,[e.createElementVNode("div",null,e.toDisplayString((Ko=($o=o.report)==null?void 0:$o.weather)!=null&&Ko.noExtrapolation?(qo=n==null?void 0:n.goodWx)==null?void 0:qo.distance:(Xo=n==null?void 0:n.allWx)==null?void 0:Xo.distance),1),l9,e.createElementVNode("div",null,e.toDisplayString((jo=n==null?void 0:n.goodWx)==null?void 0:jo.pfmSpd),1)]),a9,e.createElementVNode("div",null,e.toDisplayString((vo=n==null?void 0:n.timeConclusion)==null?void 0:vo.timeAtPfmSpd)+" (hrs)",1),n9])]),e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tl=(el=n==null?void 0:n.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts)",1),c9]),e.createElementVNode("div",d9,[e.createElementVNode("div",r9,[e.createElementVNode("div",null,e.toDisplayString((ll=(ol=o.report)==null?void 0:ol.weather)!=null&&ll.noExtrapolation?(al=n==null?void 0:n.goodWx)==null?void 0:al.distance:(nl=n==null?void 0:n.allWx)==null?void 0:nl.distance),1),m9,e.createElementVNode("div",null,e.toDisplayString((sl=n==null?void 0:n.timeConclusion)==null?void 0:sl.minusAbtSpd),1)]),p9,e.createElementVNode("div",null,e.toDisplayString((il=n==null?void 0:n.timeConclusion)==null?void 0:il.timeAtMinusAbtSpd)+" (hrs)",1),h9])]),e.createElementVNode("div",y9,[e.createElementVNode("div",E9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(dl=(cl=n==null?void 0:n.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Over"))+"kts)",1),_9]),e.createElementVNode("div",N9,[e.createElementVNode("div",V9,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.report)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?(pl=n==null?void 0:n.goodWx)==null?void 0:pl.distance:(hl=n==null?void 0:n.allWx)==null?void 0:hl.distance),1),f9,e.createElementVNode("div",null,e.toDisplayString((yl=n==null?void 0:n.timeConclusion)==null?void 0:yl.plusAbtSpd),1)]),g9,e.createElementVNode("div",null,e.toDisplayString((El=n==null?void 0:n.timeConclusion)==null?void 0:El.timeAtPlusAbtSpd)+" (hrs)",1),D9])]),e.createElementVNode("div",x9,[((ut=n==null?void 0:n.timeConclusion)==null?void 0:ut.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",b9,[C9,S9,k9,A9,e.createElementVNode("div",null,e.toDisplayString((Nl=n==null?void 0:n.timeConclusion)==null?void 0:Nl.timeAtPfmSpd),1),B9,e.createElementVNode("div",null,e.toDisplayString((Dl=n==null?void 0:n.timeConclusion)==null?void 0:Dl.timeAtMinusAbtSpd),1),w9,e.createElementVNode("div",null,e.toDisplayString((xl=n==null?void 0:n.timeConclusion)==null?void 0:xl.timeLost)+" (hrs)",1)])):((bl=n==null?void 0:n.timeConclusion)==null?void 0:bl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",T9,[O9,F9,u9,P9,e.createElementVNode("div",null,e.toDisplayString((Cl=n==null?void 0:n.timeConclusion)==null?void 0:Cl.timeAtPlusAbtSpd),1),L9,e.createElementVNode("div",null,e.toDisplayString((Sl=n==null?void 0:n.timeConclusion)==null?void 0:Sl.timeAtPfmSpd),1),W9,e.createElementVNode("div",null,e.toDisplayString((kl=n==null?void 0:n.timeConclusion)==null?void 0:kl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Al=n==null?void 0:n.timeConclusion)==null?void 0:Al.conclusionStatus)==="Lost"?"flex-center lost":((Bl=n==null?void 0:n.timeConclusion)==null?void 0:Bl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[H9,e.createElementVNode("div",null,e.toDisplayString(((wl=n==null?void 0:n.timeConclusion)==null?void 0:wl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",M9,e.toDisplayString(l.noGoodWxDay),1))]),G9,e.createElementVNode("div",I9,[e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Y9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Z9,[e.createElementVNode("div",Q9,[J9,e.createElementVNode("div",$9,[e.createElementVNode("div",K9,[e.createElementVNode("div",null,e.toDisplayString((ul=(Fl=o.report)==null?void 0:Fl.weather)!=null&&ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q9,X9]),j9,v9,e6])]),e.createElementVNode("div",t6,[o6,((Ll=(Pl=n.extend)==null?void 0:Pl.cp)==null?void 0:Ll.dgo)>0?(e.openBlock(),e.createElementBlock("div",l6,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",a6,[n6,e.createElementVNode("div",s6,[e.createElementVNode("div",i6,[e.createElementVNode("div",null,e.toDisplayString((Hl=(Wl=o.report)==null?void 0:Wl.weather)!=null&&Hl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Gl=(Ml=n==null?void 0:n.extend)==null?void 0:Ml.cp)==null?void 0:Gl.speed,"Under"))+"kts",1)]),d6,r6,m6])]),e.createElementVNode("div",p6,[h6,e.createElementVNode("div",y6,[e.createElementVNode("div",E6,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Il=o.report)==null?void 0:Il.weather)!=null&&Rl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ul=(zl=n==null?void 0:n.extend)==null?void 0:zl.cp)==null?void 0:Ul.speed,"Under"))+"kts",1)]),N6,V6,f6])]),g6,((Zl=(Yl=n.extend)==null?void 0:Yl.cp)==null?void 0:Zl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",D6,[x6,e.createElementVNode("div",b6,[e.createElementVNode("div",C6,[S6,k6,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)])])]),e.createElementVNode("div",A6,[B6,e.createElementVNode("div",w6,[e.createElementVNode("div",T6,[O6,F6,e.createElementVNode("div",null,e.toDisplayString((Kl=($l=o.report)==null?void 0:$l.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),u6,e.createElementVNode("div",P6,[L6,e.createElementVNode("div",W6,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(ql=n==null?void 0:n.goodWx)!=null&&ql.distance?(e.openBlock(),e.createElementBlock("div",H6,[e.createElementVNode("div",M6,[G6,e.createElementVNode("div",I6,[e.createElementVNode("div",R6,[e.createElementVNode("div",null,e.toDisplayString((jl=(Xl=o.report)==null?void 0:Xl.weather)!=null&&jl.noExtrapolation?(vl=n==null?void 0:n.goodWx)==null?void 0:vl.distance:(ea=n==null?void 0:n.allWx)==null?void 0:ea.distance),1),z6,e.createElementVNode("div",null,e.toDisplayString((ta=n==null?void 0:n.goodWx)==null?void 0:ta.pfmSpd),1)]),U6,e.createElementVNode("div",Y6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((oa=n==null?void 0:n.goodWx)==null?void 0:oa.sumFoCons),1),((aa=(la=n==null?void 0:n.goodWx)==null?void 0:la.inEca)==null?void 0:aa.distance)>0?(e.openBlock(),e.createElementBlock("span",Z6,[Q6,e.createElementVNode("span",null,e.toDisplayString((sa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:sa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),J6,e.createElementVNode("div",null,e.toDisplayString((ia=n==null?void 0:n.goodWx)==null?void 0:ia.time),1)]),$6,e.createElementVNode("div",null,e.toDisplayString((da=(ca=n.fuelConclusion)==null?void 0:ca.fo)==null?void 0:da.entireCons)+" (mt)",1),K6])]),e.createElementVNode("div",q6,[X6,e.createElementVNode("div",j6,[e.createElementVNode("div",v6,[e.createElementVNode("div",null,e.toDisplayString((ma=(ra=o.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?(pa=n==null?void 0:n.goodWx)==null?void 0:pa.distance:(ha=n==null?void 0:n.allWx)==null?void 0:ha.distance),1),eT,e.createElementVNode("div",null,e.toDisplayString((ya=n==null?void 0:n.timeConclusion)==null?void 0:ya.minusAbtSpd),1)]),tT,e.createElementVNode("div",oT,[e.createElementVNode("div",null,e.toDisplayString((_a=(Ea=n==null?void 0:n.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:_a.overTolerance),1),lT,aT]),nT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=n.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.maxCons)+" (mt)",1),sT])]),e.createElementVNode("div",iT,[cT,e.createElementVNode("div",dT,[e.createElementVNode("div",rT,[e.createElementVNode("div",null,e.toDisplayString((ga=(fa=o.report)==null?void 0:fa.weather)!=null&&ga.noExtrapolation?(Da=n==null?void 0:n.goodWx)==null?void 0:Da.distance:(xa=n==null?void 0:n.allWx)==null?void 0:xa.distance),1),mT,e.createElementVNode("div",null,e.toDisplayString((ba=n==null?void 0:n.timeConclusion)==null?void 0:ba.minusAbtSpd),1)]),pT,e.createElementVNode("div",hT,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=n==null?void 0:n.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.underTolerance),1),yT,ET]),_T,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=n.fuelConclusion)==null?void 0:ka.fo)==null?void 0:Aa.minCons)+" (mt)",1),NT])]),e.createElementVNode("div",VT,[((wa=(Ba=n==null?void 0:n.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:wa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",fT,[gT,DT,xT,bT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.entireCons),1),CT,e.createElementVNode("div",null,e.toDisplayString((ua=(Fa=n==null?void 0:n.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:ua.maxCons),1),ST,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=n==null?void 0:n.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.overCons),1)]),(Ha=(Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.inEca)!=null&&Ha.distance?(e.openBlock(),e.createElementBlock("div",kT,[AT,BT,e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=n==null?void 0:n.goodWx)==null?void 0:Ma.inEca)==null?void 0:Ga.distance)+" * "+e.toDisplayString((Ra=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overCons),1),TT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(Ya=n==null?void 0:n.goodWx)==null?void 0:Ya.distance:(Za=n==null?void 0:n.allWx)==null?void 0:Za.distance),1)]),OT,e.createElementVNode("div",null,e.toDisplayString((ro=(ae=n==null?void 0:n.fuelConclusion)==null?void 0:ae.fo)==null?void 0:ro.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Ja=(Qa=n==null?void 0:n.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",FT,[uT,PT,LT,WT,e.createElementVNode("div",null,e.toDisplayString((ne=($a=n==null?void 0:n.fuelConclusion)==null?void 0:$a.fo)==null?void 0:ne.minCons),1),HT,e.createElementVNode("div",null,e.toDisplayString((Ka=(mo=n==null?void 0:n.fuelConclusion)==null?void 0:mo.fo)==null?void 0:Ka.entireCons),1),MT,e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=n==null?void 0:n.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.saving)+" (mt)",1)]),(ln=(rt=n==null?void 0:n.goodWx)==null?void 0:rt.inEca)!=null&&ln.distance?(e.openBlock(),e.createElementBlock("div",GT,[IT,RT,e.createElementVNode("div",zT,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=o.report)==null?void 0:an.weather)!=null&&nn.noExtrapolation?(Pt=(sn=n==null?void 0:n.goodWx)==null?void 0:sn.inEca)==null?void 0:Pt.distance:(Gn=(Mn=n==null?void 0:n.allWx)==null?void 0:Mn.inEca)==null?void 0:Gn.distance)+" * "+e.toDisplayString((Rn=(In=n==null?void 0:n.fuelConclusion)==null?void 0:In.fo)==null?void 0:Rn.saving),1),UT,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=o.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=n==null?void 0:n.goodWx)==null?void 0:Yn.distance:(Zn=n==null?void 0:n.allWx)==null?void 0:Zn.distance),1)]),YT,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=n==null?void 0:n.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Kn=($n=n==null?void 0:n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:Kn.conclusionStatus)==="Over"?"flex-center lost":((Xn=(qn=n==null?void 0:n.fuelConclusion)==null?void 0:qn.fo)==null?void 0:Xn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[ZT,e.createElementVNode("div",null,e.toDisplayString(((vn=(jn=n==null?void 0:n.fuelConclusion)==null?void 0:jn.fo)==null?void 0:vn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",QT,e.toDisplayString(l.noGoodWxDay),1)),((ts=(es=n==null?void 0:n.extend)==null?void 0:es.cp)==null?void 0:ts.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",JT,[$T,e.createElementVNode("div",KT,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(os=n==null?void 0:n.goodWx)!=null&&os.distance?(e.openBlock(),e.createElementBlock("div",qT,[e.createElementVNode("div",XT,[jT,e.createElementVNode("div",vT,[e.createElementVNode("div",eO,[e.createElementVNode("div",null,e.toDisplayString((as=(ls=o.report)==null?void 0:ls.weather)!=null&&as.noExtrapolation?(ns=n==null?void 0:n.goodWx)==null?void 0:ns.distance:(ss=n==null?void 0:n.allWx)==null?void 0:ss.distance),1),tO,e.createElementVNode("div",null,e.toDisplayString((is=n==null?void 0:n.goodWx)==null?void 0:is.pfmSpd),1)]),oO,e.createElementVNode("div",lO,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((cs=n==null?void 0:n.goodWx)==null?void 0:cs.sumDgoCons),1),((rs=(ds=n==null?void 0:n.goodWx)==null?void 0:ds.inEca)==null?void 0:rs.distance)>0?(e.openBlock(),e.createElementBlock("span",aO,[nO,e.createElementVNode("span",null,e.toDisplayString((ps=(ms=n==null?void 0:n.fuelConclusion)==null?void 0:ms.fo)==null?void 0:ps.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),sO,e.createElementVNode("div",null,e.toDisplayString((hs=n==null?void 0:n.goodWx)==null?void 0:hs.time),1)]),iO,e.createElementVNode("div",null,e.toDisplayString((Es=(ys=n.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:Es.entireCons)+" (mt)",1),cO])]),e.createElementVNode("div",dO,[rO,e.createElementVNode("div",mO,[e.createElementVNode("div",pO,[e.createElementVNode("div",null,e.toDisplayString((Ns=(_s=o.report)==null?void 0:_s.weather)!=null&&Ns.noExtrapolation?(Vs=n==null?void 0:n.goodWx)==null?void 0:Vs.distance:(fs=n==null?void 0:n.allWx)==null?void 0:fs.distance),1),hO,e.createElementVNode("div",null,e.toDisplayString((gs=n==null?void 0:n.timeConclusion)==null?void 0:gs.minusAbtSpd),1)]),yO,e.createElementVNode("div",EO,[e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=n==null?void 0:n.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.overTolerance),1),_O,NO]),VO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=n.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.maxCons)+" (mt)",1),fO])]),e.createElementVNode("div",gO,[DO,e.createElementVNode("div",xO,[e.createElementVNode("div",bO,[e.createElementVNode("div",null,e.toDisplayString((ks=(Ss=o.report)==null?void 0:Ss.weather)!=null&&ks.noExtrapolation?(As=n==null?void 0:n.goodWx)==null?void 0:As.distance:(Bs=n==null?void 0:n.allWx)==null?void 0:Bs.distance),1),CO,e.createElementVNode("div",null,e.toDisplayString((ws=n==null?void 0:n.timeConclusion)==null?void 0:ws.minusAbtSpd),1)]),SO,e.createElementVNode("div",kO,[e.createElementVNode("div",null,e.toDisplayString((Os=(Ts=n==null?void 0:n.fuelConclusion)==null?void 0:Ts.dgo)==null?void 0:Os.underTolerance),1),AO,BO]),wO,e.createElementVNode("div",null,e.toDisplayString((us=(Fs=n.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:us.minCons)+" (mt)",1),TO])]),e.createElementVNode("div",OO,[((Ls=(Ps=n==null?void 0:n.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Ls.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",FO,[uO,PO,LO,WO,e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=n==null?void 0:n.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Hs.entireCons),1),HO,e.createElementVNode("div",null,e.toDisplayString((Gs=(Ms=n==null?void 0:n.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Gs.maxCons),1),MO,e.createElementVNode("div",null,e.toDisplayString((Rs=(Is=n==null?void 0:n.fuelConclusion)==null?void 0:Is.dgo)==null?void 0:Rs.overCons),1)])):((Us=(zs=n==null?void 0:n.fuelConclusion)==null?void 0:zs.fo)==null?void 0:Us.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",GO,[IO,RO,zO,UO,e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=n==null?void 0:n.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.minCons),1),YO,e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=n==null?void 0:n.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.entireCons),1),ZO,e.createElementVNode("div",null,e.toDisplayString((Ks=($s=n==null?void 0:n.fuelConclusion)==null?void 0:$s.dgo)==null?void 0:Ks.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Xs=(qs=n==null?void 0:n.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:Xs.conclusionStatus)==="Over"?"flex-center lost":((vs=(js=n==null?void 0:n.fuelConclusion)==null?void 0:js.dgo)==null?void 0:vs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[QO,e.createElementVNode("div",null,e.toDisplayString(((ti=(ei=n==null?void 0:n.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",JO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const KO=Ee(DB,[["render",$O],["__scopeId","data-v-e47c6491"]]),Nte="",qO={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}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=11;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,o="0.0"){return t?te.roundPrecision(t,s):o}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,o,c,l,a,h,i,_,D;debugger;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.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=(h=this.report)==null?void 0:h.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(_=this.report)==null?void 0:_.weather)==null?void 0:D.showWave)??!0}}},Ne=t=>(e.pushScopeId("data-v-667ebfb8"),t=t(),e.popScopeId(),t),XO={class:"report-inventory"},jO={class:"section summary-section"},vO=Ne(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),eF={class:"summary-block"},tF=Ne(()=>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)),oF={class:"label",rowspan:"4"},lF=Ne(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),aF=Ne(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),nF=Ne(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),sF=Ne(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),iF={class:"section inventory-section"},cF=e.createStaticVNode('<div class="legends flex-space" data-v-667ebfb8><div class="flex-start" style="flex:1.2;" data-v-667ebfb8><div class="legend good-wx" data-v-667ebfb8></div><div class="label flex-end" data-v-667ebfb8>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-667ebfb8><div class="legend adverse-wx" data-v-667ebfb8></div><div class="label" data-v-667ebfb8>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-667ebfb8><div class="legend excluded" data-v-667ebfb8></div><div class="label" data-v-667ebfb8>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-667ebfb8><div data-v-667ebfb8><label data-v-667ebfb8>B</label><span data-v-667ebfb8>BOSP</span></div><div data-v-667ebfb8><label data-v-667ebfb8>N</label><span data-v-667ebfb8>NOON</span></div><div data-v-667ebfb8><label data-v-667ebfb8>E</label><span data-v-667ebfb8>EOSP</span></div><div data-v-667ebfb8><label data-v-667ebfb8>*</label><span data-v-667ebfb8>Ship Reported Position</span></div></div></div>',1),dF={class:"inventory-block flex-center"},rF={style:{"font-size":"12px"}},mF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),pF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),hF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),yF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),EF=["colspan"],_F={key:0,class:"label",colspan:"2"},NF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),VF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),fF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),gF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),DF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),xF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),bF={key:0,class:"label",rowspan:"2"},CF=Ne(()=>e.createElementVNode("br",null,null,-1)),SF={key:1,class:"label",rowspan:"2"},kF=Ne(()=>e.createElementVNode("br",null,null,-1)),AF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),BF={key:2,class:"label",rowspan:"2"},wF=Ne(()=>e.createElementVNode("br",null,null,-1)),TF={key:3,class:"label",colspan:"2"},OF={key:4,class:"label",rowspan:"2"},FF=Ne(()=>e.createElementVNode("br",null,null,-1)),uF={key:5,class:"label",colspan:"2"},PF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),LF={key:6,class:"label",rowspan:"2"},WF={key:7,class:"label",rowspan:"2"},HF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),MF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),GF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),IF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),RF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),zF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),UF=Ne(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),YF=Ne(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),ZF=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),QF=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),JF=Ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),$F=Ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),KF={key:0,class:"label"},qF={key:1,class:"label"},XF={key:2,class:"label"},jF={key:3,class:"label"},vF=Ne(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),eu=Ne(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),tu=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),ou=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),lu=Ne(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),au=Ne(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),nu=Ne(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),su=Ne(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),iu={class:"summary-tbody"};function cu(t,s,o,c,l,a){var h;return e.openBlock(),e.createElementBlock("div",XO,[e.createElementVNode("div",jO,[vO,e.createElementVNode("div",eF,[e.createElementVNode("table",null,[tF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.report)==null?void 0:h.segments,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",oF,e.toDisplayString(_+1),1),lF,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((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=i==null?void 0:i.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[aF,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((C=i==null?void 0:i.goodWx)==null?void 0:C.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((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.goodWx)==null?void 0:P.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[nF,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.badWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[sF,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((z=i==null?void 0:i.excluded)==null?void 0:z.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.excluded)==null?void 0:Y.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",iF,[cF,e.createElementVNode("div",dF,[e.createElementVNode("table",rF,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[mF,pF,hF,yF,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,EF),o.showFactor?(e.openBlock(),e.createElementBlock("th",_F,"Factor")):e.createCommentVNode("",!0),NF,VF]),e.createElementVNode("tr",null,[fF,gF,DF,xF,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",bF,[e.createTextVNode("Spd"),CF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",SF,[e.createTextVNode("Dis"),kF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),AF,l.showWave?(e.openBlock(),e.createElementBlock("th",BF,[e.createTextVNode("Sea HT"),wF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",TF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",OF,[e.createTextVNode("Sig Wave"),FF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",uF,"Current")):e.createCommentVNode("",!0),PF,o.showFactor?(e.openBlock(),e.createElementBlock("th",LF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",WF,"wxFactor")):e.createCommentVNode("",!0),HF,MF,GF,IF,RF,zF,UF,YF]),e.createElementVNode("tr",null,[ZF,QF,JF,$F,l.showSwell?(e.openBlock(),e.createElementBlock("th",KF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",qF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",XF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",jF,"CF(kts)")):e.createCommentVNode("",!0),vF,eu,tu,ou,lu,au,nu,su])]),e.createElementVNode("tbody",iu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$;return e.openBlock(),e.createElementBlock("tr",{key:_},[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((S=i.noon)==null?void 0:S.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)&&_?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?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)&&_?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)&&_?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(y=i.meteo)==null?void 0:y.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(x=i.meteo)==null?void 0:x.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(((T=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.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(((O=(L=(P=i.meteo)==null?void 0:P.wave)==null?void 0:L.swell)==null?void 0:O.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(((R=(u=(b=i.meteo)==null?void 0:b.wave)==null?void 0:u.swell)==null?void 0:R.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(((W=(z=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:z.sig)==null?void 0:W.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(((Y=(f=i.meteo)==null?void 0:f.current)==null?void 0:Y.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(((I=i.meteo)==null?void 0:I.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?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((($=i.meteo)==null?void 0:$.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const du=Ee(qO,[["render",cu],["__scopeId","data-v-667ebfb8"]]),Vte="",ru={components:{Lng:va,Lat:en},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,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Uo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Uo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Uo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,D,S,y,N;const t=[],s=[],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;this.inventory.forEach(x=>{var r,C,k,T,P,L,O,b,u,R,Z;if(x.noonLength){const z=this.computeUTCTime(x.noonUtc,"MM-DD/HHmm[Z]");t.push(z),c=Math.ceil(((r=x.noon)==null?void 0:r.foCons)>c?(C=x.noon)==null?void 0:C.foCons:c),c=Math.ceil(((k=x.cp)==null?void 0:k.fo)>c?(T=x.cp)==null?void 0:T.fo:c),l=Math.ceil(((P=x.noon)==null?void 0:P.dgoCons)>l?(L=x.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((O=x.cp)==null?void 0:O.dgo)>l?(b=x.cp)==null?void 0:b.dgo:l),s.push([z,(u=x.noon)==null?void 0:u.avgSpd,(R=x.noon)==null?void 0:R.foCons,(Z=x.noon)==null?void 0:Z.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(_=(i=this.report)==null?void 0:i.weather)!=null&&_.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:s,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:s,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:s,z:1}]};(D=this.spdFoConsChart)==null||D.setOption(a);const h={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(y=(S=this.report)==null?void 0:S.weather)!=null&&y.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:s,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:s,z:3},{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:s,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:s,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(h)},renderWxCurrChart(){var h;const t=[],s=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;this.inventory.forEach(i=>{var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const R=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(R),c=Math.ceil(((S=(D=(_=i.meteo)==null?void 0:_.wave)==null?void 0:D.sig)==null?void 0:S.height)>c?(x=(N=(y=i.meteo)==null?void 0:y.wave)==null?void 0:N.sig)==null?void 0:x.height:c),s.push([R,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(P=(T=i.meteo)==null?void 0:T.wind)==null?void 0:P.direction,(L=i.noon)==null?void 0:L.seasHt,(u=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:u.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},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:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},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},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:s,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:s,z:1}]};(h=this.currChart)==null||h.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),mu={class:"report-summary"},pu={class:"section chart-section"},hu=_l(()=>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)),yu={class:"chart-block"},Eu={ref:"spdFoConsChart",class:"chart"},_u={ref:"spdDgoConsChart",class:"chart"},Nu={ref:"currChart",class:"chart"},Vu={class:"section map-section"},fu=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),gu={class:"map-block"},Du={class:"flex-space"},xu={class:"voyage-block",style:{height:"197px"}},bu={class:"flex-space label-block",style:{width:"100%"}},Cu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Su={style:{"text-transform":"uppercase"}},ku={class:"flex-space label-block",style:{width:"100%"}},Au=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Bu={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},wu={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},Tu={class:"flex-space label-block",style:{width:"100%"}},Ou=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),Fu={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uu={class:"flex-space label-block",style:{width:"100%"}},Pu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),Lu={key:0,class:"flex-end",style:{flex:"1"}},Wu={key:1,class:"flex-end",style:{flex:"1"}},Hu=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mu={class:"flex-end",style:{width:"140px"}},Gu={class:"flex-space label-block",style:{width:"100%"}},Iu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Ru={key:0,class:"flex-end",style:{flex:"1"}},zu={key:1,class:"flex-end",style:{flex:"1"}},Uu=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yu={class:"flex-end",style:{width:"140px"}},Zu={class:"flex-space label-block",style:{width:"100%"}},Qu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ju={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},$u=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),Ku=["src"],qu=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-dace21b5> 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-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function Xu(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q;const h=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",mu,[e.createElementVNode("div",pu,[hu,e.createElementVNode("div",yu,[e.createElementVNode("div",Eu,null,512),e.createElementVNode("div",_u,null,512),e.createElementVNode("div",Nu,null,512)])]),e.createElementVNode("div",Vu,[fu,e.createElementVNode("div",gu,[e.createElementVNode("div",Du,[e.createElementVNode("div",xu,[e.createElementVNode("div",bu,[Cu,e.createElementVNode("span",Su,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",ku,[Au,e.createElementVNode("span",Bu,e.toDisplayString((D=(_=o.report)==null?void 0:_.vessel)==null?void 0:D.name),1),e.createElementVNode("span",wu,"("+e.toDisplayString((y=(S=o.report)==null?void 0:S.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",Tu,[Ou,e.createElementVNode("span",Fu,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",uu,[Pu,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",Lu,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",Wu,[e.createVNode(h,{lat:(L=(P=o.report)==null?void 0:P.departure)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Hu,e.createVNode(i,{lng:(O=o.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Mu,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Gu,[Iu,(R=(u=o.report)==null?void 0:u.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",Ru,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",zu,[e.createVNode(h,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Uu,e.createVNode(i,{lng:(I=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:I.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Yu,e.toDisplayString(a.computeUTCTime(($=(H=o.report)==null?void 0:H.arrival)==null?void 0:$.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Zu,[Qu,e.createElementVNode("span",Ju,e.toDisplayString((X=(K=o.report)==null?void 0:K.voyage)==null?void 0:X.loadCondition),1)])]),$u]),e.createElementVNode("img",{src:(q=o.report)==null?void 0:q.chartUrl,alt:""},null,8,Ku)])]),qu])}const ju=Ee(ru,[["render",Xu],["__scopeId","data-v-dace21b5"]]),fte="",vu={components:{Brand:zo,Summary:KO,Inventory:du,Chart:ju,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}}},watch:{report:{handler(t,s){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 s,o;const t=[];(o=(s=this.report)==null?void 0:s.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,h,i=!1;c.inventory.sample.hours.forEach((_,D)=>{a||(a=_),(!h||i)&&(h=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),h.noonLength=(h.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,h.dailyAvgCf=_.dailyAvgCf,h.avgSpdCalc=_.avgSpdCalc,h.distanceCalc=_.distanceCalc,h.noonUtc=_.utc,h.noon=_.noon),_.abbrev=S,S=S==="M"?"*":S==="A"?"":S,_.time=`${S} ${this.computeUTCTime(_.utc,"MMM-DD/HHmm[Z]")}`,_._lng=te.LngLatHelper.lng2pretty(_.lng),_._lat=te.LngLatHelper.lat2pretty(_.lat),_.cp=l,t.push(_)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function eP(t,s,o,c,l,a){var y,N,x,r;const h=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((N=(y=o.report)==null?void 0:y.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(h,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{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(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const xn=Ee(vu,[["render",eP],["__scopeId","data-v-23bf57dc"]]),tP={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",xn)}},gte="",Dte="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,s){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:s}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let s;return t<=1||t>1&&t<=2?s=40:t>2&&t<=3?s=30:t>3&&t<=4?s=20:t>4&&t<=5?s=15:s=10,s},computerLon(t){let s="";return t===0&&(s="0"),t>0&&t<=180&&(s=""+t+"° E"),t>180&&t<=360&&(s=""+(t-180)+"° W"),t>360&&(s=""+(t-360)+"° E"),t<0&&t>=-180&&(s=""+(0-t)+"° W"),t<-180&&t>-360&&(s=""+(t+360)+"° E"),s},computerLat(t){let s="";return t===0&&(s="0"),t>0&&t<=90&&(s=""+t+"° N"),t>-90&&t<0&&(s=""+(0-t)+"° S"),s},initGrid(){let t=[];const s=[],o=[];this.XY=this.bounds;const c=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+c)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),s.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+c)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),s.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(s,o)}},xte="",bte="",oP={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:hi.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clhvqa78k021f01r062401ahm",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let c=this;this.map.on("load",function(){Vl.initStyle(o),Vl.initProperty(c.map),Vl.addSourceData([]),Vl.addLayerData(),Vl.initGrid()}),this.map.on("moveend",l=>{Vl.initProperty(c.map),Vl.initGrid()}),this.map.on("zoomend",l=>{Vl.initProperty(c.map),Vl.initGrid()})}}},lP=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),aP={class:"map"},nP=lP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function sP(t,s,o,c,l,a){const h=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",aP,[nP,e.createVNode(h,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const iP=Ee(oP,[["render",sP],["__scopeId","data-v-0230b635"]]),cP={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,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Uo.init(c))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,s=Number(w(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:s,axisLabel:{show:!0,formatter:function(c,l){var a=w(c).format("MMMDD"),h=w(c).format("HH");return h==="00"||l===0?a:h}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},dP=["id"];function rP(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,dP)])}const mP=Ee(cP,[["render",rP]]),Cte="",pP={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{IdmBrand:zo,Map:iP,Echart:mP},data(){return{dateTime:void 0,typhoonData:[],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:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":te.roundPrecision(t,0)}},computeWind(){let t=this;return function(s){return s>=0?t.computeRoundPrecision(s):"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(s)}`:"-"}},computeHours(){return function(t,s){return w(s).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,s){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(s).pretty}`}},computeCandidateIndex(){return function(t,s){let o=0;for(const c in t){if(Number(c)>s)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,s,o){return t?s?Math.round((t+(s-t)*o)*100)/100:t:s}},computeHourSubscript(){return function(t){let s="";return this.hourSubscript.forEach((o,c)=>{t<o&&s===""&&(s=c)}),s}},computeKLineData(){return function(t){const s=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[s-1][1],middle:""},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}}},methods:{async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let y in this.data.hours){let N=this.data.hours[y];N.hour=y,t.push(N)}else{let y=0;for(let N in this.data.hours)if(y<8){let x=this.data.hours[N];x.hour=N,t.push(x),y++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const s=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let y in this.records)w(this.data.date).add(y,"h").utc().format("YYYY-MM-DD HH")===s&&this.$emit("center",this.records[y]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const c=[],l=[],a=[],h=[];let i=[],_=[],D=[];for(let y in this.records){const N=this.records[y],x=w(this.data.date).add(y,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(_.push([C,N.wind.kts]),D.push([C,N.pressure]),i.push([C,N.wind.spd])):(c.push(i),l.push(_),a.push(D),o=r,i=[],_=[],D=[],i.push([C,N.wind.spd]),_.push([C,N.wind.kts]),D.push([C,N.pressure]),this.xAxis.push(x))}for(let y in this.data.hours){const N=this.data.hours[y],x=w(this.data.date).add(y,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;h.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(c),this.fetchSpdData(l,h),this.fetchPressureData(a)},fetchProbabilityData(t){let s={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,h=0,i=0,_=0;o.forEach(S=>{const y=S[1];y<=17.1?c++:y<=24.4?l++:y<=32.6?a++:y<=41.4?h++:y<=50.9?i++:y>50.9&&_++});const D=o.length;s.td.push([o[0][0],te.roundPrecision(c/D,2)*100]),s.ts.push([o[0][0],te.roundPrecision(l/D,2)*100]),s.sts.push([o[0][0],te.roundPrecision(a/D,2)*100]),s.ty.push([o[0][0],te.roundPrecision(h/D,2)*100]),s.sty.push([o[0][0],te.roundPrecision(i/D,2)*100]),s.supty.push([o[0][0],te.roundPrecision(_/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:s.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:s.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:s.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:s.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:s.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:s.td}]},fetchSpdData(t,s){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let h=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(h)}),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:s,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let s=[],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]),s.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:s},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,s,o=3){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le;const c=w(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const h={};for(;a=this.computeCandidateIndex(s,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);h[l]={gusts:this.computeInterpolateValue((i=s[a.prev])==null?void 0:i.gusts,(_=s[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((D=s[a.prev])==null?void 0:D.lat,(S=s[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((y=s[a.prev])==null?void 0:y.lng,(N=s[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=s[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=s[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((P=(T=s[a.prev])==null?void 0:T.movement)==null?void 0:P.kts,(O=(L=s[a.next])==null?void 0:L.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((u=(b=s[a.prev])==null?void 0:b.movement)==null?void 0:u.spd,(Z=(R=s[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((z=s[a.prev])==null?void 0:z.pressure,(W=s[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((Y=(f=s[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(I=s[a.next])==null?void 0:I.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((K=($=s[a.prev])==null?void 0:$.wind)==null?void 0:K.lat,(q=(X=s[a.next])==null?void 0:X.wind)==null?void 0:q.lat,ee),lng:this.computeInterpolateValue((M=(V=s[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(n=(J=s[a.next])==null?void 0:J.wind)==null?void 0:n.lng,ee),spd:this.computeInterpolateValue((d=(j=s[a.prev])==null?void 0:j.wind)==null?void 0:d.spd,(le=(v=s[a.next])==null?void 0:v.wind)==null?void 0:le.spd,ee)}},l+=o}return h}}},bn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),hP={class:"typhoon-report"},yP={class:"report-content"},EP={class:"map"},_P={class:"table"},NP=bn(()=>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)),VP=bn(()=>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 fP(t,s,o,c,l,a){const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",hP,[e.createVNode(h,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",yP,[e.createElementVNode("div",null,[e.createElementVNode("div",EP,[e.createVNode(i,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",_P,[e.createElementVNode("table",null,[NP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(D,S)=>{var y,N,x,r,C,k;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(D.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(D.lat,D.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(D.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((y=D==null?void 0:D.wind)==null?void 0:y.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=D.gusts)==null?void 0:N.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((x=D==null?void 0:D.wind)==null?void 0:x.r7)||"-")} / ${a.computeWind(((r=D==null?void 0:D.wind)==null?void 0:r.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=D==null?void 0:D.movement)==null?void 0:C.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((k=D==null?void 0:D.movement)==null?void 0:k.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(_,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(_,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(_,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])]),VP])}const Cn=Ee(pP,[["render",fP],["__scopeId","data-v-7324f644"]]),gP={install(t){t.component("HurricaneReport",Cn)}},Ste="",DP={components:{IdmBrand:ja},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
42
  `,"</br>")}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(s)}`:"-"}},computeItem(){return function(t){if(t){const s=t.indexOf(",");if(s!==-1)return[t.substring(0,s),t.substring(s+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var h;const t=this.$refs.name.offsetHeight,s=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(h=this.data)!=null&&h.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+s+280>l*1123;)l++;const a=l*1123-(t+s+280);this.breaked=a<o+c})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),xP={class:"invoice-report"},bP=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),CP={class:"report-title"},SP=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),kP={class:"title-info"},AP=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),BP=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),wP=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),TP=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),OP=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),FP={class:"report-content"},uP={style:{display:"flex"},ref:"name",class:"name"},PP=["innerHTML"],LP={style:{"margin-bottom":"10px"}},WP={class:"table",ref:"table"},HP=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),MP=ho(()=>e.createElementVNode("td",null,null,-1)),GP={class:"total"},IP={class:"total"},RP={key:0,class:"page-break"},zP={ref:"detail",class:"detail"},UP={class:"title"},YP={class:"info"},ZP={class:"info"},QP={class:"info"},JP={class:"info"},$P={class:"info"},KP={key:0},qP={class:"info"},XP=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),jP={class:"info"},vP=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),eL={class:"info"},tL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),oL={class:"info"},lL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),aL={key:1},nL={class:"info"},sL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),iL={key:1,ref:"memo",class:"detail"},cL=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),dL=["innerHTML"];function rL(t,s,o,c,l,a){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z;const h=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",xP,[e.createVNode(h),bP,e.createElementVNode("div",CP,[SP,e.createElementVNode("div",kP,[AP,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),BP,wP,TP,OP])])]),e.createElementVNode("div",FP,[e.createElementVNode("div",uP,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((_=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:_.name)},null,8,PP)],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",LP,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",WP,[e.createElementVNode("table",null,[HP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.data)==null?void 0:y.reservations,(W,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f},[e.createElementVNode("td",null,e.toDisplayString(f+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${W==null?void 0:W.amount}`),1)]))),128)),e.createElementVNode("tr",null,[MP,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((N=o.data)==null?void 0:N.rate)}`)+"  ",1),e.createElementVNode("span",GP,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",IP,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(x=o.data)==null?void 0:x.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",RP)):e.createCommentVNode("",!0),e.createElementVNode("div",zP,[e.createElementVNode("div",UP,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",YP,[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",ZP,[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(((C=l.company)==null?void 0:C.address[l.type])??"-"),1)]),e.createElementVNode("div",QP,[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",JP,[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(((T=l.company)==null?void 0:T.bankName[l.type])??"-"),1)]),e.createElementVNode("div",$P,[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(((P=l.company)==null?void 0:P.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",KP,[e.createElementVNode("div",qP,[XP,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankSwift)??"-"),1)]),e.createElementVNode("div",jP,[vP,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",eL,[tL,e.createElementVNode("span",null,e.toDisplayString(((b=l.company)==null?void 0:b.interBank)??"-"),1)]),e.createElementVNode("div",oL,[lL,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",aL,[e.createElementVNode("div",nL,[sL,e.createElementVNode("span",null,e.toDisplayString(((R=l.company)==null?void 0:R.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",iL,[cL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((z=o.data)==null?void 0:z.memo)},null,8,dL)],512)):e.createCommentVNode("",!0)])])}const Sn=Ee(DP,[["render",rL],["__scopeId","data-v-db643e45"]]),kte="",mL={components:{IdmBrand:zo},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"}}}},props:{report:{type:Object,default:()=>({})}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${w(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},Wt=t=>(e.pushScopeId("data-v-945b957a"),t=t(),e.popScopeId(),t),pL={class:"invoice-report"},hL={class:"section items-section"},yL={class:"flex-start"},EL=Wt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),_L=["innerHTML"],NL={class:"flex-space"},VL={class:"invoice-item"},fL={key:0,class:"invoice-item"},gL=Wt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"NO"),e.createElementVNode("th",null,"ITEMS"),e.createElementVNode("th",null,"AMOUNTS")])],-1)),DL={class:"text-ellipsis"},xL={colspan:2,class:"total"},bL=Wt(()=>e.createElementVNode("span",null,"Total in CNY",-1)),CL={key:1},SL={class:"total"},kL={key:0},AL={key:1},BL={key:0,class:"memo-block"},wL=Wt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),TL=["innerHTML"],OL={class:"section company-section"},FL=Wt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),uL={class:"company-item"},PL=Wt(()=>e.createElementVNode("label",null,"Bank",-1)),LL={class:"company-item"},WL=Wt(()=>e.createElementVNode("label",null,"Account",-1)),HL={class:"company-item"},ML=Wt(()=>e.createElementVNode("label",null,"Title",-1)),GL={class:"company-item"},IL=Wt(()=>e.createElementVNode("label",null,"Addr",-1)),RL={class:"company-item"},zL=Wt(()=>e.createElementVNode("label",null,"Tel",-1)),UL={class:"company-item"},YL=Wt(()=>e.createElementVNode("label",null,"Tax ID",-1)),ZL={class:"company-item"},QL=Wt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),JL={class:"company-item"},$L=Wt(()=>e.createElementVNode("label",null,"Bank Name",-1)),KL={class:"company-item"},qL=Wt(()=>e.createElementVNode("label",null,"Bank Address",-1)),XL={class:"company-item"},jL=Wt(()=>e.createElementVNode("label",null,"Account No.",-1)),vL={class:"company-item"},eW=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),tW={class:"company-item"},oW=Wt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),lW={class:"company-item"},aW=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),nW={class:"company-item"},sW=Wt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),iW=e.createStaticVNode('<div class="section sign-section" data-v-945b957a><div class="flex-space" data-v-945b957a><div class="sign-block" data-v-945b957a><div data-v-945b957a>Finance Team</div><div data-v-945b957a>Ocean Right Marine Service Co., Ltd.</div><div data-v-945b957a>Email: <a href="mailto:op@ormwx.com" data-v-945b957a>op@ormwx.com</a></div><div data-v-945b957a>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-945b957a> Thank You </div></div></div>',1);function cW(t,s,o,c,l,a){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe;const h=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",pL,[e.createVNode(h,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",hL,[e.createElementVNode("div",yL,[EL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(D=(_=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:_.name)==null?void 0:D.replace(`
43
43
  `,"<br/>")},null,8,_L)]),e.createElementVNode("div",NL,[e.createElementVNode("div",VL,"Invoice No. "+e.toDisplayString(o.report.number),1),(S=o.report)!=null&&S.paymentDate?(e.openBlock(),e.createElementBlock("div",fL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[gL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.report)==null?void 0:y.reservations,(ce,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(he+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",DL,e.toDisplayString(ce==null?void 0:ce.items),1)]),e.createElementVNode("td",null,e.toDisplayString(`$${ce==null?void 0:ce.amount}`),1)]))),128)),e.createElementVNode("tr",null,[e.createElementVNode("td",xL,[((N=o.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,"Exchange rate: "+e.toDisplayString((x=o.report)==null?void 0:x.rate)+", ",1),bL],64)):(e.openBlock(),e.createElementBlock("span",CL,"Total in US"))]),e.createElementVNode("td",SL,[((r=o.report)==null?void 0:r.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock("span",kL,e.toDisplayString(`¥${(C=o.report)==null?void 0:C.paymentAmount}`),1)):(e.openBlock(),e.createElementBlock("span",AL,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1))])])])]),(T=o.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",BL,[wL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(P=o.report)==null?void 0:P.memo)==null?void 0:L.replace(`
44
44
  `,"<br/>")},null,8,TL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OL,[FL,((O=o.report)==null?void 0:O.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",uL,[PL,e.createElementVNode("span",null,e.toDisplayString((u=l.account[(b=o.report)==null?void 0:b.paymentType])==null?void 0:u.bank),1)]),e.createElementVNode("div",LL,[WL,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",HL,[ML,e.createElementVNode("span",null,e.toDisplayString((W=l.account[(z=o.report)==null?void 0:z.paymentType])==null?void 0:W.title),1)]),e.createElementVNode("div",GL,[IL,e.createElementVNode("span",null,e.toDisplayString((Y=l.account[(f=o.report)==null?void 0:f.paymentType])==null?void 0:Y.address),1)]),e.createElementVNode("div",RL,[zL,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(I=o.report)==null?void 0:I.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",UL,[YL,e.createElementVNode("span",null,e.toDisplayString((K=l.account[($=o.report)==null?void 0:$.paymentType])==null?void 0:K.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",ZL,[QL,e.createElementVNode("span",null,e.toDisplayString((q=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:q.title),1)]),e.createElementVNode("div",JL,[$L,e.createElementVNode("span",null,e.toDisplayString((M=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:M.bank),1)]),e.createElementVNode("div",KL,[qL,e.createElementVNode("span",null,e.toDisplayString((n=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:n.bankAddr),1)]),e.createElementVNode("div",XL,[jL,e.createElementVNode("span",null,e.toDisplayString((d=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",vL,[eW,e.createElementVNode("span",null,e.toDisplayString((le=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:le.swift),1)]),e.createElementVNode("div",tW,[oW,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",lW,[aW,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ie=o.report)==null?void 0:ie.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",nW,[sW,e.createElementVNode("span",null,e.toDisplayString((pe=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:pe.intermediaryBankAbaNo),1)])],64))]),iW])}const kn=Ee(mL,[["render",cW],["__scopeId","data-v-945b957a"]]),dW={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},rW=t=>((typeof t=="string"||typeof t=="number")&&(t=w(t)),t),mW=(t,s="MMM-DD,YYYY/HHmm[Z]")=>pW(t,s),pW=(t,s="MMM-DD/HHmm[Z]")=>(t=rW(t),t?`${t.utc().format(s)}`:"-"),Ate="",hW={name:"IdmEditableItem",components:{Edit:tn.Edit,Close:tn.Close,IdmEditor:Ro},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,s){return mW(t,s)}}},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)}}},yW={class:"idm-editable-item"},EW=["innerHTML"],_W={key:3,class:"buttons"};function NW(t,s,o,c,l,a){const h=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),_=e.resolveComponent("IdmEditor"),D=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),y=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),x=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),P=e.resolveComponent("ElIcon"),L=e.resolveComponent("ElButton"),O=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",yW,[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":s[2]||(s[2]=b=>l.model=b),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":s[3]||(s[3]=b=>l.model=b),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":s[4]||(s[4]=b=>l.model=b),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(_,{key:3,modelValue:l.model,"onUpdate:modelValue":s[5]||(s[5]=b=>l.model=b),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":s[6]||(s[6]=b=>l.model=b),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(S,{key:5,modelValue:l.model,"onUpdate:modelValue":s[7]||(s[7]=b=>l.model=b),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(N,{key:6,modelValue:l.model,"onUpdate:modelValue":s[8]||(s[8]=b=>l.model=b),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,b=>(e.openBlock(),e.createBlock(y,{key:b.value,label:b.label,disabled:b.disabled,value:b.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:l.model,"onUpdate:modelValue":s[9]||(s[9]=b=>l.model=b),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,b=>(e.openBlock(),e.createBlock(y,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:l.model,"onUpdate:modelValue":s[10]||(s[10]=b=>l.model=b),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,b=>(e.openBlock(),e.createBlock(y,{key:b.id,label:b.name,value:b.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":s[11]||(s[11]=b=>l.model=b),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,b=>(e.openBlock(),e.createBlock(x,{key:b.value,label:b.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.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":s[12]||(s[12]=b=>l.model=b),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,b=>(e.openBlock(),e.createBlock(C,{label:b.value,key:b.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.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(h,{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(h,{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:s[0]||(s[0]=(...b)=>a.handleEdit&&a.handleEdit(...b))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,EW)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...b)=>a.handleEdit&&a.handleEdit(...b))},[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",_W,[l.editable?(e.openBlock(),e.createBlock(L,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(P,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(L,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(P,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const An=Ee(hW,[["render",NW]]),Bte="",VW={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro,IdmBrand:zo},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,s="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(s));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,s,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.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 s=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.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,h;this.extraPortList.splice(t,1);const s=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(h=this.report)==null?void 0:h.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,o,c){var h,i,_,D,S;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=s.substring(0,l),x=s.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(h=y==null?void 0:y.data)==null?void 0:h.data,this.extraPortList=(_=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(D=this.report)!=null&&D.comments?(S=this.report)==null?void 0:S.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},B=t=>(e.pushScopeId("data-v-4829e189"),t=t(),e.popScopeId(),t),fW={class:"deviation-report"},gW={class:"section vessel-section"},DW={class:"report-summary"},xW={class:"summary-item"},bW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),CW={class:"flexL gray"},SW={class:"summary-item"},kW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),AW={class:"flexL gray"},BW={class:"summary-item"},wW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),TW={class:"flexL gray"},OW={class:"summary-item"},FW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),uW={class:"flexL gray"},PW={class:"summary-item"},LW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),WW={class:"flexL gray",style:{display:"flex"}},HW={class:"flex"},MW={class:"flexM"},GW={class:"summary-item"},IW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),RW={class:"flexL gray",style:{display:"flex"}},zW={class:"flex"},UW={class:"flexM"},YW={class:"section summary-section"},ZW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),QW={class:"report-summary"},JW={class:"summary-item"},$W=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),KW={class:"summary-item"},qW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),XW={class:"summary-item"},jW=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),vW={class:"summary-item"},eH=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),tH={class:"section map-section"},oH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),lH={class:"report-map"},aH=["src"],nH=e.createStaticVNode('<div class="legend" data-v-4829e189><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-4829e189></div><div data-v-4829e189>Actual Route</div></div><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-4829e189></div><div data-v-4829e189>Route prior to deviation</div></div></div>',1),sH={key:0,class:"section deviation-section"},iH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),cH={class:"report-summary"},dH=e.createStaticVNode('<div class="summary-item" data-v-4829e189><div class="blue center" style="width:17%;" data-v-4829e189>Deviation</div><div class="blue center" style="width:20%;" data-v-4829e189>Position</div><div class="blue center" style="width:17%;" data-v-4829e189>Date Time</div><div class="flex blue center" data-v-4829e189>FO BROB<br data-v-4829e189>(mt)</div><div class="flex blue center" data-v-4829e189>DO/GO<br data-v-4829e189>BROB (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>FO (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>DO/GO (mt)</div></div>',1),rH={class:"summary-item"},mH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),pH={class:"blue center",style:{width:"20%"}},hH={class:"blue center",style:{width:"17%"}},yH={class:"flex blue center"},EH={class:"flex blue center"},_H=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),NH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),VH={class:"summary-item"},fH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),gH={class:"blue center",style:{width:"20%"}},DH={class:"blue center",style:{width:"17%"}},xH={class:"flex blue center"},bH={class:"flex blue center"},CH={class:"flex blue center"},SH={class:"flex blue center"},kH={class:"summary-item"},AH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),BH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),wH={class:"blue center",style:{width:"17%"}},TH={class:"flex blue center"},OH={class:"flex blue center"},FH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),PH={class:"section cp-section"},LH=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),WH={class:"report-summary"},HH={class:"summary-item"},MH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),GH={class:"flexL blue center"},IH={class:"summary-item"},RH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),zH={class:"flexL blue center"},UH={class:"summary-item"},YH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),ZH={class:"flexL blue center"},QH={class:"section port-section"},JH={class:"subtitle port"},$H=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),KH={class:"print-hidden"},qH={class:"report-port"},XH=B(()=>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)),jH={rowspan:2},vH=B(()=>e.createElementVNode("td",null,"Arrival",-1)),eM=B(()=>e.createElementVNode("td",null,null,-1)),tM=B(()=>e.createElementVNode("td",null,null,-1)),oM={rowspan:2,class:"print-hidden"},lM=B(()=>e.createElementVNode("td",null,"Departure",-1)),aM=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),nM=B(()=>e.createElementVNode("td",null,null,-1)),sM=B(()=>e.createElementVNode("td",null,null,-1)),iM=B(()=>e.createElementVNode("td",null,null,-1)),cM=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),dM={class:"section distance-section"},rM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),mM={class:"report-summary"},pM=B(()=>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)),hM={class:"summary-item"},yM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),EM={class:"flex blue center"},_M={class:"flex blue center"},NM={class:"summary-item"},VM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),fM={class:"flex blue center"},gM={class:"section time-section"},DM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),xM={key:0,class:"report-formular"},bM={class:"equation"},CM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),SM={class:"function",style:{width:"20%"}},kM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BM={style:{width:"10%"}},wM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),TM={class:"equation"},OM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:28%;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),FM={style:{width:"5%"}},uM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),PM={style:{width:"8%"}},LM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),WM={style:{width:"4%"}},HM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),MM={key:1,class:"report-formular"},GM={class:"equation"},IM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),RM={class:"function",style:{width:"20%"}},zM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YM={style:{width:"10%"}},ZM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QM={key:0,class:"equation"},JM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:30%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),$M={style:{width:"5%"}},KM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),qM={style:{width:"5%"}},XM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jM={style:{width:"5%"}},vM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eG={key:1,class:"equation"},tG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>Time spent in port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',8),oG={style:{width:"5%"}},lG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),aG={style:{width:"5%"}},nG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),sG={style:{width:"5%"}},iG=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),cG={style:{width:"5%"}},dG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),rG={key:2,class:"report-summary"},mG={class:"summary-item"},pG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),hG={class:"flex blue center"},yG={class:"summary-item"},EG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),_G={class:"flex blue center"},NG={class:"summary-item"},VG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),fG={class:"flex blue center"},gG={key:3,class:"report-summary"},DG={class:"summary-item"},xG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),bG={class:"flex blue center"},CG={class:"summary-item"},SG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),kG={class:"flex blue center"},AG={key:0,class:"summary-item"},BG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),wG={class:"flex blue center"},TG={class:"summary-item"},OG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),FG={class:"flex blue center"},uG={class:"section consumption-section"},PG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),LG={key:0,class:"report-formular"},WG={class:"equation"},HG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),MG={class:"function",style:{width:"5%"}},GG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),RG={class:"function",style:{width:"5%"}},zG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UG=B(()=>e.createElementVNode("div",null,"24",-1)),YG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),ZG={style:{width:"5%"}},QG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),JG={class:"equation"},$G=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),KG={style:{width:"5%"}},qG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),XG={style:{width:"5%"}},jG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vG={style:{width:"5%"}},eI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tI={class:"equation"},oI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),lI={class:"function",style:{width:"5%"}},aI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sI={class:"function",style:{width:"5%"}},iI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cI=B(()=>e.createElementVNode("div",null,"24",-1)),dI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rI={style:{width:"5%"}},mI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),pI={class:"equation"},hI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),yI={style:{width:"5%"}},EI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_I={style:{width:"5%"}},NI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VI={style:{width:"5%"}},fI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gI={key:1,class:"report-formular"},DI={class:"equation"},xI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),bI={class:"function",style:{width:"5%"}},CI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),kI={class:"function",style:{width:"5%"}},AI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BI=B(()=>e.createElementVNode("div",null,"24",-1)),wI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TI={style:{width:"5%"}},OI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),FI={class:"equation"},uI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),PI={class:"function",style:{width:"5%"}},LI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HI={class:"function",style:{width:"5%"}},MI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GI=B(()=>e.createElementVNode("div",null,"24",-1)),II=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RI={style:{width:"5%"}},zI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UI={key:0,class:"equation"},YI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),ZI={style:{width:"5%"}},QI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),JI={style:{width:"5%"}},$I=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KI={style:{width:"5%"}},qI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XI={key:1,class:"equation"},jI=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>FO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),vI={style:{width:"5%"}},eR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tR={style:{width:"5%"}},oR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),lR={style:{width:"5%"}},aR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nR={style:{width:"5%"}},sR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iR={key:2,class:"equation"},cR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),dR={style:{width:"5%"}},rR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),mR={style:{width:"5%"}},pR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hR={style:{width:"5%"}},yR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ER={key:3,class:"equation"},_R=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>DO/GO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),NR={style:{width:"5%"}},VR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fR={style:{width:"5%"}},gR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),DR={style:{width:"5%"}},xR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),bR={style:{width:"5%"}},CR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SR={key:2,class:"report-summary"},kR=B(()=>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)),AR={class:"summary-item"},BR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),wR={class:"flex blue center"},TR={class:"flex blue center"},OR={class:"summary-item"},FR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),uR={class:"flex blue center"},PR={class:"flex blue center"},LR={class:"summary-item"},WR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),HR={key:3,class:"report-summary"},MR=B(()=>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)),GR={class:"summary-item"},IR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),RR={class:"flex blue center"},zR={class:"flex blue center"},UR={class:"summary-item"},YR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),ZR={class:"flex blue center"},QR={class:"flex blue center"},JR={key:0,class:"summary-item"},$R=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),KR={class:"flex blue center"},qR={class:"flex blue center"},XR={class:"summary-item"},jR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),vR={class:"section comment-section"},ez=["innerHTML"];function tz(t,s,o,c,l,a){var N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo,G,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,$o,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Nl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,ul,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,$l,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,ua,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,ae,ro,Qa,Ja,$a;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),_=e.resolveComponent("CirclePlus"),D=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fW,[e.createVNode(h,{name:"Voyage Deviation Report"}),e.createElementVNode("div",gW,[e.createElementVNode("div",DW,[e.createElementVNode("div",xW,[bW,e.createElementVNode("div",CW,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",SW,[kW,e.createElementVNode("div",AW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",BW,[wW,e.createElementVNode("div",TW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",OW,[FW,e.createElementVNode("div",uW,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",PW,[LW,e.createElementVNode("div",WW,[e.createElementVNode("span",HW,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",MW,e.toDisplayString(a.computeUTCTime(((u=(b=l.extraData)==null?void 0:b.departure)==null?void 0:u.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",GW,[IW,e.createElementVNode("div",RW,[e.createElementVNode("span",zW,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",UW,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",YW,[ZW,e.createElementVNode("div",QW,[e.createElementVNode("div",JW,[$W,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=l.extraData)==null?void 0:$.extraDist)} flex blue`)},e.toDisplayString(((K=l.extraData)==null?void 0:K.extraDist)??"—"),3)]),e.createElementVNode("div",KW,[qW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",XW,[jW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(n=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:n.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((le=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:le.totalExtraCons)??"—"),3)]),e.createElementVNode("div",vW,[eH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((pe=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:pe.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",tH,[oH,e.createElementVNode("div",lH,[e.createElementVNode("img",{style:{width:"100%"},src:(ce=l.extraData)==null?void 0:ce.chartUrl,alt:""},null,8,aH),nH])]),((he=o.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",sH,[iH,e.createElementVNode("div",cH,[dH,e.createElementVNode("div",rH,[mH,e.createElementVNode("div",pH,e.toDisplayString(a.computedLngLat((ge=l.extraData)==null?void 0:ge.startLng,(De=l.extraData)==null?void 0:De.startLat)),1),e.createElementVNode("div",hH,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",yH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",EH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),_H,NH]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",gH,e.toDisplayString(a.computedLngLat((Se=l.extraData)==null?void 0:Se.endLng,(ke=l.extraData)==null?void 0:ke.endLat)),1),e.createElementVNode("div",DH,e.toDisplayString(a.computeUTCTime((Ae=l.extraData)==null?void 0:Ae.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",xH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",bH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",CH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",SH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ve=l.extraData)==null?void 0:Ve.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",kH,[AH,BH,e.createElementVNode("div",wH,e.toDisplayString(((ye=(F=l.extraData)==null?void 0:F.timeAnalysis)==null?void 0:ye.actualTime)??"—"),1),e.createElementVNode("div",TH,e.toDisplayString(((We=(Le=(Pe=l.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",OH,e.toDisplayString((($e=(He=(we=l.extraData)==null?void 0:we.consAnalysis)==null?void 0:He.dgo)==null?void 0:$e.actualCons)??"—"),1),FH,uH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",PH,[LH,e.createElementVNode("div",WH,[e.createElementVNode("div",HH,[MH,e.createElementVNode("div",GH,e.toDisplayString(((U=(Ke=l.extraData)==null?void 0:Ke.cp)==null?void 0:U.speed)??"—"),1)]),e.createElementVNode("div",IH,[RH,e.createElementVNode("div",zH,e.toDisplayString(((ze=(Oe=l.extraData)==null?void 0:Oe.cp)==null?void 0:ze.fo)??"—"),1)]),e.createElementVNode("div",UH,[YH,e.createElementVNode("div",ZH,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",QH,[e.createElementVNode("div",JH,[$H,e.createElementVNode("div",KH,[e.createVNode(D,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(_)]),_:1},8,["onClick"])])]),e.createElementVNode("div",qH,[e.createElementVNode("table",null,[XH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ka,qa,Xa,rt,ln,an,nn,sn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",jH,[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:Pt=>a.handleCommit("port","name",Pt,mo)},null,8,["value","options","onSelect","onCommit"])]),vH,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Pt=>a.handleCommit("port","arrival.date",Pt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=ne==null?void 0:ne.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","arrival.foBrob",Pt,mo)},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.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","arrival.dgoBrob",Pt,mo)},null,8,["value","onCommit"])]),eM,tM,e.createElementVNode("td",oM,[e.createVNode(D,{size:20,onClick:Pt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[lM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=ne==null?void 0:ne.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Pt=>a.handleCommit("port","departure.date",Pt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ln=ne==null?void 0:ne.departure)==null?void 0:ln.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","departure.foBrob",Pt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=ne==null?void 0:ne.departure)==null?void 0:an.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","departure.dgoBrob",Pt,mo)},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.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","departure.bunkeringFo",Pt,mo)},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.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Pt=>a.handleCommit("port","departure.bunkeringDgo",Pt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[aM,nM,e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Q=(E=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:E.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Te=(fe=l.extraData)==null?void 0:fe.consAnalysis)==null?void 0:Te.dgo)==null?void 0:Me.portCons)??"—"),1),sM,iM,cM])])])])]),e.createElementVNode("div",dM,[rM,e.createElementVNode("div",mM,[pM,e.createElementVNode("div",hM,[yM,e.createElementVNode("div",EM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",_M,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(qe=l.extraData)==null?void 0:qe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,e.toDisplayString(((je=l.extraData)==null?void 0:je.extraDist)??"—"),1)])])]),e.createElementVNode("div",gM,[DM,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",xM,[e.createElementVNode("div",bM,[CM,e.createElementVNode("div",SM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),kM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),AM,e.createElementVNode("div",BM,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),wM]),e.createElementVNode("div",TM,[OM,e.createElementVNode("div",FM,e.toDisplayString((ht=(pt=l.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:ht.sailingTime),1),uM,e.createElementVNode("div",PM,e.toDisplayString(a.computeNum((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.portTime)),1),LM,e.createElementVNode("div",WM,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),HM])])):(e.openBlock(),e.createElementBlock("div",MM,[e.createElementVNode("div",GM,[IM,e.createElementVNode("div",RM,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),zM,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),UM,e.createElementVNode("div",YM,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.sailingTime),1),ZM]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",QM,[JM,e.createElementVNode("div",$M,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.actualTime),1),KM,e.createElementVNode("div",qM,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),XM,e.createElementVNode("div",jM,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),vM])):(e.openBlock(),e.createElementBlock("div",eG,[tG,e.createElementVNode("div",oG,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),lG,e.createElementVNode("div",aG,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),nG,e.createElementVNode("div",sG,e.toDisplayString((_o=(Eo=l.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:_o.portTime),1),iG,e.createElementVNode("div",cG,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),dG]))])),((G=o.report)==null?void 0:G.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",rG,[e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,e.toDisplayString(((Ot=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ot.sailingTime)??"—"),1)]),e.createElementVNode("div",yG,[EG,e.createElementVNode("div",_G,e.toDisplayString(((Mt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",gG,[e.createElementVNode("div",DG,[xG,e.createElementVNode("div",bG,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",CG,[SG,e.createElementVNode("div",kG,e.toDisplayString((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",AG,[BG,e.createElementVNode("div",wG,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",TG,[OG,e.createElementVNode("div",FG,e.toDisplayString(($t=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])]))]),e.createElementVNode("div",uG,[PG,((Kt=o.report)==null?void 0:Kt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",LG,[e.createElementVNode("div",WG,[HG,e.createElementVNode("div",MG,[e.createElementVNode("div",null,e.toDisplayString((qt=l.extraData)==null?void 0:qt.extraDist),1),GG,e.createElementVNode("div",null,e.toDisplayString((jt=(Xt=l.extraData)==null?void 0:Xt.cp)==null?void 0:jt.speed),1)]),IG,e.createElementVNode("div",RG,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),zG,UG]),YG,e.createElementVNode("div",ZG,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),QG]),e.createElementVNode("div",JG,[$G,e.createElementVNode("div",KG,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),qG,e.createElementVNode("div",XG,e.toDisplayString(a.computeNum((fo=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:fo.portCons)),1),jG,e.createElementVNode("div",vG,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),eI]),e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),aI,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),nI,e.createElementVNode("div",sI,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),iI,cI]),dI,e.createElementVNode("div",rI,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),mI]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",yI,e.toDisplayString((uo=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:uo.sailingCons),1),EI,e.createElementVNode("div",_I,e.toDisplayString(a.computeNum((Wo=(Lo=(Po=l.extraData)==null?void 0:Po.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:Wo.portCons)),1),NI,e.createElementVNode("div",VI,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),fI])])):(e.openBlock(),e.createElementBlock("div",gI,[e.createElementVNode("div",DI,[xI,e.createElementVNode("div",bI,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),CI,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),SI,e.createElementVNode("div",kI,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.fo),1),AI,BI]),wI,e.createElementVNode("div",TI,e.toDisplayString((qo=(Ko=($o=l.extraData)==null?void 0:$o.consAnalysis)==null?void 0:Ko.fo)==null?void 0:qo.sailingCons),1),OI]),e.createElementVNode("div",FI,[uI,e.createElementVNode("div",PI,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),LI,e.createElementVNode("div",null,e.toDisplayString((vo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:vo.speed),1)]),WI,e.createElementVNode("div",HI,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.extraData)==null?void 0:el.cp)==null?void 0:tl.dgo),1),MI,GI]),II,e.createElementVNode("div",RI,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.dgo)==null?void 0:al.sailingCons),1),zI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",UI,[YI,e.createElementVNode("div",ZI,e.toDisplayString((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.actualCons),1),QI,e.createElementVNode("div",JI,e.toDisplayString(a.computeNum((rl=(dl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:dl.fo)==null?void 0:rl.sailingCons)),1),$I,e.createElementVNode("div",KI,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.fo)==null?void 0:hl.totalExtraCons),1),qI])):(e.openBlock(),e.createElementBlock("div",XI,[jI,e.createElementVNode("div",vI,e.toDisplayString((ut=(El=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:ut.actualCons),1),eR,e.createElementVNode("div",tR,e.toDisplayString(a.computeNum((xl=(Dl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Dl.fo)==null?void 0:xl.sailingCons)),1),oR,e.createElementVNode("div",lR,e.toDisplayString(a.computeNum((Sl=(Cl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:Cl.fo)==null?void 0:Sl.portCons)),1),aR,e.createElementVNode("div",nR,e.toDisplayString((Bl=(Al=(kl=l.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Al.fo)==null?void 0:Bl.totalExtraCons),1),sR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iR,[cR,e.createElementVNode("div",dR,e.toDisplayString((Ol=(Tl=(wl=l.extraData)==null?void 0:wl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Ol.actualCons),1),rR,e.createElementVNode("div",mR,e.toDisplayString((Pl=(ul=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Pl.sailingCons),1),pR,e.createElementVNode("div",hR,e.toDisplayString((Hl=(Wl=(Ll=l.extraData)==null?void 0:Ll.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Hl.totalExtraCons),1),yR])):(e.openBlock(),e.createElementBlock("div",ER,[_R,e.createElementVNode("div",NR,e.toDisplayString((Il=(Gl=(Ml=l.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Il.actualCons),1),VR,e.createElementVNode("div",fR,e.toDisplayString(a.computeNum((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)),1),gR,e.createElementVNode("div",DR,e.toDisplayString(a.computeNum((Ql=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.dgo)==null?void 0:Ql.portCons)),1),xR,e.createElementVNode("div",bR,e.toDisplayString((Kl=($l=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Kl.totalExtraCons),1),CR]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",SR,[kR,e.createElementVNode("div",AR,[BR,e.createElementVNode("div",wR,e.toDisplayString(((vl=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:vl.sailingCons)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.sailingCons)??"—"),1)]),e.createElementVNode("div",OR,[FR,e.createElementVNode("div",uR,e.toDisplayString(((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.portCons)??"—"),1),e.createElementVNode("div",PR,e.toDisplayString(((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.dgo)==null?void 0:ca.portCons)??"—"),1)]),e.createElementVNode("div",LR,[WR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.fo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((ya=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.fo)==null?void 0:ya.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Na=(_a=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Na.totalExtraCons)} flex blue center`)},e.toDisplayString(((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",HR,[MR,e.createElementVNode("div",GR,[IR,e.createElementVNode("div",RR,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.sailingCons),1),e.createElementVNode("div",zR,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.sailingCons),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.actualCons),1),e.createElementVNode("div",QR,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",JR,[$R,e.createElementVNode("div",KR,e.toDisplayString((La=(Pa=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Pa.fo)==null?void 0:La.portCons),1),e.createElementVNode("div",qR,e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.dgo)==null?void 0:Ma.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",XR,[jR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.fo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.fo)==null?void 0:Ya.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Ja=(Qa=l.extraData)==null?void 0:Qa.consAnalysis)==null?void 0:Ja.dgo)==null?void 0:$a.totalExtraCons),3)])]))]),e.createElementVNode("div",vR,[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(y,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ne=>l.advisory=ne),height:"320px",onBlur:s[9]||(s[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[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,ez))],2)])])}const Bn=Ee(VW,[["render",tz],["__scopeId","data-v-4829e189"]]),wte="",oz={name:"FliDvtRpt",components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro},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+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZW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wbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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,s="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(s));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}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,s,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.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 s=await gl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.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,h;this.extraPortList.splice(t,1);const s=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(h=this.data)==null?void 0:h.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,o,c){var h,i,_,D,S;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=s.substring(0,l),x=s.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await gl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(h=y==null?void 0:y.data)==null?void 0:h.data,this.extraPortList=(_=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:_.extraPorts,this.advisory=(D=this.data)!=null&&D.comments?(S=this.data)==null?void 0:S.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),lz={class:"deviation-report"},az=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),nz={class:"report-header"},sz={class:"header-title",style:{position:"relative !important"}},iz={class:"header-title-content"},cz=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),dz={class:"title-date"},rz={class:"report-summary"},mz={class:"summary-item"},pz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),hz={class:"flexL gray"},yz={class:"summary-item"},Ez=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),_z={class:"flexL gray"},Nz={class:"summary-item"},Vz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),fz={class:"flexL gray"},gz={class:"summary-item"},Dz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),xz={class:"flexL gray"},bz={class:"summary-item"},Cz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),Sz={class:"flexL gray",style:{display:"flex"}},kz={class:"flex"},Az={class:"flexM"},Bz={class:"summary-item"},wz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Tz={class:"flexL gray",style:{display:"flex"}},Oz={class:"flex"},Fz={class:"flexM"},uz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Pz={class:"report-summary"},Lz={class:"summary-item"},Wz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),Hz={class:"summary-item"},Mz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),Gz={class:"summary-item"},Iz=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),Rz={class:"summary-item"},zz=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Uz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),Yz={class:"report-map"},Zz=["src"],Qz=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),Jz=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),$z={key:0,class:"subtitle"},Kz={key:1,class:"report-summary"},qz=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),Xz={class:"summary-item"},jz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),vz={class:"blue center",style:{width:"20%"}},eU={class:"blue center",style:{width:"17%"}},tU={class:"flex blue center"},oU={class:"flex blue center"},lU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),nU={class:"summary-item"},sU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),iU={class:"blue center",style:{width:"20%"}},cU={class:"blue center",style:{width:"17%"}},dU={class:"flex blue center"},rU={class:"flex blue center"},mU={class:"flex blue center"},pU={class:"flex blue center"},hU={class:"summary-item"},yU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),EU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),_U={class:"blue center",style:{width:"17%"}},NU={class:"flex blue center"},VU={class:"flex blue center"},fU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),gU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),DU=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),xU={class:"report-summary"},bU={class:"summary-item"},CU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),SU={class:"flexL blue center"},kU={class:"summary-item"},AU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),BU={class:"flexL blue center"},wU={class:"summary-item"},TU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),OU={class:"flexL blue center"},FU={class:"subtitle port"},uU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),PU={class:"print-hidden"},LU={class:"report-port"},WU=A(()=>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)),HU={rowspan:2},MU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),GU=A(()=>e.createElementVNode("td",null,null,-1)),IU=A(()=>e.createElementVNode("td",null,null,-1)),RU={rowspan:2,class:"print-hidden"},zU=A(()=>e.createElementVNode("td",null,"Departure",-1)),UU=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),YU=A(()=>e.createElementVNode("td",null,null,-1)),ZU=A(()=>e.createElementVNode("td",null,null,-1)),QU=A(()=>e.createElementVNode("td",null,null,-1)),JU=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),$U=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),KU={class:"report-summary"},qU=A(()=>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)),XU={class:"summary-item"},jU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),vU={class:"flex blue center"},eY={class:"flex blue center"},tY={class:"summary-item"},oY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),lY={class:"flex blue center"},aY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),nY={key:2,class:"report-formular"},sY={class:"equation"},iY=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),cY={class:"function",style:{width:"20%"}},dY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),mY={style:{width:"10%"}},pY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),hY={class:"equation"},yY=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),EY={style:{width:"5%"}},_Y=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),NY={style:{width:"8%"}},VY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),fY={style:{width:"4%"}},gY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),DY={key:3,class:"report-formular"},xY={class:"equation"},bY=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),CY={class:"function",style:{width:"20%"}},SY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AY={style:{width:"10%"}},BY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wY={key:0,class:"equation"},TY=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),OY={style:{width:"5%"}},FY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uY={style:{width:"5%"}},PY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),LY={style:{width:"5%"}},WY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),HY={key:1,class:"equation"},MY=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),GY={style:{width:"5%"}},IY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),RY={style:{width:"5%"}},zY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),UY={style:{width:"5%"}},YY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),ZY={style:{width:"5%"}},QY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),JY={key:4,class:"report-summary"},$Y={class:"summary-item"},KY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),qY={class:"flex blue center"},XY={class:"summary-item"},jY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),vY={class:"flex blue center"},eZ={class:"summary-item"},tZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),oZ={class:"flex blue center"},lZ={key:5,class:"report-summary"},aZ={class:"summary-item"},nZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),sZ={class:"flex blue center"},iZ={class:"summary-item"},cZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),dZ={class:"flex blue center"},rZ={key:0,class:"summary-item"},mZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),pZ={class:"flex blue center"},hZ={class:"summary-item"},yZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),EZ={class:"flex blue center"},_Z=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),NZ={key:6,class:"report-formular"},VZ={class:"equation"},fZ=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),gZ={class:"function",style:{width:"5%"}},DZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),bZ={class:"function",style:{width:"5%"}},CZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SZ=A(()=>e.createElementVNode("div",null,"24",-1)),kZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),AZ={style:{width:"5%"}},BZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wZ={class:"equation"},TZ=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),OZ={style:{width:"5%"}},FZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),uZ={style:{width:"5%"}},PZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LZ={style:{width:"5%"}},WZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),HZ={class:"equation"},MZ=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),GZ={class:"function",style:{width:"5%"}},IZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),zZ={class:"function",style:{width:"5%"}},UZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),YZ=A(()=>e.createElementVNode("div",null,"24",-1)),ZZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QZ={style:{width:"5%"}},JZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$Z={class:"equation"},KZ=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),qZ={style:{width:"5%"}},XZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jZ={style:{width:"5%"}},vZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eQ={style:{width:"5%"}},tQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oQ={key:7,class:"report-formular"},lQ={class:"equation"},aQ=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),nQ={class:"function",style:{width:"5%"}},sQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),cQ={class:"function",style:{width:"5%"}},dQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rQ=A(()=>e.createElementVNode("div",null,"24",-1)),mQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),pQ={style:{width:"5%"}},hQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),yQ={class:"equation"},EQ=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),_Q={class:"function",style:{width:"5%"}},NQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),fQ={class:"function",style:{width:"5%"}},gQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DQ=A(()=>e.createElementVNode("div",null,"24",-1)),xQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),bQ={style:{width:"5%"}},CQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SQ={key:0,class:"equation"},kQ=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),AQ={style:{width:"5%"}},BQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wQ={style:{width:"5%"}},TQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OQ={style:{width:"5%"}},FQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uQ={key:1,class:"equation"},PQ=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),LQ={style:{width:"5%"}},WQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),HQ={style:{width:"5%"}},MQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),GQ={style:{width:"5%"}},IQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RQ={style:{width:"5%"}},zQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UQ={key:2,class:"equation"},YQ=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),ZQ={style:{width:"5%"}},QQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),JQ={style:{width:"5%"}},$Q=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KQ={style:{width:"5%"}},qQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XQ={key:3,class:"equation"},jQ=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),vQ={style:{width:"5%"}},eJ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tJ={style:{width:"5%"}},oJ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),lJ={style:{width:"5%"}},aJ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nJ={style:{width:"5%"}},sJ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iJ={key:8,class:"report-summary"},cJ=A(()=>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)),dJ={class:"summary-item"},rJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),mJ={class:"flex blue center"},pJ={class:"flex blue center"},hJ={class:"summary-item"},yJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),EJ={class:"flex blue center"},_J={class:"flex blue center"},NJ={class:"summary-item"},VJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),fJ={key:9,class:"report-summary"},gJ=A(()=>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)),DJ={class:"summary-item"},xJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),bJ={class:"flex blue center"},CJ={class:"flex blue center"},SJ={class:"summary-item"},kJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),AJ={class:"flex blue center"},BJ={class:"flex blue center"},wJ={key:0,class:"summary-item"},TJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),OJ={class:"flex blue center"},FJ={class:"flex blue center"},uJ={class:"summary-item"},PJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),LJ=["innerHTML"];function WJ(t,s,o,c,l,a){var y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we,He,$e,Ke,U,Oe,ze,Ue,Ye,Ze,Qe,Je,E,Q,fe,Te,Me,me,qe,je,ve,ot,lt,at,nt,mt,pt,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,po,Eo,_o,No,Vo,G,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,$t,Kt,qt,Xt,jt,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,uo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,$o,Ko,qo,Xo,jo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,ut,Nl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,ul,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,$l,Kl,ql,Xl,jl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,ua,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za;const h=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),_=e.resolveComponent("ElIcon"),D=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",lz,[az,e.createElementVNode("div",nz,[e.createElementVNode("div",sz,[e.createElementVNode("div",iz,[cz,e.createElementVNode("div",dz,e.toDisplayString(a.computeUTCTime((y=l.extraData)==null?void 0:y.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",rz,[e.createElementVNode("div",mz,[pz,e.createElementVNode("div",hz,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",yz,[Ez,e.createElementVNode("div",_z,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",gz,[Dz,e.createElementVNode("div",xz,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",bz,[Cz,e.createElementVNode("div",Sz,[e.createElementVNode("span",kz,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",Az,e.toDisplayString(a.computeUTCTime(((u=(b=l.extraData)==null?void 0:b.departure)==null?void 0:u.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",Bz,[wz,e.createElementVNode("div",Tz,[e.createElementVNode("span",Oz,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",Fz,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:H.eta))),1)])])]),uz,e.createElementVNode("div",Pz,[e.createElementVNode("div",Lz,[Wz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=l.extraData)==null?void 0:$.extraDist)} flex blue`)},e.toDisplayString(((K=l.extraData)==null?void 0:K.extraDist)??"—"),3)]),e.createElementVNode("div",Hz,[Mz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=(X=l.extraData)==null?void 0:X.timeAnalysis)==null?void 0:q.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",Gz,[Iz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=(n=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:n.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((le=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:le.totalExtraCons)??"—"),3)]),e.createElementVNode("div",Rz,[zz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((pe=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:pe.totalExtraCons)??"—"),3)])]),Uz,e.createElementVNode("div",Yz,[e.createElementVNode("img",{style:{width:"100%"},src:(ce=l.extraData)==null?void 0:ce.chartUrl,alt:""},null,8,Zz),Qz]),Jz,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",$z,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Kz,[qz,e.createElementVNode("div",Xz,[jz,e.createElementVNode("div",vz,e.toDisplayString(a.computedLngLat((he=l.extraData)==null?void 0:he.startLng,(ge=l.extraData)==null?void 0:ge.startLat)),1),e.createElementVNode("div",eU,e.toDisplayString(a.computeUTCTime((De=l.extraData)==null?void 0:De.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",tU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(xe=l.extraData)==null?void 0:xe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",oU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),lU,aU]),e.createElementVNode("div",nU,[sU,e.createElementVNode("div",iU,e.toDisplayString(a.computedLngLat((Ce=l.extraData)==null?void 0:Ce.endLng,(Se=l.extraData)==null?void 0:Se.endLat)),1),e.createElementVNode("div",cU,e.toDisplayString(a.computeUTCTime((ke=l.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",dU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",rU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",mU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",pU,[e.createVNode(h,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",hU,[yU,EU,e.createElementVNode("div",_U,e.toDisplayString(((F=(Ve=l.extraData)==null?void 0:Ve.timeAnalysis)==null?void 0:F.actualTime)??"—"),1),e.createElementVNode("div",NU,e.toDisplayString(((Le=(Pe=(ye=l.extraData)==null?void 0:ye.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",VU,e.toDisplayString(((He=(we=(We=l.extraData)==null?void 0:We.consAnalysis)==null?void 0:we.dgo)==null?void 0:He.actualCons)??"—"),1),fU,gU])])),DU,e.createElementVNode("div",xU,[e.createElementVNode("div",bU,[CU,e.createElementVNode("div",SU,e.toDisplayString(((Ke=($e=l.extraData)==null?void 0:$e.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",kU,[AU,e.createElementVNode("div",BU,e.toDisplayString(((Oe=(U=l.extraData)==null?void 0:U.cp)==null?void 0:Oe.fo)??"—"),1)]),e.createElementVNode("div",wU,[TU,e.createElementVNode("div",OU,e.toDisplayString(((Ue=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",FU,[uU,e.createElementVNode("div",PU,[e.createVNode(_,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",LU,[e.createElementVNode("table",null,[WU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Qa,Ja,$a,ne,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",HU,[e.createVNode(h,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),MU,e.createElementVNode("td",null,[e.createVNode(h,{class:"check editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:($a=ae==null?void 0:ae.arrival)==null?void 0:$a.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),GU,IU,e.createElementVNode("td",RU,[e.createVNode(_,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[zU,e.createElementVNode("td",null,[e.createVNode(h,{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:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:(mo=ae==null?void 0:ae.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:(qa=ae==null?void 0:ae.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(h,{class:"editable-item",value:(Xa=ae==null?void 0:ae.departure)==null?void 0:Xa.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[UU,YU,e.createElementVNode("td",null,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.timeAnalysis)==null?void 0:Ze.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((E=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:E.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Te=(fe=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:fe.dgo)==null?void 0:Te.portCons)??"—"),1),ZU,QU,JU])])])]),$U,e.createElementVNode("div",KU,[qU,e.createElementVNode("div",XU,[jU,e.createElementVNode("div",vU,[e.createVNode(h,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",eY,[e.createVNode(h,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",tY,[oY,e.createElementVNode("div",lY,e.toDisplayString(((qe=l.extraData)==null?void 0:qe.extraDist)??"—"),1)])]),aY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",nY,[e.createElementVNode("div",sY,[iY,e.createElementVNode("div",cY,[e.createElementVNode("div",null,e.toDisplayString((je=l.extraData)==null?void 0:je.extraDist),1),dY,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),rY,e.createElementVNode("div",mY,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),pY]),e.createElementVNode("div",hY,[yY,e.createElementVNode("div",EY,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),_Y,e.createElementVNode("div",NY,e.toDisplayString(a.computeNum((ht=(pt=l.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:ht.portTime)),1),VY,e.createElementVNode("div",fY,e.toDisplayString((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.totalExtraTime),1),gY])])):(e.openBlock(),e.createElementBlock("div",DY,[e.createElementVNode("div",xY,[bY,e.createElementVNode("div",CY,[e.createElementVNode("div",null,e.toDisplayString((_t=l.extraData)==null?void 0:_t.priorDist),1),SY,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.cp)==null?void 0:Vt.speed),1)]),kY,e.createElementVNode("div",AY,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.sailingTime),1),BY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",wY,[TY,e.createElementVNode("div",OY,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.actualTime),1),FY,e.createElementVNode("div",uY,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.sailingTime),1),PY,e.createElementVNode("div",LY,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.totalExtraTime),1),WY])):(e.openBlock(),e.createElementBlock("div",HY,[MY,e.createElementVNode("div",GY,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.actualTime),1),IY,e.createElementVNode("div",RY,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),zY,e.createElementVNode("div",UY,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),YY,e.createElementVNode("div",ZY,e.toDisplayString((_o=(Eo=l.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),QY]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",JY,[e.createElementVNode("div",$Y,[KY,e.createElementVNode("div",qY,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",XY,[jY,e.createElementVNode("div",vY,e.toDisplayString(((tt=(G=l.extraData)==null?void 0:G.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,e.toDisplayString(((Ft=(Ot=l.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",lZ,[e.createElementVNode("div",aZ,[nZ,e.createElementVNode("div",sZ,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",iZ,[cZ,e.createElementVNode("div",dZ,e.toDisplayString((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",rZ,[mZ,e.createElementVNode("div",pZ,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",hZ,[yZ,e.createElementVNode("div",EZ,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),_Z,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",NZ,[e.createElementVNode("div",VZ,[fZ,e.createElementVNode("div",gZ,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),DZ,e.createElementVNode("div",null,e.toDisplayString(($t=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:$t.speed),1)]),xZ,e.createElementVNode("div",bZ,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=l.extraData)==null?void 0:Kt.cp)==null?void 0:qt.fo),1),CZ,SZ]),kZ,e.createElementVNode("div",AZ,e.toDisplayString((vt=(jt=(Xt=l.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:jt.fo)==null?void 0:vt.sailingCons),1),BZ]),e.createElementVNode("div",wZ,[TZ,e.createElementVNode("div",OZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),FZ,e.createElementVNode("div",uZ,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),PZ,e.createElementVNode("div",LZ,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),WZ]),e.createElementVNode("div",HZ,[MZ,e.createElementVNode("div",GZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),IZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),RZ,e.createElementVNode("div",zZ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),UZ,YZ]),ZZ,e.createElementVNode("div",QZ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),JZ]),e.createElementVNode("div",$Z,[KZ,e.createElementVNode("div",qZ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),XZ,e.createElementVNode("div",jZ,e.toDisplayString(a.computeNum((Fo=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:Fo.portCons)),1),vZ,e.createElementVNode("div",eQ,e.toDisplayString((Lo=(Po=(uo=l.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),tQ])])):(e.openBlock(),e.createElementBlock("div",oQ,[e.createElementVNode("div",lQ,[aQ,e.createElementVNode("div",nQ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),sQ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),iQ,e.createElementVNode("div",cQ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),dQ,rQ]),mQ,e.createElementVNode("div",pQ,e.toDisplayString((Qo=(Zo=(Yo=l.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.fo)==null?void 0:Qo.sailingCons),1),hQ]),e.createElementVNode("div",yQ,[EQ,e.createElementVNode("div",_Q,[e.createElementVNode("div",null,e.toDisplayString((Jo=l.extraData)==null?void 0:Jo.priorDist),1),NQ,e.createElementVNode("div",null,e.toDisplayString((Ko=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:Ko.speed),1)]),VQ,e.createElementVNode("div",fQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Xo.dgo),1),gQ,DQ]),xQ,e.createElementVNode("div",bQ,e.toDisplayString((el=(vo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:vo.dgo)==null?void 0:el.sailingCons),1),CQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",SQ,[kQ,e.createElementVNode("div",AQ,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.actualCons),1),BQ,e.createElementVNode("div",wQ,e.toDisplayString(a.computeNum((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.sailingCons)),1),TQ,e.createElementVNode("div",OQ,e.toDisplayString((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.totalExtraCons),1),FQ])):(e.openBlock(),e.createElementBlock("div",uQ,[PQ,e.createElementVNode("div",LQ,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.actualCons),1),WQ,e.createElementVNode("div",HQ,e.toDisplayString(a.computeNum((El=(yl=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.sailingCons)),1),MQ,e.createElementVNode("div",GQ,e.toDisplayString(a.computeNum((Dl=(Nl=(ut=l.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Dl.portCons)),1),IQ,e.createElementVNode("div",RQ,e.toDisplayString((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.totalExtraCons),1),zQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",UQ,[YQ,e.createElementVNode("div",ZQ,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Al.actualCons),1),QQ,e.createElementVNode("div",JQ,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.sailingCons),1),$Q,e.createElementVNode("div",KQ,e.toDisplayString((ul=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:ul.totalExtraCons),1),qQ])):(e.openBlock(),e.createElementBlock("div",XQ,[jQ,e.createElementVNode("div",vQ,e.toDisplayString((Wl=(Ll=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.actualCons),1),eJ,e.createElementVNode("div",tJ,e.toDisplayString(a.computeNum((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.sailingCons)),1),oJ,e.createElementVNode("div",lJ,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.portCons)),1),aJ,e.createElementVNode("div",nJ,e.toDisplayString((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.totalExtraCons),1),sJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",iJ,[cJ,e.createElementVNode("div",dJ,[rJ,e.createElementVNode("div",mJ,e.toDisplayString((($l=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.fo)==null?void 0:$l.sailingCons)??"—"),1),e.createElementVNode("div",pJ,e.toDisplayString(((Xl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Xl.sailingCons)??"—"),1)]),e.createElementVNode("div",hJ,[yJ,e.createElementVNode("div",EJ,e.toDisplayString(((ea=(vl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:vl.fo)==null?void 0:ea.portCons)??"—"),1),e.createElementVNode("div",_J,e.toDisplayString(((la=(oa=(ta=l.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.dgo)==null?void 0:la.portCons)??"—"),1)]),e.createElementVNode("div",NJ,[VJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((sa=(na=(aa=l.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ca=(ia=l.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ca.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((pa=(ma=(ra=l.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(ya=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:ya.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",fJ,[gJ,e.createElementVNode("div",DJ,[xJ,e.createElementVNode("div",bJ,e.toDisplayString((Va=(Na=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Na.fo)==null?void 0:Va.sailingCons),1),e.createElementVNode("div",CJ,e.toDisplayString((Da=(ga=(fa=l.extraData)==null?void 0:fa.consAnalysis)==null?void 0:ga.dgo)==null?void 0:Da.sailingCons),1)]),e.createElementVNode("div",SJ,[kJ,e.createElementVNode("div",AJ,e.toDisplayString((Ca=(ba=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:Ca.actualCons),1),e.createElementVNode("div",BJ,e.toDisplayString((Aa=(ka=(Sa=l.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Aa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",wJ,[TJ,e.createElementVNode("div",OJ,e.toDisplayString((Ta=(wa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Ta.portCons),1),e.createElementVNode("div",FJ,e.toDisplayString((ua=(Fa=(Oa=l.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Fa.dgo)==null?void 0:ua.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",uJ,[PJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Wa=(La=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:La.fo)==null?void 0:Wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ma=(Ha=l.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Ma.fo)==null?void 0:Ga.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((za=(Ra=(Ia=l.extraData)==null?void 0:Ia.consAnalysis)==null?void 0:Ra.dgo)==null?void 0:za.totalExtraCons)} flex blue center`)},e.toDisplayString((Za=(Ya=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:Ya.dgo)==null?void 0:Za.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(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ae=>l.advisory=ae),height:"320px",onBlur:s[9]||(s[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[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,LJ))],2)])}const wn=Ee(oz,[["render",WJ],["__scopeId","data-v-77edf8aa"]]),HJ={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},Tte="",MJ={components:{IdmBrand:zo},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+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZK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H8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(s)}`}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=2){return t==="-"?"-":te.roundPrecision(t,s)}}}},yo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),GJ={class:"stoppage-report"},IJ={class:"report-summary"},RJ={class:"summary-item"},zJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),UJ={class:"flexL gray"},YJ={class:"summary-item"},ZJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),QJ={class:"flexL gray"},JJ={class:"summary-item"},$J=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),KJ={class:"flexL gray"},qJ={class:"summary-item"},XJ=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),jJ={class:"flexL gray"},vJ={class:"summary-item"},e$=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),t$={class:"flexL gray",style:{display:"flex"}},o$={class:"flex"},l$={class:"flexM"},a$={class:"summary-item"},n$=yo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),s$={class:"flexL gray",style:{display:"flex"}},i$={class:"flex"},c$={class:"flexM"},d$=yo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),r$={class:"report-summary"},m$={class:"summary-item"},p$=yo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),h$={class:"summary-item"},y$=yo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),E$={class:"summary-item"},_$=yo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),N$=yo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),V$={class:"report-table"},f$=yo(()=>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)),g$=yo(()=>e.createElementVNode("td",null,"Stopped",-1)),D$={rowspan:2},x$={rowspan:2},b$={rowspan:2},C$=yo(()=>e.createElementVNode("td",null,"Resumed",-1)),S$={class:"report-map"},k$=["src"];function A$(t,s,o,c,l,a){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie;const h=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",GJ,[e.createVNode(h,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",IJ,[e.createElementVNode("div",RJ,[zJ,e.createElementVNode("div",UJ,e.toDisplayString((_=(i=o.report)==null?void 0:i.vessel)==null?void 0:_.name),1)]),e.createElementVNode("div",YJ,[ZJ,e.createElementVNode("div",QJ,e.toDisplayString((D=o.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",JJ,[$J,e.createElementVNode("div",KJ,e.toDisplayString((y=(S=o.report)==null?void 0:S.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",qJ,[XJ,e.createElementVNode("div",jJ,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",vJ,[e$,e.createElementVNode("div",t$,[e.createElementVNode("span",o$,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",l$,e.toDisplayString(a.computeUTCTime(((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.atd)||((L=(P=o.report)==null?void 0:P.departure)==null?void 0:L.etd))),1)])]),e.createElementVNode("div",a$,[n$,e.createElementVNode("div",s$,[e.createElementVNode("span",i$,e.toDisplayString((b=(O=o.report)==null?void 0:O.arrival)==null?void 0:b.name),1),e.createElementVNode("span",c$,e.toDisplayString(a.computeUTCTime(((R=(u=o.report)==null?void 0:u.arrival)==null?void 0:R.ata)||((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.eta))),1)])])]),d$,e.createElementVNode("div",r$,[e.createElementVNode("div",m$,[p$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((W=o.report)==null?void 0:W.totalTime))},e.toDisplayString(((f=o.report)==null?void 0:f.totalTime)??"—"),5)]),e.createElementVNode("div",h$,[y$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((Y=o.report)==null?void 0:Y.totalFoCons))},e.toDisplayString(((I=o.report)==null?void 0:I.totalFoCons)??"—"),5)]),e.createElementVNode("div",E$,[_$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString((($=o.report)==null?void 0:$.totalDgoCons)??"—"),5)])]),N$,e.createElementVNode("div",V$,[e.createElementVNode("table",null,[f$,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[g$,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((K=o.report)==null?void 0:K.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((X=o.report)==null?void 0:X.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((q=o.report)==null?void 0:q.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((V=o.report)==null?void 0:V.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((M=o.report)==null?void 0:M.stopDgoBrob)??"-")),1),e.createElementVNode("td",D$,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",x$,e.toDisplayString(a.computeRoundPrecision(((n=o.report)==null?void 0:n.totalFoCons)??"-")),1),e.createElementVNode("td",b$,e.toDisplayString(a.computeRoundPrecision(((j=o.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[C$,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((le=o.report)==null?void 0:le.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",S$,[e.createElementVNode("img",{style:{width:"100%"},src:(ie=o.report)==null?void 0:ie.chartUrl,alt:""},null,8,k$)])])}const Tn=Ee(MJ,[["render",A$],["__scopeId","data-v-42f6f59f"]]),B$={install(t){t.component("StoppageReport",Tn)}},Ote="",w$={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:Ro,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAA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TkSuQmCC",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,s="MMM-DD/HHmm"){return t?`${w(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?te.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const o={[t]:s};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=s}}},Ie=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),T$={class:"comparison-report"},O$=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),F$={class:"report-header"},u$={class:"header-title",style:{position:"relative !important"}},P$=["src"],L$={class:"header-title-content"},W$=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),H$={class:"title-date"},M$={class:"report-summary"},G$={class:"summary-item"},I$=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),R$={class:"flexL gray"},z$={class:"summary-item"},U$=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Y$={class:"flexL gray"},Z$={class:"summary-item"},Q$=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),J$={class:"flexL gray"},$$={class:"summary-item"},K$=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),q$={class:"flexL gray"},X$={class:"summary-item"},j$=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),v$={class:"flexL gray"},eK={class:"summary-item"},tK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),oK={class:"flexL gray",style:{display:"flex"}},lK={class:"flex"},aK={class:"flexM"},nK={class:"summary-item"},sK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),iK={class:"flexL gray",style:{display:"flex"}},cK={class:"flex"},dK={class:"flexM"},rK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),mK={class:"report-summary"},pK={class:"summary-item"},hK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),yK={class:"summary-item"},EK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),_K={class:"summary-item"},NK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),VK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),fK={class:"report-map"},gK=["src"],DK=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),xK=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),bK={key:0,class:"subtitle"},CK={key:1,class:"report-summary"},SK={class:"summary-item"},kK=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),AK={class:"flexL blue center"},BK={class:"summary-item"},wK=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),TK={class:"flexL blue center"},OK={class:"summary-item"},FK=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),uK={class:"flexL blue center"},PK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),LK={class:"report-summary"},WK=Ie(()=>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)),HK={class:"summary-item"},MK=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),GK={class:"flex blue-light center"},IK={class:"flex blue-light center"},RK={class:"summary-item"},zK=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),UK={class:"flex blue-light center"},YK={class:"flex blue-light center"},ZK={class:"summary-item"},QK=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),JK={class:"flex blue-light center"},$K={class:"flex blue-light center"},KK={class:"summary-item"},qK=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),XK={class:"flex blue-light center"},jK={class:"flex blue-light center"},vK={class:"summary-item"},eq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),tq={class:"flex blue-light center"},oq={class:"flex blue-light center"},lq={class:"summary-item"},aq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),nq={class:"flex blue-light center"},sq={class:"flex blue-light center"},iq={class:"summary-item"},cq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),dq={class:"flex blue-light center italic"},rq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),mq={class:"report-summary"},pq=Ie(()=>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)),hq={class:"summary-item"},yq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Eq={class:"flex blue-light center"},_q={class:"flex blue-light center"},Nq={class:"summary-item"},Vq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),fq={class:"flex blue-light center"},gq={class:"flex blue-light center"},Dq={class:"summary-item"},xq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),bq={class:"flex blue-light center"},Cq={class:"flex blue-light center"},Sq={class:"summary-item"},kq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Aq={class:"flex blue-light center"},Bq={class:"flex blue-light center"},wq={class:"summary-item"},Tq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Oq={class:"flex blue-light center italic"},Fq={class:"summary-item"},uq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Pq={class:"flex blue-light center italic"},Lq=["innerHTML"];function Wq(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We,we;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",T$,[e.createVNode(h),O$,e.createElementVNode("div",F$,[e.createElementVNode("div",u$,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,P$),e.createElementVNode("div",L$,[W$,e.createElementVNode("div",H$,e.toDisplayString(a.computeUTCTime(((_=l.comparisonData)==null?void 0:_.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",M$,[e.createElementVNode("div",G$,[I$,e.createElementVNode("div",R$,e.toDisplayString((S=(D=l.comparisonData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",z$,[U$,e.createElementVNode("div",Y$,e.toDisplayString((y=l.comparisonData)==null?void 0:y.preparedFor),1)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",J$,e.toDisplayString((x=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:x.type),1)]),e.createElementVNode("div",$$,[K$,e.createElementVNode("div",q$,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",X$,[j$,e.createElementVNode("div",v$,e.toDisplayString((T=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:T.number),1)]),e.createElementVNode("div",eK,[tK,e.createElementVNode("div",oK,[e.createElementVNode("span",lK,e.toDisplayString((L=(P=l.comparisonData)==null?void 0:P.departure)==null?void 0:L.name),1),e.createElementVNode("span",aK,e.toDisplayString(a.computeUTCTime(((b=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:b.atd)||((R=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",nK,[sK,e.createElementVNode("div",iK,[e.createElementVNode("span",cK,e.toDisplayString((z=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:z.name),1),e.createElementVNode("span",dK,e.toDisplayString(a.computeUTCTime(((f=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:f.ata)||((I=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:I.eta))),1)])])]),rK,e.createElementVNode("div",mK,[e.createElementVNode("div",pK,[hK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary(($=l.comparisonData)==null?void 0:$.diffTime,"time")),3)]),e.createElementVNode("div",yK,[EK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffFoCons,"oil")),3)]),e.createElementVNode("div",_K,[NK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),VK,e.createElementVNode("div",fK,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,gK),DK]),xK,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bK,"CP Terms")),(n=l.comparisonData)!=null&&n.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",CK,[e.createElementVNode("div",SK,[kK,e.createElementVNode("div",AK,e.toDisplayString(((d=(j=l.comparisonData)==null?void 0:j.cp)==null?void 0:d.speed)??"—"),1)]),e.createElementVNode("div",BK,[wK,e.createElementVNode("div",TK,e.toDisplayString(((le=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:le.fo)??"—"),1)]),e.createElementVNode("div",OK,[FK,e.createElementVNode("div",uK,e.toDisplayString(((se=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:se.dgo)??"—"),1)])])),PK,e.createElementVNode("div",LK,[WK,e.createElementVNode("div",HK,[MK,e.createElementVNode("div",GK,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",IK,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",RK,[zK,e.createElementVNode("div",UK,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",YK,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdTime)??"—"),1)]),e.createElementVNode("div",ZK,[QK,e.createElementVNode("div",JK,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualAvgSpd)??"—"),1),e.createElementVNode("div",$K,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",KK,[qK,e.createElementVNode("div",XK,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualAvgCF)??"—"),1),e.createElementVNode("div",jK,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",vK,[eq,e.createElementVNode("div",tq,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.actualAvgWF)??"—"),1),e.createElementVNode("div",oq,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualPfmSpd)??"—"),1),e.createElementVNode("div",sq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",iq,[cq,e.createElementVNode("div",dq,e.toDisplayString(a.compareTime((ke=l.comparisonData)==null?void 0:ke.actualTime,(Ae=l.comparisonData)==null?void 0:Ae.recmdTime)),1)])]),rq,e.createElementVNode("div",mq,[pq,e.createElementVNode("div",hq,[yq,e.createElementVNode("div",Eq,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",_q,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Nq,[Vq,e.createElementVNode("div",fq,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualFoCons)??"-"),1),e.createElementVNode("div",gq,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Dq,[xq,e.createElementVNode("div",bq,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Cq,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Aq,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",Bq,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",wq,[Tq,e.createElementVNode("div",Oq,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",Fq,[uq,e.createElementVNode("div",Pq,e.toDisplayString(((we=l.comparisonData)==null?void 0:we.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":s[0]||(s[0]=He=>l.advisory=He),height:"320px",onBlur:s[1]||(s[1]=He=>a.handleCommit("comments",He))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...He)=>a.decideDisable&&a.decideDisable(...He)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Lq))],2)])}const On=Ee(w$,[["render",Wq],["__scopeId","data-v-c8bf8198"]]),Fte="",Hq={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:Ro},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/977dKcAVpfDnziFScLj4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MeFLYiwFEp9TA7ik5BJ+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,s="MMM-DD/HHmm"){return t?`${w(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?te.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const o={[t]:s};await gl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=s}}},Re=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),Mq={class:"comparison-report"},Gq=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Iq={class:"report-header"},Rq={class:"header-title",style:{position:"relative !important"}},zq={class:"header-title-content"},Uq=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),Yq={class:"title-date"},Zq={class:"report-summary"},Qq={class:"summary-item"},Jq=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),$q={class:"flexL gray"},Kq={class:"summary-item"},qq=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Xq={class:"flexL gray"},jq={class:"summary-item"},vq=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),eX={class:"flexL gray"},tX={class:"summary-item"},oX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),lX={class:"flexL gray"},aX={class:"summary-item"},nX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),sX={class:"flexL gray"},iX={class:"summary-item"},cX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),dX={class:"flexL gray",style:{display:"flex"}},rX={class:"flex"},mX={class:"flexM"},pX={class:"summary-item"},hX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),yX={class:"flexL gray",style:{display:"flex"}},EX={class:"flex"},_X={class:"flexM"},NX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),VX={class:"report-summary"},fX={class:"summary-item"},gX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),DX={class:"summary-item"},xX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),bX={class:"summary-item"},CX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),SX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),kX={class:"report-map"},AX=["src"],BX=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),wX=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),TX={key:0,class:"subtitle"},OX={key:1,class:"report-summary"},FX={class:"summary-item"},uX=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),PX={class:"flexL blue center"},LX={class:"summary-item"},WX=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),HX={class:"flexL blue center"},MX={class:"summary-item"},GX=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),IX={class:"flexL blue center"},RX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),zX={class:"report-summary"},UX=Re(()=>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)),YX={class:"summary-item"},ZX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),QX={class:"flex blue-light center"},JX={class:"flex blue-light center"},$X={class:"summary-item"},KX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),qX={class:"flex blue-light center"},XX={class:"flex blue-light center"},jX={class:"summary-item"},vX=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),ej={class:"flex blue-light center"},tj={class:"flex blue-light center"},oj={class:"summary-item"},lj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),aj={class:"flex blue-light center"},nj={class:"flex blue-light center"},sj={class:"summary-item"},ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),cj={class:"flex blue-light center"},dj={class:"flex blue-light center"},rj={class:"summary-item"},mj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),pj={class:"flex blue-light center"},hj={class:"flex blue-light center"},yj={class:"summary-item"},Ej=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),_j={class:"flex blue-light center italic"},Nj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Vj={class:"report-summary"},fj=Re(()=>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)),gj={class:"summary-item"},Dj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),xj={class:"flex blue-light center"},bj={class:"flex blue-light center"},Cj={class:"summary-item"},Sj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),kj={class:"flex blue-light center"},Aj={class:"flex blue-light center"},Bj={class:"summary-item"},wj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Tj={class:"flex blue-light center"},Oj={class:"flex blue-light center"},Fj={class:"summary-item"},uj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Pj={class:"flex blue-light center"},Lj={class:"flex blue-light center"},Wj={class:"summary-item"},Hj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Mj={class:"flex blue-light center italic"},Gj={class:"summary-item"},Ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Rj={class:"flex blue-light center italic"},zj=["innerHTML"];function Uj(t,s,o,c,l,a){var i,_,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W,f,Y,I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be,Fe,ue,Ve,F,ye,Pe,Le,We;const h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Mq,[Gq,e.createElementVNode("div",Iq,[e.createElementVNode("div",Rq,[e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",Yq,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",Zq,[e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",$q,e.toDisplayString((D=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",Kq,[qq,e.createElementVNode("div",Xq,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",jq,[vq,e.createElementVNode("div",eX,e.toDisplayString((N=(y=l.comparisonData)==null?void 0:y.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",tX,[oX,e.createElementVNode("div",lX,e.toDisplayString((r=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",iX,[cX,e.createElementVNode("div",dX,[e.createElementVNode("span",rX,e.toDisplayString((P=(T=l.comparisonData)==null?void 0:T.departure)==null?void 0:P.name),1),e.createElementVNode("span",mX,e.toDisplayString(a.computeUTCTime(((O=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:O.atd)||((u=(b=l.comparisonData)==null?void 0:b.departure)==null?void 0:u.etd))),1)])]),e.createElementVNode("div",pX,[hX,e.createElementVNode("div",yX,[e.createElementVNode("span",EX,e.toDisplayString((Z=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",_X,e.toDisplayString(a.computeUTCTime(((W=(z=l.comparisonData)==null?void 0:z.arrival)==null?void 0:W.ata)||((Y=(f=l.comparisonData)==null?void 0:f.arrival)==null?void 0:Y.eta))),1)])])]),NX,e.createElementVNode("div",VX,[e.createElementVNode("div",fX,[gX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((I=l.comparisonData)==null?void 0:I.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",DX,[xX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=l.comparisonData)==null?void 0:$.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffFoCons,"oil")),3)]),e.createElementVNode("div",bX,[CX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffDgoCons,"oil")),3)])]),SX,e.createElementVNode("div",kX,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,AX),BX]),wX,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",TX,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",OX,[e.createElementVNode("div",FX,[uX,e.createElementVNode("div",PX,e.toDisplayString(((j=(n=l.comparisonData)==null?void 0:n.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",LX,[WX,e.createElementVNode("div",HX,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",MX,[GX,e.createElementVNode("div",IX,e.toDisplayString(((ee=(le=l.comparisonData)==null?void 0:le.cp)==null?void 0:ee.dgo)??"—"),1)])])),RX,e.createElementVNode("div",zX,[UX,e.createElementVNode("div",YX,[ZX,e.createElementVNode("div",QX,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",JX,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",$X,[KX,e.createElementVNode("div",qX,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",XX,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",jX,[vX,e.createElementVNode("div",ej,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.actualAvgSpd)??"—"),1),e.createElementVNode("div",tj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",oj,[lj,e.createElementVNode("div",aj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",nj,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",sj,[ij,e.createElementVNode("div",cj,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualAvgWF)??"—"),1),e.createElementVNode("div",dj,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",pj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",hj,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",yj,[Ej,e.createElementVNode("div",_j,e.toDisplayString(a.compareTime((Se=l.comparisonData)==null?void 0:Se.actualTime,(ke=l.comparisonData)==null?void 0:ke.recmdTime)),1)])]),Nj,e.createElementVNode("div",Vj,[fj,e.createElementVNode("div",gj,[Dj,e.createElementVNode("div",xj,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.actualAvgFoCons)??"-"),1),e.createElementVNode("div",bj,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Cj,[Sj,e.createElementVNode("div",kj,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",Aj,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Bj,[wj,e.createElementVNode("div",Tj,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Oj,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Fj,[uj,e.createElementVNode("div",Pj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualDgoCons)??"-"),1),e.createElementVNode("div",Lj,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Wj,[Hj,e.createElementVNode("div",Mj,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.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(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=we=>l.advisory=we),height:"320px",onBlur:s[1]||(s[1]=we=>a.handleCommit("comments",we))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[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,zj))],2)])}const Fn=Ee(Hq,[["render",Uj],["__scopeId","data-v-b2f57055"]]),Yj={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",Fn)}},Zj={install(t){t.component("IdmBrand",zo),t.component("IdmThird",ja)}},ute="",Qj={name:"QuotaReport",components:{Brand:zo},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}})}}},un=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Jj={class:"quota-report"},$j=un(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Kj={class:"section quota-section"},qj=un(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Xj={class:"label"},jj={class:"label"},vj=["innerHTML"],ev=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 tv(t,s,o,c,l,a){const h=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Jj,[e.createVNode(h,{name:"Quotation Sheet"}),$j,e.createElementVNode("div",Kj,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qj,(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,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",Xj,e.toDisplayString(i.rank),1),e.createElementVNode("td",jj,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[_][D-1]||""},null,8,vj))),128))]))),128))])]),ev])])}const Pn=Ee(Qj,[["render",tv],["__scopeId","data-v-f3647134"]]),Pte="",ov={name:"QuotaReport",components:{Brand:zo},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}})}}},Ln=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),lv={class:"quota-report"},av=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),nv={class:"section quota-section"},sv=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),iv={class:"label"},cv={class:"label"},dv=["innerHTML"],rv=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 mv(t,s,o,c,l,a){const h=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",lv,[e.createVNode(h,{name:"Quotation Sheet"}),av,e.createElementVNode("div",nv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[sv,(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,_)=>(e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",iv,e.toDisplayString(i.rank),1),e.createElementVNode("td",cv,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[_][D-1]||""},null,8,dv))),128))]))),128))])]),rv])])}const Wn=Ee(ov,[["render",mv],["__scopeId","data-v-e3ab3a93"]]),pv={install(t){t.component("OrmQuoteReport",Pn),t.component("OrmQuoteReport4SEOA",Wn)}},Lte="",hv={name:"PrecipitationReport",components:{IdmBrand:zo,IdmLoading:on},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,s,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(s=this.report)==null?void 0:s.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 te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){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 s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,h,i,_,D,S;const s=te.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const o={};for(let y=0;y<((l=t==null?void 0:t.extend)==null?void 0:l.length);y++){const N=t==null?void 0:t.extend[y];if(y===0)N.precip.pacc=0;else{const x=w(N.utc).utcOffset(s),r=(a=N.precip)==null?void 0:a.acc;if(N.precip.pacc=r,r>0){const C=o[x.format("MMM-DD")],k=Math.floor(x.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+r,1),C[`${k}`]?C[`${k}`]+=r:(C[`${k}`]=r,C.colspan+=1)):(o[x.format("MMM-DD")]={pacc:r,colspan:1},o[x.format("MMM-DD")][`${k}`]=r)}}}t.paccInDays=o;let c=0;for(const y of Object.keys(o))c+=(h=o[y])==null?void 0:h.colspan,o[y].level=((i=o[y])==null?void 0:i.pacc)<10?"Light":((_=o[y])==null?void 0:_.pacc)<24.9?"Moderate":((D=o[y])==null?void 0:D.pacc)<49.9?"Heavy":((S=o[y])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Uo.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;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var D,S,y,N,x,r,C,k,T,P,L,O,b,u;const _=w(i.utc).utcOffset((D=this.form)==null?void 0:D.localTZ).format("MMM-DD/HHmm[LT]");o.push(_),a=((y=(S=i.wave)==null?void 0:S.sig)==null?void 0:y.height)>a?(x=(N=i.wave)==null?void 0:N.sig)==null?void 0:x.height:a,c.push([_,(r=i.wind)==null?void 0:r.kts,(C=i.gusts)==null?void 0:C.kts,(T=(k=i.wave)==null?void 0:k.sig)==null?void 0:T.height,(P=i.wind)==null?void 0:P.direction,(L=i.wind)==null?void 0:L.degree,(O=i.wind)==null?void 0:O.scale,(b=i.current)==null?void 0:b.kts,(u=i.precip)==null?void 0:u.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const h={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(h)}},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 s of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.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 s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},Lt=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),yv={class:"precipitation-report"},Ev={class:"section area-section"},_v={class:"area-block"},Nv={class:"area-header flex-space"},Vv={class:"flex-start"},fv=["onClick"],gv={class:"flex-end"},Dv={class:"area-body"},xv=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),bv={class:"flex-evenly"},Cv={key:0},Sv=["colspan"],kv=["colspan"],Av={style:{"font-size":"10px"}},Bv={key:0},wv={key:1},Tv={key:2},Ov={key:3},Fv={key:0},uv={key:1,style:{"font-size":"14px"}},Pv=Lt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Lv={class:"section echart-section"},Wv={ref:"echart",class:"echart"},Hv={class:"section sample-section"},Mv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Gv=["colspan"],Iv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Rv=Lt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),zv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Uv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Yv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Zv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Qv={key:0},Jv={key:1},$v=Lt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Kv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),qv=Lt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Xv=Lt(()=>e.createElementVNode("th",null,"BF",-1)),jv=Lt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),vv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),eee=Lt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),tee=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),oee=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),lee=Lt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),aee=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),nee=Lt(()=>e.createElementVNode("th",null,"°C",-1)),see={width:"120px"},iee={key:0},cee={key:1},dee={key:0,class:"degree-box"},ree={key:1},mee={key:0,class:"degree-box"},pee={key:1},hee={key:0,class:"degree-box"},yee={key:1},Eee={class:"section area-section"},_ee={class:"area-block"},Nee={class:"area-header flex-end"},Vee={class:"flex-end"},fee={class:"area-body"},gee=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),Dee=["colspan"],xee=["colspan"],bee={style:{"font-size":"10px"}},Cee={key:0},See={key:1},kee={key:2},Aee={key:3},Bee={key:1,style:{"font-size":"14px"}},wee={key:0};function Tee(t,s,o,c,l,a){var _,D,S,y,N,x,r,C,k,T,P,L,O,b,u,R,Z,z,W;const h=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yv,[e.createVNode(h,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=f=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Ev,[e.createElementVNode("div",_v,[e.createElementVNode("div",Nv,[e.createElementVNode("div",Vv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.rows,(f,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(l.index===Y?"header-item active":"header-item"),onClick:I=>{var H;return l.index=Y,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(f.rank)+". "+e.toDisplayString(f.name),11,fv))),128))]),e.createElementVNode("div",gv,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",Dv,[xv,e.createElementVNode("div",bv,[l.form?(e.openBlock(),e.createElementBlock("table",Cv,[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((S=l.form)==null?void 0:S.name)+" ("+e.toDisplayString(a.computeLat((y=l.form)==null?void 0:y.lat).pretty)+" / "+e.toDisplayString(a.computeLng((N=l.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(x=l.form)==null?void 0:x.extend)==null?void 0:r[0].utc,(C=l.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(a.computeLTime((T=(k=l.form)==null?void 0:k.extend)==null?void 0:T.at(-1).utc,(P=l.form)==null?void 0:P.localTZ))+", "+e.toDisplayString(a.computeTZ((L=l.form)==null?void 0:L.localTZ))+")",1)],8,Sv)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((O=l.form)==null?void 0:O.paccInDays),(f,Y)=>{var I;return e.openBlock(),e.createElementBlock("th",{key:Y,colspan:l.form.paccInDays[f].colspan,class:e.normalizeClass((I=l.form.paccInDays[f])==null?void 0:I.level)},e.toDisplayString(f)+" ("+e.toDisplayString(l.form.paccInDays[f].pacc)+") ",11,kv)}),128))]),e.createElementVNode("tr",Av,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((b=l.form)==null?void 0:b.paccInDays),(f,Y)=>{var I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((I=l.form)==null?void 0:I.paccInDays[f]),(H,$)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[H==="0"?(e.openBlock(),e.createElementBlock("th",Bv,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",wv,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",Tv,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",Ov,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(R=Object.keys((u=l.form)==null?void 0:u.paccInDays))!=null&&R.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(f,Y)=>{var I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((I=l.form)==null?void 0:I.paccInDays[f]),(H,$)=>{var K;return e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",Fv,e.toDisplayString(a.roundPrecision((K=l.form)==null?void 0:K.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",uv,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),Pv,e.createElementVNode("div",Lv,[e.createElementVNode("div",Wv,null,512)]),e.createElementVNode("div",Hv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Mv,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,Gv),Iv,Rv,zv,Uv,Yv,Zv]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",Qv,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Jv,"Acc (mm)")):e.createCommentVNode("",!0),$v,Kv,qv,Xv,jv,vv,eee,tee,oee,lee,aee,nee])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.form)==null?void 0:z.extend,(f,Y)=>{var I,H,$,K,X,q,V,M,J,n,j,d,v,le,ee,se,ie,de,re,pe,ce,he,ge,De,xe,be,Ce,Se,ke,Ae,Be;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",see,e.toDisplayString(a.computeLTime(f.utc,(I=l.form)==null?void 0:I.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",iee,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",cee,e.toDisplayString(($=f.precip)==null?void 0:$.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(K=f.wind)!=null&&K.kts?(e.openBlock(),e.createElementBlock("span",dee,[e.createTextVNode(e.toDisplayString((X=f.wind)==null?void 0:X.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=f.wind)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ree,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=f.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((M=f.wind)==null?void 0:M.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=f.gusts)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((j=(n=f.wave)==null?void 0:n.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(v=(d=f.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",mee,[e.createTextVNode(e.toDisplayString((ee=(le=f.wave)==null?void 0:le.swell)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ie=(se=f.wave)==null?void 0:se.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pee,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=f.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=(pe=f.wave)==null?void 0:pe.swell)==null?void 0:ce.period,1)),1),e.createElementVNode("td",null,[(ge=(he=f.wave)==null?void 0:he.sig)!=null&&ge.height?(e.openBlock(),e.createElementBlock("span",hee,[e.createTextVNode(e.toDisplayString((xe=(De=f.wave)==null?void 0:De.sig)==null?void 0:xe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ce=(be=f.wave)==null?void 0:be.sig)==null?void 0:Ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",yee,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ke=(Se=f.wave)==null?void 0:Se.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Be=(Ae=f.wave)==null?void 0:Ae.sig)==null?void 0:Be.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Eee,[e.createElementVNode("div",_ee,[e.createElementVNode("div",Nee,[e.createElementVNode("div",Vee,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",fee,[gee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var I,H,$;return e.openBlock(),e.createElementBlock("div",{key:Y,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:f.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(f==null?void 0:f.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(f==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat(f==null?void 0:f.lat).pretty)+" / "+e.toDisplayString(a.computeLng(f==null?void 0:f.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((I=f==null?void 0:f.extend)==null?void 0:I[0].utc,f==null?void 0:f.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=f==null?void 0:f.extend)==null?void 0:H.at(-1).utc,f==null?void 0:f.localTZ))+", "+e.toDisplayString(a.computeTZ(f==null?void 0:f.localTZ))+")",1)],8,Dee)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(K,X)=>{var q;return e.openBlock(),e.createElementBlock("th",{key:X,colspan:f.paccInDays[K].colspan,class:e.normalizeClass((q=f.paccInDays[K])==null?void 0:q.level)},e.toDisplayString(K)+" ("+e.toDisplayString(f.paccInDays[K].pacc)+") ",11,xee)}),128))]),e.createElementVNode("tr",bee,[($=Object.keys(f==null?void 0:f.paccInDays))!=null&&$.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(K,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[K]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[q==="0"?(e.openBlock(),e.createElementBlock("th",Cee,"00-06")):e.createCommentVNode("",!0),q==="1"?(e.openBlock(),e.createElementBlock("th",See,"06-12")):e.createCommentVNode("",!0),q==="2"?(e.openBlock(),e.createElementBlock("th",kee,"12-18")):e.createCommentVNode("",!0),q==="3"?(e.openBlock(),e.createElementBlock("th",Aee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Bee,"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(f==null?void 0:f.paccInDays),(K,X)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:X},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[K]),(q,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(q)?(e.openBlock(),e.createElementBlock("td",wee,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[K][q],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Hn=Ee(hv,[["render",Tee],["__scopeId","data-v-93671675"]]),Oee={install(t){t.component("PrecipitationReport",Hn)}},Fee={install(t){t.component("IdmLoading",on)}};oe.BrandPlugin=Zj,oe.ComparisonPlugin=Yj,oe.DeviationPlugin=HJ,oe.DeviationReport=Bn,oe.FliComparisonReport=Fn,oe.FliDeviationReport=wn,oe.FliPlanReport=Nn,oe.FliVoyageReport=Dn,oe.HurricanePlugin=gP,oe.HurricaneReport=Cn,oe.IdmBrand=zo,oe.IdmEditor=Ro,oe.IdmEditorPlugin=Ry,oe.IdmLat=en,oe.IdmLatPlugin=zy,oe.IdmLng=va,oe.IdmLngPlugin=Uy,oe.IdmLoading=on,oe.IdmThird=ja,oe.InvoicePlugin=dW,oe.InvoiceReport=Sn,oe.LoadingPlugin=Fee,oe.ORMPointReport=hn,oe.OpiComparisonReport=On,oe.OpiPlanReport=cn,oe.OpiVoyageReport=gn,oe.OrmInvoiceReport=kn,oe.OrmPlanReport=Vn,oe.OrmQuoteReport=Pn,oe.OrmQuoteReport4SEOA=Wn,oe.OrmVoyageReport=xn,oe.PiLogo=fn,oe.PiLogoPlugin=qy,oe.PointReport=yn,oe.PointReportPlugin=ud,oe.PrecipitationReport=Hn,oe.PrecipitationReportPlugin=Oee,oe.QuoteReportPlugin=pv,oe.RouteReport=cn,oe.RouteReportPlugin=Iy,oe.StoppageReport=Tn,oe.StoppageReportPlugin=B$,oe.VoyageReportPlugin=tP,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});