@idmwx/idmui-report 2.9.5 → 2.9.6

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(le,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):(le=typeof globalThis<"u"?globalThis:le||self,te(le["idmui-report"]={},le["@idmwx/idmwx-base"],le.moment,le.Vue,le.echarts,le["@wangeditor/editor-for-vue"],le["mapbox-gl"],le["@idmwx/idmui-gl"],le["@element-plus/icons-vue"],le["element-plus"],le.axios))})(this,function(le,te,w,e,qs,rn,en,Xs,tn,mn,fl){"use strict";function js(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,d.get?d:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const zo=js(qs),vv="",fe=(t,n)=>{const o=t.__vccOpts||t;for(const[d,l]of n)o[d]=l;return o},$s={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(n)}`}}}},hn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),vs={class:"section brand-section flex-space"},ei=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),ti={class:"report-box flex-space"},oi={class:"name flex-start"},li={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ai={class:"flex-start",style:{width:"100%"}},ni={class:"label-block flex-evenly",style:{flex:"1"}},si=hn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ii={class:"flex-end",style:{flex:"2"}},di=hn(()=>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 ci(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",vs,[ei,e.createElementVNode("div",ti,[e.createElementVNode("div",oi,e.toDisplayString(o.name),1),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",ii,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),di])])])}const Uo=fe($s,[["render",ci],["__scopeId","data-v-c0d9515b"]]),ri={name:"IdmLoading",emits:["timeout"],props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},mi={key:0,class:"loading"},hi=e.createElementVNode("i",{class:"iconfont"},"",-1);function pi(t,n,o,d,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",mi,[hi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=fe(ri,[["render",pi]]),eee="",Ei={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:Uo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,d;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=te.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(d=this.report)==null?void 0:d.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,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var d,l,a,E,i,_,D,S,p,N;const n={};for(let x=0;x<((l=(d=t==null?void 0:t.extend)==null?void 0:d.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=(E=t==null?void 0:t.extend)==null?void 0:E.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=n[k.format("MMM-DD")],F=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${F}`]?b[`${F}`]+=O:(b[`${F}`]=O,b.colspan+=1)):(n[k.format("MMM-DD")]={pacc:O,colspan:1},n[k.format("MMM-DD")][`${F}`]=O)}}}t.paccInDays=n;let o=0;for(const x of Object.keys(n))o+=(_=n[x])==null?void 0:_.colspan,n[x].level=((D=n[x])==null?void 0:D.pacc)<10?"Light":((S=n[x])==null?void 0:S.pacc)<24.9?"Moderate":((p=n[x])==null?void 0:p.pacc)<49.9?"Heavy":((N=n[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,E,i;this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let d=4;(i=(E=(a=this.report)==null?void 0:a.extend)==null?void 0:E.data)==null||i.forEach(_=>{var S,p,N,x,r,C,k,T,P,L,O,b,F;const D=w(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),d=((p=(S=_.wave)==null?void 0:S.sig)==null?void 0:p.height)>d?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:d,n.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,(F=_.precip)==null?void 0:F.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:d,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),yi={class:"point-report"},_i={class:"section info-section"},Ni={class:"flex-evenly"},Vi={class:"flex-space label-block",style:{width:"100%"}},fi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),gi={class:"flex-space label-block",style:{width:"100%"}},Di=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),xi={class:"flex-evenly"},bi={class:"flex-space label-block",style:{width:"100%"}},Ci=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Si={class:"flex-space label-block",style:{width:"100%"}},ki={class:"flex-end",style:{width:"180px"}},Ai={class:"section echart-section"},Bi={ref:"echart",class:"echart"},wi={class:"section sample-section"},Ti=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Oi=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),ui=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Fi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Pi=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Li=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Wi=["colspan"],Hi=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Mi=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Gi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ri=st(()=>e.createElementVNode("th",null,"BF",-1)),zi=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ui=st(()=>e.createElementVNode("th",null,"Dir",-1)),Yi=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Zi=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ji=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ki=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Xi=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ji={key:0},$i={key:1},vi=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ed=st(()=>e.createElementVNode("th",null,"°C",-1)),td={width:"120px"},od={key:0,class:"degree-box"},ld={key:1},ad={key:0,class:"degree-box"},nd={key:1},sd={key:0,class:"degree-box"},id={key:1},dd={key:0,class:"degree-box"},cd={key:1},rd={key:0},md={key:1};function hd(t,n,o,d,l,a){var _,D,S,p;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ni,[e.createElementVNode("div",Vi,[fi,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",gi,[Di,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",xi,[e.createElementVNode("div",bi,[Ci,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Si,[e.createElementVNode("label",ki,"("+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",Ai,[e.createElementVNode("div",Bi,null,512)]),e.createElementVNode("div",wi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ti,Oi,ui,Fi,Pi,Li,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Wi),Hi,Mi]),e.createElementVNode("tr",null,[Gi,Ii,Ri,zi,Ui,Yi,Zi,Qi,Ji,Ki,qi,Xi,o.showPrate?(e.openBlock(),e.createElementBlock("th",ji,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",$i,"Acc (mm)")):e.createCommentVNode("",!0),vi,ed])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=(S=o.report)==null?void 0:S.extend)==null?void 0:p.data,(N,x)=>{var r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",td,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",od,[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",ld,"-"))]),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=(F=N.wave)==null?void 0:F.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",ad,[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",nd,"-"))]),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((K=(H=N.wave)==null?void 0:H.swell)==null?void 0:K.period,1)),1),e.createElementVNode("td",null,[(j=(q=N.wave)==null?void 0:q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",sd,[e.createTextVNode(e.toDisplayString((V=(X=N.wave)==null?void 0:X.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",id,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=N.wave)==null?void 0:s.sig)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(c=N.wave)==null?void 0:c.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",dd,[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",cd,"-"))]),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",rd,e.toDisplayString(a.roundPrecision((ce=N.precip)==null?void 0:ce.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",md,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 pn=fe(Ei,[["render",hd],["__scopeId","data-v-f465d74a"]]),tee="",pd={props:{name:{type:String,default:""}}},Ed={class:"section brand-section flex-space"},yd=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),_d={class:"report-box flex-space"},Nd={class:"name flex-start"},Vd=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 fd(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Ed,[yd,e.createElementVNode("div",_d,[e.createElementVNode("div",Nd,e.toDisplayString(o.name),1),Vd])])}const ja=fe(pd,[["render",fd],["__scopeId","data-v-602c94e3"]]),oee="",gd={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,n="MMM-DD/HHmm"){return`${w(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Dd={class:"point-report"},xd=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bd={class:"report-header flex-center"},Cd={class:"info-box"},Sd=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),kd={class:"info"},Ad=et(()=>e.createElementVNode("label",null,"Position",-1)),Bd={class:"info"},wd=et(()=>e.createElementVNode("label",null,"Issued",-1)),Td=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Od={class:"report-body"},ud={class:"weather-sample"},Fd=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Pd=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ld=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Wd=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Hd=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Md=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Gd=["colspan"],Id=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Rd=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Ud=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Yd=et(()=>e.createElementVNode("th",null,"BF",-1)),Zd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Jd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Kd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),jd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$d=et(()=>e.createElementVNode("th",null,"Dir",-1)),vd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ec={key:0},tc={key:1},oc=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),lc=et(()=>e.createElementVNode("th",null,"°C",-1)),ac={width:"120px"},nc={key:0,class:"degree-box"},sc={key:1},ic={key:0,class:"degree-box"},dc={key:1},cc={key:0,class:"degree-box"},rc={key:1},mc={key:0,class:"degree-box"},hc={key:1},pc={key:0},Ec={key:1};function yc(t,n,o,d,l,a){const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Dd,[e.createVNode(E),xd,e.createElementVNode("div",bd,[e.createElementVNode("div",Cd,[Sd,e.createElementVNode("div",kd,[Ad,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bd,[wd,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Td]),e.createElementVNode("div",Od,[e.createElementVNode("div",ud,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Fd,Pd,Ld,Wd,Hd,Md,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Gd),Id,Rd]),e.createElementVNode("tr",null,[zd,Ud,Yd,Zd,Qd,Jd,Kd,qd,Xd,jd,$d,vd,o.showPrate?(e.openBlock(),e.createElementBlock("th",ec,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",tc,"Acc (mm)")):e.createCommentVNode("",!0),oc,lc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",ac,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",nc,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((p=i.wind)==null?void 0:p.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sc,"-"))]),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",ic,[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((F=(b=i.wave)==null?void 0:b.swell)==null?void 0:F.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",dc,"-"))]),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",cc,[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((q=(K=i.wave)==null?void 0:K.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(j=i.wave)==null?void 0:j.sig)==null?void 0:X.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",mc,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=i.current)==null?void 0:$.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",hc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((c=i.current)==null?void 0:c.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",pc,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Ec,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const En=fe(gd,[["render",yc],["__scopeId","data-v-2fead0ca"]]),_c={install(t){t.component("ORMPointReport",pn),t.component("PointReport",En)}},Nc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Vc={class:"logo"},fc=[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 gc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Vc,fc)}const Dc=fe(Nc,[["render",gc]]),xc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},bc={class:"logo"},Cc=[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 Sc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",bc,Cc)}const kc=fe(xc,[["render",Sc]]),Ac={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Bc={class:"logo"},wc=[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 Tc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Bc,wc)}const Oc=fe(Ac,[["render",Tc]]),see="",uc={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}}},yn=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Fc={class:"lng-box"},Pc={key:0},Lc=yn(()=>e.createElementVNode("span",null,"°",-1)),Wc=yn(()=>e.createElementVNode("span",null,"'",-1));function Hc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Fc,[o.label?(e.openBlock(),e.createElementBlock("span",Pc,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Lc,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Wc,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const $a=fe(uc,[["render",Hc],["__scopeId","data-v-533ec662"]]),iee="",Mc={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),Gc={class:"lat-box"},Ic={key:0},Rc=_n(()=>e.createElementVNode("span",null,"°",-1)),zc=_n(()=>e.createElementVNode("span",null,"'",-1));function Uc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Gc,[o.label?(e.openBlock(),e.createElementBlock("span",Ic,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Rc,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),zc,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=fe(Mc,[["render",Uc],["__scopeId","data-v-d3432239"]]),dee="",Yc={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 n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Zc={class:"editor-box"};function Qc(t,n,o,d,l,a){const E=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Zc,[e.withDirectives(e.createVNode(E,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=_=>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=fe(Yc,[["render",Qc],["__scopeId","data-v-0d3b5c3c"]]),Jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4NGycoqe6QSs7QQqzOWtmH6aG5XvG+/f+iH0Tc6PCTYyvIsZaCRAASG3LaWtL52k2H+j8Nvpzxcys6Nn+BFOovDIkt2dqZa8kVekBj9PFxUSJ1dcvPI1uuRUQaCdv/rRZqUcs7X9o2aAEW/kd1PKoaMu9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MA7Ee7L7btB4DZwOnAsb93cBj9B4DLDwf4MpAE7gH4nQXcCHQATxXGOxvt1cA/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",cee="",ree="",Kc={name:"RouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Route1:Dc,Route2:kc,Route3:Oc,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,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=w((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.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,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,E;const n=(E=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:E.hours,o=n[0],d=n[n.length-1];return w(d.eta).diff(w(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,d,l,a,E,i,_,D;if(this.sogChart||(this.sogChart=e.markRaw(zo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(zo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(zo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],p={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<((d=(o=this.plan)==null?void 0:o.speeds)==null?void 0:d.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 K=w(W.eta).utc();if(K.isAfter(C))break;S.push(`${K.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),I=this.roundPrecision((E=(a=W.meteo)==null?void 0:a.wind)==null?void 0:E.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 F={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};p.series.push(F),N.series.push(R),x.series.push(Z)}this.sogChart.setOption(p),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),qc={class:"route-report"},Xc={class:"report-header flex-space"},jc=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Jc,alt:""},null,-1)),$c=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)),vc={class:"issued flex-end"},er=it(()=>e.createElementVNode("label",null,"Issued",-1)),tr={class:"report-body"},or={class:"voyage-summary flex-space"},lr={class:"title"},ar={key:0},nr={key:1},sr={key:0,class:"initial"},ir={key:1,class:"warning"},dr={class:"summary flex-start"},cr={class:"summary-item"},rr=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),mr={class:"summary-item"},hr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pr={key:0},Er={key:1,class:"flex-start"},yr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_r={class:"summary-item"},Nr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Vr={key:0},fr={key:1,class:"flex-start"},gr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Dr={class:"route-advisory"},xr={class:"charts"},br={key:0},Cr=["src"],Sr={class:"legend-box"},kr=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),Ar={key:0,class:"legend-item"},Br=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],wr={key:1,class:"legend-item"},Tr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Or={key:1,class:"empty"},ur={class:"route-comparison"},Fr=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)),Pr={class:"container"},Lr={key:0},Wr=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)),Hr=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Mr=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Gr=it(()=>e.createElementVNode("th",null,"*FO",-1)),Ir=it(()=>e.createElementVNode("th",null,"*DO",-1)),Rr={colspan:"3"},zr={rowspan:"2"},Ur={rowspan:"2"},Yr={rowspan:"2"},Zr={rowspan:"2"},Qr={rowspan:"2"},Jr={rowspan:"2"},Kr={rowspan:"2"},qr={rowspan:"2"},Xr={rowspan:"2"},jr={class:"route-advisory",style:{"page-break-after":"always"}},$r={class:"advisory"},vr={class:"reason"},em={class:"secondary-title flex-space"},tm=it(()=>e.createElementVNode("div",null,"Note",-1)),om=["innerHTML"],lm={class:"major-waypoints"},am=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),nm={class:"container"},sm=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),im={class:"body"},dm={class:"cell-item",style:{width:"180px"}},cm={key:0,class:"flex-center"},rm={key:1,class:"flex-center"},mm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),hm={key:0},pm={class:"cell-item",style:{width:"100px"}},Em={key:0,class:"cell-item offset",style:{width:"35px"}},ym={key:1,class:"cell-item offset",style:{width:"55px"}},_m={key:2,class:"cell-item offset",style:{width:"40px"}},Nm={key:3,class:"cell-item offset",style:{width:"125px"}},Vm={class:"weather-eChart"},fm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),gm={ref:"sogChart",class:"eChart"},Dm={ref:"windChart",class:"eChart wind"},xm={ref:"waveChart",class:"eChart"},bm={class:"weather-sample"},Cm={class:"secondary-title"},Sm=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)),km={class:"flex-center"},Am=it(()=>e.createElementVNode("span",null,"/",-1)),Bm={key:0,class:"degree-box"},wm={key:1},Tm={key:0,class:"degree-box"},Om={key:1},um={key:0,class:"degree-box"},Fm={key:1},Pm={key:0,class:"degree-box"},Lm={key:1};function Wm(t,n,o,d,l,a){var S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qc,[e.createVNode(E,{name:"Voyage Planning"}),e.createElementVNode("div",Xc,[jc,$c,e.createElementVNode("div",vc,[er,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",tr,[e.createElementVNode("div",or,[e.createElementVNode("div",lr,[((p=o.plan)==null?void 0:p.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",ar,"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",nr,"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",sr,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",ir,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",dr,[e.createElementVNode("div",cr,[rr,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",mr,[hr,(Z=(R=(F=o.plan)==null?void 0:F.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Er,[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"]),yr,e.createVNode(_,{lng:(q=(K=(H=o.plan)==null?void 0:H.leg)==null?void 0:K.departure)==null?void 0:q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",_r,[Nr,(V=(X=(j=o.plan)==null?void 0:j.leg)==null?void 0:X.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Vr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",fr,[e.createVNode(i,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),gr,e.createVNode(_,{lat:(oe=(v=(c=o.plan)==null?void 0:c.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Dr,[e.createElementVNode("div",xr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Cr),e.createElementVNode("div",Sr,[kr,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Ar,Br)):e.createCommentVNode("",!0),((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",wr,Tr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...u)=>a.handleRefresh&&a.handleRefresh(...u))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",ur,[Fr,e.createElementVNode("div",Pr,[(de=(he=o.plan)==null?void 0:he.speeds)!=null&&de.length?(e.openBlock(),e.createElementBlock("table",Lr,[e.createElementVNode("thead",null,[Wr,e.createElementVNode("tr",null,[Hr,Mr,Gr,Ir,e.createElementVNode("th",Rr,"*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((pe=o.plan)==null?void 0:pe.speeds,(u,Ee)=>{var Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ee},[e.createElementVNode("tr",null,[e.createElementVNode("td",zr,e.toDisplayString(Ee+1),1),e.createElementVNode("td",Ur,e.toDisplayString((Le=(Pe=u.speed)==null?void 0:Pe.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=u.speed)==null?void 0:We.label)??"CP"} ${((we=u.speed)==null?void 0:we.v0)??((Ke=(He=u.speed)==null?void 0:He.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",Yr,e.toDisplayString(a.roundPrecision((qe=u.speed)==null?void 0:qe.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=u.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",Zr,e.toDisplayString(a.computeTimeDiff(o.plan,Ee)),1),e.createElementVNode("td",Qr,e.toDisplayString(a.roundPrecision((Oe=u.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",Jr,e.toDisplayString(a.roundPrecision((ze=u.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",Kr,e.toDisplayString(a.roundPrecision(((Ue=u.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",qr,e.toDisplayString(a.roundPrecision(((Ye=u.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",Xr,e.toDisplayString(a.roundPrecision(((Ze=u.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=u.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(y=u.speed)==null?void 0:y.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ve=u.speed)==null?void 0:Ve.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=u.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=u.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jr,[e.createElementVNode("div",$r,[e.createElementVNode("div",vr,[e.createElementVNode("div",em,[tm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=u=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(D,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=u=>l.advisory=u),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...u)=>a.decideDisable&&a.decideDisable(...u)),innerHTML:l.advisory},null,40,om))])]),e.createElementVNode("div",lm,[am,e.createElementVNode("div",nm,[sm,e.createElementVNode("div",im,[(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),(u,Ee)=>(e.openBlock(),e.createElementBlock("div",{key:Ee,class:"cell-row"},[e.createElementVNode("div",dm,[u.isResume?(e.openBlock(),e.createElementBlock("div",cm,"Resume")):(e.openBlock(),e.createElementBlock("div",rm,[e.createVNode(i,{lat:u.lat,label:""},null,8,["lat"]),mm,e.createVNode(_,{lng:u.lng,label:""},null,8,["lng"]),u.pilot?(e.openBlock(),e.createElementBlock("span",hm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pm,e.toDisplayString(a.computeUTCTime(u.eta)),1),Ee?(e.openBlock(),e.createElementBlock("div",Em,e.toDisplayString(a.computeNav(u)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",ym,e.toDisplayString(a.roundPrecision(u.distanceFromStart,1)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",_m,e.toDisplayString(a.roundPrecision(u.avgSpd??u.speed,1)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString(a.computeMemo(u)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",gm,null,512),e.createElementVNode("div",Dm,null,512),e.createElementVNode("div",xm,null,512)]),e.createElementVNode("div",bm,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Cm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ne=(Fe=(ue=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:ue.speed)==null?void 0:Fe.sample)==null?void 0:Ne.hours,(u,Ee)=>{var Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:Ee,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",km,[e.createVNode(i,{lat:u.lat,label:""},null,8,["lat"]),Am,e.createVNode(_,{lng:u.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(Pe=u.meteo)==null?void 0:Pe.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Bm,[e.createTextVNode(e.toDisplayString((we=(We=u.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ke=(He=u.meteo)==null?void 0:He.wind)==null?void 0:Ke.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(qe=u.meteo)==null?void 0:qe.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=u.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=u.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Tm,[e.createTextVNode(e.toDisplayString((Q=(y=(Je=u.meteo)==null?void 0:Je.wave)==null?void 0:y.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(Ve=u.meteo)==null?void 0:Ve.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Xe=(me=u.meteo)==null?void 0:me.wave)==null?void 0:Xe.swell)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=u.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=u.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",um,[e.createTextVNode(e.toDisplayString((Et=(pt=(ht=u.meteo)==null?void 0:ht.wave)==null?void 0:pt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(yt=u.meteo)==null?void 0:yt.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=u.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=u.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=u.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",Pm,[e.createTextVNode(e.toDisplayString((At=(kt=u.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=u.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Lm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=u.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(u.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const dn=fe(Kc,[["render",Wm],["__scopeId","data-v-ba499fc2"]]),yee="",Hm={name:"RouteReport",components:{Lng:$a,Lat:va,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=w((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.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,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,E;const n=(E=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:E.hours,o=n[0],d=n[n.length-1];return w(d.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Mm={class:"route-report"},Gm=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Im={class:"section"},Rm=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),zm={class:"section-body basics"},Um={class:"flex-space section-row"},Ym={class:"flex-start"},Zm=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Qm={class:"flex-start"},Jm={class:"flex-start"},Km=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),qm={class:"flex-start flex"},Xm={key:0,class:"flex"},jm={key:1,class:"flex-space flex"},$m=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),vm={class:"time flex"},eh={class:"flex-space section-row"},th={class:"flex-start"},oh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),lh={class:"flex-start"},ah={class:"flex-start"},nh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),sh={class:"flex-start flex"},ih={key:0,class:"flex"},dh={key:1,class:"flex-space"},ch=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),rh={class:"time flex"},mh={class:"flex-space section-row"},hh={class:"flex-start"},ph=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Eh={class:"flex-start"},yh={class:"flex-start"},_h=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Nh={class:"flex-start flex"},Vh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},fh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),gh={class:"section-body detail"},Dh={class:"flex-space",style:{"align-items":"stretch"}},xh={class:"chart"},bh=["src"],Ch={key:1,class:"empty flex-center"},Sh={class:"route flex",style:{"justify-content":"space-between"}},kh=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Ah={class:"suggestion"},Bh=["innerHTML"],wh={class:"flex-start legends"},Th=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),Oh={key:0,class:"legend"},uh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],Fh={key:1,class:"legend"},Ph=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],Lh={class:"section"},Wh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),Hh={class:"section-body comparison"},Mh={class:"container"},Gh={key:0},Ih=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Rh={class:"section",style:{"page-break-inside":"avoid"}},zh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Uh={class:"section-body sample"},Yh={class:"major-waypoints"},Zh={class:"container"},Qh=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),Jh={class:"body"},Kh={class:"cell-item flexM"},qh={class:"flex-center"},Xh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jh={class:"cell-item flexL"},$h={key:0,class:"flex-center"},vh={key:1},ep={class:"cell-item flex"},tp={key:0,class:"cell-item flex offset"},op={key:1,class:"cell-item flex nbsp"},lp={key:2,class:"cell-item flex offset"},ap={key:3,class:"cell-item flex nbsp"},np={key:4,class:"cell-item flex offset"},sp={key:5,class:"cell-item flex nbsp"},ip={class:"section"},dp=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),cp={class:"section-body sample"},rp={key:0},mp=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)),hp={class:"flex-center"},pp=dt(()=>e.createElementVNode("span",null,"/",-1)),Ep={key:0,class:"degree-box"},yp={key:1},_p={key:0,class:"degree-box"},Np={key:1},Vp={key:0,class:"degree-box"},fp={key:1},gp={key:0,class:"degree-box"},Dp={key:1},xp=dt(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function bp(t,n,o,d,l,a){var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Mm,[Gm,e.createElementVNode("div",Im,[Rm,e.createElementVNode("div",zm,[e.createElementVNode("div",Um,[e.createElementVNode("div",Ym,[Zm,e.createElementVNode("div",Qm,e.toDisplayString((p=(S=(D=o.plan)==null?void 0:D.voyage)==null?void 0:S.company)==null?void 0:p.name),1)]),e.createElementVNode("div",Jm,[Km,e.createElementVNode("div",qm,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Xm,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",jm,[e.createVNode(E,{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"]),$m,e.createVNode(i,{lng:(F=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:F.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",vm,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",eh,[e.createElementVNode("div",th,[oh,e.createElementVNode("div",lh,e.toDisplayString((K=(H=(I=o.plan)==null?void 0:I.voyage)==null?void 0:H.vessel)==null?void 0:K.name),1)]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.destination)!=null&&X.name?(e.openBlock(),e.createElementBlock("div",ih,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",dh,[e.createVNode(E,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),ch,e.createVNode(i,{lng:(oe=(v=(c=o.plan)==null?void 0:c.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",rh,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=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",mh,[e.createElementVNode("div",hh,[ph,e.createElementVNode("div",Eh,e.toDisplayString(a.computeUTCTime((he=o.plan)==null?void 0:he.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",yh,[_h,e.createElementVNode("div",Nh,[e.createElementVNode("div",null,e.toDisplayString((pe=(de=o.plan)==null?void 0:de.voyage)==null?void 0:pe.loadCondition),1)])])])])]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",xh,[(ge=o.plan)!=null&&ge.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(De=o.plan)==null?void 0:De.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",Ch,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Sh,[e.createElementVNode("div",null,[kh,e.createElementVNode("div",Ah,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:n[2]||(n[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",wh,[Th,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",Oh,uh)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",Fh,Ph)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lh,[Wh,e.createElementVNode("div",Hh,[e.createElementVNode("div",Mh,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",Gh,[Ih,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,y,Q,Ve,Te,Me,me,Xe,$e,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((y=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:y.fo)+" FO / "+e.toDisplayString((Ve=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:Ve.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((Xe=U.speed)==null?void 0:Xe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=U.speed)==null?void 0:$e.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",Rh,[zh,e.createElementVNode("div",Uh,[e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[Qh,e.createElementVNode("div",Jh,[(Fe=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(Ee=(u=(Ne=o.plan)==null?void 0:Ne.speeds[0])==null?void 0:u.speed)==null?void 0:Ee.sample)==null?void 0:Pe.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",Kh,[e.createElementVNode("div",qh,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),Xh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",jh,[U.name?(e.openBlock(),e.createElementBlock("span",$h,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",vh,"-"))]),e.createElementVNode("div",ep,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",tp,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",op)),Oe?(e.openBlock(),e.createElementBlock("div",lp,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",ap)),Oe?(e.openBlock(),e.createElementBlock("div",np,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",sp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",ip,[dp,e.createElementVNode("div",cp,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",rp,[mp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:Ke.sample)==null?void 0:qe.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_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",hp,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),pp,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",Ep,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",yp,"-"))]),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((Ve=(Q=(y=U.meteo)==null?void 0:y.wave)==null?void 0:Q.wd)==null?void 0:Ve.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",_p,e.toDisplayString((ve=($e=(Xe=U.meteo)==null?void 0:Xe.wave)==null?void 0:$e.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Np,"-"))]),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((ht=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(pt=U.meteo)==null?void 0:pt.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",Vp,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",fp,"-"))]),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",gp,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Dp,"-"))]),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)])]),xp])}const Nn=fe(Hm,[["render",bp],["__scopeId","data-v-afd0f0bf"]]),gee="",Cp={name:"OrmRouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Brand:Uo,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let d=0;return o&&n&&(d=te.LngLatHelper.guessTimeZoneOffset(n,o)),`${w(t).utcOffset(d).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,d,l,a,E;if(n===0)return"-";{const i=w((l=(d=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:d.speed)==null?void 0:l.eta).diff(w((E=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,E,i,_;const o=(_=(i=(E=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:E.speed)==null?void 0:i.sample)==null?void 0:_.hours,d=o[0],l=o[o.length-1];return Math.round(w(l.eta).diff(w(d.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,D,S,p,N,x,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},d={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{d[C]=Math.PI/8*k});const a=18;let E=4;(x=(N=(p=(S=(D=(_=this.plan)==null?void 0:_.speeds)==null?void 0:D[this.speedIndex])==null?void 0:S.speed)==null?void 0:p.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var T,P,L,O,b,F,R,Z,z,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),E=Math.ceil(((P=(T=k.wave)==null?void 0:T.sig)==null?void 0:P.height)>E?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:E),n.push([f,(b=k.wind)==null?void 0:b.kts,(R=(F=k.wave)==null?void 0:F.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:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(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:d[k.value(o.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},ct=t=>(e.pushScopeId("data-v-530b57c2"),t=t(),e.popScopeId(),t),Sp={class:"voyage-plan"},kp={class:"plan-report"},Ap={class:"section voyage-section flex-space"},Bp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},wp={class:"flex-start label-block",style:{width:"100%"}},Tp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Op={style:{"text-transform":"uppercase"},class:"text-ellipsis"},up={class:"flex-start label-block",style:{width:"100%"}},Fp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Pp={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Lp={class:"flex-start label-block",style:{width:"100%"}},Wp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Hp={class:"flex-end"},Mp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Gp={class:"flex-start label-block",style:{width:"100%"}},Ip=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Rp={key:0,class:"flex-end",style:{flex:"1"}},zp={key:1,class:"flex-end",style:{flex:"1"}},Up=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yp={class:"flex-end",style:{width:"120px"}},Zp={class:"flex-space label-block",style:{width:"100%"}},Qp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Jp={key:0,class:"flex-end",style:{flex:"1"}},Kp={key:1,class:"flex-end",style:{flex:"1"}},qp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"flex-end",style:{width:"120px"}},jp={class:"flex-space label-block",style:{width:"100%"}},$p=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),vp={class:"flex-end",style:{"text-transform":"uppercase"}},e1={class:"section chart-section"},t1=ct(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),o1={class:"flex-center"},l1=["src"],a1={class:"legends"},n1=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),s1={class:"legend"},i1=ct(()=>e.createElementVNode("b",{class:"route1"},null,-1)),d1={key:0,class:"legend"},c1=ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),r1={key:1,class:"legend"},m1=ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),h1={key:1,class:"empty"},p1={class:"section comparison-section"},E1={key:0},y1=ct(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (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)),_1=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),N1=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),V1=ct(()=>e.createElementVNode("th",null,"*FO",-1)),f1=ct(()=>e.createElementVNode("th",null,"*DO",-1)),g1={colspan:"3"},D1={rowspan:"2"},x1={rowspan:"2"},b1={rowspan:"2"},C1={rowspan:"2"},S1={rowspan:"2"},k1={rowspan:"2"},A1={rowspan:"2"},B1={rowspan:"2"},w1={rowspan:"2"},T1=ct(()=>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)),O1={class:"section waypoint-section"},u1={class:"header-block flex-start"},F1=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),P1={class:"title"},L1={key:0,class:"flex-end",style:{flex:"1"}},W1=["onClick"],H1={class:"advisory"},M1=["innerHTML"],G1={class:"major-waypoint"},I1=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),R1={class:"major-body"},z1={class:"cell-item flex",style:{flex:"1.5"}},U1={key:0,class:"flex-center"},Y1={key:1,class:"flex-center"},Z1=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q1={key:0},J1={class:"cell-item flex"},K1={key:0,class:"cell-item flex offset"},q1={key:1,class:"cell-item flex nbsp"},X1={key:2,class:"cell-item flex offset"},j1={key:3,class:"cell-item flex nbsp"},$1={key:4,class:"cell-item flex offset"},v1={key:5,class:"cell-item flex nbsp"},eE={key:6,class:"cell-item flex offset"},tE={key:7,class:"cell-item flex nbsp"},oE={class:"section forecast-section"},lE={class:"header-block flex-start"},aE=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),nE={class:"title"},sE={key:0,class:"flex-end",style:{flex:"1"}},iE=["onClick"],dE={class:"echart-block"},cE={ref:"echart",class:"echart"},rE=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)),mE={class:"flex-center"},hE=ct(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},_E={key:1},NE={key:0,class:"degree-box"},VE={key:1},fE={key:0,class:"degree-box"},gE={key:1},DE=ct(()=>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 xE(t,n,o,d,l,a){var p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo;const E=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Sp,[e.createElementVNode("div",kp,[e.createVNode(E,{name:"Voyage Planning",issued:(p=o.plan)==null?void 0:p.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=G=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("span",Op,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",up,[Fp,e.createElementVNode("span",Pp,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",Lp,[Wp,e.createElementVNode("span",Hp,e.toDisplayString((R=(F=o.plan)==null?void 0:F.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[Ip,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",Rp,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",zp,[e.createVNode(_,{lat:(K=(H=(I=o.plan)==null?void 0:I.leg)==null?void 0:H.departure)==null?void 0:K.lat,label:""},null,8,["lat"]),Up,e.createVNode(D,{lng:(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.departure)==null?void 0:X.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Yp,e.toDisplayString(a.computeUTCTime(((J=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:J.atd)||((c=($=(s=o.plan)==null?void 0:s.leg)==null?void 0:$.departure)==null?void 0:c.etd)||((se=(ee=(oe=(v=o.plan)==null?void 0:v.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Zp,[Qp,(re=(ce=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:ce.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((pe=(de=(he=o.plan)==null?void 0:he.leg)==null?void 0:de.destination)==null?void 0:pe.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[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"]),qp,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",Xp,e.toDisplayString(a.computeUTCTime(((ue=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:ue.ata)||((Ee=(u=(Ne=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:Ne[l.speedIndex])==null?void 0:u.speed)==null?void 0:Ee.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",jp,[$p,e.createElementVNode("span",vp,e.toDisplayString((Le=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",e1,[t1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",o1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,l1)]),e.createElementVNode("div",a1,[n1,e.createElementVNode("div",s1,[i1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=G=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:Ke.speed)==null?void 0:qe.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",d1,[c1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[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=(y=o.plan)==null?void 0:y.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=G=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Xe=(me=(Me=(Te=(Ve=o.plan)==null?void 0:Ve.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:Xe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",h1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...G)=>a.handleRefresh&&a.handleRefresh(...G))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p1,[(ve=($e=o.plan)==null?void 0:$e.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",E1,[e.createElementVNode("thead",null,[y1,e.createElementVNode("tr",null,[_1,N1,V1,f1,e.createElementVNode("th",g1,"*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,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,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",D1,e.toDisplayString(tt+1),1),e.createElementVNode("td",x1,e.toDisplayString((ut=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:ut.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",b1,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,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Xt=G.speed)==null?void 0:Xt.eta))+"]",1)]),e.createElementVNode("td",C1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",S1,e.toDisplayString(a.roundPrecision((jt=G.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",k1,e.toDisplayString(a.roundPrecision(($t=G.speed)==null?void 0:$t.totalDgoCons,3)),1),e.createElementVNode("td",A1,e.toDisplayString(a.roundPrecision(((vt=G.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B1,e.toDisplayString(a.roundPrecision(((eo=G.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",w1,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),T1]),e.createElementVNode("div",O1,[e.createElementVNode("div",u1,[F1,e.createElementVNode("div",P1,"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),((pt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:pt.length)>1?(e.openBlock(),e.createElementBlock("div",L1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(G,tt)=>{var Ot,ut;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((ut=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:ut.name),9,W1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",H1,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=G=>l.advisory=G),class:"editor",height:"120px",onBlur:n[6]||(n[6]=G=>a.handleCommit(G))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...G)=>a.handleEdit&&a.handleEdit(...G)),innerHTML:l.advisory},null,40,M1))]),e.createElementVNode("div",G1,[I1,e.createElementVNode("div",R1,[(_t=(yt=o.plan)==null?void 0:yt.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",z1,[G.isResume?(e.openBlock(),e.createElementBlock("div",U1,"Resume")):(e.openBlock(),e.createElementBlock("div",Y1,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),Z1,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"]),G.pilot?(e.openBlock(),e.createElementBlock("span",Q1," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",J1,e.toDisplayString(a.computeUTCTime(G.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",K1,e.toDisplayString(a.computeNav(G)),1)):(e.openBlock(),e.createElementBlock("div",q1)),tt?(e.openBlock(),e.createElementBlock("div",X1,e.toDisplayString(a.roundPrecision(G.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",j1)),tt?(e.openBlock(),e.createElementBlock("div",$1,e.toDisplayString(a.roundPrecision(G.avgSpd??G.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",v1)),tt?(e.openBlock(),e.createElementBlock("div",eE,e.toDisplayString(a.computeMemo(G)),1)):(e.openBlock(),e.createElementBlock("div",tE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",oE,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,"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",sE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(G,tt)=>{var Ot,ut;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((ut=(Ot=G==null?void 0:G.speed)==null?void 0:Ot.lane)==null?void 0:ut.name),9,iE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",dE,[e.createElementVNode("div",cE,null,512)]),e.createElementVNode("table",null,[rE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(yo=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:yo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(G,tt)=>{var Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,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",mE,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),hE,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(ut=(Ot=G.meteo)==null?void 0:Ot.wind)!=null&&ut.kts?(e.openBlock(),e.createElementBlock("span",pE,[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",EE,"-"))]),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,[(qt=(Kt=(Jt=G.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString(($t=(jt=(Xt=G.meteo)==null?void 0:Xt.wave)==null?void 0:jt.swell)==null?void 0:$t.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",_E,"-"))]),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",NE,[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",VE,"-"))]),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((uo=(Oo=(To=G.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:uo.period,1)),1),e.createElementVNode("td",null,[(Po=(Fo=G.meteo)==null?void 0:Fo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",fE,[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",gE,"-"))]),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),DE])])])}const Vn=fe(Cp,[["render",xE],["__scopeId","data-v-530b57c2"]]),bE={install(t){t.component("RouteReport",dn),t.component("OpiPlanReport",dn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},CE={install(t){t.component("IdmEditor",Ro)}},SE={install(t){t.component("IdmLat",va)}},kE={install(t){t.component("IdmLng",$a)}},AE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},wE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},TE=["fill","fill-opacity"],OE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(le,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):(le=typeof globalThis<"u"?globalThis:le||self,te(le["idmui-report"]={},le["@idmwx/idmwx-base"],le.moment,le.Vue,le.echarts,le["@wangeditor/editor-for-vue"],le["mapbox-gl"],le["@idmwx/idmui-gl"],le["@element-plus/icons-vue"],le["element-plus"],le.axios))})(this,function(le,te,w,e,qs,rn,en,Xs,tn,mn,fl){"use strict";function js(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const zo=js(qs),vv="",fe=(t,n)=>{const o=t.__vccOpts||t;for(const[c,l]of n)o[c]=l;return o},$s={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(n)}`}}}},hn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),vs={class:"section brand-section flex-space"},ei=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),ti={class:"report-box flex-space"},oi={class:"name flex-start"},li={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ai={class:"flex-start",style:{width:"100%"}},ni={class:"label-block flex-evenly",style:{flex:"1"}},si=hn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ii={class:"flex-end",style:{flex:"2"}},ci=hn(()=>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 di(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",vs,[ei,e.createElementVNode("div",ti,[e.createElementVNode("div",oi,e.toDisplayString(o.name),1),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",ii,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),ci])])])}const Uo=fe($s,[["render",di],["__scopeId","data-v-c0d9515b"]]),ri={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},mi={key:0,class:"loading"},hi=e.createElementVNode("i",{class:"iconfont"},"",-1);function pi(t,n,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",mi,[hi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=fe(ri,[["render",pi]]),eee="",Ei={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:Uo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,c;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=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,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,E,i,_,D,S,p,N;const n={};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=(E=t==null?void 0:t.extend)==null?void 0:E.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=n[k.format("MMM-DD")],F=Math.floor(k.get("hour")/6);b?(b.pacc=this.roundPrecision(b.pacc+O,1),b[`${F}`]?b[`${F}`]+=O:(b[`${F}`]=O,b.colspan+=1)):(n[k.format("MMM-DD")]={pacc:O,colspan:1},n[k.format("MMM-DD")][`${F}`]=O)}}}t.paccInDays=n;let o=0;for(const x of Object.keys(n))o+=(_=n[x])==null?void 0:_.colspan,n[x].level=((D=n[x])==null?void 0:D.pacc)<10?"Light":((S=n[x])==null?void 0:S.pacc)<24.9?"Moderate":((p=n[x])==null?void 0:p.pacc)<49.9?"Heavy":((N=n[x])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,E,i;this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(E=(a=this.report)==null?void 0:a.extend)==null?void 0:E.data)==null||i.forEach(_=>{var S,p,N,x,r,C,k,T,P,L,O,b,F;const D=w(_.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),c=((p=(S=_.wave)==null?void 0:S.sig)==null?void 0:p.height)>c?(x=(N=_.wave)==null?void 0:N.sig)==null?void 0:x.height:c,n.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,(F=_.precip)==null?void 0:F.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:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),yi={class:"point-report"},_i={class:"section info-section"},Ni={class:"flex-evenly"},Vi={class:"flex-space label-block",style:{width:"100%"}},fi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),gi={class:"flex-space label-block",style:{width:"100%"}},Di=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),xi={class:"flex-evenly"},bi={class:"flex-space label-block",style:{width:"100%"}},Ci=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Si={class:"flex-space label-block",style:{width:"100%"}},ki={class:"flex-end",style:{width:"180px"}},Ai={class:"section echart-section"},Bi={ref:"echart",class:"echart"},wi={class:"section sample-section"},Ti=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Oi=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),ui=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Fi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Pi=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Li=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Wi=["colspan"],Hi=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Mi=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Gi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ri=st(()=>e.createElementVNode("th",null,"BF",-1)),zi=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ui=st(()=>e.createElementVNode("th",null,"Dir",-1)),Yi=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Zi=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ji=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ki=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Xi=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ji={key:0},$i={key:1},vi=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ec=st(()=>e.createElementVNode("th",null,"°C",-1)),tc={width:"120px"},oc={key:0,class:"degree-box"},lc={key:1},ac={key:0,class:"degree-box"},nc={key:1},sc={key:0,class:"degree-box"},ic={key:1},cc={key:0,class:"degree-box"},dc={key:1},rc={key:0},mc={key:1};function hc(t,n,o,c,l,a){var _,D,S,p;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ni,[e.createElementVNode("div",Vi,[fi,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",gi,[Di,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",xi,[e.createElementVNode("div",bi,[Ci,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Si,[e.createElementVNode("label",ki,"("+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",Ai,[e.createElementVNode("div",Bi,null,512)]),e.createElementVNode("div",wi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ti,Oi,ui,Fi,Pi,Li,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Wi),Hi,Mi]),e.createElementVNode("tr",null,[Gi,Ii,Ri,zi,Ui,Yi,Zi,Qi,Ji,Ki,qi,Xi,o.showPrate?(e.openBlock(),e.createElementBlock("th",ji,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",$i,"Acc (mm)")):e.createCommentVNode("",!0),vi,ec])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=(S=o.report)==null?void 0:S.extend)==null?void 0:p.data,(N,x)=>{var r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",tc,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",oc,[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",lc,"-"))]),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=(F=N.wave)==null?void 0:F.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",ac,[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",nc,"-"))]),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((K=(H=N.wave)==null?void 0:H.swell)==null?void 0:K.period,1)),1),e.createElementVNode("td",null,[(j=(q=N.wave)==null?void 0:q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",sc,[e.createTextVNode(e.toDisplayString((V=(X=N.wave)==null?void 0:X.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",ic,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=N.wave)==null?void 0:s.sig)==null?void 0:$.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,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",cc,[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",dc,"-"))]),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",rc,e.toDisplayString(a.roundPrecision((de=N.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",mc,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 pn=fe(Ei,[["render",hc],["__scopeId","data-v-f465d74a"]]),tee="",pc={props:{name:{type:String,default:""}}},Ec={class:"section brand-section flex-space"},yc=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),_c={class:"report-box flex-space"},Nc={class:"name flex-start"},Vc=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 fc(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Ec,[yc,e.createElementVNode("div",_c,[e.createElementVNode("div",Nc,e.toDisplayString(o.name),1),Vc])])}const ja=fe(pc,[["render",fc],["__scopeId","data-v-602c94e3"]]),oee="",gc={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,n="MMM-DD/HHmm"){return`${w(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Dc={class:"point-report"},xc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bc={class:"report-header flex-center"},Cc={class:"info-box"},Sc=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),kc={class:"info"},Ac=et(()=>e.createElementVNode("label",null,"Position",-1)),Bc={class:"info"},wc=et(()=>e.createElementVNode("label",null,"Issued",-1)),Tc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Oc={class:"report-body"},uc={class:"weather-sample"},Fc=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Pc=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Lc=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Wc=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Hc=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Mc=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Gc=["colspan"],Ic=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Rc=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zc=et(()=>e.createElementVNode("th",null,"Dir",-1)),Uc=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Yc=et(()=>e.createElementVNode("th",null,"BF",-1)),Zc=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Qc=et(()=>e.createElementVNode("th",null,"Dir",-1)),Jc=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Kc=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qc=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xc=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),jc=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$c=et(()=>e.createElementVNode("th",null,"Dir",-1)),vc=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ed={key:0},td={key:1},od=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ld=et(()=>e.createElementVNode("th",null,"°C",-1)),ad={width:"120px"},nd={key:0,class:"degree-box"},sd={key:1},id={key:0,class:"degree-box"},cd={key:1},dd={key:0,class:"degree-box"},rd={key:1},md={key:0,class:"degree-box"},hd={key:1},pd={key:0},Ed={key:1};function yd(t,n,o,c,l,a){const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Dc,[e.createVNode(E),xc,e.createElementVNode("div",bc,[e.createElementVNode("div",Cc,[Sc,e.createElementVNode("div",kc,[Ac,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bc,[wc,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Tc]),e.createElementVNode("div",Oc,[e.createElementVNode("div",uc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Fc,Pc,Lc,Wc,Hc,Mc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Gc),Ic,Rc]),e.createElementVNode("tr",null,[zc,Uc,Yc,Zc,Qc,Jc,Kc,qc,Xc,jc,$c,vc,o.showPrate?(e.openBlock(),e.createElementBlock("th",ed,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",td,"Acc (mm)")):e.createCommentVNode("",!0),od,ld])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe;return e.openBlock(),e.createElementBlock("tr",{key:_},[e.createElementVNode("td",ad,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",nd,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((p=i.wind)==null?void 0:p.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sd,"-"))]),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",id,[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((F=(b=i.wave)==null?void 0:b.swell)==null?void 0:F.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",cd,"-"))]),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",dd,[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((q=(K=i.wave)==null?void 0:K.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(j=i.wave)==null?void 0:j.sig)==null?void 0:X.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",md,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=i.current)==null?void 0:$.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",hd,"-"))]),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",pd,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Ed,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const En=fe(gc,[["render",yd],["__scopeId","data-v-2fead0ca"]]),_d={install(t){t.component("ORMPointReport",pn),t.component("PointReport",En)}},Nd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Vd={class:"logo"},fd=[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 gd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Vd,fd)}const Dd=fe(Nd,[["render",gd]]),xd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},bd={class:"logo"},Cd=[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 Sd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",bd,Cd)}const kd=fe(xd,[["render",Sd]]),Ad={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Bd={class:"logo"},wd=[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 Td(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Bd,wd)}const Od=fe(Ad,[["render",Td]]),see="",ud={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}}},yn=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Fd={class:"lng-box"},Pd={key:0},Ld=yn(()=>e.createElementVNode("span",null,"°",-1)),Wd=yn(()=>e.createElementVNode("span",null,"'",-1));function Hd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Fd,[o.label?(e.openBlock(),e.createElementBlock("span",Pd,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Ld,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Wd,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const $a=fe(ud,[["render",Hd],["__scopeId","data-v-533ec662"]]),iee="",Md={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),Gd={class:"lat-box"},Id={key:0},Rd=_n(()=>e.createElementVNode("span",null,"°",-1)),zd=_n(()=>e.createElementVNode("span",null,"'",-1));function Ud(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Gd,[o.label?(e.openBlock(),e.createElementBlock("span",Id,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Rd,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),zd,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=fe(Md,[["render",Ud],["__scopeId","data-v-d3432239"]]),cee="",Yd={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 n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Zd={class:"editor-box"};function Qd(t,n,o,c,l,a){const E=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Zd,[e.withDirectives(e.createVNode(E,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=_=>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=fe(Yd,[["render",Qd],["__scopeId","data-v-0d3b5c3c"]]),Jd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/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YQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",dee="",ree="",Kd={name:"RouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Route1:Dd,Route2:kd,Route3:Od,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,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[n])==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,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,E;const n=(E=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:E.hours,o=n[0],c=n[n.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 n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,c,l,a,E,i,_,D;if(this.sogChart||(this.sogChart=e.markRaw(zo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(zo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(zo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],p={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 K=w(W.eta).utc();if(K.isAfter(C))break;S.push(`${K.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),I=this.roundPrecision((E=(a=W.meteo)==null?void 0:a.wind)==null?void 0:E.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 F={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};p.series.push(F),N.series.push(R),x.series.push(Z)}this.sogChart.setOption(p),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),qd={class:"route-report"},Xd={class:"report-header flex-space"},jd=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Jd,alt:""},null,-1)),$d=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)),vd={class:"issued flex-end"},er=it(()=>e.createElementVNode("label",null,"Issued",-1)),tr={class:"report-body"},or={class:"voyage-summary flex-space"},lr={class:"title"},ar={key:0},nr={key:1},sr={key:0,class:"initial"},ir={key:1,class:"warning"},cr={class:"summary flex-start"},dr={class:"summary-item"},rr=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),mr={class:"summary-item"},hr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pr={key:0},Er={key:1,class:"flex-start"},yr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_r={class:"summary-item"},Nr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Vr={key:0},fr={key:1,class:"flex-start"},gr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Dr={class:"route-advisory"},xr={class:"charts"},br={key:0},Cr=["src"],Sr={class:"legend-box"},kr=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),Ar={key:0,class:"legend-item"},Br=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],wr={key:1,class:"legend-item"},Tr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Or={key:1,class:"empty"},ur={class:"route-comparison"},Fr=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)),Pr={class:"container"},Lr={key:0},Wr=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)),Hr=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Mr=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Gr=it(()=>e.createElementVNode("th",null,"*FO",-1)),Ir=it(()=>e.createElementVNode("th",null,"*DO",-1)),Rr={colspan:"3"},zr={rowspan:"2"},Ur={rowspan:"2"},Yr={rowspan:"2"},Zr={rowspan:"2"},Qr={rowspan:"2"},Jr={rowspan:"2"},Kr={rowspan:"2"},qr={rowspan:"2"},Xr={rowspan:"2"},jr={class:"route-advisory",style:{"page-break-after":"always"}},$r={class:"advisory"},vr={class:"reason"},em={class:"secondary-title flex-space"},tm=it(()=>e.createElementVNode("div",null,"Note",-1)),om=["innerHTML"],lm={class:"major-waypoints"},am=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),nm={class:"container"},sm=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),im={class:"body"},cm={class:"cell-item",style:{width:"180px"}},dm={key:0,class:"flex-center"},rm={key:1,class:"flex-center"},mm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),hm={key:0},pm={class:"cell-item",style:{width:"100px"}},Em={key:0,class:"cell-item offset",style:{width:"35px"}},ym={key:1,class:"cell-item offset",style:{width:"55px"}},_m={key:2,class:"cell-item offset",style:{width:"40px"}},Nm={key:3,class:"cell-item offset",style:{width:"125px"}},Vm={class:"weather-eChart"},fm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),gm={ref:"sogChart",class:"eChart"},Dm={ref:"windChart",class:"eChart wind"},xm={ref:"waveChart",class:"eChart"},bm={class:"weather-sample"},Cm={class:"secondary-title"},Sm=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)),km={class:"flex-center"},Am=it(()=>e.createElementVNode("span",null,"/",-1)),Bm={key:0,class:"degree-box"},wm={key:1},Tm={key:0,class:"degree-box"},Om={key:1},um={key:0,class:"degree-box"},Fm={key:1},Pm={key:0,class:"degree-box"},Lm={key:1};function Wm(t,n,o,c,l,a){var S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),_=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qd,[e.createVNode(E,{name:"Voyage Planning"}),e.createElementVNode("div",Xd,[jd,$d,e.createElementVNode("div",vd,[er,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",tr,[e.createElementVNode("div",or,[e.createElementVNode("div",lr,[((p=o.plan)==null?void 0:p.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",ar,"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",nr,"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",sr,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",ir,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cr,[e.createElementVNode("div",dr,[rr,e.createElementVNode("span",null,e.toDisplayString((b=(O=o.plan)==null?void 0:O.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",mr,[hr,(Z=(R=(F=o.plan)==null?void 0:F.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Er,[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"]),yr,e.createVNode(_,{lng:(q=(K=(H=o.plan)==null?void 0:H.leg)==null?void 0:K.departure)==null?void 0:q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",_r,[Nr,(V=(X=(j=o.plan)==null?void 0:j.leg)==null?void 0:X.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Vr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",fr,[e.createVNode(i,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),gr,e.createVNode(_,{lat:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Dr,[e.createElementVNode("div",xr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Cr),e.createElementVNode("div",Sr,[kr,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Ar,Br)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",wr,Tr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...u)=>a.handleRefresh&&a.handleRefresh(...u))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",ur,[Fr,e.createElementVNode("div",Pr,[(ce=(he=o.plan)==null?void 0:he.speeds)!=null&&ce.length?(e.openBlock(),e.createElementBlock("table",Lr,[e.createElementVNode("thead",null,[Wr,e.createElementVNode("tr",null,[Hr,Mr,Gr,Ir,e.createElementVNode("th",Rr,"*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((pe=o.plan)==null?void 0:pe.speeds,(u,Ee)=>{var Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ee},[e.createElementVNode("tr",null,[e.createElementVNode("td",zr,e.toDisplayString(Ee+1),1),e.createElementVNode("td",Ur,e.toDisplayString((Le=(Pe=u.speed)==null?void 0:Pe.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=u.speed)==null?void 0:We.label)??"CP"} ${((we=u.speed)==null?void 0:we.v0)??((Ke=(He=u.speed)==null?void 0:He.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",Yr,e.toDisplayString(a.roundPrecision((qe=u.speed)==null?void 0:qe.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=u.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",Zr,e.toDisplayString(a.computeTimeDiff(o.plan,Ee)),1),e.createElementVNode("td",Qr,e.toDisplayString(a.roundPrecision((Oe=u.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",Jr,e.toDisplayString(a.roundPrecision((ze=u.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",Kr,e.toDisplayString(a.roundPrecision(((Ue=u.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",qr,e.toDisplayString(a.roundPrecision(((Ye=u.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",Xr,e.toDisplayString(a.roundPrecision(((Ze=u.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=u.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(y=u.speed)==null?void 0:y.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ve=u.speed)==null?void 0:Ve.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=u.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=u.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jr,[e.createElementVNode("div",$r,[e.createElementVNode("div",vr,[e.createElementVNode("div",em,[tm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=u=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(D,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=u=>l.advisory=u),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...u)=>a.decideDisable&&a.decideDisable(...u)),innerHTML:l.advisory},null,40,om))])]),e.createElementVNode("div",lm,[am,e.createElementVNode("div",nm,[sm,e.createElementVNode("div",im,[(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),(u,Ee)=>(e.openBlock(),e.createElementBlock("div",{key:Ee,class:"cell-row"},[e.createElementVNode("div",cm,[u.isResume?(e.openBlock(),e.createElementBlock("div",dm,"Resume")):(e.openBlock(),e.createElementBlock("div",rm,[e.createVNode(i,{lat:u.lat,label:""},null,8,["lat"]),mm,e.createVNode(_,{lng:u.lng,label:""},null,8,["lng"]),u.pilot?(e.openBlock(),e.createElementBlock("span",hm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pm,e.toDisplayString(a.computeUTCTime(u.eta)),1),Ee?(e.openBlock(),e.createElementBlock("div",Em,e.toDisplayString(a.computeNav(u)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",ym,e.toDisplayString(a.roundPrecision(u.distanceFromStart,1)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",_m,e.toDisplayString(a.roundPrecision(u.avgSpd??u.speed,1)),1)):e.createCommentVNode("",!0),Ee?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString(a.computeMemo(u)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",gm,null,512),e.createElementVNode("div",Dm,null,512),e.createElementVNode("div",xm,null,512)]),e.createElementVNode("div",bm,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Cm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ne=(Fe=(ue=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:ue.speed)==null?void 0:Fe.sample)==null?void 0:Ne.hours,(u,Ee)=>{var Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:Ee,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",km,[e.createVNode(i,{lat:u.lat,label:""},null,8,["lat"]),Am,e.createVNode(_,{lng:u.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(Pe=u.meteo)==null?void 0:Pe.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Bm,[e.createTextVNode(e.toDisplayString((we=(We=u.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ke=(He=u.meteo)==null?void 0:He.wind)==null?void 0:Ke.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(qe=u.meteo)==null?void 0:qe.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=u.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=u.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Tm,[e.createTextVNode(e.toDisplayString((Q=(y=(Je=u.meteo)==null?void 0:Je.wave)==null?void 0:y.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(Ve=u.meteo)==null?void 0:Ve.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Xe=(me=u.meteo)==null?void 0:me.wave)==null?void 0:Xe.swell)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=u.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=u.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",um,[e.createTextVNode(e.toDisplayString((Et=(pt=(ht=u.meteo)==null?void 0:ht.wave)==null?void 0:pt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(yt=u.meteo)==null?void 0:yt.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=u.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=u.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=u.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",Pm,[e.createTextVNode(e.toDisplayString((At=(kt=u.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=u.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Lm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=u.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(u.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=fe(Kd,[["render",Wm],["__scopeId","data-v-ba499fc2"]]),yee="",Hm={name:"RouteReport",components:{Lng:$a,Lat:va,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=w((c=(o=t==null?void 0:t.speeds[n])==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,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,E;const n=(E=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:E.hours,o=n[0],c=n[n.length-1];return w(c.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Mm={class:"route-report"},Gm=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Im={class:"section"},Rm=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),zm={class:"section-body basics"},Um={class:"flex-space section-row"},Ym={class:"flex-start"},Zm=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Qm={class:"flex-start"},Jm={class:"flex-start"},Km=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),qm={class:"flex-start flex"},Xm={key:0,class:"flex"},jm={key:1,class:"flex-space flex"},$m=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),vm={class:"time flex"},eh={class:"flex-space section-row"},th={class:"flex-start"},oh=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),lh={class:"flex-start"},ah={class:"flex-start"},nh=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),sh={class:"flex-start flex"},ih={key:0,class:"flex"},ch={key:1,class:"flex-space"},dh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),rh={class:"time flex"},mh={class:"flex-space section-row"},hh={class:"flex-start"},ph=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Eh={class:"flex-start"},yh={class:"flex-start"},_h=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Nh={class:"flex-start flex"},Vh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},fh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),gh={class:"section-body detail"},Dh={class:"flex-space",style:{"align-items":"stretch"}},xh={class:"chart"},bh=["src"],Ch={key:1,class:"empty flex-center"},Sh={class:"route flex",style:{"justify-content":"space-between"}},kh=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Ah={class:"suggestion"},Bh=["innerHTML"],wh={class:"flex-start legends"},Th=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),Oh={key:0,class:"legend"},uh=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],Fh={key:1,class:"legend"},Ph=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],Lh={class:"section"},Wh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),Hh={class:"section-body comparison"},Mh={class:"container"},Gh={key:0},Ih=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)),Rh={class:"section",style:{"page-break-inside":"avoid"}},zh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Uh={class:"section-body sample"},Yh={class:"major-waypoints"},Zh={class:"container"},Qh=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),Jh={class:"body"},Kh={class:"cell-item flexM"},qh={class:"flex-center"},Xh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jh={class:"cell-item flexL"},$h={key:0,class:"flex-center"},vh={key:1},ep={class:"cell-item flex"},tp={key:0,class:"cell-item flex offset"},op={key:1,class:"cell-item flex nbsp"},lp={key:2,class:"cell-item flex offset"},ap={key:3,class:"cell-item flex nbsp"},np={key:4,class:"cell-item flex offset"},sp={key:5,class:"cell-item flex nbsp"},ip={class:"section"},cp=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),dp={class:"section-body sample"},rp={key:0},mp=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)),hp={class:"flex-center"},pp=ct(()=>e.createElementVNode("span",null,"/",-1)),Ep={key:0,class:"degree-box"},yp={key:1},_p={key:0,class:"degree-box"},Np={key:1},Vp={key:0,class:"degree-box"},fp={key:1},gp={key:0,class:"degree-box"},Dp={key:1},xp=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 bp(t,n,o,c,l,a){var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Mm,[Gm,e.createElementVNode("div",Im,[Rm,e.createElementVNode("div",zm,[e.createElementVNode("div",Um,[e.createElementVNode("div",Ym,[Zm,e.createElementVNode("div",Qm,e.toDisplayString((p=(S=(D=o.plan)==null?void 0:D.voyage)==null?void 0:S.company)==null?void 0:p.name),1)]),e.createElementVNode("div",Jm,[Km,e.createElementVNode("div",qm,[(r=(x=(N=o.plan)==null?void 0:N.leg)==null?void 0:x.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Xm,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",jm,[e.createVNode(E,{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"]),$m,e.createVNode(i,{lng:(F=(b=(O=o.plan)==null?void 0:O.leg)==null?void 0:b.departure)==null?void 0:F.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",vm,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",eh,[e.createElementVNode("div",th,[oh,e.createElementVNode("div",lh,e.toDisplayString((K=(H=(I=o.plan)==null?void 0:I.voyage)==null?void 0:H.vessel)==null?void 0:K.name),1)]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.destination)!=null&&X.name?(e.openBlock(),e.createElementBlock("div",ih,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",ch,[e.createVNode(E,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),dh,e.createVNode(i,{lng:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",rh,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",mh,[e.createElementVNode("div",hh,[ph,e.createElementVNode("div",Eh,e.toDisplayString(a.computeUTCTime((he=o.plan)==null?void 0:he.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",yh,[_h,e.createElementVNode("div",Nh,[e.createElementVNode("div",null,e.toDisplayString((pe=(ce=o.plan)==null?void 0:ce.voyage)==null?void 0:pe.loadCondition),1)])])])])]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",xh,[(ge=o.plan)!=null&&ge.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(De=o.plan)==null?void 0:De.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",Ch,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Sh,[e.createElementVNode("div",null,[kh,e.createElementVNode("div",Ah,[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:n[2]||(n[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",wh,[Th,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",Oh,uh)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",Fh,Ph)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lh,[Wh,e.createElementVNode("div",Hh,[e.createElementVNode("div",Mh,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",Gh,[Ih,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,y,Q,Ve,Te,Me,me,Xe,$e,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((y=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:y.fo)+" FO / "+e.toDisplayString((Ve=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:Ve.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((Xe=U.speed)==null?void 0:Xe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=U.speed)==null?void 0:$e.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",Rh,[zh,e.createElementVNode("div",Uh,[e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[Qh,e.createElementVNode("div",Jh,[(Fe=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(Ee=(u=(Ne=o.plan)==null?void 0:Ne.speeds[0])==null?void 0:u.speed)==null?void 0:Ee.sample)==null?void 0:Pe.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",Kh,[e.createElementVNode("div",qh,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),Xh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",jh,[U.name?(e.openBlock(),e.createElementBlock("span",$h,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",vh,"-"))]),e.createElementVNode("div",ep,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",tp,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",op)),Oe?(e.openBlock(),e.createElementBlock("div",lp,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",ap)),Oe?(e.openBlock(),e.createElementBlock("div",np,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",sp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",ip,[cp,e.createElementVNode("div",dp,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",rp,[mp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:Ke.sample)==null?void 0:qe.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_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",hp,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),pp,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",Ep,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",yp,"-"))]),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((Ve=(Q=(y=U.meteo)==null?void 0:y.wave)==null?void 0:Q.wd)==null?void 0:Ve.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",_p,e.toDisplayString((ve=($e=(Xe=U.meteo)==null?void 0:Xe.wave)==null?void 0:$e.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Np,"-"))]),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((ht=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(pt=U.meteo)==null?void 0:pt.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",Vp,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",fp,"-"))]),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",gp,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Dp,"-"))]),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)])]),xp])}const Nn=fe(Hm,[["render",bp],["__scopeId","data-v-afd0f0bf"]]),gee="",Cp={name:"OrmRouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Brand:Uo,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let c=0;return o&&n&&(c=te.LngLatHelper.guessTimeZoneOffset(n,o)),`${w(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,c,l,a,E;if(n===0)return"-";{const i=w((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:c.speed)==null?void 0:l.eta).diff(w((E=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,E,i,_;const o=(_=(i=(E=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:E.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,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var _,D,S,p,N,x,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{c[C]=Math.PI/8*k});const a=18;let E=4;(x=(N=(p=(S=(D=(_=this.plan)==null?void 0:_.speeds)==null?void 0:D[this.speedIndex])==null?void 0:S.speed)==null?void 0:p.sample)==null?void 0:N.hours)==null||x.forEach(C=>{var T,P,L,O,b,F,R,Z,z,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),E=Math.ceil(((P=(T=k.wave)==null?void 0:T.sig)==null?void 0:P.height)>E?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:E),n.push([f,(b=k.wind)==null?void 0:b.kts,(R=(F=k.wave)==null?void 0:F.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:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(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:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-530b57c2"),t=t(),e.popScopeId(),t),Sp={class:"voyage-plan"},kp={class:"plan-report"},Ap={class:"section voyage-section flex-space"},Bp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},wp={class:"flex-start label-block",style:{width:"100%"}},Tp=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Op={style:{"text-transform":"uppercase"},class:"text-ellipsis"},up={class:"flex-start label-block",style:{width:"100%"}},Fp=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Pp={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Lp={class:"flex-start label-block",style:{width:"100%"}},Wp=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Hp={class:"flex-end"},Mp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Gp={class:"flex-start label-block",style:{width:"100%"}},Ip=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Rp={key:0,class:"flex-end",style:{flex:"1"}},zp={key:1,class:"flex-end",style:{flex:"1"}},Up=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yp={class:"flex-end",style:{width:"120px"}},Zp={class:"flex-space label-block",style:{width:"100%"}},Qp=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Jp={key:0,class:"flex-end",style:{flex:"1"}},Kp={key:1,class:"flex-end",style:{flex:"1"}},qp=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"flex-end",style:{width:"120px"}},jp={class:"flex-space label-block",style:{width:"100%"}},$p=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),vp={class:"flex-end",style:{"text-transform":"uppercase"}},e1={class:"section chart-section"},t1=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),o1={class:"flex-center"},l1=["src"],a1={class:"legends"},n1=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),s1={class:"legend"},i1=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),c1={key:0,class:"legend"},d1=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),r1={key:1,class:"legend"},m1=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),h1={key:1,class:"empty"},p1={class:"section comparison-section"},E1={key:0},y1=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)),_1=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),N1=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),V1=dt(()=>e.createElementVNode("th",null,"*FO",-1)),f1=dt(()=>e.createElementVNode("th",null,"*DO",-1)),g1={colspan:"3"},D1={rowspan:"2"},x1={rowspan:"2"},b1={rowspan:"2"},C1={rowspan:"2"},S1={rowspan:"2"},k1={rowspan:"2"},A1={rowspan:"2"},B1={rowspan:"2"},w1={rowspan:"2"},T1=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)),O1={class:"section waypoint-section"},u1={class:"header-block flex-start"},F1=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),P1={class:"title"},L1={key:0,class:"flex-end",style:{flex:"1"}},W1=["onClick"],H1={class:"advisory"},M1=["innerHTML"],G1={class:"major-waypoint"},I1=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),R1={class:"major-body"},z1={class:"cell-item flex",style:{flex:"1.5"}},U1={key:0,class:"flex-center"},Y1={key:1,class:"flex-center"},Z1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q1={key:0},J1={class:"cell-item flex"},K1={key:0,class:"cell-item flex offset"},q1={key:1,class:"cell-item flex nbsp"},X1={key:2,class:"cell-item flex offset"},j1={key:3,class:"cell-item flex nbsp"},$1={key:4,class:"cell-item flex offset"},v1={key:5,class:"cell-item flex nbsp"},eE={key:6,class:"cell-item flex offset"},tE={key:7,class:"cell-item flex nbsp"},oE={class:"section forecast-section"},lE={class:"header-block flex-start"},aE=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),nE={class:"title"},sE={key:0,class:"flex-end",style:{flex:"1"}},iE=["onClick"],cE={class:"echart-block"},dE={ref:"echart",class:"echart"},rE=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)),mE={class:"flex-center"},hE=dt(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},_E={key:1},NE={key:0,class:"degree-box"},VE={key:1},fE={key:0,class:"degree-box"},gE={key:1},DE=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 xE(t,n,o,c,l,a){var p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo;const E=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),_=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Sp,[e.createElementVNode("div",kp,[e.createVNode(E,{name:"Voyage Planning",issued:(p=o.plan)==null?void 0:p.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=G=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("span",Op,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",up,[Fp,e.createElementVNode("span",Pp,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",Lp,[Wp,e.createElementVNode("span",Hp,e.toDisplayString((R=(F=o.plan)==null?void 0:F.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[Ip,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",Rp,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",zp,[e.createVNode(_,{lat:(K=(H=(I=o.plan)==null?void 0:I.leg)==null?void 0:H.departure)==null?void 0:K.lat,label:""},null,8,["lat"]),Up,e.createVNode(D,{lng:(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.departure)==null?void 0:X.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Yp,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=($=(s=o.plan)==null?void 0:s.leg)==null?void 0:$.departure)==null?void 0:d.etd)||((se=(ee=(oe=(v=o.plan)==null?void 0:v.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Zp,[Qp,(re=(de=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((pe=(ce=(he=o.plan)==null?void 0:he.leg)==null?void 0:ce.destination)==null?void 0:pe.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[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"]),qp,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",Xp,e.toDisplayString(a.computeUTCTime(((ue=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:ue.ata)||((Ee=(u=(Ne=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:Ne[l.speedIndex])==null?void 0:u.speed)==null?void 0:Ee.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",jp,[$p,e.createElementVNode("span",vp,e.toDisplayString((Le=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",e1,[t1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",o1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,l1)]),e.createElementVNode("div",a1,[n1,e.createElementVNode("div",s1,[i1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=G=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:Ke.speed)==null?void 0:qe.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",c1,[d1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[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=(y=o.plan)==null?void 0:y.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=G=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Xe=(me=(Me=(Te=(Ve=o.plan)==null?void 0:Ve.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:Xe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",h1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...G)=>a.handleRefresh&&a.handleRefresh(...G))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p1,[(ve=($e=o.plan)==null?void 0:$e.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",E1,[e.createElementVNode("thead",null,[y1,e.createElementVNode("tr",null,[_1,N1,V1,f1,e.createElementVNode("th",g1,"*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,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,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",D1,e.toDisplayString(tt+1),1),e.createElementVNode("td",x1,e.toDisplayString((ut=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:ut.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",b1,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,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Xt=G.speed)==null?void 0:Xt.eta))+"]",1)]),e.createElementVNode("td",C1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",S1,e.toDisplayString(a.roundPrecision((jt=G.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",k1,e.toDisplayString(a.roundPrecision(($t=G.speed)==null?void 0:$t.totalDgoCons,3)),1),e.createElementVNode("td",A1,e.toDisplayString(a.roundPrecision(((vt=G.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B1,e.toDisplayString(a.roundPrecision(((eo=G.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",w1,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),T1]),e.createElementVNode("div",O1,[e.createElementVNode("div",u1,[F1,e.createElementVNode("div",P1,"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),((pt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:pt.length)>1?(e.openBlock(),e.createElementBlock("div",L1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(G,tt)=>{var Ot,ut;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((ut=(Ot=G.speed)==null?void 0:Ot.lane)==null?void 0:ut.name),9,W1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",H1,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=G=>l.advisory=G),class:"editor",height:"120px",onBlur:n[6]||(n[6]=G=>a.handleCommit(G))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...G)=>a.handleEdit&&a.handleEdit(...G)),innerHTML:l.advisory},null,40,M1))]),e.createElementVNode("div",G1,[I1,e.createElementVNode("div",R1,[(_t=(yt=o.plan)==null?void 0:yt.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",z1,[G.isResume?(e.openBlock(),e.createElementBlock("div",U1,"Resume")):(e.openBlock(),e.createElementBlock("div",Y1,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),Z1,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"]),G.pilot?(e.openBlock(),e.createElementBlock("span",Q1," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",J1,e.toDisplayString(a.computeUTCTime(G.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",K1,e.toDisplayString(a.computeNav(G)),1)):(e.openBlock(),e.createElementBlock("div",q1)),tt?(e.openBlock(),e.createElementBlock("div",X1,e.toDisplayString(a.roundPrecision(G.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",j1)),tt?(e.openBlock(),e.createElementBlock("div",$1,e.toDisplayString(a.roundPrecision(G.avgSpd??G.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",v1)),tt?(e.openBlock(),e.createElementBlock("div",eE,e.toDisplayString(a.computeMemo(G)),1)):(e.openBlock(),e.createElementBlock("div",tE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",oE,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,"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",sE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(G,tt)=>{var Ot,ut;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((ut=(Ot=G==null?void 0:G.speed)==null?void 0:Ot.lane)==null?void 0:ut.name),9,iE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",cE,[e.createElementVNode("div",dE,null,512)]),e.createElementVNode("table",null,[rE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(yo=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:yo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(G,tt)=>{var Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,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",mE,[e.createVNode(_,{lat:G.lat,label:""},null,8,["lat"]),hE,e.createVNode(D,{lng:G.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(ut=(Ot=G.meteo)==null?void 0:Ot.wind)!=null&&ut.kts?(e.openBlock(),e.createElementBlock("span",pE,[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",EE,"-"))]),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,[(qt=(Kt=(Jt=G.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString(($t=(jt=(Xt=G.meteo)==null?void 0:Xt.wave)==null?void 0:jt.swell)==null?void 0:$t.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",_E,"-"))]),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",NE,[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",VE,"-"))]),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((uo=(Oo=(To=G.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:uo.period,1)),1),e.createElementVNode("td",null,[(Po=(Fo=G.meteo)==null?void 0:Fo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",fE,[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",gE,"-"))]),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),DE])])])}const Vn=fe(Cp,[["render",xE],["__scopeId","data-v-530b57c2"]]),bE={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},CE={install(t){t.component("IdmEditor",Ro)}},SE={install(t){t.component("IdmLat",va)}},kE={install(t){t.component("IdmLng",$a)}},AE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},wE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},TE=["fill","fill-opacity"],OE=[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 uE(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",wE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},OE,8,TE)]))])}const fn=fe(AE,[["render",uE]]),FE={install(t){t.component("PiLogo",fn)}},xee="",bee="",PE={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/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTb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1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/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+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmll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agAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxq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0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),d=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),d=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${d} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?d.conclusion="No FO over/under consumption":d.conclusion="No DO/GO over/under consumption ",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO over consumption":d.conclusion="DO/GO over consumption",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO under consumption":d.conclusion="DO/GO under consumption",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,d)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(E=>{let i={time:w(E.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(E.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:E.duration,distance:E.distance,fo:E.foCons,dgo:E.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(E=>{a.push(this.computedSeg(E))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(E=>E.type!=="A"&&E.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),LE=["src"],WE={class:"voyage-main"},HE={class:"main",style:{"page-break-after":"always"}},ME={class:"main-title",style:{position:"relative !important"}},GE=["src"],IE={class:"main-title-content"},RE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),zE={class:"title-date"},UE={class:"main-subtitle"},YE={class:"white"},ZE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),QE={class:"subtitle-main"},JE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),KE={class:"subtitle-main"},qE={class:"main-box"},XE={class:"main-table"},jE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),$E={class:"bold"},vE=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),ey={class:"bold"},ty=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),oy={class:"bold"},ly=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ay={class:"bold"},ny={style:{display:"inline-block",width:"50%"}},sy=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),iy={class:"bold"},dy={style:{display:"inline-block",width:"50%"}},cy=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),ry={class:"tips",style:{display:"flex"}},my={style:{color:"var(--table-note-color)"}},hy={class:"summary-table",style:{"margin-top":"5px"}},py=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),Ey={style:{width:"15%"}},yy={key:1},_y=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),Ny={key:1},Vy=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),fy={key:1},gy=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)),Dy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),xy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},Cy=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),Sy=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),ky={class:"remark-table"},Ay=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)),By=["innerHTML"],wy={class:"analysis page-title"},Ty={class:"analysis-title"},Oy={class:"analysis-title-detail"},uy=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Fy={class:"page-avoid"},Py={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Ly=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Wy=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),Hy=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),My=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),Gy=g(()=>e.createElementVNode("tr",null,null,-1)),Iy={class:"title"},Ry={class:"title"},zy={class:"title"},Uy={class:"title"},Yy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Zy={class:"page-avoid",style:{"margin-bottom":"15px"}},Qy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Jy=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)),Ky=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)),qy=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),Xy={class:"inGoodWx"},jy={class:"inGoodWx"},$y=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),vy={class:"inGoodWx"},e_={class:"inGoodWx"},t_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),o_={class:"inGoodWx"},l_={class:"inGoodWx"},a_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),n_={class:"inGoodWx"},s_={class:"inGoodWx"},i_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),d_={class:"inGoodWx"},c_={class:"inGoodWx"},r_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),m_={class:"inGoodWx"},h_={class:"inGoodWx"},p_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),E_={class:"inGoodWx"},y_={class:"inGoodWx"},__={key:0,class:"analysis-tips"},N_={key:1,class:"analysis-definition"},V_={key:2,class:"analysis-definition"},f_=g(()=>e.createElementVNode("br",null,null,-1)),g_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},D_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),x_=g(()=>e.createElementVNode("span",null,"= ",-1)),b_={key:0},C_={key:1},S_={key:2},k_={key:3},A_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},B_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),w_=g(()=>e.createElementVNode("span",null,"=",-1)),T_={key:0},O_={key:1},u_=g(()=>e.createElementVNode("span",null,"-",-1)),F_=g(()=>e.createElementVNode("span",null,"=",-1)),P_={key:0},L_={key:1},W_={key:6,class:"tr-tips tips-color"},H_={class:"formula page-title"},M_={class:"page-avoid"},G_={class:"subtitle",style:{"margin-top":"0"}},I_={key:0},R_={class:"definition"},z_=g(()=>e.createElementVNode("br",null,null,-1)),U_=g(()=>e.createElementVNode("br",null,null,-1)),Y_=g(()=>e.createElementVNode("br",null,null,-1)),Z_={class:"equation"},Q_=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),J_=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),K_={style:{width:"50%"},class:"fraction"},q_=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X_=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j_=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$_={class:"equation"},v_={style:{width:"35%"}},eN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),tN={style:{width:"50%"},class:"fraction"},oN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),aN={class:"equation"},nN={style:{width:"35%"}},sN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iN={style:{width:"50%"},class:"fraction"},dN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),rN=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)),mN={class:"page-avoid"},hN={key:0,class:"definition",style:{margin:"15px 0"}},pN={class:"equation"},EN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_N={style:{width:"35%"},class:"fraction"},NN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),fN={style:{width:"10%","text-align":"center"}},gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"35%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),AN={style:{width:"10%","text-align":"center"}},BN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),wN={class:"equation"},TN={style:{width:"35%"}},ON=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"35%"},class:"fraction"},FN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),LN={style:{width:"10%","text-align":"center"}},WN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),HN=g(()=>e.createElementVNode("span",null,"=",-1)),MN=g(()=>e.createElementVNode("span",null,"=",-1)),GN=g(()=>e.createElementVNode("span",null,"=",-1)),IN=["innerHTML"],RN={class:"page-avoid"},zN={class:"subtitle page-title"},UN={key:0},YN={class:"definition",style:{"margin-bottom":"15px"}},ZN=g(()=>e.createElementVNode("br",null,null,-1)),QN=g(()=>e.createElementVNode("br",null,null,-1)),JN=g(()=>e.createElementVNode("br",null,null,-1)),KN={class:"equation"},qN=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"25%"},class:"fraction"},$N=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tV=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)),oV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),lV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},aV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),nV={key:0},sV={class:"equation"},iV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),dV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cV={style:{width:"25%"},class:"fraction"},rV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=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 Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),pV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),EV={class:"equation"},yV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),_V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),NV={style:{width:"25%"},class:"fraction"},VV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gV=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)),DV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),xV=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)),bV={key:0,class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"45%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),BV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wV={key:1,class:"equation"},TV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),OV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uV={style:{width:"45%"},class:"fraction"},FV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),PV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV={class:"page-avoid"},WV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),HV={key:0,class:"definition",style:{margin:"15px 0"}},MV={class:"equation"},GV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),IV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RV={style:{width:"20%"},class:"fraction"},zV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YV={style:{width:"20%"},class:"fraction"},ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),JV={style:{width:"10%","text-align":"center"}},KV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qV={class:"equation"},XV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"20%"},class:"fraction"},vV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tf={style:{width:"20%"},class:"fraction"},of=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=g(()=>e.createElementVNode("div",null,"24",-1)),af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nf={style:{width:"10%","text-align":"center"}},sf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),df={class:"equation"},cf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"20%"},class:"fraction"},hf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ef={style:{width:"20%"},class:"fraction"},yf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=g(()=>e.createElementVNode("div",null,"24",-1)),Nf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Vf={style:{width:"10%","text-align":"center"}},ff=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),gf=g(()=>e.createElementVNode("span",null,"=",-1)),Df=g(()=>e.createElementVNode("span",null,"=",-1)),xf=g(()=>e.createElementVNode("span",null,"=",-1)),bf={key:0},Cf={key:0,class:"equation"},Sf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Af={style:{width:"45%"},class:"fraction"},Bf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Tf={style:{width:"10%","text-align":"center"}},Of={key:1,class:"equation"},uf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),Ff=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Pf={style:{width:"45%"},class:"fraction"},Lf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"10%","text-align":"center"}},Mf=["innerHTML"],Gf={class:"page-avoid"},If={key:0},Rf=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),zf={key:0,class:"definition",style:{margin:"15px 0"}},Uf={class:"equation"},Yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Zf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"20%"},class:"fraction"},Jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),qf={style:{width:"20%"},class:"fraction"},Xf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$f={style:{width:"10%","text-align":"center"}},vf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),eg={class:"equation"},tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lg={style:{width:"20%"},class:"fraction"},ag=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),sg={style:{width:"20%"},class:"fraction"},ig=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dg=g(()=>e.createElementVNode("div",null,"24",-1)),cg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rg={style:{width:"10%","text-align":"center"}},mg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),hg={class:"equation"},pg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Eg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yg={style:{width:"20%"},class:"fraction"},_g=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Vg={style:{width:"20%"},class:"fraction"},fg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gg=g(()=>e.createElementVNode("div",null,"24",-1)),Dg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xg={style:{width:"10%","text-align":"center"}},bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Cg=g(()=>e.createElementVNode("span",null,"=",-1)),Sg=g(()=>e.createElementVNode("span",null,"=",-1)),kg=g(()=>e.createElementVNode("span",null,"=",-1)),Ag=["innerHTML"];function Bg(t,n,o,d,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$;const E=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||(p=(S=o.reportData)==null?void 0:S.weather)!=null&&p.overallAsGoodWx?"watermark":"")},[e.createVNode(E,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,LE),e.createElementVNode("div",WE,[e.createElementVNode("div",HE,[e.createElementVNode("div",ME,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,GE),e.createElementVNode("div",IE,[RE,e.createElementVNode("div",zE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",UE,[e.createElementVNode("table",YE,[e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[JE,e.createElementVNode("td",KE,"    "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",$E,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[vE,e.createElementVNode("td",ey,e.toDisplayString((P=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:P.loadCondition),1)]),e.createElementVNode("tr",null,[ty,e.createElementVNode("td",oy,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[ly,e.createElementVNode("td",ay,[e.createElementVNode("span",ny,e.toDisplayString(((F=(b=o.reportData)==null?void 0:b.departure)==null?void 0:F.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,[sy,e.createElementVNode("td",iy,[e.createElementVNode("span",dy,e.toDisplayString(((H=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:H.portName)||a.computedLngLat((q=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:q.lat,(X=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:X.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)])])])]),cy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(c,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",ry,[e.createElementVNode("div",my,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",hy,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",Ey,e.toDisplayString(c.allWx.time)+" hrs",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",yy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[_y,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumFoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",Ny,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Vy,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumDgoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",fy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),gy]))),128)),Dy,e.createElementVNode("div",xy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[Cy,e.createElementVNode("div",null,[Sy,e.createElementVNode("table",ky,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(c,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(c.time),1),e.createElementVNode("td",null,e.toDisplayString(c.duration),1),e.createElementVNode("td",null,e.toDisplayString(c.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.fo),1),e.createElementVNode("td",null,e.toDisplayString(c.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=c=>l.advisory=c),height:"320px",onBlur:n[1]||(n[1]=c=>a.handleCommit(c))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...c)=>a.decideDisable&&a.decideDisable(...c)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(c,v)=>{var oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_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",wy,[e.createElementVNode("div",Ty,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",Oy,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),uy,e.createElementVNode("div",Fy,[e.createElementVNode("table",Py,[e.createElementVNode("tr",null,[Ly,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.type),1),Wy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.fo),1)]),e.createElementVNode("tr",null,[Hy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.speed),1),My,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.dgo),1)]),Gy,e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfOver),1),e.createElementVNode("td",Ry,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",zy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Uy,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfUnder),1)])])]),Yy,e.createElementVNode("div",Zy,[e.createElementVNode("table",Qy,[Jy,Ky,e.createElementVNode("tr",null,[qy,e.createElementVNode("td",Xy,e.toDisplayString(c.goodWx.outEca.distance),1),e.createElementVNode("td",jy,e.toDisplayString(c.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[$y,e.createElementVNode("td",vy,e.toDisplayString(c.goodWx.outEca.time),1),e.createElementVNode("td",e_,e.toDisplayString(c.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[t_,e.createElementVNode("td",o_,e.toDisplayString(c.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",l_,e.toDisplayString(c.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[a_,e.createElementVNode("td",n_,e.toDisplayString(c.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",s_,e.toDisplayString(c.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[i_,e.createElementVNode("td",d_,e.toDisplayString(c.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",c_,e.toDisplayString(c.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[r_,e.createElementVNode("td",m_,e.toDisplayString(c.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",h_,e.toDisplayString(c.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[p_,e.createElementVNode("td",E_,e.toDisplayString(c.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",y_,e.toDisplayString(c.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",__," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",N_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ie=(se=o.reportData)==null?void 0:se.weather)!=null&&ie.favorableCur&&c.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",V_,[e.createTextVNode(" No Charter Party defined good weather was found. "),f_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(ce=o.reportData)==null?void 0:ce.weather)!=null&&re.favorableCur&&c.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",g_,[D_,x_,(de=(he=o.reportData)==null?void 0:he.weather)!=null&&de.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",b_,e.toDisplayString(c.goodWx.avgSpd),1)),(ge=(pe=o.reportData)==null?void 0:pe.weather)!=null&&ge.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",C_,"-")),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",S_,e.toDisplayString(`${a.computedPositive(c.goodWx.avgCf)}`),1)),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",k_,"=")),e.createElementVNode("span",null,e.toDisplayString(c.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",A_,[B_,w_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.avgSpd),1),(ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",T_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",O_,e.toDisplayString(`${a.computedPositive(c.allWx.avgCf)}`),1)),u_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(c.allWx.avgWf)}`),1),F_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.pfmSpd)+" (kts)",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(c.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(c.goodWx.pfmSpd)+" (kts) ",1),c.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",P_,"(Under-performance)")):e.createCommentVNode("",!0),c.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",L_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",W_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[e.createElementVNode("div",G_,[e.createTextVNode(" Time Analysis "),(Fe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I_,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",R_,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),z_,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),U_,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),Y_,e.createElementVNode("div",Z_,[Q_,J_,e.createElementVNode("div",K_,[e.createElementVNode("div",null,e.toDisplayString((u=(Ne=o.reportData)==null?void 0:Ne.weather)!=null&&u.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q_,X_]),j_]),e.createElementVNode("div",$_,[e.createElementVNode("div",v_," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),eN,e.createElementVNode("div",tN,[e.createElementVNode("div",null,e.toDisplayString((Pe=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" kts",1)]),lN]),e.createElementVNode("div",aN,[e.createElementVNode("div",nN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),sN,e.createElementVNode("div",iN,[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),dN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" kts",1)]),cN]),rN])]),e.createElementVNode("div",mN,[c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hN,[e.createElementVNode("div",pN,[EN,yN,e.createElementVNode("div",_N,[e.createElementVNode("div",null,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.weather)!=null&&He.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),NN,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),VN,e.createElementVNode("div",fN,e.toDisplayString(c.timeConclusion.timeAtPfmSpd)+" (hrs)",1),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((qe=(Ke=o.reportData)==null?void 0:Ke.weather)!=null&&qe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),SN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),kN,e.createElementVNode("div",AN,e.toDisplayString(c.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BN]),e.createElementVNode("div",wN,[e.createElementVNode("div",TN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),ON,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((Oe=(U=o.reportData)==null?void 0:U.weather)!=null&&Oe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),FN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.plusAbtSpd),1)]),PN,e.createElementVNode("div",LN,e.toDisplayString(c.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),WN]),e.createElementVNode("div",null,[c.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),HN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),MN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtPfmSpd:c.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtMinusAbtSpd:c.timeConclusion.timeAtPfmSpd),1),GN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeLost:c.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((ze=c.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,IN))]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",UN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",YN,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),ZN,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),QN,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),JN,e.createElementVNode("div",KN,[qN,XN,e.createElementVNode("div",jN,[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),$N,vN]),eV,tV,oV]),e.createElementVNode("div",lV,[aV,((y=(Je=c.extend)==null?void 0:Je.cp)==null?void 0:y.dgo)>0?(e.openBlock(),e.createElementBlock("div",nV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",sV,[iV,dV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((Ve=(Q=o.reportData)==null?void 0:Q.weather)!=null&&Ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),mV,hV,pV]),e.createElementVNode("div",EV,[yV,_V,e.createElementVNode("div",NV,[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),VV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),fV,gV,DV]),xV,((Xe=(me=c.extend)==null?void 0:me.cp)==null?void 0:Xe.dgo)>0?(e.openBlock(),e.createElementBlock("div",bV,[CV,SV,e.createElementVNode("div",kV,[AV,BV,e.createElementVNode("div",null,e.toDisplayString((ve=($e=o.reportData)==null?void 0:$e.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=c.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",wV,[TV,OV,e.createElementVNode("div",uV,[FV,PV,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",LV,[WV,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("div",MV,[GV,IV,e.createElementVNode("div",RV,[e.createElementVNode("div",null,e.toDisplayString((ht=(mt=o.reportData)==null?void 0:mt.weather)!=null&&ht.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),zV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumFoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` + ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),ZV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),QV,e.createElementVNode("div",JV,e.toDisplayString(c.fuelConclusion.fo.entireCons)+" (mt)",1),KV]),e.createElementVNode("div",qV,[XV,jV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Et=(pt=o.reportData)==null?void 0:pt.weather)!=null&&Et.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.overTolerance),1),of,lf]),af,e.createElementVNode("div",nf,e.toDisplayString(c.fuelConclusion.fo.maxCons)+" (mt)",1),sf]),e.createElementVNode("div",df,[cf,rf,e.createElementVNode("div",mf,[e.createElementVNode("div",null,e.toDisplayString((_t=(yt=o.reportData)==null?void 0:yt.weather)!=null&&_t.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.underTolerance),1),yf,_f]),Nf,e.createElementVNode("div",Vf,e.toDisplayString(c.fuelConclusion.fo.minCons)+" (mt)",1),ff]),e.createElementVNode("div",null,[c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),gf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Df,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.entireCons:c.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.maxCons:c.fuelConclusion.fo.entireCons),1),xf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.overCons:c.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),c.allWx.inEca.distance&&c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",bf,[c.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Cf,[Sf,kf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.overCons),1),Bf,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),wf,e.createElementVNode("div",Tf,e.toDisplayString(c.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",Of,[uf,Ff,e.createElementVNode("div",Pf,[e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?c.goodWx.inEca.distance:c.allWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.saving),1),Lf,e.createElementVNode("div",null,e.toDisplayString((xt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&xt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),Wf,e.createElementVNode("div",Hf,e.toDisplayString(c.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,Mf))]),e.createElementVNode("div",Gf,[((Ct=(bt=c.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",If,[Rf,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",zf,[e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((kt=(St=o.reportData)==null?void 0:St.weather)!=null&&kt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Jf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),Kf,e.createElementVNode("div",qf,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumDgoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` - ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),Xf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),jf,e.createElementVNode("div",$f,e.toDisplayString(c.fuelConclusion.dgo.entireCons)+" (mt)",1),vf]),e.createElementVNode("div",eg,[tg,og,e.createElementVNode("div",lg,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),ag,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ng,e.createElementVNode("div",sg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.overTolerance),1),ig,dg]),cg,e.createElementVNode("div",rg,e.toDisplayString(c.fuelConclusion.dgo.maxCons)+" (mt)",1),mg]),e.createElementVNode("div",hg,[pg,Eg,e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),_g,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),Ng,e.createElementVNode("div",Vg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.underTolerance),1),fg,gg]),Dg,e.createElementVNode("div",xg,e.toDisplayString(c.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),e.createElementVNode("div",null,[c.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Sg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.entireCons:c.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.maxCons:c.fuelConclusion.dgo.entireCons),1),kg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.overCons:c.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,Ag))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const wg=fe(PE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Cee="",Tg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":te.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let d="";return n&&(d=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(d=d+" good-weather"),t.excluded===!0&&!o&&(d=d+" excluded"),d}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="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,d,l,a,E,i,_,D,S,p,N,x;this.showCF=((d=(o=this.reportData)==null?void 0:o.weather)==null?void 0:d.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(E=this.reportData)==null?void 0:E.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(_=this.reportData)==null?void 0:_.weather)==null?void 0:D.showSwell)??!0,this.showWave=((p=(S=this.reportData)==null?void 0:S.weather)==null?void 0:p.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 n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=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}}},ye=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Og={class:"table",id:"second-table"},ug=ye(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Fg={class:"subtitle"},Pg={class:"introduce"},Lg={class:"introduce-ship"},Wg={style:{"margin-bottom":"15px"}},Hg=ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Mg={rowspan:"4"},Gg=ye(()=>e.createElementVNode("td",null,"Entire Period",-1)),Ig=ye(()=>e.createElementVNode("td",null,"Good weather period",-1)),Rg=ye(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),zg=ye(()=>e.createElementVNode("td",null,"Excluded period",-1)),Ug=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),Yg={class:"summary-table"},Zg=ye(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Qg=ye(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Jg=ye(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Kg=ye(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),qg=["colspan"],Xg={key:0,colspan:"2"},jg=ye(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),$g=ye(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),vg=ye(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),eD=ye(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),tD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),oD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),lD={key:0,rowspan:"2"},aD=ye(()=>e.createElementVNode("br",null,null,-1)),nD={key:1,rowspan:"2"},sD=ye(()=>e.createElementVNode("br",null,null,-1)),iD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),dD={key:2,rowspan:"2"},cD=ye(()=>e.createElementVNode("br",null,null,-1)),rD={key:3,colspan:"2"},mD={key:4,rowspan:"2"},hD=ye(()=>e.createElementVNode("br",null,null,-1)),pD={key:5,colspan:"2"},ED=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),yD={key:6,rowspan:"2"},_D={key:7,rowspan:"2"},ND=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),VD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),fD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),gD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),DD=ye(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),xD=ye(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),bD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),CD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),SD=ye(()=>e.createElementVNode("th",null,"FO",-1)),kD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),AD=ye(()=>e.createElementVNode("th",null,"Dir",-1)),BD=ye(()=>e.createElementVNode("th",null,"BF",-1)),wD={key:0},TD={key:1},OD={key:2},uD={key:3},FD=ye(()=>e.createElementVNode("th",null,"RPM",-1)),PD=ye(()=>e.createElementVNode("th",null,"Slip%",-1)),LD=ye(()=>e.createElementVNode("th",null,"FO",-1)),WD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),HD=ye(()=>e.createElementVNode("th",null,"FO",-1)),MD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),GD=ye(()=>e.createElementVNode("th",null,"Dir",-1)),ID=ye(()=>e.createElementVNode("th",null,"BF",-1)),RD={class:"summary-tbody"};function zD(t,n,o,d,l,a){var E,i,_,D,S,p,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Og,[ug,e.createElementVNode("div",Fg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",Pg,[e.createElementVNode("div",Lg,[e.createElementVNode("span",null,e.toDisplayString((N=(p=o.reportData)==null?void 0:p.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",Wg,[e.createElementVNode("table",null,[Hg,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",Mg,e.toDisplayString(C+1),1),Gg,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,[Ig,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,[Rg,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,[zg,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))])])]),Ug,e.createElementVNode("div",null,[e.createElementVNode("table",Yg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Zg,Qg,Jg,Kg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,qg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"meteo")):e.createCommentVNode("",!0),jg,$g]),e.createElementVNode("tr",null,[vg,eD,tD,oD,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",lD,[e.createTextVNode("Spd"),aD,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",nD,[e.createTextVNode("Dis"),sD,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),iD,l.showWave?(e.openBlock(),e.createElementBlock("th",dD,[e.createTextVNode("Sea HT"),cD,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",rD,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",mD,[e.createTextVNode("Sig Wave"),hD,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",pD,"Current")):e.createCommentVNode("",!0),ED,o.isAdmin?(e.openBlock(),e.createElementBlock("th",yD,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",_D,"wxFactor")):e.createCommentVNode("",!0),ND,VD,fD,gD,DD,xD,bD,CD]),e.createElementVNode("tr",null,[SD,kD,AD,BD,l.showSwell?(e.openBlock(),e.createElementBlock("th",wD,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",TD,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",OD,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",uD,"CF(kts)")):e.createCommentVNode("",!0),FD,PD,LD,WD,HD,MD,GD,ID])]),e.createElementVNode("tbody",RD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,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=(F=(b=r.meteo)==null?void 0:b.wave)==null?void 0:F.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(((q=(K=(H=r.meteo)==null?void 0:H.wave)==null?void 0:K.sig)==null?void 0:q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((X=(j=r.meteo)==null?void 0:j.current)==null?void 0:X.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 UD=fe(Tg,[["render",zD],["__scopeId","data-v-9fe5beca"]]),YD={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(d=>{let l;d.type=="line"?l={name:d.name,data:d.data,type:d.type,itemStyle:{color:d.color},showSymbol:d.showSymbol,smooth:d.smooth?d.smooth:!1,lineStyle:{type:d.lineType?d.lineType:"solid",dashOffset:5,type:d.lineType=="dotted"?[5,10]:"solid"}}:d.type=="markline"?l={name:d.name,markLine:{data:d.data},type:"line",barCategoryGap:-1,itemStyle:{color:d.color}}:d.type=="bar"?(this.isOilBar=!0,l={name:d.name,data:d.data,showSymbol:d.showSymbol,step:"start",type:"line",itemStyle:{color:d.color},areaStyle:{}}):l={name:d.name,data:d.data,type:d.type,barCategoryGap:-.2,itemStyle:{color:d.color}},o.push(l)}),n.forEach(d=>{o.push(d)}),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 d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(d){return t.getMax(d)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},ZD=["id"];function QD(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,ZD)])}const JD=fe(YD,[["render",QD]]),KD={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},qD={class:"logo"},XD=[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 jD(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",qD,XD)}const $D=fe(KD,[["render",jD]]),kee="",vD={components:{ScCharts:JD,BrabImg:$D},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let d=[];return n.forEach((l,a)=>{let E=0;a==n.length-1?E=t.length-l.id:E=n[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&E>0?(i.push(l.num),E=E-1):i.push("");d.push(i)}),d}},computedCurrent(){return function(t,n){let o=[],d=null,l=0;t.forEach((E,i)=>{E!=d&&this.computedIsNull(E)!==""?(o.push({num:E,id:i}),d=E,l++):this.computedIsNull(E)!==""&&E==d&&(o[l-1].id=i)});let a=[];return o.forEach((E,i)=>{let _=i?o[i-1].id:-1;for(let D=_;D<E.id;D++)a.push(E.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="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,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),d=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=te.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,X;let t=[];(X=(j=this.reportData)==null?void 0:j.segments)==null||X.forEach((V,M)=>{let J=V.extend.cp;V.inventory.sample.hours.forEach((s,$)=>{let c=JSON.parse(JSON.stringify(s));c.cp=J,c.fuelConclusion=V.fuelConclusion,c.timeConclusion=V.timeConclusion,t.push(c)})}),t.sort(function(V,M){let J=V.date,s=M.date;return J-s});let n=[],o=[],d=[],l=[],a=[],E=[],i=[],_=[],D=[],S=[],p=[],N=[],x=[],r=[],C=[],k=[],T=[],P=[],L=[],O=[],b=[],F=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],I=[!1,!1],H=[],K=[];t.forEach((V,M)=>{var s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me;if(n.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,K.push(H),H=[])):I.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,K.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.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]")}),K.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]"),($=V==null?void 0:V.noon)==null?void 0:$.avgSpd,V==null?void 0:V.type]):l.push([w(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((c=V==null?void 0:V.noon)==null?void 0:c.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]"),((oe=V==null?void 0:V.noon)==null?void 0:oe.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):""),d.push((V==null?void 0:V.cpSpd)??""),a.push(((ie=V==null?void 0:V.timeConclusion)==null?void 0:ie.minusAbtSpd)??""),i.push(((ce=V==null?void 0:V.cp)==null?void 0:ce.fo)??""),D.push(((he=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:he.underTolerance)??""),S.push(((pe=(de=V==null?void 0:V.fuelConclusion)==null?void 0:de.fo)==null?void 0:pe.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="";(Fe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Fe.sigSwitch?(J=(Ee=(u=(Ne=V.meteo)==null?void 0:Ne.wave)==null?void 0:u.sig)!=null&&Ee.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)",F.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(qe=(Ke=V.meteo)==null?void 0:Ke.wave)==null?void 0:qe.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)",F.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(y=(Je=(Qe=V.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&y.height?(Te=(Ve=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:Ve.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",F.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),b.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:K},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),d=this.computedArray(d),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),d.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"};E.push(J)}),D.forEach((V,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};E.push(J)}),S.forEach((V,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};E.push(J)}),E.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"};p.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"};p.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"};p.push(J)}),p.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:F,color:"#ff8935",showSymbol:!1,smooth:!0});let q=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:q,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=E,this.DGOChartData=p,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),e2={class:"charts"},t2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),o2={class:"subtitle"},l2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),a2={class:"weather-eChart"},n2={class:"charts page-title"},s2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),i2={class:"subtitle"},d2=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),c2={class:"weather-eChart"},r2={class:"charts page-title"},m2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),h2={class:"subtitle"},p2={class:"message-table"},E2=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),y2=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),_2=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),N2={style:{display:"inline-block",width:"50%"}},V2=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),f2={style:{display:"inline-block",width:"50%"}},g2={style:{margin:"15px auto","padding-left":"20px"}},D2=["src"],x2={class:"charts-imgLegend"},b2={style:{position:"relative",left:"-20px"}},C2=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)),S2=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)),k2=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)),A2={key:0,class:"charts page-title"},B2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),w2={class:"subtitle"},T2={class:"message-table"},O2=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),u2=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),F2=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),P2={style:{display:"inline-block",width:"50%"}},L2=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),W2={style:{display:"inline-block",width:"50%"}},H2={class:"columns"},M2={class:"title"},G2=["innerHTML"],I2={class:"charts",style:{"page-break-before":"always"}},R2=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),z2={class:"methodology"},U2=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),Y2={class:"definition"},Z2={class:"equation"},Q2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),J2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),K2={style:{width:"50%"},class:"fraction"},q2=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X2=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$2={class:"equation"},v2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),e0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),a0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),n0={class:"equation"},s0=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),i0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),d0={style:{width:"50%"},class:"fraction"},c0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r0=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),m0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),h0=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)),p0=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),E0=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)),y0=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),_0=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function N0(t,n,o,d,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe;const E=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||(p=(S=o.reportData)==null?void 0:S.weather)!=null&&p.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",e2,[t2,e.createElementVNode("div",o2,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),l2,e.createElementVNode("div",a2,[e.createVNode(E,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",n2,[s2,e.createElementVNode("div",i2,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),d2,e.createElementVNode("div",c2,[e.createVNode(E,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",r2,[m2,e.createElementVNode("div",h2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",p2,[e.createElementVNode("tr",null,[E2,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,[y2,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[_2,e.createElementVNode("td",null,[e.createElementVNode("span",N2,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=(F=o.reportData)==null?void 0:F.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,[V2,e.createElementVNode("td",null,[e.createElementVNode("span",f2,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,(K=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(q=o.reportData)==null?void 0:q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",g2,[e.createElementVNode("img",{style:{width:"100%"},src:(X=o.reportData)==null?void 0:X.chartUrl,alt:""},null,8,D2),e.createElementVNode("div",x2,[e.createElementVNode("div",b2,[C2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),S2]),k2])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",A2,[B2,e.createElementVNode("div",w2,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",T2,[e.createElementVNode("tr",null,[O2,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[u2,e.createElementVNode("td",null,e.toDisplayString(($=o.reportData)==null?void 0:$.preparedFor),1)]),e.createElementVNode("tr",null,[F2,e.createElementVNode("td",null,[e.createElementVNode("span",P2,e.toDisplayString(((v=(c=o.reportData)==null?void 0:c.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.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=(ce=o.reportData)==null?void 0:ce.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[L2,e.createElementVNode("td",null,[e.createElementVNode("span",W2,e.toDisplayString(((de=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:de.portName)||a.computedLngLat((ge=(pe=o.reportData)==null?void 0:pe.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",H2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ne,u)=>(e.openBlock(),e.createElementBlock("div",{key:Ne.id,class:e.normalizeClass(u%2===0?"item":"item bg")},[e.createElementVNode("div",M2,"FROM "+e.toDisplayString(a.computeFrom(Ne.from))+" "+e.toDisplayString(a.computeUTCTime(Ne.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ne==null?void 0:Ne.body)??"-")},null,8,G2)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",I2,[R2,e.createElementVNode("div",z2,[U2,e.createElementVNode("div",Y2,[e.createElementVNode("div",Z2,[Q2,J2,e.createElementVNode("div",K2,[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),q2,X2]),j2]),e.createElementVNode("div",$2,[v2,e0,e.createElementVNode("div",t0,[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),o0,l0]),a0]),e.createElementVNode("div",n0,[s0,i0,e.createElementVNode("div",d0,[e.createElementVNode("div",null,e.toDisplayString((Fe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c0,r0]),m0]),h0]),p0,E0,y0,_0])])],2)}const V0=fe(vD,[["render",N0],["__scopeId","data-v-4fb04207"]]),Aee="",f0={components:{firstPart:wg,secondPart:UD,thirdPart:V0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},g0={class:"voyage-report"};function D0(t,n,o,d,l,a){const E=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",g0,[e.createVNode(E,{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=fe(f0,[["render",D0],["__scopeId","data-v-61638416"]]),Bee="",x0={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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):n?w(t).utc().format(n):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),d=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),d=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"),E=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:d,port2:l,time2:a,fullTime2:E}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(d.conclusion="Not Available",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}},computedAbt4Spd(){return function(t){var n,o,d;return(n=t.timeConclusion)!=null&&n.spdPercentage?te.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(d=t==null?void 0:t.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${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 n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((d,l)=>{let a=d.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(d.seg)){t.push(d.seg);let i=Object.assign({},d.extend.cp);i.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,i.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let E=[];d.extend.segTimes.forEach(i=>{E.push(this.computedSeg(i))}),this.segDetail.push(E),this.goodDays.push(d.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},h=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),b0=h(()=>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)),C0={class:"fli-main"},S0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),k0={class:"card basics"},A0={class:"list flex"},B0={class:"item"},w0=h(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),T0={class:"content flex"},O0={class:"item"},u0=h(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),F0={class:"content flex"},P0={class:"item"},L0=h(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),W0={class:"content flex"},H0={class:"list"},M0={class:"item"},G0=h(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),I0={class:"content flex"},R0={class:"content flex"},z0={class:"item"},U0=h(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Y0={class:"content flex"},Z0={class:"content flex"},Q0={class:"item"},J0=h(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),K0={class:"content flexL"},q0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),X0={class:"clause"},j0={key:0,class:"definition flex"},$0={key:1,class:"definition flex"},v0={class:"item"},ex=h(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),tx={class:"content"},ox={key:0,class:"item"},lx=h(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),ax={class:"content"},nx={key:1,class:"item"},sx=h(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),ix={class:"content"},dx={key:2,class:"item"},cx=h(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),rx={class:"content"},mx={key:3,class:"item"},hx=h(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),px={class:"content"},Ex={key:4,class:"item"},yx=[h(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],_x={key:5,class:"item"},Nx=[h(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Vx={class:"definition flexM"},fx={class:"table"},gx=h(()=>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)),Dx=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),xx={class:"summary"},bx={key:0,class:"summary-overall"},Cx=h(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Sx={class:"summary-overall-row"},kx={class:"card"},Ax=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bx={class:"main-content"},wx={key:0},Tx={key:1},Ox={class:"card"},ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Fx={class:"main-content"},Px={key:0},Lx={key:1},Wx={class:"card"},Hx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Mx={class:"main-content"},Gx={key:0},Ix={key:1},Rx={class:"summary-overall-row"},zx={class:"card"},Ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Yx={class:"main-content"},Zx={class:"card"},Qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Jx={class:"main-content"},Kx={class:"card"},qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Xx={class:"main-content"},jx=h(()=>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)),$x={class:"card",style:{flex:"1.5"}},vx={class:"card-title"},eb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tb={class:"card-segment"},ob={class:"card-segment"},lb={class:"card-segment"},ab=h(()=>e.createElementVNode("div",null,"Applied",-1)),nb={class:"uppercase"},sb={class:"card summary-card",style:{flex:"1"}},ib=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),db={key:0,class:"main-content"},cb={key:0,class:"iconfont success"},rb={key:1,class:"iconfont error"},mb={key:1,class:"main-content"},hb={class:"card-content",style:{"justify-content":"flex-start"}},pb={class:"card summary-card",style:{flex:"1"}},Eb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),yb={key:0,class:"main-content"},_b={key:0,class:"iconfont success"},Nb={key:1,class:"iconfont error"},Vb={key:1,class:"main-content"},fb={class:"card-content",style:{"justify-content":"flex-start"}},gb={class:"card summary-card",style:{flex:"1"}},Db=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),xb={key:0,class:"main-content"},bb={key:0,class:"iconfont success"},Cb={key:1,class:"iconfont error"},Sb={key:1,class:"main-content"},kb={class:"card-content",style:{"justify-content":"flex-start"}},Ab={style:{"page-break-inside":"avoid"}},Bb=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),wb={class:"remarks"},Tb={class:"item"},Ob=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),ub={class:"speed"},Fb={class:"uppercase"},Pb={class:"item"},Lb=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Wb={key:0,class:"remark-detail"},Hb={key:1,class:"remark-detail"},Mb={class:"page-avoid"},Gb={class:"dashed"},Ib={class:"card phase-title-card",style:{flex:"0.5"}},Rb={class:"card-title"},zb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ub={class:"card-segment"},Yb={class:"card-segment"},Zb={class:"card-segment"},Qb=h(()=>e.createElementVNode("div",null,"Applied",-1)),Jb={class:"uppercase"},Kb=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),qb={class:"phase-analysis"},Xb={class:"card phase-card",style:{flex:"1"}},jb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),$b={class:"main-content"},vb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),eC={class:"main-content"},tC={class:"card-content"},oC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),lC=h(()=>e.createElementVNode("span",null,"mt",-1)),aC={class:"card-content"},nC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),sC=h(()=>e.createElementVNode("span",null,"mt",-1)),iC={class:"card-content"},dC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),cC=h(()=>e.createElementVNode("span",null,"mt",-1)),rC={class:"card-content"},mC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),hC=h(()=>e.createElementVNode("span",null,"mt",-1)),pC=h(()=>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)),EC={class:"card phase-card",style:{flex:"1"}},yC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),_C={class:"main-content"},NC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),VC={class:"main-content"},fC={class:"card-content"},gC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),DC=h(()=>e.createElementVNode("span",null,"mt",-1)),xC={class:"card-content"},bC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),CC=h(()=>e.createElementVNode("span",null,"mt",-1)),SC={class:"card-content"},kC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),AC=h(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},wC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),TC=h(()=>e.createElementVNode("span",null,"mt",-1)),OC=h(()=>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)),uC={class:"phase-analysis"},FC={class:"card phase-card",style:{flex:"1"}},PC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),LC={class:"main-content"},WC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=h(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),IC=h(()=>e.createElementVNode("span",null,"nm",-1)),RC={class:"card-content"},zC=h(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),UC=h(()=>e.createElementVNode("span",null,"nm",-1)),YC={class:"card-content"},ZC=h(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),QC=h(()=>e.createElementVNode("span",null,"nm",-1)),JC={class:"card-content"},KC=h(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),qC=h(()=>e.createElementVNode("span",null,"nm",-1)),XC={class:"card phase-card",style:{flex:"1"}},jC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),$C={class:"main-content"},vC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=h(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),lS=h(()=>e.createElementVNode("span",null,"hrs",-1)),aS={class:"card-content"},nS=h(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),sS=h(()=>e.createElementVNode("span",null,"hrs",-1)),iS={class:"card-content"},dS=h(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),cS=h(()=>e.createElementVNode("span",null,"hrs",-1)),rS={class:"card-content"},mS=h(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),hS=h(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},ES=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),yS={class:"main-content"},_S=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),gS=h(()=>e.createElementVNode("span",null,"kts",-1)),DS={class:"card-content"},xS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=h(()=>e.createElementVNode("span",null,"kts",-1)),CS={class:"card-content"},SS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),kS=h(()=>e.createElementVNode("span",null,"kts",-1)),AS={class:"card-content"},BS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),wS=h(()=>e.createElementVNode("span",null,"kts",-1)),TS={class:"phase-analysis"},OS={class:"card phase-card",style:{flex:"1"}},uS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),FS={class:"main-content"},PS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),MS=h(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),RS=h(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),YS=h(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},QS=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),JS=h(()=>e.createElementVNode("span",null,"mt",-1)),KS={class:"card phase-card",style:{flex:"1"}},qS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),XS={class:"main-content"},jS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),$S={class:"main-content"},vS={class:"card-content"},e3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),t3=h(()=>e.createElementVNode("span",null,"mt",-1)),o3={class:"card-content"},l3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),a3=h(()=>e.createElementVNode("span",null,"mt",-1)),n3={class:"card-content"},s3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),i3=h(()=>e.createElementVNode("span",null,"mt",-1)),d3={class:"card-content"},c3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),r3=h(()=>e.createElementVNode("span",null,"mt",-1)),m3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},h3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),p3={class:"main-content"},E3={class:"card-content"},y3=h(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),_3={key:0},N3=h(()=>e.createElementVNode("span",null,"kts",-1)),V3={key:1},f3={class:"phase-card"},g3={class:"card",style:{flex:"1"}},D3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),x3={key:0,class:"main-content"},b3={key:0,class:"iconfont success"},C3={key:1,class:"iconfont error"},S3={key:1,class:"main-content"},k3={class:"nogwd"},A3={class:"card-content",style:{"justify-content":"flex-start"}},B3={key:0},w3={class:"equation"},T3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),O3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),u3={style:{width:"8%"}},F3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),L3={style:{width:"10%"}},W3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),H3={class:"equation"},M3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),G3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I3={style:{width:"8%"}},R3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U3={style:{width:"10%"}},Y3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Z3={class:"equation"},Q3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),J3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),K3={style:{width:"8%"}},q3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j3={style:{width:"10%"}},$3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),v3={class:"phase-card"},ek={class:"card",style:{flex:"1"}},tk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),ok={key:0,class:"main-content"},lk={key:0,class:"iconfont success"},ak={key:1,class:"iconfont error"},nk={key:1,class:"main-content"},sk={class:"nogwd"},ik={class:"card-content",style:{"justify-content":"flex-start"}},dk={key:0},ck={class:"equation"},rk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),mk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},pk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yk={style:{width:"120px"}},_k=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),gk={class:"equation"},Dk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),xk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bk={style:{width:"8%"}},Ck=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kk={style:{width:"120px"}},Ak=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bk=h(()=>e.createElementVNode("div",null,"24",-1)),wk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Tk={style:{width:"10%"}},Ok=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),uk={class:"equation"},Fk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Pk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"8%"}},Wk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Mk={style:{width:"120px"}},Gk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=h(()=>e.createElementVNode("div",null,"24",-1)),Rk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zk={style:{width:"10%"}},Uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Yk={class:"phase-card"},Zk={class:"card",style:{flex:"1"}},Qk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Jk={key:0,class:"main-content"},Kk={key:0,class:"iconfont success"},qk={key:1,class:"iconfont error"},Xk={key:1,class:"main-content"},jk={class:"nogwd"},$k={class:"card-content",style:{"justify-content":"flex-start"}},vk={key:0},e4={class:"equation"},t4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),o4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),l4={style:{width:"8%"}},a4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),s4={style:{width:"120px"}},i4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),c4={style:{width:"10%"}},r4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),m4={class:"equation"},h4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),p4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),E4={style:{width:"8%"}},y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),N4={style:{width:"120px"}},V4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f4=h(()=>e.createElementVNode("div",null,"24",-1)),g4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),D4={style:{width:"10%"}},x4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),b4={class:"equation"},C4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),S4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"8%"}},A4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),w4={style:{width:"120px"}},T4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O4=h(()=>e.createElementVNode("div",null,"24",-1)),u4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),F4={style:{width:"10%"}},P4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),L4=h(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),W4={class:"formular dashed",style:{"page-break-inside":"avoid"}},H4={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},M4=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),G4={class:""},I4={class:"equation"},R4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),z4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),U4={style:{width:"50%"},class:"fraction"},Y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),J4={class:"equation"},K4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),q4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X4={style:{width:"50%"},class:"fraction"},j4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),v4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),eA={class:"equation"},tA=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),oA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lA={style:{width:"50%"},class:"fraction"},aA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nA=h(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),sA=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),iA=h(()=>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)),dA={class:"flexL formular-item",style:{"margin-left":"20px"}},cA=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),rA={class:""},mA={class:"equation"},hA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),pA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},yA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_A=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VA=h(()=>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)),fA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),gA={class:"equation"},DA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),xA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bA={style:{width:"25%"},class:"fraction"},CA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),kA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),AA=h(()=>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)),BA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),wA={class:"equation"},TA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),OA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uA={style:{width:"25%"},class:"fraction"},FA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),LA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),WA=h(()=>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)),HA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),MA=h(()=>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)),GA=h(()=>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 IA(t,n,o,d,l,a){var E,i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly?"watermark":"")},[b0,e.createElementVNode("div",C0,[S0,e.createElementVNode("div",k0,[e.createElementVNode("div",A0,[e.createElementVNode("div",B0,[w0,e.createElementVNode("div",T0,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",O0,[u0,e.createElementVNode("div",F0,e.toDisplayString((S=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",P0,[L0,e.createElementVNode("div",W0,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",H0,[e.createElementVNode("div",M0,[G0,e.createElementVNode("div",I0,e.toDisplayString(((N=(p=o.reportData)==null?void 0:p.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",R0,e.toDisplayString(a.computedTime((P=(T=o.reportData)==null?void 0:T.departure)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",z0,[U0,e.createElementVNode("div",Y0,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((F=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:F.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Z0,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",Q0,[J0,e.createElementVNode("div",K0,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),q0,e.createElementVNode("div",X0,[(H=(I=o.reportData)==null?void 0:I.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",j0," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",$0,[e.createElementVNode("div",v0,[ex,e.createElementVNode("div",tx,"BF "+e.toDisplayString(((q=(K=o.reportData)==null?void 0:K.weather)==null?void 0:q.windScale)||"-"),1)]),(X=(j=o.reportData)==null?void 0:j.weather)!=null&&X.waveSwitch?(e.openBlock(),e.createElementBlock("div",ox,[lx,e.createElementVNode("div",ax,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((c=($=o.reportData)==null?void 0:$.weather)==null?void 0:c.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",dx,[cx,e.createElementVNode("div",rx,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ce=(ie=o.reportData)==null?void 0:ie.weather)!=null&&ce.waveSwitch||(he=(re=o.reportData)==null?void 0:re.weather)!=null&&he.swellHeight||(pe=(de=o.reportData)==null?void 0:de.weather)!=null&&pe.sigSwitch?(e.openBlock(),e.createElementBlock("div",mx,[hx,e.createElementVNode("div",px,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",Ex,yx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",_x,Nx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Vx,[e.createElementVNode("table",fx,[gx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(y,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(y==null?void 0:y.type),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.speed} | ${y==null?void 0:y.spdOfOver} , ${y.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.fo} | ${y==null?void 0:y.over} , ${y.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.dgo} | ${y==null?void 0:y.over} , ${y.under}`),1)]))),128))])])])]),Dx,e.createElementVNode("div",xx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",bx,[Cx,e.createElementVNode("div",Sx,[e.createElementVNode("div",kx,[Ax,e.createElementVNode("div",Bx,[(ue=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",wx,e.toDisplayString((Ne=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Ne.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Tx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Ox,[ux,e.createElementVNode("div",Fx,[(Ee=(u=o.reportData)==null?void 0:u.goodWx)!=null&&Ee.avgSpd?(e.openBlock(),e.createElementBlock("div",Px,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Lx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Wx,[Hx,e.createElementVNode("div",Mx,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",Gx,e.toDisplayString((Ke=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Ix,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Rx,[e.createElementVNode("div",zx,[Ux,e.createElementVNode("div",Yx,e.toDisplayString((U=(qe=o.reportData)==null?void 0:qe.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",Jx,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Kx,[qx,e.createElementVNode("div",Xx,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),jx])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(y,Q)=>{var Ve,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",$x,[e.createElementVNode("div",vx,[eb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,Xe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Xe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",tb,[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",ob,[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",lb,[ab,e.createElementVNode("div",null,[e.createElementVNode("span",nb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",sb,[ib,(Ve=y.goodWx)!=null&&Ve.distance?(e.openBlock(),e.createElementBlock("div",db,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",cb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",mb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",hb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",pb,[Eb,(Te=y.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",yb,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",_b,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Vb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",fb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",gb,[Db,(Me=y.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",xb,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Cb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Sb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Ab,[Bb,e.createElementVNode("div",wb,[e.createElementVNode("div",Tb,[Ob,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",ub,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",Fb,e.toDisplayString(y.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Ve,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${Ve.port1} (${Ve.fullTime1}) to ${Ve.port2} (${Ve.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Pb,[Lb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${y.begin} to ${y.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",Hb,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(y,Q)=>{var Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,yl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",Mb,[e.createElementVNode("div",Gb,[e.createElementVNode("div",Ib,[e.createElementVNode("div",Rb,[zb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Ft,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Ub,[e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.port1),1),e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.time1),1)]),e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.port2),1),e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.time2),1)])],2))),128)),e.createElementVNode("div",Zb,[Qb,e.createElementVNode("div",null,[e.createElementVNode("span",Jb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])])]),Kb,e.createElementVNode("div",qb,[e.createElementVNode("div",Xb,[jb,e.createElementVNode("div",$b,[e.createElementVNode("span",null,e.toDisplayString(((Ve=y.goodWx)==null?void 0:Ve.avgFoEcaCons)||"-")+" mt",1)]),vb,e.createElementVNode("div",eC,[e.createElementVNode("span",null,e.toDisplayString(((Te=y.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",tC,[oC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=y.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),lC])]),e.createElementVNode("div",aC,[nC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=y.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),sC])]),e.createElementVNode("div",iC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=y.allWx)==null?void 0:Xe.outEca.avgFoCons)||"-"),1),cC])]),e.createElementVNode("div",rC,[mC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=y.allWx)==null?void 0:$e.inEca.avgFoEcaCons)||"-"),1),hC])]),pC]),e.createElementVNode("div",EC,[yC,e.createElementVNode("div",_C,[e.createElementVNode("span",null,e.toDisplayString(((ve=y.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((ot=y.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",fC,[gC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=y.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),DC])]),e.createElementVNode("div",xC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=y.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),CC])]),e.createElementVNode("div",SC,[kC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=y.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),AC])]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=y.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),TC])]),OC])]),e.createElementVNode("div",uC,[e.createElementVNode("div",FC,[PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ht=y.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((pt=y.allWx)==null?void 0:pt.distance)||"-")+" nm",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=y.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=y.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=y.allWx)==null?void 0:_t.outEca.distance)||"-"),1),QC])]),e.createElementVNode("div",JC,[KC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=y.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),qC])])]),e.createElementVNode("div",XC,[jC,e.createElementVNode("div",$C,[e.createElementVNode("span",null,e.toDisplayString(((Vt=y.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((ft=y.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=y.goodWx)==null?void 0:gt.outEca.time)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=y.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),sS])]),e.createElementVNode("div",iS,[dS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=y.allWx)==null?void 0:xt.outEca.time)||"-"),1),cS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=y.allWx)==null?void 0:bt.inEca.time)||"-"),1),hS])])]),e.createElementVNode("div",pS,[ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((Ct=y.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((St=y.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=y.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=y.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=y.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=y.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),wS])])])]),e.createElementVNode("div",TS,[e.createElementVNode("div",OS,[uS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Tt=y.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=y.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=y.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=y.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=y.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[QS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=y.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),JS])])]),e.createElementVNode("div",KS,[qS,e.createElementVNode("div",XS,[e.createElementVNode("span",null,e.toDisplayString(((Vo=y.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),jS,e.createElementVNode("div",$S,[e.createElementVNode("span",null,e.toDisplayString(((G=y.allWx)==null?void 0:G.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",vS,[e3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=y.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),t3])]),e.createElementVNode("div",o3,[l3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=y.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),a3])]),e.createElementVNode("div",n3,[s3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=y.allWx)==null?void 0:ut.outEca.sumDgoCons)||"-"),1),i3])]),e.createElementVNode("div",d3,[c3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=y.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),r3])])]),e.createElementVNode("div",m3,[h3,e.createElementVNode("div",p3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=y.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",E3,[y3,(It=y.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=y.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",_3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=y.goodWx)==null?void 0:Yt.avgCf)),1),N3])):(e.openBlock(),e.createElementBlock("b",V3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",f3,[e.createElementVNode("div",g3,[D3,(Zt=y.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",x3,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",b3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",C3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",S3,[e.createElementVNode("span",k3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",A3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=y.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=y.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",B3,[e.createElementVNode("div",w3,[T3,O3,e.createElementVNode("div",u3,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(Xt=y.goodWx)==null?void 0:Xt.distance:(jt=y.allWx)==null?void 0:jt.distance),1),F3,e.createElementVNode("div",null,e.toDisplayString(($t=y.goodWx)==null?void 0:$t.pfmSpd),1)]),P3,e.createElementVNode("div",L3,e.toDisplayString(y.timeConclusion.timeAtPfmSpd)+" Hrs",1),W3]),e.createElementVNode("div",H3,[M3,G3,e.createElementVNode("div",I3,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=y.goodWx)==null?void 0:to.distance:(oo=y.allWx)==null?void 0:oo.distance),1),R3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),z3,e.createElementVNode("div",U3,e.toDisplayString(y.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Y3]),e.createElementVNode("div",Z3,[Q3,J3,e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=y.goodWx)==null?void 0:no.distance:(so=y.allWx)==null?void 0:so.distance),1),q3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.plusAbtSpd),1)]),X3,e.createElementVNode("div",j3,e.toDisplayString(y.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),$3])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",v3,[e.createElementVNode("div",ek,[tk,(io=y.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",ok,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",lk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ak,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",nk,[e.createElementVNode("span",sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ik,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=y.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=y.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",dk,[e.createElementVNode("div",ck,[rk,mk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=y.goodWx)==null?void 0:xo.distance:(bo=y.allWx)==null?void 0:bo.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString((Co=y.goodWx)==null?void 0:Co.pfmSpd),1)]),Ek,e.createElementVNode("div",yk,[e.createElementVNode("div",null,e.toDisplayString((So=y.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=y.allWx)==null?void 0:ko.inEca.distance)>0?` + ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),_k,e.createElementVNode("div",null,e.toDisplayString((Ao=y.goodWx)==null?void 0:Ao.time),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(y.fuelConclusion.fo.entireCons)+" MT",1),fk]),e.createElementVNode("div",gk,[Dk,xk,e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=y.goodWx)==null?void 0:To.distance:(Oo=y.allWx)==null?void 0:Oo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.overTolerance),1),Ak,Bk]),wk,e.createElementVNode("div",Tk,e.toDisplayString(y.fuelConclusion.fo.maxCons)+" MT",1),Ok]),e.createElementVNode("div",uk,[Fk,Pk,e.createElementVNode("div",Lk,[e.createElementVNode("div",null,e.toDisplayString((Fo=(uo=o.reportData)==null?void 0:uo.weather)!=null&&Fo.noExtrapolation?(Po=y.goodWx)==null?void 0:Po.distance:(Lo=y.allWx)==null?void 0:Lo.distance),1),Wk,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Hk,e.createElementVNode("div",Mk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.underTolerance),1),Gk,Ik]),Rk,e.createElementVNode("div",zk,e.toDisplayString(y.fuelConclusion.fo.minCons)+" MT",1),Uk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Yk,[e.createElementVNode("div",Zk,[Qk,(Wo=y.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",Jk,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Kk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",qk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xk,[e.createElementVNode("span",jk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",$k,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=y.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=y.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",vk,[e.createElementVNode("div",e4,[t4,o4,e.createElementVNode("div",l4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Yo=y.goodWx)==null?void 0:Yo.distance:(Zo=y.allWx)==null?void 0:Zo.distance),1),a4,e.createElementVNode("div",null,e.toDisplayString((Qo=y.goodWx)==null?void 0:Qo.pfmSpd),1)]),n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((Jo=y.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString(((Ko=y.allWx)==null?void 0:Ko.inEca.distance)>0?` - ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),i4,e.createElementVNode("div",null,e.toDisplayString((qo=y.goodWx)==null?void 0:qo.time),1)]),d4,e.createElementVNode("div",c4,e.toDisplayString(y.fuelConclusion.dgo.entireCons)+" MT",1),r4]),e.createElementVNode("div",m4,[h4,p4,e.createElementVNode("div",E4,[e.createElementVNode("div",null,e.toDisplayString((jo=(Xo=o.reportData)==null?void 0:Xo.weather)!=null&&jo.noExtrapolation?($o=y.goodWx)==null?void 0:$o.distance:(vo=y.allWx)==null?void 0:vo.distance),1),y4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),_4,e.createElementVNode("div",N4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.overTolerance),1),V4,f4]),g4,e.createElementVNode("div",D4,e.toDisplayString(y.fuelConclusion.dgo.maxCons)+" MT",1),x4]),e.createElementVNode("div",b4,[C4,S4,e.createElementVNode("div",k4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=y.goodWx)==null?void 0:ol.distance:(ll=y.allWx)==null?void 0:ll.distance),1),A4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),B4,e.createElementVNode("div",w4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.underTolerance),1),T4,O4]),u4,e.createElementVNode("div",F4,e.toDisplayString(y.fuelConclusion.dgo.minCons)+" MT",1),P4])])):e.createCommentVNode("",!0)],2)])]),L4,e.createElementVNode("div",W4,[e.createElementVNode("div",H4,[M4,e.createElementVNode("div",G4,[e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[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),Y4,Z4]),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",X4,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),j4,$4]),v4]),e.createElementVNode("div",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",null,e.toDisplayString((cl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),aA,nA]),sA]),iA])]),e.createElementVNode("div",dA,[cA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[hA,pA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,_A]),NA,VA,fA]),e.createElementVNode("div",gA,[DA,xA,e.createElementVNode("div",bA,[e.createElementVNode("div",null,e.toDisplayString((pl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),CA,SA]),kA,AA,BA]),e.createElementVNode("div",wA,[TA,OA,e.createElementVNode("div",uA,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.reportData)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),FA,PA]),LA,WA,HA]),MA,GA])])])])])}),128))])],2)}const RA=fe(x0,[["render",IA],["__scopeId","data-v-9be6b8be"]]),Fee="",zA={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,d){var E;let l="";const a=((E=this.summaryTable)==null?void 0:E.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!d&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!d&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var d,l;const o=((d=this.summaryTable)==null?void 0:d.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var d,l,a,E;this.showCF=(l=(d=this.reportData)==null?void 0:d.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(E=(a=this.reportData)==null?void 0:a.segments)==null||E.forEach((i,_)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((S,p)=>{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 n="",o="";t.forEach((i,_)=>{i.seg!==n&&(i.isFirstSeg=!0,n=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}}},cn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),UA=cn(()=>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)),YA={class:"table",id:"second-table"},ZA={class:"summary-table"},QA=cn(()=>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)),JA={class:"summary-tbody"},KA=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),qA={class:"voyage-map",style:{"page-break-inside":"avoid"}},XA=cn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),jA=["src"],$A=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 vA(t,n,o,d,l,a){var E,i,_,D,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[UA,e.createElementVNode("div",YA,[e.createElementVNode("div",null,[e.createElementVNode("table",ZA,[QA,e.createElementVNode("tbody",JA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(p,N)=>{var x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(p,N))},e.toDisplayString(p.isFirstSeg?p.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.time),3),a.computedPort(p)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(p)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString((x=p.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(r=p.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0))},e.toDisplayString(p.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0))},e.toDisplayString(p.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((k=(C=p.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((L=(P=(T=p.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(p,N))},e.toDisplayString(((F=(b=(O=p.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:F.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((z=(Z=(R=p.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(p,N))},e.toDisplayString(((W=p.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":p.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((f=p.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((Y=p.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(I=p.cp)==null?void 0:I.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(H=p.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((K=p.noon)==null?void 0:K.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((q=p.noon)==null?void 0:q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":(j=p.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":(X=p.noon)==null?void 0:X.dgoBrob),3)])}),128))])])])]),KA,e.createElementVNode("div",qA,[XA,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,jA),$A])],2)}const eB=fe(zA,[["render",vA],["__scopeId","data-v-a420dc44"]]),Pee="",tB={components:{Summary:RA,Inventory:eB},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},oB={class:"voyage-report"};function lB(t,n,o,d,l,a){const E=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",oB,[e.createVNode(E,{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=fe(tB,[["render",lB],["__scopeId","data-v-7345a543"]]),Lee="",aB={components:{Lng:$a,Lat:va,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.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,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,d)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const E={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(E)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-1c4dbfe0"),t=t(),e.popScopeId(),t),nB={class:"report-summary"},sB={class:"section voyage-section flex-space"},iB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},dB={class:"flex-space label-block",style:{width:"100%"}},cB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),rB={style:{"text-transform":"uppercase"}},mB={class:"flex-space label-block",style:{width:"100%"}},hB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),pB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},EB={class:"flex-space label-block",style:{width:"100%"}},yB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_B={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},NB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},VB={class:"flex-space label-block",style:{width:"100%"}},fB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),gB={key:0,class:"flex-end",style:{flex:"1"}},DB={key:1,class:"flex-end",style:{flex:"1"}},xB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),bB={class:"flex-end",style:{width:"150px"}},CB={class:"flex-space label-block",style:{width:"100%"}},SB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),kB={key:0,class:"flex-end",style:{flex:"1"}},AB={key:1,class:"flex-end",style:{flex:"1"}},BB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wB={class:"flex-end",style:{width:"150px"}},TB={class:"flex-space label-block",style:{width:"100%"}},OB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),uB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},FB={class:"section weather-section"},PB=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),LB={class:"definition"},WB={class:"txt"},HB={class:"section summary-section"},MB=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),GB={class:"phase-box"},IB={class:"phase-index"},RB={class:"phase-position"},zB={key:0},UB={key:1},YB=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),ZB={class:"phase-position"},QB={key:0},JB={key:1},KB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),qB={class:"phase-cp flex-space"},XB={class:"cp-box"},jB=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)),$B={class:"flex-space"},vB=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),t8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),o8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),l8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),a8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),n8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),s8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),i8={class:"phase-conclusion flex-space"},d8={class:"item-conclusion"},c8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),r8={class:"value flex-start"},m8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),h8={key:0,class:"label flex-end"},p8={key:0},E8={key:1},y8={key:2},_8={key:1,class:"label flex-end"},N8={key:2,class:"value flex-end"},V8={key:0},f8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),g8={class:"gain"},D8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),x8={key:1},b8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),C8={class:"lost"},S8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),k8={key:2},A8={class:"item-conclusion"},B8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),w8={class:"value flex-start"},T8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),O8={key:0,class:"label flex-end"},u8={key:0},F8={key:1},P8={key:2},L8={key:1,class:"label flex-end"},W8={key:2,class:"value flex-end"},H8={key:0},M8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),G8={class:"gain"},I8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),R8={key:1},z8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),U8={class:"lost"},Y8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Z8={key:2},Q8={class:"item-conclusion"},J8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),K8={class:"value flex-start"},q8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),X8={key:0,class:"label flex-end"},j8={key:0},$8={key:1},v8={key:2},e5={key:1,class:"label flex-end"},t5={key:2,class:"value flex-end"},o5={key:0},l5=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),a5={class:"gain"},n5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),s5={key:1},i5=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),d5={class:"lost"},c5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),r5={key:2},m5=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),h5=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),p5={key:0,class:"exclusion-block"},E5=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),y5=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)),_5={style:{margin:"8px 0"}},N5={class:"remark-table"},V5=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)),f5=["innerHTML"],g5={class:"section segment-section"},D5=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),x5={class:"segment-index flex-center"},b5={class:"segment-position"},C5={key:0},S5={key:1},k5=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),A5={class:"segment-position"},B5={key:0},w5={key:1},T5=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),O5={style:{margin:"10px 0 0"}},u5=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)),F5=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)),P5=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),L5={class:"good-wx"},W5={class:"good-wx"},H5=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),M5={class:"good-wx"},G5={class:"good-wx"},I5=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),R5={class:"good-wx"},z5={class:"good-wx"},U5=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Y5={class:"good-wx"},Z5={class:"good-wx"},Q5=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),J5={class:"good-wx"},K5={class:"good-wx"},q5=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),X5={class:"good-wx"},j5={class:"good-wx"},$5=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),v5={class:"good-wx"},ew={class:"good-wx"},tw={key:0,class:"flex-end tip"},ow={key:1,class:"segment-speed"},lw={class:"flex-center"},aw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),nw={class:"speed-right flex-space"},sw=m(()=>e.createElementVNode("span",null,"-",-1)),iw=m(()=>e.createElementVNode("label",null,"=",-1)),dw={class:"speed"},cw={key:1,class:"speed"},rw={key:2,class:"under"},mw={key:3,class:"over"},hw={class:"flex-center"},pw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Ew={class:"speed-right formula flex-space"},yw=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed",-1)),_w=m(()=>e.createElementVNode("label",null,"-",-1)),Nw=m(()=>e.createElementVNode("label",null,"Good Weather Current Factor",-1)),Vw=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed ",-1)),fw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),gw={key:2,class:"segment-speed"},Dw={class:"flex-center"},xw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),bw={class:"speed-right flex-space"},Cw=m(()=>e.createElementVNode("span",null,"-",-1)),Sw=m(()=>e.createElementVNode("span",null,"-",-1)),kw=m(()=>e.createElementVNode("label",null,"=",-1)),Aw={class:"speed"},Bw=m(()=>e.createElementVNode("span",null,"-",-1)),ww=m(()=>e.createElementVNode("label",null,"=",-1)),Tw={class:"speed"},Ow={key:2,class:"under"},uw={key:3,class:"over"},Fw={class:"flex-center"},Pw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lw={class:"speed-right formula flex-space"},Ww=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Hw=m(()=>e.createElementVNode("label",null,"-",-1)),Mw=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),Gw=m(()=>e.createElementVNode("label",null,"-",-1)),Iw=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),Rw=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),zw=m(()=>e.createElementVNode("label",null,"-",-1)),Uw=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),Yw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),Zw=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Qw={class:"segment-formula"},Jw={class:"header-block flex-start"},Kw=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),qw={class:"title"},Xw={key:0,style:{"margin-left":"4px","font-weight":"300"}},jw={class:"formula-block"},$w={class:"flex-evenly"},vw=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)),e7={class:"formula-right flex-evenly"},t7={class:"fraction",style:{width:"240px"}},o7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),l7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),a7=m(()=>e.createElementVNode("div",null,"(a)",-1)),n7={class:"flex-center"},s7={class:"formula-left flex-space"},i7=m(()=>e.createElementVNode("label",null,"=",-1)),d7={class:"formula-right flex-evenly"},c7={class:"fraction",style:{width:"240px"}},r7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7=m(()=>e.createElementVNode("div",null,"(b)",-1)),h7={class:"flex-center"},p7={class:"formula-left flex-space"},E7=m(()=>e.createElementVNode("label",null,"=",-1)),y7={class:"formula-right flex-evenly"},_7={class:"fraction",style:{width:"240px"}},N7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V7=m(()=>e.createElementVNode("div",null,"(c)",-1)),f7=e.createStaticVNode('<div class="flex-start" data-v-1c4dbfe0><div class="flex-space" style="width:300px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Time Lost</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(a)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Time Gained</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(c)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(a)</div></div></div>',1),g7={class:"formula-desc"},D7={class:"flex-end"},x7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),b7={class:"flex-end"},C7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),S7={class:"flex-end"},k7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),A7={key:0,class:"formula-block",style:{"font-weight":"400"}},B7={class:"flex-evenly"},w7=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)),T7={class:"formula-right flex-evenly"},O7={class:"fraction",style:{width:"240px"}},u7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),F7=m(()=>e.createElementVNode("div",null,"=",-1)),P7=m(()=>e.createElementVNode("div",null,"(a')",-1)),L7={class:"flex-center"},W7={class:"formula-left flex-space"},H7=m(()=>e.createElementVNode("label",null,"=",-1)),M7={class:"formula-right flex-evenly"},G7={class:"fraction",style:{width:"240px"}},I7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=m(()=>e.createElementVNode("div",null,"=",-1)),z7=m(()=>e.createElementVNode("div",null,"(b')",-1)),U7={class:"flex-center"},Y7={class:"formula-left flex-space"},Z7=m(()=>e.createElementVNode("label",null,"=",-1)),Q7={class:"formula-right flex-evenly"},J7={class:"fraction",style:{width:"240px"}},K7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=m(()=>e.createElementVNode("div",null,"=",-1)),X7=m(()=>e.createElementVNode("div",null,"(c')",-1)),j7={class:"formula-conclusion",style:{"margin-bottom":"0"}},$7={key:0,class:"flex-evenly",style:{width:"500px"}},v7=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),e9=m(()=>e.createElementVNode("div",null,"=",-1)),t9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),o9=m(()=>e.createElementVNode("div",null,"=",-1)),l9=m(()=>e.createElementVNode("div",null,"-",-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9={key:1,class:"flex-evenly",style:{width:"500px"}},s9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),i9=m(()=>e.createElementVNode("div",null,"=",-1)),d9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),c9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"-",-1)),m9=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)),p9={key:1,class:"formula-conclusion"},E9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),y9={class:"segment-formula"},_9={class:"header-block flex-start"},N9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),V9={class:"title"},f9={key:0,style:{"margin-left":"4px","font-weight":"300"}},g9={class:"formula-block"},D9={class:"flex-evenly"},x9=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)),b9={class:"formula-right flex-evenly"},C9={class:"fraction",style:{width:"240px"}},S9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),k9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),A9=m(()=>e.createElementVNode("div",null,"x",-1)),B9=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)),w9=m(()=>e.createElementVNode("div",null,"(d)",-1)),T9={style:{"line-height":"1"}},O9=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)),u9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},F9={class:"flex-center"},P9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),L9={class:"formula-right flex-evenly"},W9={class:"fraction",style:{width:"240px"}},H9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),M9=m(()=>e.createElementVNode("div",null,"x",-1)),G9=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)),I9=m(()=>e.createElementVNode("div",null,"(e)",-1)),R9={class:"flex-center"},z9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"240px"}},Z9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9=m(()=>e.createElementVNode("div",null,"x",-1)),J9=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)),K9=m(()=>e.createElementVNode("div",null,"(f)",-1)),q9=e.createStaticVNode('<div class="flex-start" data-v-1c4dbfe0><div class="flex-space" style="width:300px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Fuel Over-consumption</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(d)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Fuel Saving</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(f)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(d)</div></div></div>',1),X9={class:"flex-center"},j9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},v9={class:"fraction",style:{width:"270px"}},e6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6={class:"flex-center"},l6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),a6={class:"formula-right flex-evenly"},n6={class:"fraction",style:{width:"270px"}},s6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),i6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=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)),c6={class:"header-block flex-start",style:{"margin-top":"10px"}},r6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),m6={class:"title"},h6={key:0,class:"formula-block"},p6={class:"flex-evenly"},E6=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)),y6={class:"formula-right flex-evenly"},_6={class:"fraction",style:{width:"240px"}},N6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V6=m(()=>e.createElementVNode("div",null,"x",-1)),f6={class:"fraction",style:{width:"240px"}},g6={key:0},D6=m(()=>e.createElementVNode("span",null," + ",-1)),x6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),b6=m(()=>e.createElementVNode("div",null,"=",-1)),C6=m(()=>e.createElementVNode("div",null,"(d')",-1)),S6={class:"flex-evenly"},k6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"240px"}},w6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=m(()=>e.createElementVNode("div",null,"x",-1)),O6={class:"fraction",style:{width:"240px"}},u6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),F6=m(()=>e.createElementVNode("div",null,"24",-1)),P6=m(()=>e.createElementVNode("div",null,"=",-1)),L6=m(()=>e.createElementVNode("div",null,"(e')",-1)),W6={class:"flex-evenly"},H6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),M6={class:"formula-right flex-evenly"},G6={class:"fraction",style:{width:"240px"}},I6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R6=m(()=>e.createElementVNode("div",null,"x",-1)),z6={class:"fraction",style:{width:"240px"}},U6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y6=m(()=>e.createElementVNode("div",null,"24",-1)),Z6=m(()=>e.createElementVNode("div",null,"=",-1)),Q6=m(()=>e.createElementVNode("div",null,"(f')",-1)),J6={class:"formula-conclusion",style:{"margin-bottom":"0"}},K6={class:"flex-evenly",style:{width:"500px"}},q6=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),X6=m(()=>e.createElementVNode("div",null,"=",-1)),j6=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),v6=m(()=>e.createElementVNode("div",null,"-",-1)),eT=m(()=>e.createElementVNode("div",null,"=",-1)),tT={key:0,class:"flex-evenly"},oT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),lT=m(()=>e.createElementVNode("div",null,"=",-1)),aT={class:"fraction"},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"=",-1)),iT={class:"flex-evenly",style:{width:"700px"}},dT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),cT=m(()=>e.createElementVNode("div",null,"=",-1)),rT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),mT=m(()=>e.createElementVNode("div",null,"=",-1)),hT=m(()=>e.createElementVNode("div",null,"-",-1)),pT=m(()=>e.createElementVNode("div",null,"=",-1)),ET={key:0,class:"flex-evenly",style:{width:"500px"}},yT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT={class:"fraction",style:{width:"140px"}},VT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),fT=m(()=>e.createElementVNode("div",null,"=",-1)),gT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),DT={key:1,class:"formula-conclusion"},xT={class:"header-block flex-end",style:{"margin-top":"10px"}},bT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),CT={class:"title"},ST={key:0,class:"formula-block"},kT={class:"flex-evenly"},AT=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)),BT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"x",-1)),uT={class:"fraction",style:{width:"240px"}},FT={key:0},PT=m(()=>e.createElementVNode("span",null," - ",-1)),LT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"(d'')",-1)),MT={class:"flex-evenly"},GT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),IT={class:"formula-right flex-evenly"},RT={class:"fraction",style:{width:"240px"}},zT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=m(()=>e.createElementVNode("div",null,"x",-1)),YT={class:"fraction",style:{width:"240px"}},ZT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),QT=m(()=>e.createElementVNode("div",null,"24",-1)),JT=m(()=>e.createElementVNode("div",null,"=",-1)),KT=m(()=>e.createElementVNode("div",null,"(e'')",-1)),qT={class:"flex-evenly"},XT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),jT={class:"formula-right flex-evenly"},$T={class:"fraction",style:{width:"240px"}},vT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),eO=m(()=>e.createElementVNode("div",null,"x",-1)),tO={class:"fraction",style:{width:"240px"}},oO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),lO=m(()=>e.createElementVNode("div",null,"24",-1)),aO=m(()=>e.createElementVNode("div",null,"=",-1)),nO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),sO={class:"formula-conclusion",style:{"margin-bottom":"0"}},iO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),cO=m(()=>e.createElementVNode("div",null,"=",-1)),rO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),mO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"-",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},yO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),_O=m(()=>e.createElementVNode("div",null,"=",-1)),NO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"-",-1)),gO=m(()=>e.createElementVNode("div",null,"=",-1)),DO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function bO(t,n,o,d,l,a){var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",nB,[e.createElementVNode("div",sB,[e.createElementVNode("div",iB,[e.createElementVNode("div",dB,[cB,e.createElementVNode("span",rB,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",mB,[hB,e.createElementVNode("span",pB,e.toDisplayString((S=(D=o.report)==null?void 0:D.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(p=o.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",EB,[yB,e.createElementVNode("span",_B,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",NB,[e.createElementVNode("div",VB,[fB,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",gB,e.toDisplayString((P=(T=o.report)==null?void 0:T.departure)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",DB,[e.createVNode(E,{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"]),xB,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",bB,e.toDisplayString(a.computeUTCTime((F=o.report.departure)==null?void 0:F.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",CB,[SB,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",kB,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",AB,[e.createVNode(E,{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"]),BB,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",wB,e.toDisplayString(a.computeUTCTime((q=(K=o.report)==null?void 0:K.arrival)==null?void 0:q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",TB,[OB,e.createElementVNode("span",uB,e.toDisplayString((X=(j=o.report)==null?void 0:j.voyage)==null?void 0:X.loadCondition),1)])])]),e.createElementVNode("div",FB,[PB,e.createElementVNode("div",LB,[e.createElementVNode("div",WB,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",HB,[MB,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(s,$)=>{var c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+$},[e.createElementVNode("div",GB,[e.createElementVNode("div",IB,"Seg."+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(Q,Ve)=>{var Te,Me,me,Xe,$e,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Ve},[e.createElementVNode("div",RB,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",zB,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",UB,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((Xe=Q==null?void 0:Q.departure)==null?void 0:Xe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime(($e=Q==null?void 0:Q.departure)==null?void 0:$e.utcTime))+")",1)]),YB,e.createElementVNode("div",ZB,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",QB,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",JB,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)),KB,e.createElementVNode("div",qB,[e.createElementVNode("div",XB,[jB,e.createElementVNode("div",$B,[vB,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[e8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ce=(ie=s==null?void 0:s.extend)==null?void 0:ie.cp)==null?void 0:ce.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:he.fo)+" |",1),e.createElementVNode("span",null,[o8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[l8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((pe=(de=s==null?void 0:s.extend)==null?void 0:de.cp)==null?void 0:pe.dgo)+" |",1),e.createElementVNode("span",null,[a8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[n8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),s8,e.createElementVNode("div",i8,[e.createElementVNode("div",d8,[c8,e.createElementVNode("div",r8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),m8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",h8,[((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",p8," Time Gained ")):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",E8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",y8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",N8,[((xe=s==null?void 0:s.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",V8,[f8,e.createElementVNode("span",g8,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeGain),1),D8])):((Ce=s==null?void 0:s.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",x8,[b8,e.createElementVNode("span",C8,e.toDisplayString((Se=s==null?void 0:s.timeConclusion)==null?void 0:Se.timeLost),1),S8])):(e.openBlock(),e.createElementBlock("div",k8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",A8,[B8,e.createElementVNode("div",w8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),T8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",O8,[((Ae=(ke=s==null?void 0:s.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u8," FO Saving ")):((ue=(Be=s==null?void 0:s.fuelConclusion)==null?void 0:Be.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",P8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",L8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",W8,[((Ne=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Ne.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",H8,[M8,e.createElementVNode("span",G8,e.toDisplayString((Ee=(u=s==null?void 0:s.fuelConclusion)==null?void 0:u.fo)==null?void 0:Ee.saving),1),I8])):((Le=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",R8,[z8,e.createElementVNode("span",U8,e.toDisplayString((we=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),Y8])):(e.openBlock(),e.createElementBlock("div",Z8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Q8,[J8,e.createElementVNode("div",K8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),q8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",X8,[((Ke=(He=s==null?void 0:s.fuelConclusion)==null?void 0:He.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",j8," DO/GO Saving ")):((U=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",v8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",e5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",t5,[((ze=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",o5,[l5,e.createElementVNode("span",a5,e.toDisplayString((Ye=(Ue=s==null?void 0:s.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),n5])):((Qe=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",s5,[i5,e.createElementVNode("span",d5,e.toDisplayString((y=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:y.overCons),1),c5])):(e.openBlock(),e.createElementBlock("div",r5,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),m5]),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")},[h5,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",p5,[E5,y5,e.createElementVNode("div",_5,[e.createElementVNode("table",N5,[V5,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString($+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,f5))],2)],2),e.createElementVNode("div",g5,[D5,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,$)=>{var c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja,ne,mo,Ka,qa,Xa,rt,ln,an,nn,sn,Pt,Wn,Hn,Mn,Gn,In,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,qn,Xn,jn,$n,vn,es,ts,os,ls,as,ns,ss,is,ds,cs,rs,ms,hs,ps,Es,ys,_s,Ns,Vs,fs,gs,Ds,xs,bs,Cs,Ss,ks,As,Bs,ws,Ts,Os,us,Fs,Ps,Ls,Ws,Hs,Ms;return e.openBlock(),e.createElementBlock("div",{key:$,class:"segment-block"},[e.createElementVNode("div",x5,"Voyage Analysis Seg. "+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(je,$v)=>{var Gs,Is,Rs,zs,Us,Ys,Zs,Qs,Js,Ks;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:$v},[e.createElementVNode("div",b5,[(Gs=je==null?void 0:je.departure)!=null&&Gs.portName?(e.openBlock(),e.createElementBlock("span",C5,e.toDisplayString((Is=je==null?void 0:je.departure)==null?void 0:Is.portName),1)):(e.openBlock(),e.createElementBlock("span",S5,e.toDisplayString(a.computeLat((Rs=je==null?void 0:je.departure)==null?void 0:Rs.lat).pretty)+", "+e.toDisplayString(a.computeLng((zs=je==null?void 0:je.departure)==null?void 0:zs.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Us=je==null?void 0:je.departure)==null?void 0:Us.utcTime))+")",1)]),k5,e.createElementVNode("div",A5,[(Ys=je==null?void 0:je.arrival)!=null&&Ys.portName?(e.openBlock(),e.createElementBlock("span",B5,e.toDisplayString((Zs=je==null?void 0:je.arrival)==null?void 0:Zs.portName),1)):(e.openBlock(),e.createElementBlock("span",w5,e.toDisplayString(a.computeLat((Qs=je==null?void 0:je.arrival)==null?void 0:Qs.lat).pretty)+", "+e.toDisplayString(a.computeLng((Js=je==null?void 0:je.arrival)==null?void 0:Js.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ks=je==null?void 0:je.arrival)==null?void 0:Ks.utcTime))+")",1)])])}),128)),T5,e.createElementVNode("div",O5,[e.createElementVNode("table",null,[u5,F5,e.createElementVNode("tr",null,[P5,e.createElementVNode("td",L5,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",W5,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=s==null?void 0:s.allWx)==null?void 0:ie.outEca)==null?void 0:ce.distance),1),e.createElementVNode("td",null,e.toDisplayString((he=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:he.distance),1)]),e.createElementVNode("tr",null,[H5,e.createElementVNode("td",M5,e.toDisplayString((pe=(de=s==null?void 0:s.goodWx)==null?void 0:de.outEca)==null?void 0:pe.time),1),e.createElementVNode("td",G5,e.toDisplayString((De=(ge=s==null?void 0:s.goodWx)==null?void 0:ge.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=s==null?void 0:s.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=s==null?void 0:s.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[I5,e.createElementVNode("td",R5,e.toDisplayString(((Ae=(ke=s==null?void 0:s.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",z5,e.toDisplayString(((ue=(Be=s==null?void 0:s.goodWx)==null?void 0:Be.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ne=(Fe=s==null?void 0:s.allWx)==null?void 0:Fe.outEca)==null?void 0:Ne.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(u=s==null?void 0:s.allWx)==null?void 0:u.inEca)==null?void 0:Ee.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[U5,e.createElementVNode("td",Y5,e.toDisplayString(((Le=(Pe=s==null?void 0:s.goodWx)==null?void 0:Pe.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",Z5,e.toDisplayString(((we=(We=s==null?void 0:s.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(He=s==null?void 0:s.allWx)==null?void 0:He.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Q5,e.createElementVNode("td",J5,e.toDisplayString(((ze=(Oe=s==null?void 0:s.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",K5,e.toDisplayString(((Ye=(Ue=s==null?void 0:s.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((y=(Je=s==null?void 0:s.allWx)==null?void 0:Je.inEca)==null?void 0:y.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[q5,e.createElementVNode("td",X5,e.toDisplayString(((Ve=(Q=s==null?void 0:s.goodWx)==null?void 0:Q.outEca)==null?void 0:Ve.sumDgoCons)||"--"),1),e.createElementVNode("td",j5,e.toDisplayString(((Me=(Te=s==null?void 0:s.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Xe=(me=s==null?void 0:s.allWx)==null?void 0:me.outEca)==null?void 0:Xe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=($e=s==null?void 0:s.allWx)==null?void 0:$e.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[$5,e.createElementVNode("td",v5,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",ew,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(mt=s==null?void 0:s.allWx)==null?void 0:mt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(pt=s==null?void 0:s.allWx)==null?void 0:pt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[$])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",tw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=s==null?void 0:s.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",ow,[e.createElementVNode("div",lw,[aw,e.createElementVNode("div",nw,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=s==null?void 0:s.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock("span",cw,e.toDisplayString((St=s==null?void 0:s.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgSpd),1),sw,e.createElementVNode("span",null,e.toDisplayString(((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf:`(${(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf})`),1),iw,e.createElementVNode("span",dw,e.toDisplayString((Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.pfmSpd)+" (kts)",1)],64)),((kt=s==null?void 0:s.goodWx)==null?void 0:kt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",rw,"(Under-performance)")):e.createCommentVNode("",!0),((At=s==null?void 0:s.goodWx)==null?void 0:At.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",mw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",hw,[pw,e.createElementVNode("div",Ew,[(wt=(Bt=o.report)==null?void 0:Bt.weather)!=null&&wt.favorableCur&&((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Vw,fw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[yw,_w,Nw],64))])])])):(e.openBlock(),e.createElementBlock("div",gw,[e.createElementVNode("div",Dw,[xw,e.createElementVNode("div",bw,[(ho=(Ht=o.report)==null?void 0:Ht.weather)!=null&&ho.favorableCur&&((yo=s==null?void 0:s.allWx)==null?void 0:yo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Gt=s==null?void 0:s.allWx)==null?void 0:Gt.avgSpd),1),Bw,e.createElementVNode("span",null,e.toDisplayString(((It=s==null?void 0:s.allWx)==null?void 0:It.avgWf)>0?(Rt=s==null?void 0:s.allWx)==null?void 0:Rt.avgWf:`(${(zt=s==null?void 0:s.allWx)==null?void 0:zt.avgWf})`),1),ww,e.createElementVNode("span",Tw,e.toDisplayString((Ut=s==null?void 0:s.allWx)==null?void 0:Ut.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((_o=s==null?void 0:s.allWx)==null?void 0:_o.avgSpd),1),Cw,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.allWx)==null?void 0:No.avgCf)>0?(Vo=s==null?void 0:s.allWx)==null?void 0:Vo.avgCf:`(${(G=s==null?void 0:s.allWx)==null?void 0:G.avgCf})`),1),Sw,e.createElementVNode("span",null,e.toDisplayString(((tt=s==null?void 0:s.allWx)==null?void 0:tt.avgWf)>0?(Ot=s==null?void 0:s.allWx)==null?void 0:Ot.avgWf:`(${(ut=s==null?void 0:s.allWx)==null?void 0:ut.avgWf})`),1),kw,e.createElementVNode("span",Aw,e.toDisplayString((Mt=s==null?void 0:s.allWx)==null?void 0:Mt.pfmSpd)+" (kts)",1)],64)),((Yt=s==null?void 0:s.allWx)==null?void 0:Yt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Ow,"(Under-performance)")):e.createCommentVNode("",!0),((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",uw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fw,[Pw,e.createElementVNode("div",Lw,[(Jt=(Qt=o.report)==null?void 0:Qt.weather)!=null&&Jt.favorableCur&&((Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Rw,zw,Uw,Yw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ww,Hw,Mw,Gw,Iw],64))])])])),Zw,e.createElementVNode("div",Qw,[e.createElementVNode("div",Jw,[Kw,e.createElementVNode("div",qw,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Time Analysis",1),(Xt=(qt=o.report)==null?void 0:qt.weather)!=null&&Xt.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Xw,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jw,[e.createElementVNode("div",$w,[vw,e.createElementVNode("div",e7,[e.createElementVNode("div",t7,[e.createElementVNode("div",null,e.toDisplayString(($t=(jt=o.report)==null?void 0:jt.weather)!=null&&$t.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o7,l7]),a7])]),e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(eo=(vt=s==null?void 0:s.extend)==null?void 0:vt.cp)==null?void 0:eo.speed,"Under"))+"kts)",1),i7]),e.createElementVNode("div",d7,[e.createElementVNode("div",c7,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),r7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ao=(lo=s==null?void 0:s.extend)==null?void 0:lo.cp)==null?void 0:ao.speed,"Under"))+"kts",1)]),m7])]),e.createElementVNode("div",h7,[e.createElementVNode("div",p7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(so=(no=s==null?void 0:s.extend)==null?void 0:no.cp)==null?void 0:so.speed,"Over"))+"kts)",1),E7]),e.createElementVNode("div",y7,[e.createElementVNode("div",_7,[e.createElementVNode("div",null,e.toDisplayString((co=(io=o.report)==null?void 0:io.weather)!=null&&co.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),N7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(go=(fo=s==null?void 0:s.extend)==null?void 0:fo.cp)==null?void 0:go.speed,"Over"))+"kts",1)]),V7])]),f7]),e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[x7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(xo=(Do=s==null?void 0:s.extend)==null?void 0:Do.cp)==null?void 0:xo.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",b7,[C7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Co=(bo=s==null?void 0:s.extend)==null?void 0:bo.cp)==null?void 0:Co.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S7,[k7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ko=(So=s==null?void 0:s.extend)==null?void 0:So.cp)==null?void 0:ko.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(Ao=s==null?void 0:s.extend)==null?void 0:Ao.cp)==null?void 0:Bo.speed,"Under"))+" kts)",1)])]),(wo=s==null?void 0:s.goodWx)!=null&&wo.distance?(e.openBlock(),e.createElementBlock("div",A7,[e.createElementVNode("div",B7,[w7,e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("div",null,e.toDisplayString((Oo=(To=o.report)==null?void 0:To.weather)!=null&&Oo.noExtrapolation?(uo=s==null?void 0:s.goodWx)==null?void 0:uo.distance:(Fo=s==null?void 0:s.allWx)==null?void 0:Fo.distance),1),u7,e.createElementVNode("div",null,e.toDisplayString((Po=s==null?void 0:s.goodWx)==null?void 0:Po.pfmSpd),1)]),F7,e.createElementVNode("div",null,e.toDisplayString((Lo=s==null?void 0:s.timeConclusion)==null?void 0:Lo.timeAtPfmSpd)+" (hrs)",1),P7])]),e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+"kts)",1),H7]),e.createElementVNode("div",M7,[e.createElementVNode("div",G7,[e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=o.report)==null?void 0:Mo.weather)!=null&&Go.noExtrapolation?(Io=s==null?void 0:s.goodWx)==null?void 0:Io.distance:(Yo=s==null?void 0:s.allWx)==null?void 0:Yo.distance),1),I7,e.createElementVNode("div",null,e.toDisplayString((Zo=s==null?void 0:s.timeConclusion)==null?void 0:Zo.minusAbtSpd),1)]),R7,e.createElementVNode("div",null,e.toDisplayString((Qo=s==null?void 0:s.timeConclusion)==null?void 0:Qo.timeAtMinusAbtSpd)+" (hrs)",1),z7])]),e.createElementVNode("div",U7,[e.createElementVNode("div",Y7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ko=(Jo=s==null?void 0:s.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Over"))+"kts)",1),Z7]),e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.report)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:($o=s==null?void 0:s.allWx)==null?void 0:$o.distance),1),K7,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.plusAbtSpd),1)]),q7,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPlusAbtSpd)+" (hrs)",1),X7])]),e.createElementVNode("div",j7,[((tl=s==null?void 0:s.timeConclusion)==null?void 0:tl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",$7,[v7,e9,t9,o9,e.createElementVNode("div",null,e.toDisplayString((ol=s==null?void 0:s.timeConclusion)==null?void 0:ol.timeAtPfmSpd),1),l9,e.createElementVNode("div",null,e.toDisplayString((ll=s==null?void 0:s.timeConclusion)==null?void 0:ll.timeAtMinusAbtSpd),1),a9,e.createElementVNode("div",null,e.toDisplayString((al=s==null?void 0:s.timeConclusion)==null?void 0:al.timeLost)+" (hrs)",1)])):((nl=s==null?void 0:s.timeConclusion)==null?void 0:nl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",n9,[s9,i9,d9,c9,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.timeAtPlusAbtSpd),1),r9,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeAtPfmSpd),1),m9,e.createElementVNode("div",null,e.toDisplayString((dl=s==null?void 0:s.timeConclusion)==null?void 0:dl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.conclusionStatus)==="Lost"?"flex-center lost":((rl=s==null?void 0:s.timeConclusion)==null?void 0:rl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[h9,e.createElementVNode("div",null,e.toDisplayString(((ml=s==null?void 0:s.timeConclusion)==null?void 0:ml.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",p9,e.toDisplayString(l.noGoodWxDay),1))]),E9,e.createElementVNode("div",y9,[e.createElementVNode("div",_9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Consumption Analysis",1),(pl=(hl=o.report)==null?void 0:hl.weather)!=null&&pl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",f9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",g9,[e.createElementVNode("div",D9,[x9,e.createElementVNode("div",b9,[e.createElementVNode("div",C9,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.report)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),S9,k9]),A9,B9,w9])]),e.createElementVNode("div",T9,[O9,((Nl=(Ft=s.extend)==null?void 0:Ft.cp)==null?void 0:Nl.dgo)>0?(e.openBlock(),e.createElementBlock("div",u9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",F9,[P9,e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[e.createElementVNode("div",null,e.toDisplayString((Dl=(gl=o.report)==null?void 0:gl.weather)!=null&&Dl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(bl=(xl=s==null?void 0:s.extend)==null?void 0:xl.cp)==null?void 0:bl.speed,"Under"))+"kts",1)]),M9,G9,I9])]),e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=o.report)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Z9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Al=(kl=s==null?void 0:s.extend)==null?void 0:kl.cp)==null?void 0:Al.speed,"Under"))+"kts",1)]),Q9,J9,K9])]),q9,((wl=(Bl=s.extend)==null?void 0:Bl.cp)==null?void 0:wl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",X9,[j9,e.createElementVNode("div",$9,[e.createElementVNode("div",v9,[e6,t6,e.createElementVNode("div",null,e.toDisplayString((Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",o6,[l6,e.createElementVNode("div",a6,[e.createElementVNode("div",n6,[s6,i6,e.createElementVNode("div",null,e.toDisplayString((Fl=(ul=o.report)==null?void 0:ul.weather)!=null&&Fl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),d6,e.createElementVNode("div",c6,[r6,e.createElementVNode("div",m6,"Seg. "+e.toDisplayString($+1)+" Fuel Oil",1)]),(Pl=s==null?void 0:s.goodWx)!=null&&Pl.distance?(e.openBlock(),e.createElementBlock("div",h6,[e.createElementVNode("div",p6,[E6,e.createElementVNode("div",y6,[e.createElementVNode("div",_6,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=o.report)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?(Hl=s==null?void 0:s.goodWx)==null?void 0:Hl.distance:(Ml=s==null?void 0:s.allWx)==null?void 0:Ml.distance),1),N6,e.createElementVNode("div",null,e.toDisplayString((Gl=s==null?void 0:s.goodWx)==null?void 0:Gl.pfmSpd),1)]),V6,e.createElementVNode("div",f6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Il=s==null?void 0:s.goodWx)==null?void 0:Il.sumFoCons),1),((zl=(Rl=s==null?void 0:s.goodWx)==null?void 0:Rl.inEca)==null?void 0:zl.distance)>0?(e.openBlock(),e.createElementBlock("span",g6,[D6,e.createElementVNode("span",null,e.toDisplayString((Yl=(Ul=s==null?void 0:s.fuelConclusion)==null?void 0:Ul.fo)==null?void 0:Yl.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),x6,e.createElementVNode("div",null,e.toDisplayString((Zl=s==null?void 0:s.goodWx)==null?void 0:Zl.time),1)]),b6,e.createElementVNode("div",null,e.toDisplayString((Jl=(Ql=s.fuelConclusion)==null?void 0:Ql.fo)==null?void 0:Jl.entireCons)+" (mt)",1),C6])]),e.createElementVNode("div",S6,[k6,e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=o.report)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?(Xl=s==null?void 0:s.goodWx)==null?void 0:Xl.distance:(jl=s==null?void 0:s.allWx)==null?void 0:jl.distance),1),w6,e.createElementVNode("div",null,e.toDisplayString(($l=s==null?void 0:s.timeConclusion)==null?void 0:$l.minusAbtSpd),1)]),T6,e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((ea=(vl=s==null?void 0:s.fuelConclusion)==null?void 0:vl.fo)==null?void 0:ea.overTolerance),1),u6,F6]),P6,e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s.fuelConclusion)==null?void 0:ta.fo)==null?void 0:oa.maxCons)+" (mt)",1),L6])]),e.createElementVNode("div",W6,[H6,e.createElementVNode("div",M6,[e.createElementVNode("div",G6,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=o.report)==null?void 0:la.weather)!=null&&aa.noExtrapolation?(na=s==null?void 0:s.goodWx)==null?void 0:na.distance:(sa=s==null?void 0:s.allWx)==null?void 0:sa.distance),1),I6,e.createElementVNode("div",null,e.toDisplayString((ia=s==null?void 0:s.timeConclusion)==null?void 0:ia.minusAbtSpd),1)]),R6,e.createElementVNode("div",z6,[e.createElementVNode("div",null,e.toDisplayString((ca=(da=s==null?void 0:s.fuelConclusion)==null?void 0:da.fo)==null?void 0:ca.underTolerance),1),U6,Y6]),Z6,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=s.fuelConclusion)==null?void 0:ra.fo)==null?void 0:ma.minCons)+" (mt)",1),Q6])]),e.createElementVNode("div",J6,[((pa=(ha=s==null?void 0:s.fuelConclusion)==null?void 0:ha.fo)==null?void 0:pa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",K6,[q6,X6,j6,$6,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=s==null?void 0:s.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:ya.entireCons),1),v6,e.createElementVNode("div",null,e.toDisplayString((Na=(_a=s==null?void 0:s.fuelConclusion)==null?void 0:_a.fo)==null?void 0:Na.maxCons),1),eT,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=s==null?void 0:s.fuelConclusion)==null?void 0:Va.fo)==null?void 0:fa.overCons),1)]),(Da=(ga=s==null?void 0:s.goodWx)==null?void 0:ga.inEca)!=null&&Da.distance?(e.openBlock(),e.createElementBlock("div",tT,[oT,lT,e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((ba=(xa=s==null?void 0:s.goodWx)==null?void 0:xa.inEca)==null?void 0:ba.distance)+" * "+e.toDisplayString((Sa=(Ca=s==null?void 0:s.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.overCons),1),nT,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=o.report)==null?void 0:ka.weather)!=null&&Aa.noExtrapolation?(Ba=s==null?void 0:s.goodWx)==null?void 0:Ba.distance:(wa=s==null?void 0:s.allWx)==null?void 0:wa.distance),1)]),sT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Fa=(ua=s==null?void 0:s.fuelConclusion)==null?void 0:ua.fo)==null?void 0:Fa.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",iT,[dT,cT,rT,mT,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=s==null?void 0:s.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.minCons),1),hT,e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.entireCons),1),pT,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s==null?void 0:s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.saving)+" (mt)",1)]),(Ra=(Ia=s==null?void 0:s.goodWx)==null?void 0:Ia.inEca)!=null&&Ra.distance?(e.openBlock(),e.createElementBlock("div",ET,[yT,_T,e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=(Ya=s==null?void 0:s.goodWx)==null?void 0:Ya.inEca)==null?void 0:ae.distance:(Za=(ro=s==null?void 0:s.allWx)==null?void 0:ro.inEca)==null?void 0:Za.distance)+" * "+e.toDisplayString((Ja=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.saving),1),VT,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=o.report)==null?void 0:ne.weather)!=null&&mo.noExtrapolation?(Ka=s==null?void 0:s.goodWx)==null?void 0:Ka.distance:(qa=s==null?void 0:s.allWx)==null?void 0:qa.distance),1)]),fT,e.createElementVNode("div",null,e.toDisplayString((rt=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:rt.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((an=(ln=s==null?void 0:s.fuelConclusion)==null?void 0:ln.fo)==null?void 0:an.conclusionStatus)==="Over"?"flex-center lost":((sn=(nn=s==null?void 0:s.fuelConclusion)==null?void 0:nn.fo)==null?void 0:sn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[gT,e.createElementVNode("div",null,e.toDisplayString(((Wn=(Pt=s==null?void 0:s.fuelConclusion)==null?void 0:Pt.fo)==null?void 0:Wn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",DT,e.toDisplayString(l.noGoodWxDay),1)),((Mn=(Hn=s==null?void 0:s.extend)==null?void 0:Hn.cp)==null?void 0:Mn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xT,[bT,e.createElementVNode("div",CT,"Seg. "+e.toDisplayString($+1)+" Diesel/Gas Oil ",1)]),(Gn=s==null?void 0:s.goodWx)!=null&&Gn.distance?(e.openBlock(),e.createElementBlock("div",ST,[e.createElementVNode("div",kT,[AT,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Rn=(In=o.report)==null?void 0:In.weather)!=null&&Rn.noExtrapolation?(zn=s==null?void 0:s.goodWx)==null?void 0:zn.distance:(Un=s==null?void 0:s.allWx)==null?void 0:Un.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((Yn=s==null?void 0:s.goodWx)==null?void 0:Yn.pfmSpd),1)]),OT,e.createElementVNode("div",uT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Zn=s==null?void 0:s.goodWx)==null?void 0:Zn.sumDgoCons),1),((Jn=(Qn=s==null?void 0:s.goodWx)==null?void 0:Qn.inEca)==null?void 0:Jn.distance)>0?(e.openBlock(),e.createElementBlock("span",FT,[PT,e.createElementVNode("span",null,e.toDisplayString((qn=(Kn=s==null?void 0:s.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:qn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),LT,e.createElementVNode("div",null,e.toDisplayString((Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.time),1)]),WT,e.createElementVNode("div",null,e.toDisplayString(($n=(jn=s.fuelConclusion)==null?void 0:jn.dgo)==null?void 0:$n.entireCons)+" (mt)",1),HT])]),e.createElementVNode("div",MT,[GT,e.createElementVNode("div",IT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((es=(vn=o.report)==null?void 0:vn.weather)!=null&&es.noExtrapolation?(ts=s==null?void 0:s.goodWx)==null?void 0:ts.distance:(os=s==null?void 0:s.allWx)==null?void 0:os.distance),1),zT,e.createElementVNode("div",null,e.toDisplayString((ls=s==null?void 0:s.timeConclusion)==null?void 0:ls.minusAbtSpd),1)]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=s==null?void 0:s.fuelConclusion)==null?void 0:as.dgo)==null?void 0:ns.overTolerance),1),ZT,QT]),JT,e.createElementVNode("div",null,e.toDisplayString((is=(ss=s.fuelConclusion)==null?void 0:ss.dgo)==null?void 0:is.maxCons)+" (mt)",1),KT])]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",jT,[e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((cs=(ds=o.report)==null?void 0:ds.weather)!=null&&cs.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1),vT,e.createElementVNode("div",null,e.toDisplayString((hs=s==null?void 0:s.timeConclusion)==null?void 0:hs.minusAbtSpd),1)]),eO,e.createElementVNode("div",tO,[e.createElementVNode("div",null,e.toDisplayString((Es=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:Es.underTolerance),1),oO,lO]),aO,e.createElementVNode("div",null,e.toDisplayString((_s=(ys=s.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:_s.minCons)+" (mt)",1),nO])]),e.createElementVNode("div",sO,[((Vs=(Ns=s==null?void 0:s.fuelConclusion)==null?void 0:Ns.dgo)==null?void 0:Vs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",iO,[dO,cO,rO,mO,e.createElementVNode("div",null,e.toDisplayString((gs=(fs=s==null?void 0:s.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=s==null?void 0:s.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.maxCons),1),pO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=s==null?void 0:s.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.overCons),1)])):((ks=(Ss=s==null?void 0:s.fuelConclusion)==null?void 0:Ss.fo)==null?void 0:ks.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[yO,_O,NO,VO,e.createElementVNode("div",null,e.toDisplayString((Bs=(As=s==null?void 0:s.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Bs.minCons),1),fO,e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=s==null?void 0:s.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.entireCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((us=(Os=s==null?void 0:s.fuelConclusion)==null?void 0:Os.dgo)==null?void 0:us.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ps=(Fs=s==null?void 0:s.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:Ps.conclusionStatus)==="Over"?"flex-center lost":((Ws=(Ls=s==null?void 0:s.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:Ws.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[DO,e.createElementVNode("div",null,e.toDisplayString(((Ms=(Hs=s==null?void 0:s.fuelConclusion)==null?void 0:Hs.dgo)==null?void 0:Ms.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const CO=fe(aB,[["render",bO],["__scopeId","data-v-1c4dbfe0"]]),Wee="",SO={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?te.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,d,l,a,E,i,_,D;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((d=(o=this.report)==null?void 0:o.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(E=this.report)==null?void 0:E.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(_=this.report)==null?void 0:_.weather)==null?void 0:D.showWave)??!0}}},_e=t=>(e.pushScopeId("data-v-8ad5d1b0"),t=t(),e.popScopeId(),t),kO={class:"report-inventory"},AO={class:"section summary-section"},BO=_e(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),wO={class:"summary-block"},TO=_e(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),OO={class:"label",rowspan:"4"},uO=_e(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),FO=_e(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),PO=_e(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),LO=_e(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),WO={class:"section inventory-section"},HO=e.createStaticVNode('<div class="legends flex-space" data-v-8ad5d1b0><div class="flex-start" style="flex:1.2;" data-v-8ad5d1b0><div class="legend good-wx" data-v-8ad5d1b0></div><div class="label flex-end" data-v-8ad5d1b0>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-8ad5d1b0><div class="legend adverse-wx" data-v-8ad5d1b0></div><div class="label" data-v-8ad5d1b0>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-8ad5d1b0><div class="legend excluded" data-v-8ad5d1b0></div><div class="label" data-v-8ad5d1b0>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-8ad5d1b0><div data-v-8ad5d1b0><label data-v-8ad5d1b0>B</label><span data-v-8ad5d1b0>BOSP</span></div><div data-v-8ad5d1b0><label data-v-8ad5d1b0>N</label><span data-v-8ad5d1b0>NOON</span></div><div data-v-8ad5d1b0><label data-v-8ad5d1b0>E</label><span data-v-8ad5d1b0>EOSP</span></div><div data-v-8ad5d1b0><label data-v-8ad5d1b0>*</label><span data-v-8ad5d1b0>Ship Reported Position</span></div></div></div>',1),MO={class:"inventory-block flex-center"},GO={style:{"font-size":"12px"}},IO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),RO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),zO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),UO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),YO=["colspan"],ZO={key:0,class:"label",colspan:"2"},QO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),XO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),jO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),$O={key:0,class:"label",rowspan:"2"},vO=_e(()=>e.createElementVNode("br",null,null,-1)),eu={key:1,class:"label",rowspan:"2"},tu=_e(()=>e.createElementVNode("br",null,null,-1)),ou=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),lu={key:2,class:"label",rowspan:"2"},au=_e(()=>e.createElementVNode("br",null,null,-1)),nu={key:3,class:"label",colspan:"2"},su={key:4,class:"label",rowspan:"2"},iu=_e(()=>e.createElementVNode("br",null,null,-1)),du={key:5,class:"label",colspan:"2"},cu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ru={key:6,class:"label",rowspan:"2"},mu={key:7,class:"label",rowspan:"2"},hu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),pu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Eu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),yu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),_u=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),Nu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),Vu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),fu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Du=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),xu=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),bu=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Cu={key:0,class:"label"},Su={key:1,class:"label"},ku={key:2,class:"label"},Au={key:3,class:"label"},Bu=_e(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),wu=_e(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),Tu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Ou=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),uu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Fu=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Pu=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Lu=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Wu={class:"summary-tbody"};function Hu(t,n,o,d,l,a){var E;return e.openBlock(),e.createElementBlock("div",kO,[e.createElementVNode("div",AO,[BO,e.createElementVNode("div",wO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.segments,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(_+1),1),uO,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((p=i==null?void 0:i.allWx)==null?void 0:p.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,[FO,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,[PO,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((F=i==null?void 0:i.badWx)==null?void 0:F.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,[LO,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",WO,[HO,e.createElementVNode("div",MO,[e.createElementVNode("table",GO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[IO,RO,zO,UO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,YO),o.showFactor?(e.openBlock(),e.createElementBlock("th",ZO,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,XO,jO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",$O,[e.createTextVNode("Spd"),vO,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",eu,[e.createTextVNode("Dis"),tu,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),ou,l.showWave?(e.openBlock(),e.createElementBlock("th",lu,[e.createTextVNode("Sea HT"),au,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",nu,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",su,[e.createTextVNode("Sig Wave"),iu,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",du,"Current")):e.createCommentVNode("",!0),cu,o.showFactor?(e.openBlock(),e.createElementBlock("th",ru,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",mu,"wxFactor")):e.createCommentVNode("",!0),hu,pu,Eu,yu,_u,Nu,Vu,fu]),e.createElementVNode("tr",null,[gu,Du,xu,bu,l.showSwell?(e.openBlock(),e.createElementBlock("th",Cu,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Su,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",ku,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",Au,"CF(kts)")):e.createCommentVNode("",!0),Bu,wu,Tu,Ou,uu,Fu,Pu,Lu])]),e.createElementVNode("tbody",Wu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K;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),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.avgSpdCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&_?i.distanceCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(p=i.meteo)==null?void 0:p.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:2,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:3,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:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((R=(F=(b=i.meteo)==null?void 0:b.wave)==null?void 0:F.swell)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:5,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:6,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:7,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:8,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:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((K=i.meteo)==null?void 0:K.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 Mu=fe(SO,[["render",Hu],["__scopeId","data-v-8ad5d1b0"]]),Hee="",Gu={components:{Lng:$a,Lat:va},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(zo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(zo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(zo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,D,S,p,N;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,l=0;this.inventory.forEach(x=>{var r,C,k,T,P,L,O,b,F,R,Z;if(x.noonLength){const z=this.computeUTCTime(x.noonUtc,"MM-DD/HHmm[Z]");t.push(z),d=Math.ceil(((r=x.noon)==null?void 0:r.foCons)>d?(C=x.noon)==null?void 0:C.foCons:d),d=Math.ceil(((k=x.cp)==null?void 0:k.fo)>d?(T=x.cp)==null?void 0:T.fo:d),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),n.push([z,(F=x.noon)==null?void 0:F.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:d+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:n,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:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,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:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(D=this.spdFoConsChart)==null||D.setOption(a);const E={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:(p=(S=this.report)==null?void 0:S.weather)!=null&&p.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,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:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,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:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(E)},renderWxCurrChart(){var E;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4,l=0;this.inventory.forEach(i=>{var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const R=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(R),d=Math.ceil(((S=(D=(_=i.meteo)==null?void 0:_.wave)==null?void 0:D.sig)==null?void 0:S.height)>d?(x=(N=(p=i.meteo)==null?void 0:p.wave)==null?void 0:N.sig)==null?void 0:x.height:d),n.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,(F=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:F.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:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(E=this.currChart)==null||E.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),Iu={class:"report-summary"},Ru={class:"section chart-section"},zu=_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)),Uu={class:"chart-block"},Yu={ref:"spdFoConsChart",class:"chart"},Zu={ref:"spdDgoConsChart",class:"chart"},Qu={ref:"currChart",class:"chart"},Ju={class:"section map-section"},Ku=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),qu={class:"map-block"},Xu={class:"flex-space"},ju={class:"voyage-block",style:{height:"197px"}},$u={class:"flex-space label-block",style:{width:"100%"}},vu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),eF={style:{"text-transform":"uppercase"}},tF={class:"flex-space label-block",style:{width:"100%"}},oF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),lF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},aF={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},nF={class:"flex-space label-block",style:{width:"100%"}},sF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),iF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},dF={class:"flex-space label-block",style:{width:"100%"}},cF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),rF={key:0,class:"flex-end",style:{flex:"1"}},mF={key:1,class:"flex-end",style:{flex:"1"}},hF=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),pF={class:"flex-end",style:{width:"140px"}},EF={class:"flex-space label-block",style:{width:"100%"}},yF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_F={key:0,class:"flex-end",style:{flex:"1"}},NF={key:1,class:"flex-end",style:{flex:"1"}},VF=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),fF={class:"flex-end",style:{width:"140px"}},gF={class:"flex-space label-block",style:{width:"100%"}},DF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),xF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},bF=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),CF=["src"],SF=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 kF(t,n,o,d,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",Iu,[e.createElementVNode("div",Ru,[zu,e.createElementVNode("div",Uu,[e.createElementVNode("div",Yu,null,512),e.createElementVNode("div",Zu,null,512),e.createElementVNode("div",Qu,null,512)])]),e.createElementVNode("div",Ju,[Ku,e.createElementVNode("div",qu,[e.createElementVNode("div",Xu,[e.createElementVNode("div",ju,[e.createElementVNode("div",$u,[vu,e.createElementVNode("span",eF,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",tF,[oF,e.createElementVNode("span",lF,e.toDisplayString((D=(_=o.report)==null?void 0:_.vessel)==null?void 0:D.name),1),e.createElementVNode("span",aF,"("+e.toDisplayString((p=(S=o.report)==null?void 0:S.vessel)==null?void 0:p.type)+")",1)]),e.createElementVNode("div",nF,[sF,e.createElementVNode("span",iF,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",dF,[cF,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",rF,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",mF,[e.createVNode(E,{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"]),hF,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",pF,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",EF,[yF,(R=(F=o.report)==null?void 0:F.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_F,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",NF,[e.createVNode(E,{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"]),VF,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",fF,e.toDisplayString(a.computeUTCTime((K=(H=o.report)==null?void 0:H.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",gF,[DF,e.createElementVNode("span",xF,e.toDisplayString((j=(q=o.report)==null?void 0:q.voyage)==null?void 0:j.loadCondition),1)])]),bF]),e.createElementVNode("img",{src:(X=o.report)==null?void 0:X.chartUrl,alt:""},null,8,CF)])]),SF])}const AF=fe(Gu,[["render",kF],["__scopeId","data-v-dace21b5"]]),Mee="",BF={components:{Brand:Uo,Summary:CO,Inventory:Mu,Chart:AF,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(d=>{const l=d.extend.cp;let a,E,i=!1;d.inventory.sample.hours.forEach((_,D)=>{a||(a=_),(!E||i)&&(E=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),E.noonLength=(E.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,E.dailyAvgCf=_.dailyAvgCf,E.avgSpdCalc=_.avgSpdCalc,E.distanceCalc=_.distanceCalc,E.noonUtc=_.utc,E.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((d,l)=>d.date-l.date),this.inventory=t}}};function wF(t,n,o,d,l,a){var p,N,x,r;const E=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=(p=o.report)==null?void 0:p.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{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=fe(BF,[["render",wF],["__scopeId","data-v-e9671333"]]),TF={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",xn)}},Gee="",Iee="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){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:n}}),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 n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],o=[];this.XY=this.bounds;const d=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+d)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),n.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+d)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),n.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(n,o)}},Ree="",zee="",OF={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:Xs.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){en.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new en.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 d=this;this.map.on("load",function(){Vl.initStyle(o),Vl.initProperty(d.map),Vl.addSourceData([]),Vl.addLayerData(),Vl.initGrid()}),this.map.on("moveend",l=>{Vl.initProperty(d.map),Vl.initGrid()}),this.map.on("zoomend",l=>{Vl.initProperty(d.map),Vl.initGrid()})}}},uF=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),FF={class:"map"},PF=uF(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function LF(t,n,o,d,l,a){const E=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",FF,[PF,e.createVNode(E,{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 WF=fe(OF,[["render",LF],["__scopeId","data-v-0230b635"]]),HF={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=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:n,axisLabel:{show:!0,formatter:function(d,l){var a=w(d).format("MMMDD"),E=w(d).format("HH");return E==="00"||l===0?a:E}}},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)})}}},MF=["id"];function GF(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,MF)])}const IF=fe(HF,[["render",GF]]),Uee="",RF={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:Uo,Map:WF,Echart:IF},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(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return w(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const d in t){if(Number(d)>n)return{prev:o,next:Number(d)};o=Number(d)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,d)=>{t<o&&n===""&&(n=d)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""},d=t[0][1],l=t[0][1];return t.forEach(a=>{d=!d||d<a[1]?a[1]:d,l=!l||l>a[1]?a[1]:l}),l||d?o.middle=(Number(l)+Number(d))/2:o.middle="-",o.min=l,o.max=d,o}}},methods:{async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let p in this.data.hours){let N=this.data.hours[p];N.hour=p,t.push(N)}else{let p=0;for(let N in this.data.hours)if(p<8){let x=this.data.hours[N];x.hour=N,t.push(x),p++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let p in this.records)w(this.data.date).add(p,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[p]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const d=[],l=[],a=[],E=[];let i=[],_=[],D=[];for(let p in this.records){const N=this.records[p],x=w(this.data.date).add(p,"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])):(d.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 p in this.data.hours){const N=this.data.hours[p],x=w(this.data.date).add(p,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;E.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(d),this.fetchSpdData(l,E),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let d=0,l=0,a=0,E=0,i=0,_=0;o.forEach(S=>{const p=S[1];p<=17.1?d++:p<=24.4?l++:p<=32.6?a++:p<=41.4?E++:p<=50.9?i++:p>50.9&&_++});const D=o.length;n.td.push([o[0][0],te.roundPrecision(d/D,2)*100]),n.ts.push([o[0][0],te.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],te.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],te.roundPrecision(E/D,2)*100]),n.sty.push([o[0][0],te.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],te.roundPrecision(_/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],d=[];t.forEach(l=>{const a=this.computeKLineData(l);let E=[a.time,a.first,a.last,a.min,a.max];d.push([a.time,a.middle]),o.push(E)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:d,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(d=>{const l=this.computeKLineData(d);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe;const d=w(t).set({second:0}).utc();let l=o-(d.get("hour")*60+d.get("minute"))%(o*60)/60,a;const E={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);E[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(_=n[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(S=n[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((p=n[a.prev])==null?void 0:p.lng,(N=n[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((P=(T=n[a.prev])==null?void 0:T.movement)==null?void 0:P.kts,(O=(L=n[a.next])==null?void 0:L.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((F=(b=n[a.prev])==null?void 0:b.movement)==null?void 0:F.spd,(Z=(R=n[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((z=n[a.prev])==null?void 0:z.pressure,(W=n[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((Y=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(I=n[a.next])==null?void 0:I.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((q=(K=n[a.prev])==null?void 0:K.wind)==null?void 0:q.lat,(X=(j=n[a.next])==null?void 0:j.wind)==null?void 0:X.lat,ee),lng:this.computeInterpolateValue((M=(V=n[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((c=($=n[a.prev])==null?void 0:$.wind)==null?void 0:c.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return E}}},bn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),zF={class:"typhoon-report"},UF={class:"report-content"},YF={class:"map"},ZF={class:"table"},QF=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)),JF=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 KF(t,n,o,d,l,a){const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",zF,[e.createVNode(E,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",UF,[e.createElementVNode("div",null,[e.createElementVNode("div",YF,[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",ZF,[e.createElementVNode("table",null,[QF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(D,S)=>{var p,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(((p=D==null?void 0:D.wind)==null?void 0:p.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"])])]),JF])}const Cn=fe(RF,[["render",KF],["__scopeId","data-v-7324f644"]]),qF={install(t){t.component("HurricaneReport",Cn)}},Yee="",XF={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
- `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var E;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,d=(E=this.data)!=null&&E.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+d})}},po=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),jF={class:"invoice-report"},$F=po(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),vF={class:"report-title"},eP=po(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),tP={class:"title-info"},oP=po(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),lP=po(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),aP=po(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),nP=po(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),sP=po(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),iP={class:"report-content"},dP={style:{display:"flex"},ref:"name",class:"name"},cP=["innerHTML"],rP={style:{"margin-bottom":"10px"}},mP={class:"table",ref:"table"},hP=po(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),pP=po(()=>e.createElementVNode("td",null,null,-1)),EP={class:"total"},yP={class:"total"},_P={key:0,class:"page-break"},NP={ref:"detail",class:"detail"},VP={class:"title"},fP={class:"info"},gP={class:"info"},DP={class:"info"},xP={class:"info"},bP={class:"info"},CP={key:0},SP={class:"info"},kP=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),AP={class:"info"},BP=po(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),wP={class:"info"},TP=po(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),OP={class:"info"},uP=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),FP={key:1},PP={class:"info"},LP=po(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),WP={key:1,ref:"memo",class:"detail"},HP=po(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),MP=["innerHTML"];function GP(t,n,o,d,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",jF,[e.createVNode(E),$F,e.createElementVNode("div",vF,[eP,e.createElementVNode("div",tP,[oP,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),lP,aP,nP,sP])])]),e.createElementVNode("div",iP,[e.createElementVNode("div",dP,[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,cP)],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",rP,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",mP,[e.createElementVNode("table",null,[hP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.data)==null?void 0:p.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,[pP,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",EP,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",yP,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(x=o.data)==null?void 0:x.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",_P)):e.createCommentVNode("",!0),e.createElementVNode("div",NP,[e.createElementVNode("div",VP,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",fP,[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",gP,[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",DP,[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",xP,[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",bP,[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",CP,[e.createElementVNode("div",SP,[kP,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankSwift)??"-"),1)]),e.createElementVNode("div",AP,[BP,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",wP,[TP,e.createElementVNode("span",null,e.toDisplayString(((b=l.company)==null?void 0:b.interBank)??"-"),1)]),e.createElementVNode("div",OP,[uP,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",FP,[e.createElementVNode("div",PP,[LP,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",WP,[HP,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((z=o.data)==null?void 0:z.memo)},null,8,MP)],512)):e.createCommentVNode("",!0)])])}const Sn=fe(XF,[["render",GP],["__scopeId","data-v-db643e45"]]),Zee="",IP={components:{IdmBrand:Uo},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,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${w(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Wt=t=>(e.pushScopeId("data-v-4876379b"),t=t(),e.popScopeId(),t),RP={class:"invoice-report"},zP={class:"section items-section"},UP={class:"flex-start"},YP=Wt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),ZP=["innerHTML"],QP={class:"flex-space"},JP={class:"invoice-item"},KP={key:0,class:"invoice-item"},qP=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)),XP={class:"text-ellipsis"},jP={colspan:2,class:"total"},$P=Wt(()=>e.createElementVNode("span",null,"Total in CNY",-1)),vP={key:1},eL={class:"total"},tL={key:0},oL={key:1},lL={key:0,class:"memo-block"},aL=Wt(()=>e.createElementVNode("div",{class:"invoice-item"},"MEMO",-1)),nL=["innerHTML"],sL={class:"section company-section"},iL=Wt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),dL={class:"company-item"},cL=Wt(()=>e.createElementVNode("label",null,"Bank",-1)),rL={class:"company-item"},mL=Wt(()=>e.createElementVNode("label",null,"Account",-1)),hL={class:"company-item"},pL=Wt(()=>e.createElementVNode("label",null,"Title",-1)),EL={class:"company-item"},yL=Wt(()=>e.createElementVNode("label",null,"Addr",-1)),_L={class:"company-item"},NL=Wt(()=>e.createElementVNode("label",null,"Tel",-1)),VL={class:"company-item"},fL=Wt(()=>e.createElementVNode("label",null,"Tax ID",-1)),gL={class:"company-item"},DL=Wt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),xL={class:"company-item"},bL=Wt(()=>e.createElementVNode("label",null,"Bank Name",-1)),CL={class:"company-item"},SL=Wt(()=>e.createElementVNode("label",null,"Bank Address",-1)),kL={class:"company-item"},AL=Wt(()=>e.createElementVNode("label",null,"Account No.",-1)),BL={class:"company-item"},wL=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),TL={class:"company-item"},OL=Wt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),uL={class:"company-item"},FL=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),PL={class:"company-item"},LL=Wt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),WL=e.createStaticVNode('<div class="section sign-section" data-v-4876379b><div class="flex-space" data-v-4876379b><div class="sign-block" data-v-4876379b><div data-v-4876379b>Finance Team</div><div data-v-4876379b>Ocean Right Marine Service Co., Ltd.</div><div data-v-4876379b>Email: <a href="mailto:op@ormwx.com" data-v-4876379b>op@ormwx.com</a></div><div data-v-4876379b>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-4876379b> Thank You </div></div></div>',1);function HL(t,n,o,d,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",RP,[e.createVNode(E,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",zP,[e.createElementVNode("div",UP,[YP,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
- `,"<br/>")},null,8,ZP)]),e.createElementVNode("div",QP,[e.createElementVNode("div",JP,"Invoice No. "+e.toDisplayString(o.report.number),1),(S=o.report)!=null&&S.paymentDate?(e.openBlock(),e.createElementBlock("div",KP,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.reservations,(de,pe)=>(e.openBlock(),e.createElementBlock("tr",{key:pe},[e.createElementVNode("td",null,e.toDisplayString(pe+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",XP,e.toDisplayString(de==null?void 0:de.items),1)]),e.createElementVNode("td",null,e.toDisplayString(`$${de==null?void 0:de.amount}`),1)]))),128)),e.createElementVNode("tr",null,[e.createElementVNode("td",jP,[((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),$P],64)):(e.openBlock(),e.createElementBlock("span",vP,"Total in US"))]),e.createElementVNode("td",eL,[((r=o.report)==null?void 0:r.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock("span",tL,e.toDisplayString(`¥${(C=o.report)==null?void 0:C.paymentAmount}`),1)):(e.openBlock(),e.createElementBlock("span",oL,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1))])])])]),(T=o.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",lL,[aL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(P=o.report)==null?void 0:P.memo)==null?void 0:L.replace(`
44
- `,"<br/>")},null,8,nL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sL,[iL,((O=o.report)==null?void 0:O.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",dL,[cL,e.createElementVNode("span",null,e.toDisplayString((F=l.account[(b=o.report)==null?void 0:b.paymentType])==null?void 0:F.bank),1)]),e.createElementVNode("div",rL,[mL,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,[pL,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",EL,[yL,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",_L,[NL,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",VL,[fL,e.createElementVNode("span",null,e.toDisplayString((q=l.account[(K=o.report)==null?void 0:K.paymentType])==null?void 0:q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",gL,[DL,e.createElementVNode("span",null,e.toDisplayString((X=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:X.title),1)]),e.createElementVNode("div",xL,[bL,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",CL,[SL,e.createElementVNode("span",null,e.toDisplayString((s=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",kL,[AL,e.createElementVNode("span",null,e.toDisplayString((c=l.account[($=o.report)==null?void 0:$.paymentType])==null?void 0:c.number),1)]),e.createElementVNode("div",BL,[wL,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",TL,[OL,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",uL,[FL,e.createElementVNode("span",null,e.toDisplayString((ce=l.account[(ie=o.report)==null?void 0:ie.paymentType])==null?void 0:ce.intermediaryBankSwift),1)]),e.createElementVNode("div",PL,[LL,e.createElementVNode("span",null,e.toDisplayString((he=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:he.intermediaryBankAbaNo),1)])],64))]),WL])}const kn=fe(IP,[["render",HL],["__scopeId","data-v-4876379b"]]),ML={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},GL=t=>((typeof t=="string"||typeof t=="number")&&(t=w(t)),t),IL=(t,n="MMM-DD,YYYY/HHmm[Z]")=>RL(t,n),RL=(t,n="MMM-DD/HHmm[Z]")=>(t=GL(t),t?`${t.utc().format(n)}`:"-"),Qee="",zL={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,n){return IL(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},UL={class:"idm-editable-item"},YL=["innerHTML"],ZL={key:3,class:"buttons"};function QL(t,n,o,d,l,a){const E=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),_=e.resolveComponent("IdmEditor"),D=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),p=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",UL,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=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":n[3]||(n[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":n[4]||(n[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":n[5]||(n[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":n[6]||(n[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":n[7]||(n[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":n[8]||(n[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(p,{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":n[9]||(n[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(p,{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":n[10]||(n[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(p,{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":n[11]||(n[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":n[12]||(n[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(E,{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(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...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,YL)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[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",ZL,[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=fe(zL,[["render",QL]]),Jee="",JL={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:Uo},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},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,n,o,d;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(d=this.report)==null?void 0:d.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,E;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,d){var E,i,_,D,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[d][N][x]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const p=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(E=p==null?void 0:p.data)==null?void 0:E.data,this.extraPortList=(_=(i=p==null?void 0:p.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),KL={class:"deviation-report"},qL={class:"section vessel-section"},XL={class:"report-summary"},jL={class:"summary-item"},$L=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),vL={class:"flexL gray"},eW={class:"summary-item"},tW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),oW={class:"flexL gray"},lW={class:"summary-item"},aW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),nW={class:"flexL gray"},sW={class:"summary-item"},iW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),dW={class:"flexL gray"},cW={class:"summary-item"},rW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),mW={class:"flexL gray",style:{display:"flex"}},hW={class:"flex"},pW={class:"flexM"},EW={class:"summary-item"},yW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),_W={class:"flexL gray",style:{display:"flex"}},NW={class:"flex"},VW={class:"flexM"},fW={class:"section summary-section"},gW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),DW={class:"report-summary"},xW={class:"summary-item"},bW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),CW={class:"summary-item"},SW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),kW={class:"summary-item"},AW=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),BW={class:"summary-item"},wW=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),TW={class:"section map-section"},OW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),uW={class:"report-map"},FW=["src"],PW=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),LW={key:0,class:"section deviation-section"},WW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),HW={class:"report-summary"},MW=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),GW={class:"summary-item"},IW=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),RW={class:"blue center",style:{width:"20%"}},zW={class:"blue center",style:{width:"17%"}},UW={class:"flex blue center"},YW={class:"flex blue center"},ZW=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),QW=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),JW={class:"summary-item"},KW=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),qW={class:"blue center",style:{width:"20%"}},XW={class:"blue center",style:{width:"17%"}},jW={class:"flex blue center"},$W={class:"flex blue center"},vW={class:"flex blue center"},eH={class:"flex blue center"},tH={class:"summary-item"},oH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),lH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),aH={class:"blue center",style:{width:"17%"}},nH={class:"flex blue center"},sH={class:"flex blue center"},iH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),dH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),cH={class:"section cp-section"},rH=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),mH={class:"report-summary"},hH={class:"summary-item"},pH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),EH={class:"flexL blue center"},yH={class:"summary-item"},_H=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),NH={class:"flexL blue center"},VH={class:"summary-item"},fH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),gH={class:"flexL blue center"},DH={class:"section port-section"},xH={class:"subtitle port"},bH=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),CH={class:"print-hidden"},SH={class:"report-port"},kH=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)),AH={rowspan:2},BH=B(()=>e.createElementVNode("td",null,"Arrival",-1)),wH=B(()=>e.createElementVNode("td",null,null,-1)),TH=B(()=>e.createElementVNode("td",null,null,-1)),OH={rowspan:2,class:"print-hidden"},uH=B(()=>e.createElementVNode("td",null,"Departure",-1)),FH=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),PH=B(()=>e.createElementVNode("td",null,null,-1)),LH=B(()=>e.createElementVNode("td",null,null,-1)),WH=B(()=>e.createElementVNode("td",null,null,-1)),HH=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),MH={class:"section distance-section"},GH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),IH={class:"report-summary"},RH=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)),zH={class:"summary-item"},UH=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),YH={class:"flex blue center"},ZH={class:"flex blue center"},QH={class:"summary-item"},JH=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),KH={class:"flex blue center"},qH={class:"section time-section"},XH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),jH={key:0,class:"report-formular"},$H={class:"equation"},vH=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),eM={class:"function",style:{width:"20%"}},tM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),lM={style:{width:"10%"}},aM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),nM={class:"equation"},sM=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),iM={style:{width:"5%"}},dM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),cM={style:{width:"8%"}},rM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),mM={style:{width:"4%"}},hM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pM={key:1,class:"report-formular"},EM={class:"equation"},yM=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),_M={class:"function",style:{width:"20%"}},NM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fM={style:{width:"10%"}},gM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),DM={key:0,class:"equation"},xM=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),bM={style:{width:"5%"}},CM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),SM={style:{width:"5%"}},kM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),AM={style:{width:"5%"}},BM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wM={key:1,class:"equation"},TM=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),OM={style:{width:"5%"}},uM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),FM={style:{width:"5%"}},PM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),LM={style:{width:"5%"}},WM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),HM={style:{width:"5%"}},MM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),GM={key:2,class:"report-summary"},IM={class:"summary-item"},RM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),zM={class:"flex blue center"},UM={class:"summary-item"},YM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),ZM={class:"flex blue center"},QM={class:"summary-item"},JM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),KM={class:"flex blue center"},qM={key:3,class:"report-summary"},XM={class:"summary-item"},jM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),$M={class:"flex blue center"},vM={class:"summary-item"},eG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),tG={class:"flex blue center"},oG={key:0,class:"summary-item"},lG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),aG={class:"flex blue center"},nG={class:"summary-item"},sG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),iG={class:"flex blue center"},dG={class:"section consumption-section"},cG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),rG={key:0,class:"report-formular"},mG={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),pG={class:"function",style:{width:"5%"}},EG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_G={class:"function",style:{width:"5%"}},NG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VG=B(()=>e.createElementVNode("div",null,"24",-1)),fG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gG={style:{width:"5%"}},DG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xG={class:"equation"},bG=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),CG={style:{width:"5%"}},SG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),kG={style:{width:"5%"}},AG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BG={style:{width:"5%"}},wG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TG={class:"equation"},OG=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),uG={class:"function",style:{width:"5%"}},FG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),LG={class:"function",style:{width:"5%"}},WG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HG=B(()=>e.createElementVNode("div",null,"24",-1)),MG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GG={style:{width:"5%"}},IG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RG={class:"equation"},zG=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),UG={style:{width:"5%"}},YG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZG={style:{width:"5%"}},QG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),JG={style:{width:"5%"}},KG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qG={key:1,class:"report-formular"},XG={class:"equation"},jG=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),$G={class:"function",style:{width:"5%"}},vG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tI={class:"function",style:{width:"5%"}},oI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lI=B(()=>e.createElementVNode("div",null,"24",-1)),aI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nI={style:{width:"5%"}},sI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iI={class:"equation"},dI=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),cI={class:"function",style:{width:"5%"}},rI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),hI={class:"function",style:{width:"5%"}},pI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EI=B(()=>e.createElementVNode("div",null,"24",-1)),yI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_I={style:{width:"5%"}},NI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),VI={key:0,class:"equation"},fI=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),gI={style:{width:"5%"}},DI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),xI={style:{width:"5%"}},bI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CI={style:{width:"5%"}},SI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kI={key:1,class:"equation"},AI=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),BI={style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TI={style:{width:"5%"}},OI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uI={style:{width:"5%"}},FI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PI={style:{width:"5%"}},LI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WI={key:2,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 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),MI={style:{width:"5%"}},GI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),II={style:{width:"5%"}},RI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zI={style:{width:"5%"}},UI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YI={key:3,class:"equation"},ZI=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),QI={style:{width:"5%"}},JI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),KI={style:{width:"5%"}},qI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),XI={style:{width:"5%"}},jI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$I={style:{width:"5%"}},vI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),eR={key:2,class:"report-summary"},tR=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)),oR={class:"summary-item"},lR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),aR={class:"flex blue center"},nR={class:"flex blue center"},sR={class:"summary-item"},iR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),dR={class:"flex blue center"},cR={class:"flex blue center"},rR={class:"summary-item"},mR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),hR={key:3,class:"report-summary"},pR=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)),ER={class:"summary-item"},yR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),_R={class:"flex blue center"},NR={class:"flex blue center"},VR={class:"summary-item"},fR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),gR={class:"flex blue center"},DR={class:"flex blue center"},xR={key:0,class:"summary-item"},bR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),CR={class:"flex blue center"},SR={class:"flex blue center"},kR={class:"summary-item"},AR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),BR={class:"section comment-section"},wR=["innerHTML"];function TR(t,n,o,d,l,a){var N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),_=e.resolveComponent("CirclePlus"),D=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",KL,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",qL,[e.createElementVNode("div",XL,[e.createElementVNode("div",jL,[$L,e.createElementVNode("div",vL,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",eW,[tW,e.createElementVNode("div",oW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",lW,[aW,e.createElementVNode("div",nW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",sW,[iW,e.createElementVNode("div",dW,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",cW,[rW,e.createElementVNode("div",mW,[e.createElementVNode("span",hW,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",pW,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",EW,[yW,e.createElementVNode("div",_W,[e.createElementVNode("span",NW,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",VW,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",fW,[gW,e.createElementVNode("div",DW,[e.createElementVNode("div",xW,[bW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",CW,[SW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",kW,[AW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",BW,[wW,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(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",TW,[OW,e.createElementVNode("div",uW,[e.createElementVNode("img",{style:{width:"100%"},src:(de=l.extraData)==null?void 0:de.chartUrl,alt:""},null,8,FW),PW])]),((pe=o.report)==null?void 0:pe.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",LW,[WW,e.createElementVNode("div",HW,[MW,e.createElementVNode("div",GW,[IW,e.createElementVNode("div",RW,e.toDisplayString(a.computedLngLat((ge=l.extraData)==null?void 0:ge.startLng,(De=l.extraData)==null?void 0:De.startLat)),1),e.createElementVNode("div",zW,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",UW,[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:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",YW,[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:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),ZW,QW]),e.createElementVNode("div",JW,[KW,e.createElementVNode("div",qW,e.toDisplayString(a.computedLngLat((Se=l.extraData)==null?void 0:Se.endLng,(ke=l.extraData)==null?void 0:ke.endLat)),1),e.createElementVNode("div",XW,e.toDisplayString(a.computeUTCTime((Ae=l.extraData)==null?void 0:Ae.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",jW,[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:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",$W,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",vW,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",eH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ne=l.extraData)==null?void 0:Ne.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",tH,[oH,lH,e.createElementVNode("div",aH,e.toDisplayString(((Ee=(u=l.extraData)==null?void 0:u.timeAnalysis)==null?void 0:Ee.actualTime)??"—"),1),e.createElementVNode("div",nH,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",sH,e.toDisplayString(((Ke=(He=(we=l.extraData)==null?void 0:we.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ke.actualCons)??"—"),1),iH,dH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",cH,[rH,e.createElementVNode("div",mH,[e.createElementVNode("div",hH,[pH,e.createElementVNode("div",EH,e.toDisplayString(((U=(qe=l.extraData)==null?void 0:qe.cp)==null?void 0:U.speed)??"—"),1)]),e.createElementVNode("div",yH,[_H,e.createElementVNode("div",NH,e.toDisplayString(((ze=(Oe=l.extraData)==null?void 0:Oe.cp)==null?void 0:ze.fo)??"—"),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",gH,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",DH,[e.createElementVNode("div",xH,[bH,e.createElementVNode("div",CH,[e.createVNode(D,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(_)]),_:1},8,["onClick"])])]),e.createElementVNode("div",SH,[e.createElementVNode("table",null,[kH,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",AH,[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"])]),BH,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"])]),wH,TH,e.createElementVNode("td",OH,[e.createVNode(D,{size:20,onClick:Pt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[uH,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,[FH,PH,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=(y=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:y.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Te=(Ve=l.extraData)==null?void 0:Ve.consAnalysis)==null?void 0:Te.dgo)==null?void 0:Me.portCons)??"—"),1),LH,WH,HH])])])])]),e.createElementVNode("div",MH,[GH,e.createElementVNode("div",IH,[RH,e.createElementVNode("div",zH,[UH,e.createElementVNode("div",YH,[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:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",ZH,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Xe=l.extraData)==null?void 0:Xe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",QH,[JH,e.createElementVNode("div",KH,e.toDisplayString((($e=l.extraData)==null?void 0:$e.extraDist)??"—"),1)])])]),e.createElementVNode("div",qH,[XH,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",jH,[e.createElementVNode("div",$H,[vH,e.createElementVNode("div",eM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),tM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),oM,e.createElementVNode("div",lM,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),aM]),e.createElementVNode("div",nM,[sM,e.createElementVNode("div",iM,e.toDisplayString((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.sailingTime),1),dM,e.createElementVNode("div",cM,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),rM,e.createElementVNode("div",mM,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),hM])])):(e.openBlock(),e.createElementBlock("div",pM,[e.createElementVNode("div",EM,[yM,e.createElementVNode("div",_M,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),NM,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),VM,e.createElementVNode("div",fM,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.sailingTime),1),gM]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DM,[xM,e.createElementVNode("div",bM,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.actualTime),1),CM,e.createElementVNode("div",SM,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),kM,e.createElementVNode("div",AM,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),BM])):(e.openBlock(),e.createElementBlock("div",wM,[TM,e.createElementVNode("div",OM,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),uM,e.createElementVNode("div",FM,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.sailingTime),1),PM,e.createElementVNode("div",LM,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.portTime),1),WM,e.createElementVNode("div",HM,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),MM]))])),((G=o.report)==null?void 0:G.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",GM,[e.createElementVNode("div",IM,[RM,e.createElementVNode("div",zM,e.toDisplayString(((Ot=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ot.sailingTime)??"—"),1)]),e.createElementVNode("div",UM,[YM,e.createElementVNode("div",ZM,e.toDisplayString(((Mt=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",QM,[JM,e.createElementVNode("div",KM,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",qM,[e.createElementVNode("div",XM,[jM,e.createElementVNode("div",$M,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",vM,[eG,e.createElementVNode("div",tG,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",oG,[lG,e.createElementVNode("div",aG,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",iG,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",dG,[cG,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",rG,[e.createElementVNode("div",mG,[hG,e.createElementVNode("div",pG,[e.createElementVNode("div",null,e.toDisplayString((Xt=l.extraData)==null?void 0:Xt.extraDist),1),EG,e.createElementVNode("div",null,e.toDisplayString(($t=(jt=l.extraData)==null?void 0:jt.cp)==null?void 0:$t.speed),1)]),yG,e.createElementVNode("div",_G,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),NG,VG]),fG,e.createElementVNode("div",gG,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),DG]),e.createElementVNode("div",xG,[bG,e.createElementVNode("div",CG,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),SG,e.createElementVNode("div",kG,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),AG,e.createElementVNode("div",BG,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),wG]),e.createElementVNode("div",TG,[OG,e.createElementVNode("div",uG,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),FG,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),PG,e.createElementVNode("div",LG,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),WG,HG]),MG,e.createElementVNode("div",GG,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),IG]),e.createElementVNode("div",RG,[zG,e.createElementVNode("div",UG,e.toDisplayString((Fo=(uo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Fo.sailingCons),1),YG,e.createElementVNode("div",ZG,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),QG,e.createElementVNode("div",JG,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),KG])])):(e.openBlock(),e.createElementBlock("div",qG,[e.createElementVNode("div",XG,[jG,e.createElementVNode("div",$G,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),vG,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),eI,e.createElementVNode("div",tI,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.fo),1),oI,lI]),aI,e.createElementVNode("div",nI,e.toDisplayString((Xo=(qo=(Ko=l.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:qo.fo)==null?void 0:Xo.sailingCons),1),sI]),e.createElementVNode("div",iI,[dI,e.createElementVNode("div",cI,[e.createElementVNode("div",null,e.toDisplayString((jo=l.extraData)==null?void 0:jo.priorDist),1),rI,e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:vo.speed),1)]),mI,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),pI,EI]),yI,e.createElementVNode("div",_I,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.dgo)==null?void 0:al.sailingCons),1),NI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",VI,[fI,e.createElementVNode("div",gI,e.toDisplayString((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.actualCons),1),DI,e.createElementVNode("div",xI,e.toDisplayString(a.computeNum((rl=(cl=(dl=l.extraData)==null?void 0:dl.consAnalysis)==null?void 0:cl.fo)==null?void 0:rl.sailingCons)),1),bI,e.createElementVNode("div",CI,e.toDisplayString((pl=(hl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:hl.fo)==null?void 0:pl.totalExtraCons),1),SI])):(e.openBlock(),e.createElementBlock("div",kI,[AI,e.createElementVNode("div",BI,e.toDisplayString((Ft=(yl=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Ft.actualCons),1),wI,e.createElementVNode("div",TI,e.toDisplayString(a.computeNum((Dl=(gl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:gl.fo)==null?void 0:Dl.sailingCons)),1),OI,e.createElementVNode("div",uI,e.toDisplayString(a.computeNum((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.portCons)),1),FI,e.createElementVNode("div",PI,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Al.totalExtraCons),1),LI])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",WI,[HI,e.createElementVNode("div",MI,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),GI,e.createElementVNode("div",II,e.toDisplayString((Fl=(ul=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Fl.sailingCons),1),RI,e.createElementVNode("div",zI,e.toDisplayString((Wl=(Ll=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.totalExtraCons),1),UI])):(e.openBlock(),e.createElementBlock("div",YI,[ZI,e.createElementVNode("div",QI,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),JI,e.createElementVNode("div",KI,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)),1),qI,e.createElementVNode("div",XI,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.portCons)),1),jI,e.createElementVNode("div",$I,e.toDisplayString((Kl=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.totalExtraCons),1),vI]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",eR,[tR,e.createElementVNode("div",oR,[lR,e.createElementVNode("div",aR,e.toDisplayString((($l=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:$l.sailingCons)??"—"),1),e.createElementVNode("div",nR,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",sR,[iR,e.createElementVNode("div",dR,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",cR,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(ca=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ca.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ha=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:ha.fo)==null?void 0:pa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((_a=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:_a.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",hR,[pR,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",_R,e.toDisplayString((xa=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:xa.sailingCons),1),e.createElementVNode("div",NR,e.toDisplayString((Sa=(Ca=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",gR,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.fo)==null?void 0:Ba.actualCons),1),e.createElementVNode("div",DR,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",xR,[bR,e.createElementVNode("div",CR,e.toDisplayString((Pa=(Fa=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Fa.fo)==null?void 0:Pa.portCons),1),e.createElementVNode("div",SR,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",kR,[AR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ja=(Qa=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:Qa.dgo)==null?void 0:Ja.totalExtraCons),3)])]))]),e.createElementVNode("div",BR,[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(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,wR))],2)])])}const Bn=fe(JL,[["render",TR],["__scopeId","data-v-4829e189"]]),Kee="",OR={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+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dki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oTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},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,n,o,d;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(d=this.data)==null?void 0:d.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,E;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,d){var E,i,_,D,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[d][N][x]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const p=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(E=p==null?void 0:p.data)==null?void 0:E.data,this.extraPortList=(_=(i=p==null?void 0:p.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),uR={class:"deviation-report"},FR=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),PR={class:"report-header"},LR={class:"header-title",style:{position:"relative !important"}},WR={class:"header-title-content"},HR=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),MR={class:"title-date"},GR={class:"report-summary"},IR={class:"summary-item"},RR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),zR={class:"flexL gray"},UR={class:"summary-item"},YR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),ZR={class:"flexL gray"},QR={class:"summary-item"},JR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),KR={class:"flexL gray"},qR={class:"summary-item"},XR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),jR={class:"flexL gray"},$R={class:"summary-item"},vR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),ez={class:"flexL gray",style:{display:"flex"}},tz={class:"flex"},oz={class:"flexM"},lz={class:"summary-item"},az=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),nz={class:"flexL gray",style:{display:"flex"}},sz={class:"flex"},iz={class:"flexM"},dz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),cz={class:"report-summary"},rz={class:"summary-item"},mz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),hz={class:"summary-item"},pz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),Ez={class:"summary-item"},yz=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),_z={class:"summary-item"},Nz=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Vz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),fz={class:"report-map"},gz=["src"],Dz=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),xz=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),bz={key:0,class:"subtitle"},Cz={key:1,class:"report-summary"},Sz=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),kz={class:"summary-item"},Az=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),Bz={class:"blue center",style:{width:"20%"}},wz={class:"blue center",style:{width:"17%"}},Tz={class:"flex blue center"},Oz={class:"flex blue center"},uz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Fz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Pz={class:"summary-item"},Lz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),Wz={class:"blue center",style:{width:"20%"}},Hz={class:"blue center",style:{width:"17%"}},Mz={class:"flex blue center"},Gz={class:"flex blue center"},Iz={class:"flex blue center"},Rz={class:"flex blue center"},zz={class:"summary-item"},Uz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),Yz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),Zz={class:"blue center",style:{width:"17%"}},Qz={class:"flex blue center"},Jz={class:"flex blue center"},Kz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Xz=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),jz={class:"report-summary"},$z={class:"summary-item"},vz=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),eU={class:"flexL blue center"},tU={class:"summary-item"},oU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),lU={class:"flexL blue center"},aU={class:"summary-item"},nU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),sU={class:"flexL blue center"},iU={class:"subtitle port"},dU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),cU={class:"print-hidden"},rU={class:"report-port"},mU=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},pU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),EU=A(()=>e.createElementVNode("td",null,null,-1)),yU=A(()=>e.createElementVNode("td",null,null,-1)),_U={rowspan:2,class:"print-hidden"},NU=A(()=>e.createElementVNode("td",null,"Departure",-1)),VU=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),fU=A(()=>e.createElementVNode("td",null,null,-1)),gU=A(()=>e.createElementVNode("td",null,null,-1)),DU=A(()=>e.createElementVNode("td",null,null,-1)),xU=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),bU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),CU={class:"report-summary"},SU=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)),kU={class:"summary-item"},AU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),BU={class:"flex blue center"},wU={class:"flex blue center"},TU={class:"summary-item"},OU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),uU={class:"flex blue center"},FU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),PU={key:2,class:"report-formular"},LU={class:"equation"},WU=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),HU={class:"function",style:{width:"20%"}},MU=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),IU={style:{width:"10%"}},RU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),zU={class:"equation"},UU=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),YU={style:{width:"5%"}},ZU=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),QU={style:{width:"8%"}},JU=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),KU={style:{width:"4%"}},qU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),XU={key:3,class:"report-formular"},jU={class:"equation"},$U=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),vU={class:"function",style:{width:"20%"}},eY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oY={style:{width:"10%"}},lY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),aY={key:0,class:"equation"},nY=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),sY={style:{width:"5%"}},iY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),dY={style:{width:"5%"}},cY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),rY={style:{width:"5%"}},mY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),hY={key:1,class:"equation"},pY=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),EY={style:{width:"5%"}},yY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),_Y={style:{width:"5%"}},NY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),VY={style:{width:"5%"}},fY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),gY={style:{width:"5%"}},DY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),xY={key:4,class:"report-summary"},bY={class:"summary-item"},CY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),SY={class:"flex blue center"},kY={class:"summary-item"},AY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),BY={class:"flex blue center"},wY={class:"summary-item"},TY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),OY={class:"flex blue center"},uY={key:5,class:"report-summary"},FY={class:"summary-item"},PY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),LY={class:"flex blue center"},WY={class:"summary-item"},HY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),MY={class:"flex blue center"},GY={key:0,class:"summary-item"},IY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),RY={class:"flex blue center"},zY={class:"summary-item"},UY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),YY={class:"flex blue center"},ZY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),QY={key:6,class:"report-formular"},JY={class:"equation"},KY=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),qY={class:"function",style:{width:"5%"}},XY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jY=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$Y={class:"function",style:{width:"5%"}},vY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eZ=A(()=>e.createElementVNode("div",null,"24",-1)),tZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),oZ={style:{width:"5%"}},lZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),aZ={class:"equation"},nZ=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),sZ={style:{width:"5%"}},iZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),dZ={style:{width:"5%"}},cZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rZ={style:{width:"5%"}},mZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hZ={class:"equation"},pZ=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),EZ={class:"function",style:{width:"5%"}},yZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_Z=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),NZ={class:"function",style:{width:"5%"}},VZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fZ=A(()=>e.createElementVNode("div",null,"24",-1)),gZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DZ={style:{width:"5%"}},xZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),bZ={class:"equation"},CZ=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),SZ={style:{width:"5%"}},kZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AZ={style:{width:"5%"}},BZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),wZ={style:{width:"5%"}},TZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OZ={key:7,class:"report-formular"},uZ={class:"equation"},FZ=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),PZ={class:"function",style:{width:"5%"}},LZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HZ={class:"function",style:{width:"5%"}},MZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GZ=A(()=>e.createElementVNode("div",null,"24",-1)),IZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RZ={style:{width:"5%"}},zZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UZ={class:"equation"},YZ=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),ZZ={class:"function",style:{width:"5%"}},QZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),KZ={class:"function",style:{width:"5%"}},qZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XZ=A(()=>e.createElementVNode("div",null,"24",-1)),jZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$Z={style:{width:"5%"}},vZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),eQ={key:0,class:"equation"},tQ=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),oQ={style:{width:"5%"}},lQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),aQ={style:{width:"5%"}},nQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sQ={style:{width:"5%"}},iQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dQ={key:1,class:"equation"},cQ=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),rQ={style:{width:"5%"}},mQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),hQ={style:{width:"5%"}},pQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EQ={style:{width:"5%"}},yQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_Q={style:{width:"5%"}},NQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),VQ={key:2,class:"equation"},fQ=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),gQ={style:{width:"5%"}},DQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),xQ={style:{width:"5%"}},bQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={key:3,class:"equation"},AQ=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),BQ={style:{width:"5%"}},wQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TQ={style:{width:"5%"}},OQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uQ={style:{width:"5%"}},FQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PQ={style:{width:"5%"}},LQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WQ={key:8,class:"report-summary"},HQ=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)),MQ={class:"summary-item"},GQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),IQ={class:"flex blue center"},RQ={class:"flex blue center"},zQ={class:"summary-item"},UQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),YQ={class:"flex blue center"},ZQ={class:"flex blue center"},QQ={class:"summary-item"},JQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),KQ={key:9,class:"report-summary"},qQ=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)),XQ={class:"summary-item"},jQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),$Q={class:"flex blue center"},vQ={class:"flex blue center"},eJ={class:"summary-item"},tJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),oJ={class:"flex blue center"},lJ={class:"flex blue center"},aJ={key:0,class:"summary-item"},nJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),sJ={class:"flex blue center"},iJ={class:"flex blue center"},dJ={class:"summary-item"},cJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),rJ=["innerHTML"];function mJ(t,n,o,d,l,a){var p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya;const E=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),_=e.resolveComponent("ElIcon"),D=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",uR,[FR,e.createElementVNode("div",PR,[e.createElementVNode("div",LR,[e.createElementVNode("div",WR,[HR,e.createElementVNode("div",MR,e.toDisplayString(a.computeUTCTime((p=l.extraData)==null?void 0:p.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",GR,[e.createElementVNode("div",IR,[RR,e.createElementVNode("div",zR,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",QR,[JR,e.createElementVNode("div",KR,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",qR,[XR,e.createElementVNode("div",jR,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",$R,[vR,e.createElementVNode("div",ez,[e.createElementVNode("span",tz,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",oz,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,[e.createElementVNode("span",sz,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",iz,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)])])]),dz,e.createElementVNode("div",cz,[e.createElementVNode("div",rz,[mz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",hz,[pz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",Ez,[yz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",_z,[Nz,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(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])]),Vz,e.createElementVNode("div",fz,[e.createElementVNode("img",{style:{width:"100%"},src:(de=l.extraData)==null?void 0:de.chartUrl,alt:""},null,8,gz),Dz]),xz,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bz,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Cz,[Sz,e.createElementVNode("div",kz,[Az,e.createElementVNode("div",Bz,e.toDisplayString(a.computedLngLat((pe=l.extraData)==null?void 0:pe.startLng,(ge=l.extraData)==null?void 0:ge.startLat)),1),e.createElementVNode("div",wz,e.toDisplayString(a.computeUTCTime((De=l.extraData)==null?void 0:De.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Tz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(xe=l.extraData)==null?void 0:xe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Oz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),uz,Fz]),e.createElementVNode("div",Pz,[Lz,e.createElementVNode("div",Wz,e.toDisplayString(a.computedLngLat((Ce=l.extraData)==null?void 0:Ce.endLng,(Se=l.extraData)==null?void 0:Se.endLat)),1),e.createElementVNode("div",Hz,e.toDisplayString(a.computeUTCTime((ke=l.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Mz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Gz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Iz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",Rz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",zz,[Uz,Yz,e.createElementVNode("div",Zz,e.toDisplayString(((u=(Ne=l.extraData)==null?void 0:Ne.timeAnalysis)==null?void 0:u.actualTime)??"—"),1),e.createElementVNode("div",Qz,e.toDisplayString(((Le=(Pe=(Ee=l.extraData)==null?void 0:Ee.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",Jz,e.toDisplayString(((He=(we=(We=l.extraData)==null?void 0:We.consAnalysis)==null?void 0:we.dgo)==null?void 0:He.actualCons)??"—"),1),Kz,qz])])),Xz,e.createElementVNode("div",jz,[e.createElementVNode("div",$z,[vz,e.createElementVNode("div",eU,e.toDisplayString(((qe=(Ke=l.extraData)==null?void 0:Ke.cp)==null?void 0:qe.speed)??"—"),1)]),e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,e.toDisplayString(((Oe=(U=l.extraData)==null?void 0:U.cp)==null?void 0:Oe.fo)??"—"),1)]),e.createElementVNode("div",aU,[nU,e.createElementVNode("div",sU,e.toDisplayString(((Ue=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",iU,[dU,e.createElementVNode("div",cU,[e.createVNode(_,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",rU,[e.createElementVNode("table",null,[mU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Za,Qa,Ja,ne,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",hU,[e.createVNode(E,{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"])]),pU,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.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(E,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.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(E,{class:"editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),EU,yU,e.createElementVNode("td",_U,[e.createVNode(_,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[NU,e.createElementVNode("td",null,[e.createVNode(E,{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(E,{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(E,{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(E,{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(E,{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,[VU,fU,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(((y=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:y.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Te=(Ve=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:Ve.dgo)==null?void 0:Te.portCons)??"—"),1),gU,DU,xU])])])]),bU,e.createElementVNode("div",CU,[SU,e.createElementVNode("div",kU,[AU,e.createElementVNode("div",BU,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",wU,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",TU,[OU,e.createElementVNode("div",uU,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])]),FU,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",PU,[e.createElementVNode("div",LU,[WU,e.createElementVNode("div",HU,[e.createElementVNode("div",null,e.toDisplayString(($e=l.extraData)==null?void 0:$e.extraDist),1),MU,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),GU,e.createElementVNode("div",IU,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),RU]),e.createElementVNode("div",zU,[UU,e.createElementVNode("div",YU,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),ZU,e.createElementVNode("div",QU,e.toDisplayString(a.computeNum((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.portTime)),1),JU,e.createElementVNode("div",KU,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),qU])])):(e.openBlock(),e.createElementBlock("div",XU,[e.createElementVNode("div",jU,[$U,e.createElementVNode("div",vU,[e.createElementVNode("div",null,e.toDisplayString((_t=l.extraData)==null?void 0:_t.priorDist),1),eY,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.cp)==null?void 0:Vt.speed),1)]),tY,e.createElementVNode("div",oY,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.sailingTime),1),lY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",aY,[nY,e.createElementVNode("div",sY,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.actualTime),1),iY,e.createElementVNode("div",dY,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.sailingTime),1),cY,e.createElementVNode("div",rY,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.totalExtraTime),1),mY])):(e.openBlock(),e.createElementBlock("div",hY,[pY,e.createElementVNode("div",EY,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.actualTime),1),yY,e.createElementVNode("div",_Y,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),NY,e.createElementVNode("div",VY,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.portTime),1),fY,e.createElementVNode("div",gY,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),DY]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",xY,[e.createElementVNode("div",bY,[CY,e.createElementVNode("div",SY,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",kY,[AY,e.createElementVNode("div",BY,e.toDisplayString(((tt=(G=l.extraData)==null?void 0:G.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",wY,[TY,e.createElementVNode("div",OY,e.toDisplayString(((ut=(Ot=l.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:ut.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",uY,[e.createElementVNode("div",FY,[PY,e.createElementVNode("div",LY,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",WY,[HY,e.createElementVNode("div",MY,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",GY,[IY,e.createElementVNode("div",RY,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",zY,[UY,e.createElementVNode("div",YY,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),ZY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",QY,[e.createElementVNode("div",JY,[KY,e.createElementVNode("div",qY,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),XY,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),jY,e.createElementVNode("div",$Y,[e.createElementVNode("div",null,e.toDisplayString((Xt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Xt.fo),1),vY,eZ]),tZ,e.createElementVNode("div",oZ,e.toDisplayString((vt=($t=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:$t.fo)==null?void 0:vt.sailingCons),1),lZ]),e.createElementVNode("div",aZ,[nZ,e.createElementVNode("div",sZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),iZ,e.createElementVNode("div",dZ,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),cZ,e.createElementVNode("div",rZ,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),mZ]),e.createElementVNode("div",hZ,[pZ,e.createElementVNode("div",EZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),yZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),_Z,e.createElementVNode("div",NZ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),VZ,fZ]),gZ,e.createElementVNode("div",DZ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),xZ]),e.createElementVNode("div",bZ,[CZ,e.createElementVNode("div",SZ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),kZ,e.createElementVNode("div",AZ,e.toDisplayString(a.computeNum((uo=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:uo.portCons)),1),BZ,e.createElementVNode("div",wZ,e.toDisplayString((Lo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),TZ])])):(e.openBlock(),e.createElementBlock("div",OZ,[e.createElementVNode("div",uZ,[FZ,e.createElementVNode("div",PZ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),LZ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),WZ,e.createElementVNode("div",HZ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),MZ,GZ]),IZ,e.createElementVNode("div",RZ,e.toDisplayString((Qo=(Zo=(Yo=l.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.fo)==null?void 0:Qo.sailingCons),1),zZ]),e.createElementVNode("div",UZ,[YZ,e.createElementVNode("div",ZZ,[e.createElementVNode("div",null,e.toDisplayString((Jo=l.extraData)==null?void 0:Jo.priorDist),1),QZ,e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=l.extraData)==null?void 0:Ko.cp)==null?void 0:qo.speed),1)]),JZ,e.createElementVNode("div",KZ,[e.createElementVNode("div",null,e.toDisplayString((jo=(Xo=l.extraData)==null?void 0:Xo.cp)==null?void 0:jo.dgo),1),qZ,XZ]),jZ,e.createElementVNode("div",$Z,e.toDisplayString((el=(vo=($o=l.extraData)==null?void 0:$o.consAnalysis)==null?void 0:vo.dgo)==null?void 0:el.sailingCons),1),vZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",eQ,[tQ,e.createElementVNode("div",oQ,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.actualCons),1),lQ,e.createElementVNode("div",aQ,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),nQ,e.createElementVNode("div",sQ,e.toDisplayString((cl=(dl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:dl.fo)==null?void 0:cl.totalExtraCons),1),iQ])):(e.openBlock(),e.createElementBlock("div",dQ,[cQ,e.createElementVNode("div",rQ,e.toDisplayString((hl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:hl.actualCons),1),mQ,e.createElementVNode("div",hQ,e.toDisplayString(a.computeNum((yl=(El=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.sailingCons)),1),pQ,e.createElementVNode("div",EQ,e.toDisplayString(a.computeNum((gl=(Nl=(Ft=l.extraData)==null?void 0:Ft.consAnalysis)==null?void 0:Nl.fo)==null?void 0:gl.portCons)),1),yQ,e.createElementVNode("div",_Q,e.toDisplayString((bl=(xl=(Dl=l.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:xl.fo)==null?void 0:bl.totalExtraCons),1),NQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",VQ,[fQ,e.createElementVNode("div",gQ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),DQ,e.createElementVNode("div",xQ,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.sailingCons),1),bQ,e.createElementVNode("div",CQ,e.toDisplayString((ul=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:ul.totalExtraCons),1),SQ])):(e.openBlock(),e.createElementBlock("div",kQ,[AQ,e.createElementVNode("div",BQ,e.toDisplayString((Ll=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.actualCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString(a.computeNum((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),OQ,e.createElementVNode("div",uQ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.portCons)),1),FQ,e.createElementVNode("div",PQ,e.toDisplayString((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.totalExtraCons),1),LQ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",WQ,[HQ,e.createElementVNode("div",MQ,[GQ,e.createElementVNode("div",IQ,e.toDisplayString(((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:Jl.sailingCons)??"—"),1),e.createElementVNode("div",RQ,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",zQ,[UQ,e.createElementVNode("div",YQ,e.toDisplayString(((vl=($l=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:$l.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",ZQ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",QQ,[JQ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(pa=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:pa.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",KQ,[qQ,e.createElementVNode("div",XQ,[jQ,e.createElementVNode("div",$Q,e.toDisplayString((Na=(_a=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:_a.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",vQ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",eJ,[tJ,e.createElementVNode("div",oJ,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",lJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aJ,[nJ,e.createElementVNode("div",sJ,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",iJ,e.toDisplayString((ua=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:ua.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",dJ,[cJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.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":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,rJ))],2)])}const wn=fe(OR,[["render",mJ],["__scopeId","data-v-77edf8aa"]]),hJ={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},qee="",pJ={components:{IdmBrand:Uo},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0m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1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},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,n=2){return t==="-"?"-":te.roundPrecision(t,n)}}}},Eo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),EJ={class:"stoppage-report"},yJ={class:"report-summary"},_J={class:"summary-item"},NJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),VJ={class:"flexL gray"},fJ={class:"summary-item"},gJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DJ={class:"flexL gray"},xJ={class:"summary-item"},bJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CJ={class:"flexL gray"},SJ={class:"summary-item"},kJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AJ={class:"flexL gray"},BJ={class:"summary-item"},wJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),TJ={class:"flexL gray",style:{display:"flex"}},OJ={class:"flex"},uJ={class:"flexM"},FJ={class:"summary-item"},PJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),LJ={class:"flexL gray",style:{display:"flex"}},WJ={class:"flex"},HJ={class:"flexM"},MJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),GJ={class:"report-summary"},IJ={class:"summary-item"},RJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),zJ={class:"summary-item"},UJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),YJ={class:"summary-item"},ZJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),QJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),JJ={class:"report-table"},KJ=Eo(()=>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)),qJ=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),XJ={rowspan:2},jJ={rowspan:2},$J={rowspan:2},vJ=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),eK={class:"report-map"},tK=["src"];function oK(t,n,o,d,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EJ,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",yJ,[e.createElementVNode("div",_J,[NJ,e.createElementVNode("div",VJ,e.toDisplayString((_=(i=o.report)==null?void 0:i.vessel)==null?void 0:_.name),1)]),e.createElementVNode("div",fJ,[gJ,e.createElementVNode("div",DJ,e.toDisplayString((D=o.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",xJ,[bJ,e.createElementVNode("div",CJ,e.toDisplayString((p=(S=o.report)==null?void 0:S.vessel)==null?void 0:p.type),1)]),e.createElementVNode("div",SJ,[kJ,e.createElementVNode("div",AJ,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",BJ,[wJ,e.createElementVNode("div",TJ,[e.createElementVNode("span",OJ,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",uJ,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",FJ,[PJ,e.createElementVNode("div",LJ,[e.createElementVNode("span",WJ,e.toDisplayString((b=(O=o.report)==null?void 0:O.arrival)==null?void 0:b.name),1),e.createElementVNode("span",HJ,e.toDisplayString(a.computeUTCTime(((R=(F=o.report)==null?void 0:F.arrival)==null?void 0:R.ata)||((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.eta))),1)])])]),MJ,e.createElementVNode("div",GJ,[e.createElementVNode("div",IJ,[RJ,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",zJ,[UJ,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",YJ,[ZJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((K=o.report)==null?void 0:K.totalDgoCons)??"—"),5)])]),QJ,e.createElementVNode("div",JJ,[e.createElementVNode("table",null,[KJ,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[qJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((q=o.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((X=o.report)==null?void 0:X.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",XJ,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",jJ,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",$J,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[vJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((c=o.report)==null?void 0:c.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",eK,[e.createElementVNode("img",{style:{width:"100%"},src:(ie=o.report)==null?void 0:ie.chartUrl,alt:""},null,8,tK)])])}const Tn=fe(pJ,[["render",oK],["__scopeId","data-v-42f6f59f"]]),lK={install(t){t.component("StoppageReport",Tn)}},Xee="",aK={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBf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8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ie=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),nK={class:"comparison-report"},sK=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),iK={class:"report-header"},dK={class:"header-title",style:{position:"relative !important"}},cK=["src"],rK={class:"header-title-content"},mK=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),hK={class:"title-date"},pK={class:"report-summary"},EK={class:"summary-item"},yK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),_K={class:"flexL gray"},NK={class:"summary-item"},VK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),fK={class:"flexL gray"},gK={class:"summary-item"},DK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),xK={class:"flexL gray"},bK={class:"summary-item"},CK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),SK={class:"flexL gray"},kK={class:"summary-item"},AK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),BK={class:"flexL gray"},wK={class:"summary-item"},TK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OK={class:"flexL gray",style:{display:"flex"}},uK={class:"flex"},FK={class:"flexM"},PK={class:"summary-item"},LK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),WK={class:"flexL gray",style:{display:"flex"}},HK={class:"flex"},MK={class:"flexM"},GK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),IK={class:"report-summary"},RK={class:"summary-item"},zK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),UK={class:"summary-item"},YK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),ZK={class:"summary-item"},QK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),JK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KK={class:"report-map"},qK=["src"],XK=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),jK=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),$K={key:0,class:"subtitle"},vK={key:1,class:"report-summary"},eq={class:"summary-item"},tq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),oq={class:"flexL blue center"},lq={class:"summary-item"},aq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),nq={class:"flexL blue center"},sq={class:"summary-item"},iq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dq={class:"flexL blue center"},cq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),rq={class:"report-summary"},mq=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"},pq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Eq={class:"flex blue-light center"},yq={class:"flex blue-light center"},_q={class:"summary-item"},Nq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Vq={class:"flex blue-light center"},fq={class:"flex blue-light center"},gq={class:"summary-item"},Dq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),xq={class:"flex blue-light center"},bq={class:"flex blue-light center"},Cq={class:"summary-item"},Sq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),kq={class:"flex blue-light center"},Aq={class:"flex blue-light center"},Bq={class:"summary-item"},wq=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"},uq={class:"summary-item"},Fq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Pq={class:"flex blue-light center"},Lq={class:"flex blue-light center"},Wq={class:"summary-item"},Hq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Mq={class:"flex blue-light center italic"},Gq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Iq={class:"report-summary"},Rq=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)),zq={class:"summary-item"},Uq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Yq={class:"flex blue-light center"},Zq={class:"flex blue-light center"},Qq={class:"summary-item"},Jq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Kq={class:"flex blue-light center"},qq={class:"flex blue-light center"},Xq={class:"summary-item"},jq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),$q={class:"flex blue-light center"},vq={class:"flex blue-light center"},eX={class:"summary-item"},tX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),oX={class:"flex blue-light center"},lX={class:"flex blue-light center"},aX={class:"summary-item"},nX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),sX={class:"flex blue-light center italic"},iX={class:"summary-item"},dX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),cX={class:"flex blue-light center italic"},rX=["innerHTML"];function mX(t,n,o,d,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",nK,[e.createVNode(E),sK,e.createElementVNode("div",iK,[e.createElementVNode("div",dK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,cK),e.createElementVNode("div",rK,[mK,e.createElementVNode("div",hK,e.toDisplayString(a.computeUTCTime(((_=l.comparisonData)==null?void 0:_.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",pK,[e.createElementVNode("div",EK,[yK,e.createElementVNode("div",_K,e.toDisplayString((S=(D=l.comparisonData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",NK,[VK,e.createElementVNode("div",fK,e.toDisplayString((p=l.comparisonData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",gK,[DK,e.createElementVNode("div",xK,e.toDisplayString((x=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:x.type),1)]),e.createElementVNode("div",bK,[CK,e.createElementVNode("div",SK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",kK,[AK,e.createElementVNode("div",BK,e.toDisplayString((T=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:T.number),1)]),e.createElementVNode("div",wK,[TK,e.createElementVNode("div",OK,[e.createElementVNode("span",uK,e.toDisplayString((L=(P=l.comparisonData)==null?void 0:P.departure)==null?void 0:L.name),1),e.createElementVNode("span",FK,e.toDisplayString(a.computeUTCTime(((b=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:b.atd)||((R=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",PK,[LK,e.createElementVNode("div",WK,[e.createElementVNode("span",HK,e.toDisplayString((z=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:z.name),1),e.createElementVNode("span",MK,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)])])]),GK,e.createElementVNode("div",IK,[e.createElementVNode("div",RK,[zK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffTime,"time")),3)]),e.createElementVNode("div",UK,[YK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",ZK,[QK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),JK,e.createElementVNode("div",KK,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,qK),XK]),jK,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",$K,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",vK,[e.createElementVNode("div",eq,[tq,e.createElementVNode("div",oq,e.toDisplayString(((c=($=l.comparisonData)==null?void 0:$.cp)==null?void 0:c.speed)??"—"),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString(((oe=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",sq,[iq,e.createElementVNode("div",dq,e.toDisplayString(((se=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:se.dgo)??"—"),1)])])),cq,e.createElementVNode("div",rq,[mq,e.createElementVNode("div",hq,[pq,e.createElementVNode("div",Eq,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",yq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",_q,[Nq,e.createElementVNode("div",Vq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",fq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdTime)??"—"),1)]),e.createElementVNode("div",gq,[Dq,e.createElementVNode("div",xq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualAvgSpd)??"—"),1),e.createElementVNode("div",bq,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Cq,[Sq,e.createElementVNode("div",kq,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualAvgCF)??"—"),1),e.createElementVNode("div",Aq,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Bq,[wq,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",uq,[Fq,e.createElementVNode("div",Pq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualPfmSpd)??"—"),1),e.createElementVNode("div",Lq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Wq,[Hq,e.createElementVNode("div",Mq,e.toDisplayString(a.compareTime((ke=l.comparisonData)==null?void 0:ke.actualTime,(Ae=l.comparisonData)==null?void 0:Ae.recmdTime)),1)])]),Gq,e.createElementVNode("div",Iq,[Rq,e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",Yq,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Zq,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",Kq,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",qq,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Xq,[jq,e.createElementVNode("div",$q,e.toDisplayString(((u=l.comparisonData)==null?void 0:u.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",vq,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",eX,[tX,e.createElementVNode("div",oX,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",lX,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",iX,[dX,e.createElementVNode("div",cX,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":n[0]||(n[0]=He=>l.advisory=He),height:"320px",onBlur:n[1]||(n[1]=He=>a.handleCommit("comments",He))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[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,rX))],2)])}const On=fe(aK,[["render",mX],["__scopeId","data-v-c8bf8198"]]),jee="",hX={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//c6zPSkndndmdkFpqSc2enu6qpX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B9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),pX={class:"comparison-report"},EX=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),yX={class:"report-header"},_X={class:"header-title",style:{position:"relative !important"}},NX={class:"header-title-content"},VX=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),fX={class:"title-date"},gX={class:"report-summary"},DX={class:"summary-item"},xX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bX={class:"flexL gray"},CX={class:"summary-item"},SX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),kX={class:"flexL gray"},AX={class:"summary-item"},BX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),wX={class:"flexL gray"},TX={class:"summary-item"},OX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),uX={class:"flexL gray"},FX={class:"summary-item"},PX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),LX={class:"flexL gray"},WX={class:"summary-item"},HX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MX={class:"flexL gray",style:{display:"flex"}},GX={class:"flex"},IX={class:"flexM"},RX={class:"summary-item"},zX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UX={class:"flexL gray",style:{display:"flex"}},YX={class:"flex"},ZX={class:"flexM"},QX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),JX={class:"report-summary"},KX={class:"summary-item"},qX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),XX={class:"summary-item"},jX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),$X={class:"summary-item"},vX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),ej=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),tj={class:"report-map"},oj=["src"],lj=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),aj=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),nj={key:0,class:"subtitle"},sj={key:1,class:"report-summary"},ij={class:"summary-item"},dj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),cj={class:"flexL blue center"},rj={class:"summary-item"},mj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),hj={class:"flexL blue center"},pj={class:"summary-item"},Ej=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),yj={class:"flexL blue center"},_j=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),Nj={class:"report-summary"},Vj=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)),fj={class:"summary-item"},gj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Dj={class:"flex blue-light center"},xj={class:"flex blue-light center"},bj={class:"summary-item"},Cj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Aj={class:"summary-item"},Bj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),wj={class:"flex blue-light center"},Tj={class:"flex blue-light center"},Oj={class:"summary-item"},uj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Fj={class:"flex blue-light center"},Pj={class:"flex blue-light center"},Lj={class:"summary-item"},Wj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Hj={class:"flex blue-light center"},Mj={class:"flex blue-light center"},Gj={class:"summary-item"},Ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Rj={class:"flex blue-light center"},zj={class:"flex blue-light center"},Uj={class:"summary-item"},Yj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Zj={class:"flex blue-light center italic"},Qj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Jj={class:"report-summary"},Kj=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)),qj={class:"summary-item"},Xj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),jj={class:"flex blue-light center"},$j={class:"flex blue-light center"},vj={class:"summary-item"},e$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),t$={class:"flex blue-light center"},o$={class:"flex blue-light center"},l$={class:"summary-item"},a$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),n$={class:"flex blue-light center"},s$={class:"flex blue-light center"},i$={class:"summary-item"},d$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),c$={class:"flex blue-light center"},r$={class:"flex blue-light center"},m$={class:"summary-item"},h$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),p$={class:"flex blue-light center italic"},E$={class:"summary-item"},y$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),_$={class:"flex blue-light center italic"},N$=["innerHTML"];function V$(t,n,o,d,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pX,[EX,e.createElementVNode("div",yX,[e.createElementVNode("div",_X,[e.createElementVNode("div",NX,[VX,e.createElementVNode("div",fX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",gX,[e.createElementVNode("div",DX,[xX,e.createElementVNode("div",bX,e.toDisplayString((D=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",CX,[SX,e.createElementVNode("div",kX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",AX,[BX,e.createElementVNode("div",wX,e.toDisplayString((N=(p=l.comparisonData)==null?void 0:p.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",TX,[OX,e.createElementVNode("div",uX,e.toDisplayString((r=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",FX,[PX,e.createElementVNode("div",LX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,[e.createElementVNode("span",GX,e.toDisplayString((P=(T=l.comparisonData)==null?void 0:T.departure)==null?void 0:P.name),1),e.createElementVNode("span",IX,e.toDisplayString(a.computeUTCTime(((O=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:O.atd)||((F=(b=l.comparisonData)==null?void 0:b.departure)==null?void 0:F.etd))),1)])]),e.createElementVNode("div",RX,[zX,e.createElementVNode("div",UX,[e.createElementVNode("span",YX,e.toDisplayString((Z=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",ZX,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)])])]),QX,e.createElementVNode("div",JX,[e.createElementVNode("div",KX,[qX,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",XX,[jX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffFoCons,"oil")),3)]),e.createElementVNode("div",$X,[vX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffDgoCons,"oil")),3)])]),ej,e.createElementVNode("div",tj,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,oj),lj]),aj,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nj,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sj,[e.createElementVNode("div",ij,[dj,e.createElementVNode("div",cj,e.toDisplayString((($=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:$.speed)??"—"),1)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",hj,e.toDisplayString(((v=(c=l.comparisonData)==null?void 0:c.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",pj,[Ej,e.createElementVNode("div",yj,e.toDisplayString(((ee=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ee.dgo)??"—"),1)])])),_j,e.createElementVNode("div",Nj,[Vj,e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",xj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",bj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",kj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Aj,[Bj,e.createElementVNode("div",wj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgSpd)??"—"),1),e.createElementVNode("div",Tj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Oj,[uj,e.createElementVNode("div",Fj,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.actualAvgCF)??"—"),1),e.createElementVNode("div",Pj,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Lj,[Wj,e.createElementVNode("div",Hj,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualAvgWF)??"—"),1),e.createElementVNode("div",Mj,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",zj,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Uj,[Yj,e.createElementVNode("div",Zj,e.toDisplayString(a.compareTime((Se=l.comparisonData)==null?void 0:Se.actualTime,(ke=l.comparisonData)==null?void 0:ke.recmdTime)),1)])]),Qj,e.createElementVNode("div",Jj,[Kj,e.createElementVNode("div",qj,[Xj,e.createElementVNode("div",jj,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",vj,[e$,e.createElementVNode("div",t$,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualFoCons)??"-"),1),e.createElementVNode("div",o$,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",s$,e.toDisplayString(((u=l.comparisonData)==null?void 0:u.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",i$,[d$,e.createElementVNode("div",c$,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualDgoCons)??"-"),1),e.createElementVNode("div",r$,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",m$,[h$,e.createElementVNode("div",p$,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",E$,[y$,e.createElementVNode("div",_$,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(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=we=>l.advisory=we),height:"320px",onBlur:n[1]||(n[1]=we=>a.handleCommit("comments",we))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...we)=>a.decideDisable&&a.decideDisable(...we)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,N$))],2)])}const un=fe(hX,[["render",V$],["__scopeId","data-v-b2f57055"]]),f$={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",un)}},g$={install(t){t.component("IdmBrand",Uo),t.component("IdmThird",ja)}},$ee="",D$={name:"QuotaReport",components:{Brand:Uo},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(){en.accessToken=this.mapboxToken,this.map=new en.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}})}}},Fn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),x$={class:"quota-report"},b$=Fn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),C$={class:"section quota-section"},S$=Fn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),k$={class:"label"},A$={class:"label"},B$=["innerHTML"],w$=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 T$(t,n,o,d,l,a){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",x$,[e.createVNode(E,{name:"Quotation Sheet"}),b$,e.createElementVNode("div",C$,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[S$,(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",k$,e.toDisplayString(i.rank),1),e.createElementVNode("td",A$,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,B$))),128))]))),128))])]),w$])])}const Pn=fe(D$,[["render",T$],["__scopeId","data-v-f3647134"]]),O$={install(t){t.component("OrmQuoteReport",Pn)}},vee="",u$={name:"PrecipitationReport",components:{IdmBrand:Uo,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,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const d of(n=this.report)==null?void 0:n.rows)this.computeForm(d);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,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,E,i,_,D,S;const n=te.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let p=0;p<((l=t==null?void 0:t.extend)==null?void 0:l.length);p++){const N=t==null?void 0:t.extend[p];if(p===0)N.precip.pacc=0;else{const x=w(N.utc).utcOffset(n),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 d=0;for(const p of Object.keys(o))d+=(E=o[p])==null?void 0:E.colspan,o[p].level=((i=o[p])==null?void 0:i.pacc)<10?"Light":((_=o[p])==null?void 0:_.pacc)<24.9?"Moderate":((D=o[p])==null?void 0:D.pacc)<49.9?"Heavy":((S=o[p])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=d,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const o=[],d=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F;const _=w(i.utc).utcOffset((D=this.form)==null?void 0:D.localTZ).format("MMM-DD/HHmm[LT]");o.push(_),a=((p=(S=i.wave)==null?void 0:S.sig)==null?void 0:p.height)>a?(x=(N=i.wave)==null?void 0:N.sig)==null?void 0:x.height:a,d.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,(F=i.precip)==null?void 0:F.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const E={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:d,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:d,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:d,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:d,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:d,z:2}]};this.echart.setOption(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Lt=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),F$={class:"precipitation-report"},P$={class:"section area-section"},L$={class:"area-block"},W$={class:"area-header flex-space"},H$={class:"flex-start"},M$=["onClick"],G$={class:"flex-end"},I$={class:"area-body"},R$=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),z$={class:"flex-evenly"},U$={key:0},Y$=["colspan"],Z$=["colspan"],Q$={style:{"font-size":"10px"}},J$={key:0},K$={key:1},q$={key:2},X$={key:3},j$={key:0},$$={key:1,style:{"font-size":"14px"}},v$=Lt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),ev={class:"section echart-section"},tv={ref:"echart",class:"echart"},ov={class:"section sample-section"},lv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),av=["colspan"],nv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),sv=Lt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),iv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),dv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),cv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),rv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),mv={key:0},hv={key:1},pv=Lt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ev=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),yv=Lt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),_v=Lt(()=>e.createElementVNode("th",null,"BF",-1)),Nv=Lt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Vv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),fv=Lt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),gv=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Dv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),xv=Lt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),bv=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Cv=Lt(()=>e.createElementVNode("th",null,"°C",-1)),Sv={width:"120px"},kv={key:0},Av={key:1},Bv={key:0,class:"degree-box"},wv={key:1},Tv={key:0,class:"degree-box"},Ov={key:1},uv={key:0,class:"degree-box"},Fv={key:1},Pv={class:"section area-section"},Lv={class:"area-block"},Wv={class:"area-header flex-end"},Hv={class:"flex-end"},Mv={class:"area-body"},Gv=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),Iv=["colspan"],Rv=["colspan"],zv={style:{"font-size":"10px"}},Uv={key:0},Yv={key:1},Zv={key:2},Qv={key:3},Jv={key:1,style:{"font-size":"14px"}},Kv={key:0};function qv(t,n,o,d,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",F$,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=f=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",P$,[e.createElementVNode("div",L$,[e.createElementVNode("div",W$,[e.createElementVNode("div",H$,[(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,M$))),128))]),e.createElementVNode("div",G$,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",I$,[R$,e.createElementVNode("div",z$,[l.form?(e.openBlock(),e.createElementBlock("table",U$,[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((p=l.form)==null?void 0:p.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,Y$)]),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,Z$)}),128))]),e.createElementVNode("tr",Q$,[(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,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[H==="0"?(e.openBlock(),e.createElementBlock("th",J$,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",K$,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",q$,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",X$,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(R=Object.keys((F=l.form)==null?void 0:F.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,K)=>{var q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",j$,e.toDisplayString(a.roundPrecision((q=l.form)==null?void 0:q.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",$$,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),v$,e.createElementVNode("div",ev,[e.createElementVNode("div",tv,null,512)]),e.createElementVNode("div",ov,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lv,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,av),nv,sv,iv,dv,cv,rv]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",mv,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",hv,"Acc (mm)")):e.createCommentVNode("",!0),pv,Ev,yv,_v,Nv,Vv,fv,gv,Dv,xv,bv,Cv])]),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,q,j,X,V,M,J,s,$,c,v,oe,ee,se,ie,ce,re,he,de,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",Sv,e.toDisplayString(a.computeLTime(f.utc,(I=l.form)==null?void 0:I.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",kv,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Av,e.toDisplayString((K=f.precip)==null?void 0:K.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(q=f.wind)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",Bv,[e.createTextVNode(e.toDisplayString((j=f.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=f.wind)==null?void 0:X.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wv,"-"))]),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(($=(s=f.wave)==null?void 0:s.wd)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,[(v=(c=f.wave)==null?void 0:c.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Tv,[e.createTextVNode(e.toDisplayString((ee=(oe=f.wave)==null?void 0:oe.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",Ov,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(ce=f.wave)==null?void 0:ce.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((de=(he=f.wave)==null?void 0:he.swell)==null?void 0:de.period,1)),1),e.createElementVNode("td",null,[(ge=(pe=f.wave)==null?void 0:pe.sig)!=null&&ge.height?(e.openBlock(),e.createElementBlock("span",uv,[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",Fv,"-"))]),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",Pv,[e.createElementVNode("div",Lv,[e.createElementVNode("div",Wv,[e.createElementVNode("div",Hv,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Mv,[Gv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var I,H,K;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,Iv)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>{var X;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:f.paccInDays[q].colspan,class:e.normalizeClass((X=f.paccInDays[q])==null?void 0:X.level)},e.toDisplayString(q)+" ("+e.toDisplayString(f.paccInDays[q].pacc)+") ",11,Rv)}),128))]),e.createElementVNode("tr",zv,[(K=Object.keys(f==null?void 0:f.paccInDays))!=null&&K.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[X==="0"?(e.openBlock(),e.createElementBlock("th",Uv,"00-06")):e.createCommentVNode("",!0),X==="1"?(e.openBlock(),e.createElementBlock("th",Yv,"06-12")):e.createCommentVNode("",!0),X==="2"?(e.openBlock(),e.createElementBlock("th",Zv,"12-18")):e.createCommentVNode("",!0),X==="3"?(e.openBlock(),e.createElementBlock("th",Qv,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Jv,"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),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(X)?(e.openBlock(),e.createElementBlock("td",Kv,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[q][X],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Ln=fe(u$,[["render",qv],["__scopeId","data-v-93671675"]]),Xv={install(t){t.component("PrecipitationReport",Ln)}},jv={install(t){t.component("IdmLoading",on)}};le.BrandPlugin=g$,le.ComparisonPlugin=f$,le.DeviationPlugin=hJ,le.DeviationReport=Bn,le.FliComparisonReport=un,le.FliDeviationReport=wn,le.FliPlanReport=Nn,le.FliVoyageReport=Dn,le.HurricanePlugin=qF,le.HurricaneReport=Cn,le.IdmBrand=Uo,le.IdmEditor=Ro,le.IdmEditorPlugin=CE,le.IdmLat=va,le.IdmLatPlugin=SE,le.IdmLng=$a,le.IdmLngPlugin=kE,le.IdmLoading=on,le.IdmThird=ja,le.InvoicePlugin=ML,le.InvoiceReport=Sn,le.LoadingPlugin=jv,le.ORMPointReport=pn,le.OpiComparisonReport=On,le.OpiPlanReport=dn,le.OpiVoyageReport=gn,le.OrmInvoiceReport=kn,le.OrmPlanReport=Vn,le.OrmQuoteReport=Pn,le.OrmVoyageReport=xn,le.PiLogo=fn,le.PiLogoPlugin=FE,le.PointReport=En,le.PointReportPlugin=_c,le.PrecipitationReport=Ln,le.PrecipitationReportPlugin=Xv,le.QuoteReportPlugin=O$,le.RouteReport=dn,le.RouteReportPlugin=bE,le.StoppageReport=Tn,le.StoppageReportPlugin=lK,le.VoyageReportPlugin=TF,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function uE(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",wE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},OE,8,TE)]))])}const fn=fe(AE,[["render",uE]]),FE={install(t){t.component("PiLogo",fn)}},xee="",bee="",PE={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/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yf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YITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmllB1GqLps1n9G06MySb8v39KLPTbhvTRdJtyNP3mlmut0H5obcc1Xpd2YOyLnsg0FqnU/7W+OqXNSdVr+o60S+vBOqTl82OB3vJ2zHVaquwv6NheVHTC2ZHnHp9rXLKclsZqEd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6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAG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/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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(E=>{let i={time:w(E.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(E.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:E.duration,distance:E.distance,fo:E.foCons,dgo:E.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(E=>{a.push(this.computedSeg(E))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(E=>E.type!=="A"&&E.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),LE=["src"],WE={class:"voyage-main"},HE={class:"main",style:{"page-break-after":"always"}},ME={class:"main-title",style:{position:"relative !important"}},GE=["src"],IE={class:"main-title-content"},RE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),zE={class:"title-date"},UE={class:"main-subtitle"},YE={class:"white"},ZE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),QE={class:"subtitle-main"},JE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),KE={class:"subtitle-main"},qE={class:"main-box"},XE={class:"main-table"},jE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),$E={class:"bold"},vE=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),ey={class:"bold"},ty=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),oy={class:"bold"},ly=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ay={class:"bold"},ny={style:{display:"inline-block",width:"50%"}},sy=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),iy={class:"bold"},cy={style:{display:"inline-block",width:"50%"}},dy=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),ry={class:"tips",style:{display:"flex"}},my={style:{color:"var(--table-note-color)"}},hy={class:"summary-table",style:{"margin-top":"5px"}},py=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),Ey={style:{width:"15%"}},yy={key:1},_y=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),Ny={key:1},Vy=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),fy={key:1},gy=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)),Dy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),xy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},Cy=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),Sy=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),ky={class:"remark-table"},Ay=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)),By=["innerHTML"],wy={class:"analysis page-title"},Ty={class:"analysis-title"},Oy={class:"analysis-title-detail"},uy=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Fy={class:"page-avoid"},Py={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Ly=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Wy=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),Hy=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),My=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),Gy=g(()=>e.createElementVNode("tr",null,null,-1)),Iy={class:"title"},Ry={class:"title"},zy={class:"title"},Uy={class:"title"},Yy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Zy={class:"page-avoid",style:{"margin-bottom":"15px"}},Qy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Jy=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)),Ky=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)),qy=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),Xy={class:"inGoodWx"},jy={class:"inGoodWx"},$y=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),vy={class:"inGoodWx"},e_={class:"inGoodWx"},t_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),o_={class:"inGoodWx"},l_={class:"inGoodWx"},a_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),n_={class:"inGoodWx"},s_={class:"inGoodWx"},i_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),c_={class:"inGoodWx"},d_={class:"inGoodWx"},r_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),m_={class:"inGoodWx"},h_={class:"inGoodWx"},p_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),E_={class:"inGoodWx"},y_={class:"inGoodWx"},__={key:0,class:"analysis-tips"},N_={key:1,class:"analysis-definition"},V_={key:2,class:"analysis-definition"},f_=g(()=>e.createElementVNode("br",null,null,-1)),g_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},D_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),x_=g(()=>e.createElementVNode("span",null,"= ",-1)),b_={key:0},C_={key:1},S_={key:2},k_={key:3},A_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},B_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),w_=g(()=>e.createElementVNode("span",null,"=",-1)),T_={key:0},O_={key:1},u_=g(()=>e.createElementVNode("span",null,"-",-1)),F_=g(()=>e.createElementVNode("span",null,"=",-1)),P_={key:0},L_={key:1},W_={key:6,class:"tr-tips tips-color"},H_={class:"formula page-title"},M_={class:"page-avoid"},G_={class:"subtitle",style:{"margin-top":"0"}},I_={key:0},R_={class:"definition"},z_=g(()=>e.createElementVNode("br",null,null,-1)),U_=g(()=>e.createElementVNode("br",null,null,-1)),Y_=g(()=>e.createElementVNode("br",null,null,-1)),Z_={class:"equation"},Q_=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),J_=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),K_={style:{width:"50%"},class:"fraction"},q_=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X_=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j_=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$_={class:"equation"},v_={style:{width:"35%"}},eN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),tN={style:{width:"50%"},class:"fraction"},oN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),aN={class:"equation"},nN={style:{width:"35%"}},sN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iN={style:{width:"50%"},class:"fraction"},cN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),rN=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)),mN={class:"page-avoid"},hN={key:0,class:"definition",style:{margin:"15px 0"}},pN={class:"equation"},EN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_N={style:{width:"35%"},class:"fraction"},NN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),fN={style:{width:"10%","text-align":"center"}},gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"35%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),AN={style:{width:"10%","text-align":"center"}},BN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),wN={class:"equation"},TN={style:{width:"35%"}},ON=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"35%"},class:"fraction"},FN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),LN={style:{width:"10%","text-align":"center"}},WN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),HN=g(()=>e.createElementVNode("span",null,"=",-1)),MN=g(()=>e.createElementVNode("span",null,"=",-1)),GN=g(()=>e.createElementVNode("span",null,"=",-1)),IN=["innerHTML"],RN={class:"page-avoid"},zN={class:"subtitle page-title"},UN={key:0},YN={class:"definition",style:{"margin-bottom":"15px"}},ZN=g(()=>e.createElementVNode("br",null,null,-1)),QN=g(()=>e.createElementVNode("br",null,null,-1)),JN=g(()=>e.createElementVNode("br",null,null,-1)),KN={class:"equation"},qN=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"25%"},class:"fraction"},$N=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tV=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)),oV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),lV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},aV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),nV={key:0},sV={class:"equation"},iV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),cV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),dV={style:{width:"25%"},class:"fraction"},rV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=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 Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),pV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),EV={class:"equation"},yV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),_V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),NV={style:{width:"25%"},class:"fraction"},VV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gV=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)),DV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),xV=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)),bV={key:0,class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"45%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),BV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wV={key:1,class:"equation"},TV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),OV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uV={style:{width:"45%"},class:"fraction"},FV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),PV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV={class:"page-avoid"},WV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),HV={key:0,class:"definition",style:{margin:"15px 0"}},MV={class:"equation"},GV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),IV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RV={style:{width:"20%"},class:"fraction"},zV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YV={style:{width:"20%"},class:"fraction"},ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),JV={style:{width:"10%","text-align":"center"}},KV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qV={class:"equation"},XV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"20%"},class:"fraction"},vV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tf={style:{width:"20%"},class:"fraction"},of=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=g(()=>e.createElementVNode("div",null,"24",-1)),af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nf={style:{width:"10%","text-align":"center"}},sf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),cf={class:"equation"},df=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"20%"},class:"fraction"},hf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ef={style:{width:"20%"},class:"fraction"},yf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=g(()=>e.createElementVNode("div",null,"24",-1)),Nf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Vf={style:{width:"10%","text-align":"center"}},ff=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),gf=g(()=>e.createElementVNode("span",null,"=",-1)),Df=g(()=>e.createElementVNode("span",null,"=",-1)),xf=g(()=>e.createElementVNode("span",null,"=",-1)),bf={key:0},Cf={key:0,class:"equation"},Sf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Af={style:{width:"45%"},class:"fraction"},Bf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Tf={style:{width:"10%","text-align":"center"}},Of={key:1,class:"equation"},uf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),Ff=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Pf={style:{width:"45%"},class:"fraction"},Lf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"10%","text-align":"center"}},Mf=["innerHTML"],Gf={class:"page-avoid"},If={key:0},Rf=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),zf={key:0,class:"definition",style:{margin:"15px 0"}},Uf={class:"equation"},Yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Zf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"20%"},class:"fraction"},Jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),qf={style:{width:"20%"},class:"fraction"},Xf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$f={style:{width:"10%","text-align":"center"}},vf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),eg={class:"equation"},tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lg={style:{width:"20%"},class:"fraction"},ag=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),sg={style:{width:"20%"},class:"fraction"},ig=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cg=g(()=>e.createElementVNode("div",null,"24",-1)),dg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rg={style:{width:"10%","text-align":"center"}},mg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),hg={class:"equation"},pg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Eg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yg={style:{width:"20%"},class:"fraction"},_g=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Vg={style:{width:"20%"},class:"fraction"},fg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gg=g(()=>e.createElementVNode("div",null,"24",-1)),Dg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xg={style:{width:"10%","text-align":"center"}},bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Cg=g(()=>e.createElementVNode("span",null,"=",-1)),Sg=g(()=>e.createElementVNode("span",null,"=",-1)),kg=g(()=>e.createElementVNode("span",null,"=",-1)),Ag=["innerHTML"];function Bg(t,n,o,c,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$;const E=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||(p=(S=o.reportData)==null?void 0:S.weather)!=null&&p.overallAsGoodWx?"watermark":"")},[e.createVNode(E,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,LE),e.createElementVNode("div",WE,[e.createElementVNode("div",HE,[e.createElementVNode("div",ME,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,GE),e.createElementVNode("div",IE,[RE,e.createElementVNode("div",zE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",UE,[e.createElementVNode("table",YE,[e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[JE,e.createElementVNode("td",KE,"    "+e.toDisplayString((r=(x=o.reportData)==null?void 0:x.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",$E,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[vE,e.createElementVNode("td",ey,e.toDisplayString((P=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:P.loadCondition),1)]),e.createElementVNode("tr",null,[ty,e.createElementVNode("td",oy,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[ly,e.createElementVNode("td",ay,[e.createElementVNode("span",ny,e.toDisplayString(((F=(b=o.reportData)==null?void 0:b.departure)==null?void 0:F.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,[sy,e.createElementVNode("td",iy,[e.createElementVNode("span",cy,e.toDisplayString(((H=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:H.portName)||a.computedLngLat((q=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:q.lat,(X=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:X.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)])])])]),dy,(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",ry,[e.createElementVNode("div",my,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",hy,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",Ey,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",yy,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,[_y,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",Ny,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,[Vy,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",fy,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)])]),gy]))),128)),Dy,e.createElementVNode("div",xy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[Cy,e.createElementVNode("div",null,[Sy,e.createElementVNode("table",ky,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(d,v)=>{var oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_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",wy,[e.createElementVNode("div",Ty,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",Oy,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),uy,e.createElementVNode("div",Fy,[e.createElementVNode("table",Py,[e.createElementVNode("tr",null,[Ly,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),Wy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[Hy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),My,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),Gy,e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",Ry,"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",zy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Uy,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),Yy,e.createElementVNode("div",Zy,[e.createElementVNode("table",Qy,[Jy,Ky,e.createElementVNode("tr",null,[qy,e.createElementVNode("td",Xy,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",jy,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,[$y,e.createElementVNode("td",vy,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",e_,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,[t_,e.createElementVNode("td",o_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",l_,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,[a_,e.createElementVNode("td",n_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",s_,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,[i_,e.createElementVNode("td",c_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",d_,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,[r_,e.createElementVNode("td",m_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",h_,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,[p_,e.createElementVNode("td",E_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",y_,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",__," 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",N_," 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",V_,[e.createTextVNode(" No Charter Party defined good weather was found. "),f_,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",g_,[D_,x_,(ce=(he=o.reportData)==null?void 0:he.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",b_,e.toDisplayString(d.goodWx.avgSpd),1)),(ge=(pe=o.reportData)==null?void 0:pe.weather)!=null&&ge.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",C_,"-")),(xe=(De=o.reportData)==null?void 0:De.weather)!=null&&xe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",S_,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",k_,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",A_,[B_,w_,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",T_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",O_,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),u_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),F_,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",P_,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",L_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",W_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[e.createElementVNode("div",G_,[e.createTextVNode(" Time Analysis "),(Fe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I_,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",R_,[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),z_,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),U_,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),Y_,e.createElementVNode("div",Z_,[Q_,J_,e.createElementVNode("div",K_,[e.createElementVNode("div",null,e.toDisplayString((u=(Ne=o.reportData)==null?void 0:Ne.weather)!=null&&u.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q_,X_]),j_]),e.createElementVNode("div",$_,[e.createElementVNode("div",v_," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),eN,e.createElementVNode("div",tN,[e.createElementVNode("div",null,e.toDisplayString((Pe=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),lN]),e.createElementVNode("div",aN,[e.createElementVNode("div",nN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),sN,e.createElementVNode("div",iN,[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),cN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),dN]),rN])]),e.createElementVNode("div",mN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hN,[e.createElementVNode("div",pN,[EN,yN,e.createElementVNode("div",_N,[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),NN,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),VN,e.createElementVNode("div",fN,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((qe=(Ke=o.reportData)==null?void 0:Ke.weather)!=null&&qe.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),SN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),kN,e.createElementVNode("div",AN,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BN]),e.createElementVNode("div",wN,[e.createElementVNode("div",TN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),ON,e.createElementVNode("div",uN,[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),FN,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),PN,e.createElementVNode("div",LN,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),WN]),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),HN,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),MN,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),GN,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,IN))]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",UN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",YN,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),ZN,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),QN,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),JN,e.createElementVNode("div",KN,[qN,XN,e.createElementVNode("div",jN,[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),$N,vN]),eV,tV,oV]),e.createElementVNode("div",lV,[aV,((y=(Je=d.extend)==null?void 0:Je.cp)==null?void 0:y.dgo)>0?(e.openBlock(),e.createElementBlock("div",nV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",sV,[iV,cV,e.createElementVNode("div",dV,[e.createElementVNode("div",null,e.toDisplayString((Ve=(Q=o.reportData)==null?void 0:Q.weather)!=null&&Ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),mV,hV,pV]),e.createElementVNode("div",EV,[yV,_V,e.createElementVNode("div",NV,[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),VV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),fV,gV,DV]),xV,((Xe=(me=d.extend)==null?void 0:me.cp)==null?void 0:Xe.dgo)>0?(e.openBlock(),e.createElementBlock("div",bV,[CV,SV,e.createElementVNode("div",kV,[AV,BV,e.createElementVNode("div",null,e.toDisplayString((ve=($e=o.reportData)==null?void 0:$e.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",wV,[TV,OV,e.createElementVNode("div",uV,[FV,PV,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",LV,[WV,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("div",MV,[GV,IV,e.createElementVNode("div",RV,[e.createElementVNode("div",null,e.toDisplayString((ht=(mt=o.reportData)==null?void 0:mt.weather)!=null&&ht.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),zV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),ZV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),QV,e.createElementVNode("div",JV,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),KV]),e.createElementVNode("div",qV,[XV,jV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Et=(pt=o.reportData)==null?void 0:pt.weather)!=null&&Et.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),of,lf]),af,e.createElementVNode("div",nf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),sf]),e.createElementVNode("div",cf,[df,rf,e.createElementVNode("div",mf,[e.createElementVNode("div",null,e.toDisplayString((_t=(yt=o.reportData)==null?void 0:yt.weather)!=null&&_t.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),yf,_f]),Nf,e.createElementVNode("div",Vf,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),ff]),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),gf,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Df,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),xf,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",bf,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Cf,[Sf,kf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),Bf,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)]),wf,e.createElementVNode("div",Tf,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",Of,[uf,Ff,e.createElementVNode("div",Pf,[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),Lf,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)]),Wf,e.createElementVNode("div",Hf,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,Mf))]),e.createElementVNode("div",Gf,[((Ct=(bt=d.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",If,[Rf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",zf,[e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[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),Jf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Kf,e.createElementVNode("div",qf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),Xf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),jf,e.createElementVNode("div",$f,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),vf]),e.createElementVNode("div",eg,[tg,og,e.createElementVNode("div",lg,[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),ag,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),ng,e.createElementVNode("div",sg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),ig,cg]),dg,e.createElementVNode("div",rg,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),mg]),e.createElementVNode("div",hg,[pg,Eg,e.createElementVNode("div",yg,[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),_g,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Ng,e.createElementVNode("div",Vg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),fg,gg]),Dg,e.createElementVNode("div",xg,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),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),Cg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Sg,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),kg,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,Ag))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const wg=fe(PE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Cee="",Tg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":te.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let c="";return n&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="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,E,i,_,D,S,p,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=(E=this.reportData)==null?void 0:E.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(_=this.reportData)==null?void 0:_.weather)==null?void 0:D.showSwell)??!0,this.showWave=((p=(S=this.reportData)==null?void 0:S.weather)==null?void 0:p.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 n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=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}}},ye=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Og={class:"table",id:"second-table"},ug=ye(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Fg={class:"subtitle"},Pg={class:"introduce"},Lg={class:"introduce-ship"},Wg={style:{"margin-bottom":"15px"}},Hg=ye(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Mg={rowspan:"4"},Gg=ye(()=>e.createElementVNode("td",null,"Entire Period",-1)),Ig=ye(()=>e.createElementVNode("td",null,"Good weather period",-1)),Rg=ye(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),zg=ye(()=>e.createElementVNode("td",null,"Excluded period",-1)),Ug=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),Yg={class:"summary-table"},Zg=ye(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Qg=ye(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Jg=ye(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Kg=ye(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),qg=["colspan"],Xg={key:0,colspan:"2"},jg=ye(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),$g=ye(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),vg=ye(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),eD=ye(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),tD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),oD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),lD={key:0,rowspan:"2"},aD=ye(()=>e.createElementVNode("br",null,null,-1)),nD={key:1,rowspan:"2"},sD=ye(()=>e.createElementVNode("br",null,null,-1)),iD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),cD={key:2,rowspan:"2"},dD=ye(()=>e.createElementVNode("br",null,null,-1)),rD={key:3,colspan:"2"},mD={key:4,rowspan:"2"},hD=ye(()=>e.createElementVNode("br",null,null,-1)),pD={key:5,colspan:"2"},ED=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),yD={key:6,rowspan:"2"},_D={key:7,rowspan:"2"},ND=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),VD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),fD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),gD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),DD=ye(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),xD=ye(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),bD=ye(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),CD=ye(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),SD=ye(()=>e.createElementVNode("th",null,"FO",-1)),kD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),AD=ye(()=>e.createElementVNode("th",null,"Dir",-1)),BD=ye(()=>e.createElementVNode("th",null,"BF",-1)),wD={key:0},TD={key:1},OD={key:2},uD={key:3},FD=ye(()=>e.createElementVNode("th",null,"RPM",-1)),PD=ye(()=>e.createElementVNode("th",null,"Slip%",-1)),LD=ye(()=>e.createElementVNode("th",null,"FO",-1)),WD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),HD=ye(()=>e.createElementVNode("th",null,"FO",-1)),MD=ye(()=>e.createElementVNode("th",null,"DO/GO",-1)),GD=ye(()=>e.createElementVNode("th",null,"Dir",-1)),ID=ye(()=>e.createElementVNode("th",null,"BF",-1)),RD={class:"summary-tbody"};function zD(t,n,o,c,l,a){var E,i,_,D,S,p,N,x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Og,[ug,e.createElementVNode("div",Fg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",Pg,[e.createElementVNode("div",Lg,[e.createElementVNode("span",null,e.toDisplayString((N=(p=o.reportData)==null?void 0:p.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",Wg,[e.createElementVNode("table",null,[Hg,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",Mg,e.toDisplayString(C+1),1),Gg,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,[Ig,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,[Rg,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,[zg,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))])])]),Ug,e.createElementVNode("div",null,[e.createElementVNode("table",Yg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Zg,Qg,Jg,Kg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,qg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"meteo")):e.createCommentVNode("",!0),jg,$g]),e.createElementVNode("tr",null,[vg,eD,tD,oD,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",lD,[e.createTextVNode("Spd"),aD,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",nD,[e.createTextVNode("Dis"),sD,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),iD,l.showWave?(e.openBlock(),e.createElementBlock("th",cD,[e.createTextVNode("Sea HT"),dD,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",rD,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",mD,[e.createTextVNode("Sig Wave"),hD,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",pD,"Current")):e.createCommentVNode("",!0),ED,o.isAdmin?(e.openBlock(),e.createElementBlock("th",yD,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",_D,"wxFactor")):e.createCommentVNode("",!0),ND,VD,fD,gD,DD,xD,bD,CD]),e.createElementVNode("tr",null,[SD,kD,AD,BD,l.showSwell?(e.openBlock(),e.createElementBlock("th",wD,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",TD,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",OD,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",uD,"CF(kts)")):e.createCommentVNode("",!0),FD,PD,LD,WD,HD,MD,GD,ID])]),e.createElementVNode("tbody",RD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,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=(F=(b=r.meteo)==null?void 0:b.wave)==null?void 0:F.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(((q=(K=(H=r.meteo)==null?void 0:H.wave)==null?void 0:K.sig)==null?void 0:q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((X=(j=r.meteo)==null?void 0:j.current)==null?void 0:X.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 UD=fe(Tg,[["render",zD],["__scopeId","data-v-9fe5beca"]]),YD={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),n.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(zo.init(c))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},ZD=["id"];function QD(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,ZD)])}const JD=fe(YD,[["render",QD]]),KD={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},qD={class:"logo"},XD=[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 jD(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",qD,XD)}const $D=fe(KD,[["render",jD]]),kee="",vD={components:{ScCharts:JD,BrabImg:$D},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let E=0;a==n.length-1?E=t.length-l.id:E=n[a+1].id-l.id+1;let i=[];for(let _=0;_<t.length;_++)(_>l.id||_==l.id)&&E>0?(i.push(l.num),E=E-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((E,i)=>{E!=c&&this.computedIsNull(E)!==""?(o.push({num:E,id:i}),c=E,l++):this.computedIsNull(E)!==""&&E==c&&(o[l-1].id=i)});let a=[];return o.forEach((E,i)=>{let _=i?o[i-1].id:-1;for(let D=_;D<E.id;D++)a.push(E.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="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,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=te.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,X;let t=[];(X=(j=this.reportData)==null?void 0:j.segments)==null||X.forEach((V,M)=>{let J=V.extend.cp;V.inventory.sample.hours.forEach((s,$)=>{let d=JSON.parse(JSON.stringify(s));d.cp=J,d.fuelConclusion=V.fuelConclusion,d.timeConclusion=V.timeConclusion,t.push(d)})}),t.sort(function(V,M){let J=V.date,s=M.date;return J-s});let n=[],o=[],c=[],l=[],a=[],E=[],i=[],_=[],D=[],S=[],p=[],N=[],x=[],r=[],C=[],k=[],T=[],P=[],L=[],O=[],b=[],F=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],I=[!1,!1],H=[],K=[];t.forEach((V,M)=>{var s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me;if(n.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,K.push(H),H=[])):I.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),I[0]=!1,K.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.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]")}),K.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]"),($=V==null?void 0:V.noon)==null?void 0:$.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]"),((oe=V==null?void 0:V.noon)==null?void 0:oe.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(((he=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:he.underTolerance)??""),S.push(((pe=(ce=V==null?void 0:V.fuelConclusion)==null?void 0:ce.fo)==null?void 0:pe.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="";(Fe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Fe.sigSwitch?(J=(Ee=(u=(Ne=V.meteo)==null?void 0:Ne.wave)==null?void 0:u.sig)!=null&&Ee.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)",F.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(qe=(Ke=V.meteo)==null?void 0:Ke.wave)==null?void 0:qe.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)",F.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(y=(Je=(Qe=V.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&y.height?(Te=(Ve=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:Ve.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",F.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),b.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:K},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"};E.push(J)}),D.forEach((V,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};E.push(J)}),S.forEach((V,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};E.push(J)}),E.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"};p.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"};p.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"};p.push(J)}),p.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:F,color:"#ff8935",showSymbol:!1,smooth:!0});let q=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:q,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=E,this.DGOChartData=p,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),e2={class:"charts"},t2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),o2={class:"subtitle"},l2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),a2={class:"weather-eChart"},n2={class:"charts page-title"},s2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),i2={class:"subtitle"},c2=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"},r2={class:"charts page-title"},m2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),h2={class:"subtitle"},p2={class:"message-table"},E2=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),y2=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),_2=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),N2={style:{display:"inline-block",width:"50%"}},V2=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),f2={style:{display:"inline-block",width:"50%"}},g2={style:{margin:"15px auto","padding-left":"20px"}},D2=["src"],x2={class:"charts-imgLegend"},b2={style:{position:"relative",left:"-20px"}},C2=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)),S2=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)),k2=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)),A2={key:0,class:"charts page-title"},B2=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),w2={class:"subtitle"},T2={class:"message-table"},O2=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),u2=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),F2=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),P2={style:{display:"inline-block",width:"50%"}},L2=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),W2={style:{display:"inline-block",width:"50%"}},H2={class:"columns"},M2={class:"title"},G2=["innerHTML"],I2={class:"charts",style:{"page-break-before":"always"}},R2=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),z2={class:"methodology"},U2=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),Y2={class:"definition"},Z2={class:"equation"},Q2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),J2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),K2={style:{width:"50%"},class:"fraction"},q2=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X2=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j2=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$2={class:"equation"},v2=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),e0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),a0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),n0={class:"equation"},s0=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),i0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),c0={style:{width:"50%"},class:"fraction"},d0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r0=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),m0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),h0=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)),p0=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),E0=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)),y0=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),_0=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function N0(t,n,o,c,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe;const E=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||(p=(S=o.reportData)==null?void 0:S.weather)!=null&&p.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",e2,[t2,e.createElementVNode("div",o2,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),l2,e.createElementVNode("div",a2,[e.createVNode(E,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",n2,[s2,e.createElementVNode("div",i2,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),c2,e.createElementVNode("div",d2,[e.createVNode(E,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(E,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",r2,[m2,e.createElementVNode("div",h2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",p2,[e.createElementVNode("tr",null,[E2,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,[y2,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[_2,e.createElementVNode("td",null,[e.createElementVNode("span",N2,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=(F=o.reportData)==null?void 0:F.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,[V2,e.createElementVNode("td",null,[e.createElementVNode("span",f2,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,(K=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(q=o.reportData)==null?void 0:q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",g2,[e.createElementVNode("img",{style:{width:"100%"},src:(X=o.reportData)==null?void 0:X.chartUrl,alt:""},null,8,D2),e.createElementVNode("div",x2,[e.createElementVNode("div",b2,[C2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),S2]),k2])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",A2,[B2,e.createElementVNode("div",w2,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",T2,[e.createElementVNode("tr",null,[O2,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[u2,e.createElementVNode("td",null,e.toDisplayString(($=o.reportData)==null?void 0:$.preparedFor),1)]),e.createElementVNode("tr",null,[F2,e.createElementVNode("td",null,[e.createElementVNode("span",P2,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.lat,(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,[L2,e.createElementVNode("td",null,[e.createElementVNode("span",W2,e.toDisplayString(((ce=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:ce.portName)||a.computedLngLat((ge=(pe=o.reportData)==null?void 0:pe.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",H2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ne,u)=>(e.openBlock(),e.createElementBlock("div",{key:Ne.id,class:e.normalizeClass(u%2===0?"item":"item bg")},[e.createElementVNode("div",M2,"FROM "+e.toDisplayString(a.computeFrom(Ne.from))+" "+e.toDisplayString(a.computeUTCTime(Ne.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ne==null?void 0:Ne.body)??"-")},null,8,G2)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",I2,[R2,e.createElementVNode("div",z2,[U2,e.createElementVNode("div",Y2,[e.createElementVNode("div",Z2,[Q2,J2,e.createElementVNode("div",K2,[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),q2,X2]),j2]),e.createElementVNode("div",$2,[v2,e0,e.createElementVNode("div",t0,[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),o0,l0]),a0]),e.createElementVNode("div",n0,[s0,i0,e.createElementVNode("div",c0,[e.createElementVNode("div",null,e.toDisplayString((Fe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),d0,r0]),m0]),h0]),p0,E0,y0,_0])])],2)}const V0=fe(vD,[["render",N0],["__scopeId","data-v-4fb04207"]]),Aee="",f0={components:{firstPart:wg,secondPart:UD,thirdPart:V0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},g0={class:"voyage-report"};function D0(t,n,o,c,l,a){const E=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),_=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",g0,[e.createVNode(E,{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=fe(f0,[["render",D0],["__scopeId","data-v-61638416"]]),Bee="",x0={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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):n?w(t).utc().format(n):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(te.LngLatHelper.lat2pretty(t)),c=this.getLonLat(te.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),E=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:E}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var n,o,c;return(n=t.timeConclusion)!=null&&n.spdPercentage?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,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${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 n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let _={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 E=[];c.extend.segTimes.forEach(i=>{E.push(this.computedSeg(i))}),this.segDetail.push(E),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},h=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),b0=h(()=>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)),C0={class:"fli-main"},S0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),k0={class:"card basics"},A0={class:"list flex"},B0={class:"item"},w0=h(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),T0={class:"content flex"},O0={class:"item"},u0=h(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),F0={class:"content flex"},P0={class:"item"},L0=h(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),W0={class:"content flex"},H0={class:"list"},M0={class:"item"},G0=h(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),I0={class:"content flex"},R0={class:"content flex"},z0={class:"item"},U0=h(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Y0={class:"content flex"},Z0={class:"content flex"},Q0={class:"item"},J0=h(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),K0={class:"content flexL"},q0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),X0={class:"clause"},j0={key:0,class:"definition flex"},$0={key:1,class:"definition flex"},v0={class:"item"},ex=h(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),tx={class:"content"},ox={key:0,class:"item"},lx=h(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),ax={class:"content"},nx={key:1,class:"item"},sx=h(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),ix={class:"content"},cx={key:2,class:"item"},dx=h(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),rx={class:"content"},mx={key:3,class:"item"},hx=h(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),px={class:"content"},Ex={key:4,class:"item"},yx=[h(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],_x={key:5,class:"item"},Nx=[h(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Vx={class:"definition flexM"},fx={class:"table"},gx=h(()=>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)),Dx=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),xx={class:"summary"},bx={key:0,class:"summary-overall"},Cx=h(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Sx={class:"summary-overall-row"},kx={class:"card"},Ax=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bx={class:"main-content"},wx={key:0},Tx={key:1},Ox={class:"card"},ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Fx={class:"main-content"},Px={key:0},Lx={key:1},Wx={class:"card"},Hx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Mx={class:"main-content"},Gx={key:0},Ix={key:1},Rx={class:"summary-overall-row"},zx={class:"card"},Ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Yx={class:"main-content"},Zx={class:"card"},Qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Jx={class:"main-content"},Kx={class:"card"},qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Xx={class:"main-content"},jx=h(()=>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)),$x={class:"card",style:{flex:"1.5"}},vx={class:"card-title"},eb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tb={class:"card-segment"},ob={class:"card-segment"},lb={class:"card-segment"},ab=h(()=>e.createElementVNode("div",null,"Applied",-1)),nb={class:"uppercase"},sb={class:"card summary-card",style:{flex:"1"}},ib=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),cb={key:0,class:"main-content"},db={key:0,class:"iconfont success"},rb={key:1,class:"iconfont error"},mb={key:1,class:"main-content"},hb={class:"card-content",style:{"justify-content":"flex-start"}},pb={class:"card summary-card",style:{flex:"1"}},Eb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),yb={key:0,class:"main-content"},_b={key:0,class:"iconfont success"},Nb={key:1,class:"iconfont error"},Vb={key:1,class:"main-content"},fb={class:"card-content",style:{"justify-content":"flex-start"}},gb={class:"card summary-card",style:{flex:"1"}},Db=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),xb={key:0,class:"main-content"},bb={key:0,class:"iconfont success"},Cb={key:1,class:"iconfont error"},Sb={key:1,class:"main-content"},kb={class:"card-content",style:{"justify-content":"flex-start"}},Ab={style:{"page-break-inside":"avoid"}},Bb=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),wb={class:"remarks"},Tb={class:"item"},Ob=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),ub={class:"speed"},Fb={class:"uppercase"},Pb={class:"item"},Lb=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Wb={key:0,class:"remark-detail"},Hb={key:1,class:"remark-detail"},Mb={class:"page-avoid"},Gb={class:"dashed"},Ib={class:"card phase-title-card",style:{flex:"0.5"}},Rb={class:"card-title"},zb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ub={class:"card-segment"},Yb={class:"card-segment"},Zb={class:"card-segment"},Qb=h(()=>e.createElementVNode("div",null,"Applied",-1)),Jb={class:"uppercase"},Kb=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),qb={class:"phase-analysis"},Xb={class:"card phase-card",style:{flex:"1"}},jb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),$b={class:"main-content"},vb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),eC={class:"main-content"},tC={class:"card-content"},oC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),lC=h(()=>e.createElementVNode("span",null,"mt",-1)),aC={class:"card-content"},nC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),sC=h(()=>e.createElementVNode("span",null,"mt",-1)),iC={class:"card-content"},cC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),dC=h(()=>e.createElementVNode("span",null,"mt",-1)),rC={class:"card-content"},mC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),hC=h(()=>e.createElementVNode("span",null,"mt",-1)),pC=h(()=>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)),EC={class:"card phase-card",style:{flex:"1"}},yC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),_C={class:"main-content"},NC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),VC={class:"main-content"},fC={class:"card-content"},gC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),DC=h(()=>e.createElementVNode("span",null,"mt",-1)),xC={class:"card-content"},bC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),CC=h(()=>e.createElementVNode("span",null,"mt",-1)),SC={class:"card-content"},kC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),AC=h(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},wC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),TC=h(()=>e.createElementVNode("span",null,"mt",-1)),OC=h(()=>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)),uC={class:"phase-analysis"},FC={class:"card phase-card",style:{flex:"1"}},PC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),LC={class:"main-content"},WC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=h(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),IC=h(()=>e.createElementVNode("span",null,"nm",-1)),RC={class:"card-content"},zC=h(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),UC=h(()=>e.createElementVNode("span",null,"nm",-1)),YC={class:"card-content"},ZC=h(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),QC=h(()=>e.createElementVNode("span",null,"nm",-1)),JC={class:"card-content"},KC=h(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),qC=h(()=>e.createElementVNode("span",null,"nm",-1)),XC={class:"card phase-card",style:{flex:"1"}},jC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),$C={class:"main-content"},vC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=h(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),lS=h(()=>e.createElementVNode("span",null,"hrs",-1)),aS={class:"card-content"},nS=h(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),sS=h(()=>e.createElementVNode("span",null,"hrs",-1)),iS={class:"card-content"},cS=h(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),dS=h(()=>e.createElementVNode("span",null,"hrs",-1)),rS={class:"card-content"},mS=h(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),hS=h(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},ES=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),yS={class:"main-content"},_S=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),gS=h(()=>e.createElementVNode("span",null,"kts",-1)),DS={class:"card-content"},xS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=h(()=>e.createElementVNode("span",null,"kts",-1)),CS={class:"card-content"},SS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),kS=h(()=>e.createElementVNode("span",null,"kts",-1)),AS={class:"card-content"},BS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),wS=h(()=>e.createElementVNode("span",null,"kts",-1)),TS={class:"phase-analysis"},OS={class:"card phase-card",style:{flex:"1"}},uS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),FS={class:"main-content"},PS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),MS=h(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),RS=h(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),YS=h(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},QS=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),JS=h(()=>e.createElementVNode("span",null,"mt",-1)),KS={class:"card phase-card",style:{flex:"1"}},qS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),XS={class:"main-content"},jS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),$S={class:"main-content"},vS={class:"card-content"},e3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),t3=h(()=>e.createElementVNode("span",null,"mt",-1)),o3={class:"card-content"},l3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),a3=h(()=>e.createElementVNode("span",null,"mt",-1)),n3={class:"card-content"},s3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),i3=h(()=>e.createElementVNode("span",null,"mt",-1)),c3={class:"card-content"},d3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),r3=h(()=>e.createElementVNode("span",null,"mt",-1)),m3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},h3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),p3={class:"main-content"},E3={class:"card-content"},y3=h(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),_3={key:0},N3=h(()=>e.createElementVNode("span",null,"kts",-1)),V3={key:1},f3={class:"phase-card"},g3={class:"card",style:{flex:"1"}},D3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),x3={key:0,class:"main-content"},b3={key:0,class:"iconfont success"},C3={key:1,class:"iconfont error"},S3={key:1,class:"main-content"},k3={class:"nogwd"},A3={class:"card-content",style:{"justify-content":"flex-start"}},B3={key:0},w3={class:"equation"},T3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),O3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),u3={style:{width:"8%"}},F3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),L3={style:{width:"10%"}},W3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),H3={class:"equation"},M3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),G3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I3={style:{width:"8%"}},R3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U3={style:{width:"10%"}},Y3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Z3={class:"equation"},Q3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),J3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),K3={style:{width:"8%"}},q3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j3={style:{width:"10%"}},$3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),v3={class:"phase-card"},ek={class:"card",style:{flex:"1"}},tk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),ok={key:0,class:"main-content"},lk={key:0,class:"iconfont success"},ak={key:1,class:"iconfont error"},nk={key:1,class:"main-content"},sk={class:"nogwd"},ik={class:"card-content",style:{"justify-content":"flex-start"}},ck={key:0},dk={class:"equation"},rk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),mk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},pk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yk={style:{width:"120px"}},_k=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),gk={class:"equation"},Dk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),xk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bk={style:{width:"8%"}},Ck=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kk={style:{width:"120px"}},Ak=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bk=h(()=>e.createElementVNode("div",null,"24",-1)),wk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Tk={style:{width:"10%"}},Ok=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),uk={class:"equation"},Fk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Pk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"8%"}},Wk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Mk={style:{width:"120px"}},Gk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=h(()=>e.createElementVNode("div",null,"24",-1)),Rk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zk={style:{width:"10%"}},Uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Yk={class:"phase-card"},Zk={class:"card",style:{flex:"1"}},Qk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Jk={key:0,class:"main-content"},Kk={key:0,class:"iconfont success"},qk={key:1,class:"iconfont error"},Xk={key:1,class:"main-content"},jk={class:"nogwd"},$k={class:"card-content",style:{"justify-content":"flex-start"}},vk={key:0},e4={class:"equation"},t4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),o4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),l4={style:{width:"8%"}},a4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),s4={style:{width:"120px"}},i4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),d4={style:{width:"10%"}},r4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),m4={class:"equation"},h4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),p4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),E4={style:{width:"8%"}},y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),N4={style:{width:"120px"}},V4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f4=h(()=>e.createElementVNode("div",null,"24",-1)),g4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),D4={style:{width:"10%"}},x4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),b4={class:"equation"},C4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),S4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"8%"}},A4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),w4={style:{width:"120px"}},T4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O4=h(()=>e.createElementVNode("div",null,"24",-1)),u4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),F4={style:{width:"10%"}},P4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),L4=h(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),W4={class:"formular dashed",style:{"page-break-inside":"avoid"}},H4={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},M4=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),G4={class:""},I4={class:"equation"},R4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),z4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),U4={style:{width:"50%"},class:"fraction"},Y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),J4={class:"equation"},K4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),q4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X4={style:{width:"50%"},class:"fraction"},j4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),v4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),eA={class:"equation"},tA=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),oA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lA={style:{width:"50%"},class:"fraction"},aA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nA=h(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),sA=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),iA=h(()=>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)),cA={class:"flexL formular-item",style:{"margin-left":"20px"}},dA=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),rA={class:""},mA={class:"equation"},hA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),pA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},yA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_A=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VA=h(()=>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)),fA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),gA={class:"equation"},DA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),xA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bA={style:{width:"25%"},class:"fraction"},CA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),kA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),AA=h(()=>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)),BA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),wA={class:"equation"},TA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),OA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uA={style:{width:"25%"},class:"fraction"},FA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),LA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),WA=h(()=>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)),HA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),MA=h(()=>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)),GA=h(()=>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 IA(t,n,o,c,l,a){var E,i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly?"watermark":"")},[b0,e.createElementVNode("div",C0,[S0,e.createElementVNode("div",k0,[e.createElementVNode("div",A0,[e.createElementVNode("div",B0,[w0,e.createElementVNode("div",T0,e.toDisplayString((_=o.reportData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",O0,[u0,e.createElementVNode("div",F0,e.toDisplayString((S=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",P0,[L0,e.createElementVNode("div",W0,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",H0,[e.createElementVNode("div",M0,[G0,e.createElementVNode("div",I0,e.toDisplayString(((N=(p=o.reportData)==null?void 0:p.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",R0,e.toDisplayString(a.computedTime((P=(T=o.reportData)==null?void 0:T.departure)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",z0,[U0,e.createElementVNode("div",Y0,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((F=(b=o.reportData)==null?void 0:b.arrival)==null?void 0:F.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Z0,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",Q0,[J0,e.createElementVNode("div",K0,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),q0,e.createElementVNode("div",X0,[(H=(I=o.reportData)==null?void 0:I.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",j0," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",$0,[e.createElementVNode("div",v0,[ex,e.createElementVNode("div",tx,"BF "+e.toDisplayString(((q=(K=o.reportData)==null?void 0:K.weather)==null?void 0:q.windScale)||"-"),1)]),(X=(j=o.reportData)==null?void 0:j.weather)!=null&&X.waveSwitch?(e.openBlock(),e.createElementBlock("div",ox,[lx,e.createElementVNode("div",ax,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((d=($=o.reportData)==null?void 0:$.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",cx,[dx,e.createElementVNode("div",rx,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||(he=(re=o.reportData)==null?void 0:re.weather)!=null&&he.swellHeight||(pe=(ce=o.reportData)==null?void 0:ce.weather)!=null&&pe.sigSwitch?(e.openBlock(),e.createElementBlock("div",mx,[hx,e.createElementVNode("div",px,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",Ex,yx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",_x,Nx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Vx,[e.createElementVNode("table",fx,[gx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(y,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(y==null?void 0:y.type),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.speed} | ${y==null?void 0:y.spdOfOver} , ${y.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.fo} | ${y==null?void 0:y.over} , ${y.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.dgo} | ${y==null?void 0:y.over} , ${y.under}`),1)]))),128))])])])]),Dx,e.createElementVNode("div",xx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",bx,[Cx,e.createElementVNode("div",Sx,[e.createElementVNode("div",kx,[Ax,e.createElementVNode("div",Bx,[(ue=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",wx,e.toDisplayString((Ne=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Ne.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Tx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Ox,[ux,e.createElementVNode("div",Fx,[(Ee=(u=o.reportData)==null?void 0:u.goodWx)!=null&&Ee.avgSpd?(e.openBlock(),e.createElementBlock("div",Px,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Lx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Wx,[Hx,e.createElementVNode("div",Mx,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",Gx,e.toDisplayString((Ke=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Ix,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Rx,[e.createElementVNode("div",zx,[Ux,e.createElementVNode("div",Yx,e.toDisplayString((U=(qe=o.reportData)==null?void 0:qe.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",Jx,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Kx,[qx,e.createElementVNode("div",Xx,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),jx])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(y,Q)=>{var Ve,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",$x,[e.createElementVNode("div",vx,[eb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,Xe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Xe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",tb,[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",ob,[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",lb,[ab,e.createElementVNode("div",null,[e.createElementVNode("span",nb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",sb,[ib,(Ve=y.goodWx)!=null&&Ve.distance?(e.openBlock(),e.createElementBlock("div",cb,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",db,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",mb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",hb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",pb,[Eb,(Te=y.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",yb,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",_b,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Vb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",fb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",gb,[Db,(Me=y.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",xb,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Cb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Sb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Ab,[Bb,e.createElementVNode("div",wb,[e.createElementVNode("div",Tb,[Ob,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",ub,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",Fb,e.toDisplayString(y.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Ve,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${Ve.port1} (${Ve.fullTime1}) to ${Ve.port2} (${Ve.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Pb,[Lb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${y.begin} to ${y.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",Hb,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(y,Q)=>{var Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,hl,pl,El,yl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",Mb,[e.createElementVNode("div",Gb,[e.createElementVNode("div",Ib,[e.createElementVNode("div",Rb,[zb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Ft,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Ub,[e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.port1),1),e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.time1),1)]),e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.port2),1),e.createElementVNode("div",null,e.toDisplayString(Ft==null?void 0:Ft.time2),1)])],2))),128)),e.createElementVNode("div",Zb,[Qb,e.createElementVNode("div",null,[e.createElementVNode("span",Jb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])])]),Kb,e.createElementVNode("div",qb,[e.createElementVNode("div",Xb,[jb,e.createElementVNode("div",$b,[e.createElementVNode("span",null,e.toDisplayString(((Ve=y.goodWx)==null?void 0:Ve.avgFoEcaCons)||"-")+" mt",1)]),vb,e.createElementVNode("div",eC,[e.createElementVNode("span",null,e.toDisplayString(((Te=y.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",tC,[oC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=y.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),lC])]),e.createElementVNode("div",aC,[nC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=y.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),sC])]),e.createElementVNode("div",iC,[cC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=y.allWx)==null?void 0:Xe.outEca.avgFoCons)||"-"),1),dC])]),e.createElementVNode("div",rC,[mC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=y.allWx)==null?void 0:$e.inEca.avgFoEcaCons)||"-"),1),hC])]),pC]),e.createElementVNode("div",EC,[yC,e.createElementVNode("div",_C,[e.createElementVNode("span",null,e.toDisplayString(((ve=y.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((ot=y.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",fC,[gC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=y.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),DC])]),e.createElementVNode("div",xC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=y.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),CC])]),e.createElementVNode("div",SC,[kC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=y.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),AC])]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=y.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),TC])]),OC])]),e.createElementVNode("div",uC,[e.createElementVNode("div",FC,[PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ht=y.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((pt=y.allWx)==null?void 0:pt.distance)||"-")+" nm",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=y.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=y.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=y.allWx)==null?void 0:_t.outEca.distance)||"-"),1),QC])]),e.createElementVNode("div",JC,[KC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=y.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),qC])])]),e.createElementVNode("div",XC,[jC,e.createElementVNode("div",$C,[e.createElementVNode("span",null,e.toDisplayString(((Vt=y.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((ft=y.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=y.goodWx)==null?void 0:gt.outEca.time)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=y.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=y.allWx)==null?void 0:xt.outEca.time)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=y.allWx)==null?void 0:bt.inEca.time)||"-"),1),hS])])]),e.createElementVNode("div",pS,[ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((Ct=y.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((St=y.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=y.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=y.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=y.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=y.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),wS])])])]),e.createElementVNode("div",TS,[e.createElementVNode("div",OS,[uS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Tt=y.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=y.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=y.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=y.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=y.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[QS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=y.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),JS])])]),e.createElementVNode("div",KS,[qS,e.createElementVNode("div",XS,[e.createElementVNode("span",null,e.toDisplayString(((Vo=y.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),jS,e.createElementVNode("div",$S,[e.createElementVNode("span",null,e.toDisplayString(((G=y.allWx)==null?void 0:G.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",vS,[e3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=y.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),t3])]),e.createElementVNode("div",o3,[l3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=y.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),a3])]),e.createElementVNode("div",n3,[s3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=y.allWx)==null?void 0:ut.outEca.sumDgoCons)||"-"),1),i3])]),e.createElementVNode("div",c3,[d3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=y.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),r3])])]),e.createElementVNode("div",m3,[h3,e.createElementVNode("div",p3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=y.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",E3,[y3,(It=y.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=y.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",_3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=y.goodWx)==null?void 0:Yt.avgCf)),1),N3])):(e.openBlock(),e.createElementBlock("b",V3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",f3,[e.createElementVNode("div",g3,[D3,(Zt=y.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",x3,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",b3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",C3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",S3,[e.createElementVNode("span",k3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",A3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=y.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=y.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",B3,[e.createElementVNode("div",w3,[T3,O3,e.createElementVNode("div",u3,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(Xt=y.goodWx)==null?void 0:Xt.distance:(jt=y.allWx)==null?void 0:jt.distance),1),F3,e.createElementVNode("div",null,e.toDisplayString(($t=y.goodWx)==null?void 0:$t.pfmSpd),1)]),P3,e.createElementVNode("div",L3,e.toDisplayString(y.timeConclusion.timeAtPfmSpd)+" Hrs",1),W3]),e.createElementVNode("div",H3,[M3,G3,e.createElementVNode("div",I3,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=y.goodWx)==null?void 0:to.distance:(oo=y.allWx)==null?void 0:oo.distance),1),R3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),z3,e.createElementVNode("div",U3,e.toDisplayString(y.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Y3]),e.createElementVNode("div",Z3,[Q3,J3,e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=y.goodWx)==null?void 0:no.distance:(so=y.allWx)==null?void 0:so.distance),1),q3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.plusAbtSpd),1)]),X3,e.createElementVNode("div",j3,e.toDisplayString(y.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),$3])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",v3,[e.createElementVNode("div",ek,[tk,(io=y.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",ok,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",lk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ak,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",nk,[e.createElementVNode("span",sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ik,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=y.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=y.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",ck,[e.createElementVNode("div",dk,[rk,mk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=y.goodWx)==null?void 0:xo.distance:(bo=y.allWx)==null?void 0:bo.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString((Co=y.goodWx)==null?void 0:Co.pfmSpd),1)]),Ek,e.createElementVNode("div",yk,[e.createElementVNode("div",null,e.toDisplayString((So=y.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=y.allWx)==null?void 0:ko.inEca.distance)>0?` + ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),_k,e.createElementVNode("div",null,e.toDisplayString((Ao=y.goodWx)==null?void 0:Ao.time),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(y.fuelConclusion.fo.entireCons)+" MT",1),fk]),e.createElementVNode("div",gk,[Dk,xk,e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=y.goodWx)==null?void 0:To.distance:(Oo=y.allWx)==null?void 0:Oo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.overTolerance),1),Ak,Bk]),wk,e.createElementVNode("div",Tk,e.toDisplayString(y.fuelConclusion.fo.maxCons)+" MT",1),Ok]),e.createElementVNode("div",uk,[Fk,Pk,e.createElementVNode("div",Lk,[e.createElementVNode("div",null,e.toDisplayString((Fo=(uo=o.reportData)==null?void 0:uo.weather)!=null&&Fo.noExtrapolation?(Po=y.goodWx)==null?void 0:Po.distance:(Lo=y.allWx)==null?void 0:Lo.distance),1),Wk,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Hk,e.createElementVNode("div",Mk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.underTolerance),1),Gk,Ik]),Rk,e.createElementVNode("div",zk,e.toDisplayString(y.fuelConclusion.fo.minCons)+" MT",1),Uk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Yk,[e.createElementVNode("div",Zk,[Qk,(Wo=y.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",Jk,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Kk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",qk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xk,[e.createElementVNode("span",jk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",$k,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=y.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=y.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",vk,[e.createElementVNode("div",e4,[t4,o4,e.createElementVNode("div",l4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Yo=y.goodWx)==null?void 0:Yo.distance:(Zo=y.allWx)==null?void 0:Zo.distance),1),a4,e.createElementVNode("div",null,e.toDisplayString((Qo=y.goodWx)==null?void 0:Qo.pfmSpd),1)]),n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((Jo=y.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString(((Ko=y.allWx)==null?void 0:Ko.inEca.distance)>0?` - ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),i4,e.createElementVNode("div",null,e.toDisplayString((qo=y.goodWx)==null?void 0:qo.time),1)]),c4,e.createElementVNode("div",d4,e.toDisplayString(y.fuelConclusion.dgo.entireCons)+" MT",1),r4]),e.createElementVNode("div",m4,[h4,p4,e.createElementVNode("div",E4,[e.createElementVNode("div",null,e.toDisplayString((jo=(Xo=o.reportData)==null?void 0:Xo.weather)!=null&&jo.noExtrapolation?($o=y.goodWx)==null?void 0:$o.distance:(vo=y.allWx)==null?void 0:vo.distance),1),y4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),_4,e.createElementVNode("div",N4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.overTolerance),1),V4,f4]),g4,e.createElementVNode("div",D4,e.toDisplayString(y.fuelConclusion.dgo.maxCons)+" MT",1),x4]),e.createElementVNode("div",b4,[C4,S4,e.createElementVNode("div",k4,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=o.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ol=y.goodWx)==null?void 0:ol.distance:(ll=y.allWx)==null?void 0:ll.distance),1),A4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),B4,e.createElementVNode("div",w4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.underTolerance),1),T4,O4]),u4,e.createElementVNode("div",F4,e.toDisplayString(y.fuelConclusion.dgo.minCons)+" MT",1),P4])])):e.createCommentVNode("",!0)],2)])]),L4,e.createElementVNode("div",W4,[e.createElementVNode("div",H4,[M4,e.createElementVNode("div",G4,[e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[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),Y4,Z4]),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",X4,[e.createElementVNode("div",null,e.toDisplayString((il=(sl=o.reportData)==null?void 0:sl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),j4,$4]),v4]),e.createElementVNode("div",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",null,e.toDisplayString((dl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),aA,nA]),sA]),iA])]),e.createElementVNode("div",cA,[dA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[hA,pA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((ml=(rl=o.reportData)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,_A]),NA,VA,fA]),e.createElementVNode("div",gA,[DA,xA,e.createElementVNode("div",bA,[e.createElementVNode("div",null,e.toDisplayString((pl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),CA,SA]),kA,AA,BA]),e.createElementVNode("div",wA,[TA,OA,e.createElementVNode("div",uA,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.reportData)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),FA,PA]),LA,WA,HA]),MA,GA])])])])])}),128))])],2)}const RA=fe(x0,[["render",IA],["__scopeId","data-v-9be6b8be"]]),Fee="",zA={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,c){var E;let l="";const a=((E=this.summaryTable)==null?void 0:E.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,E;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(E=(a=this.reportData)==null?void 0:a.segments)==null||E.forEach((i,_)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((S,p)=>{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 n="",o="";t.forEach((i,_)=>{i.seg!==n&&(i.isFirstSeg=!0,n=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),UA=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)),YA={class:"table",id:"second-table"},ZA={class:"summary-table"},QA=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)),JA={class:"summary-tbody"},KA=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),qA={class:"voyage-map",style:{"page-break-inside":"avoid"}},XA=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),jA=["src"],$A=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 vA(t,n,o,c,l,a){var E,i,_,D,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(E=o.reportData)==null?void 0:E.weather)!=null&&i.referenceOnly||(D=(_=o.reportData)==null?void 0:_.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[UA,e.createElementVNode("div",YA,[e.createElementVNode("div",null,[e.createElementVNode("table",ZA,[QA,e.createElementVNode("tbody",JA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(p,N)=>{var x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(p,N))},e.toDisplayString(p.isFirstSeg?p.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.time),3),a.computedPort(p)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(p)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString((x=p.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(r=p.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0))},e.toDisplayString(p.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0))},e.toDisplayString(p.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((k=(C=p.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((L=(P=(T=p.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(p,N))},e.toDisplayString(((F=(b=(O=p.meteo)==null?void 0:O.wave)==null?void 0:b.swell)==null?void 0:F.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(((z=(Z=(R=p.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(p,N))},e.toDisplayString(((W=p.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":p.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((f=p.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((Y=p.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(I=p.cp)==null?void 0:I.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N,!0,!0))},e.toDisplayString(p.abbreviation==="A"||p.abbreviation==="B"?"":(H=p.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((K=p.noon)==null?void 0:K.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":((q=p.noon)==null?void 0:q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":(j=p.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(p,N))},e.toDisplayString(p.abbreviation==="A"?"":(X=p.noon)==null?void 0:X.dgoBrob),3)])}),128))])])])]),KA,e.createElementVNode("div",qA,[XA,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,jA),$A])],2)}const eB=fe(zA,[["render",vA],["__scopeId","data-v-a420dc44"]]),Pee="",tB={components:{Summary:RA,Inventory:eB},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},oB={class:"voyage-report"};function lB(t,n,o,c,l,a){const E=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",oB,[e.createVNode(E,{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=fe(tB,[["render",lB],["__scopeId","data-v-7345a543"]]),Lee="",aB={components:{Lng:$a,Lat:va,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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.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,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const E={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(E)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-1c4dbfe0"),t=t(),e.popScopeId(),t),nB={class:"report-summary"},sB={class:"section voyage-section flex-space"},iB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},cB={class:"flex-space label-block",style:{width:"100%"}},dB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),rB={style:{"text-transform":"uppercase"}},mB={class:"flex-space label-block",style:{width:"100%"}},hB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),pB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},EB={class:"flex-space label-block",style:{width:"100%"}},yB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_B={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},NB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},VB={class:"flex-space label-block",style:{width:"100%"}},fB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),gB={key:0,class:"flex-end",style:{flex:"1"}},DB={key:1,class:"flex-end",style:{flex:"1"}},xB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),bB={class:"flex-end",style:{width:"150px"}},CB={class:"flex-space label-block",style:{width:"100%"}},SB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),kB={key:0,class:"flex-end",style:{flex:"1"}},AB={key:1,class:"flex-end",style:{flex:"1"}},BB=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wB={class:"flex-end",style:{width:"150px"}},TB={class:"flex-space label-block",style:{width:"100%"}},OB=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),uB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},FB={class:"section weather-section"},PB=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),LB={class:"definition"},WB={class:"txt"},HB={class:"section summary-section"},MB=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),GB={class:"phase-box"},IB={class:"phase-index"},RB={class:"phase-position"},zB={key:0},UB={key:1},YB=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),ZB={class:"phase-position"},QB={key:0},JB={key:1},KB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),qB={class:"phase-cp flex-space"},XB={class:"cp-box"},jB=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)),$B={class:"flex-space"},vB=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),t8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),o8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),l8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),a8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),n8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),s8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),i8={class:"phase-conclusion flex-space"},c8={class:"item-conclusion"},d8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),r8={class:"value flex-start"},m8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),h8={key:0,class:"label flex-end"},p8={key:0},E8={key:1},y8={key:2},_8={key:1,class:"label flex-end"},N8={key:2,class:"value flex-end"},V8={key:0},f8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),g8={class:"gain"},D8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),x8={key:1},b8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),C8={class:"lost"},S8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),k8={key:2},A8={class:"item-conclusion"},B8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),w8={class:"value flex-start"},T8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),O8={key:0,class:"label flex-end"},u8={key:0},F8={key:1},P8={key:2},L8={key:1,class:"label flex-end"},W8={key:2,class:"value flex-end"},H8={key:0},M8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),G8={class:"gain"},I8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),R8={key:1},z8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),U8={class:"lost"},Y8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Z8={key:2},Q8={class:"item-conclusion"},J8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),K8={class:"value flex-start"},q8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),X8={key:0,class:"label flex-end"},j8={key:0},$8={key:1},v8={key:2},e5={key:1,class:"label flex-end"},t5={key:2,class:"value flex-end"},o5={key:0},l5=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),a5={class:"gain"},n5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),s5={key:1},i5=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),c5={class:"lost"},d5=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),r5={key:2},m5=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),h5=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),p5={key:0,class:"exclusion-block"},E5=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),y5=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)),_5={style:{margin:"8px 0"}},N5={class:"remark-table"},V5=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)),f5=["innerHTML"],g5={class:"section segment-section"},D5=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),x5={class:"segment-index flex-center"},b5={class:"segment-position"},C5={key:0},S5={key:1},k5=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),A5={class:"segment-position"},B5={key:0},w5={key:1},T5=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),O5={style:{margin:"10px 0 0"}},u5=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)),F5=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)),P5=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),L5={class:"good-wx"},W5={class:"good-wx"},H5=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),M5={class:"good-wx"},G5={class:"good-wx"},I5=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),R5={class:"good-wx"},z5={class:"good-wx"},U5=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Y5={class:"good-wx"},Z5={class:"good-wx"},Q5=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),J5={class:"good-wx"},K5={class:"good-wx"},q5=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),X5={class:"good-wx"},j5={class:"good-wx"},$5=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),v5={class:"good-wx"},ew={class:"good-wx"},tw={key:0,class:"flex-end tip"},ow={key:1,class:"segment-speed"},lw={class:"flex-center"},aw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),nw={class:"speed-right flex-space"},sw=m(()=>e.createElementVNode("span",null,"-",-1)),iw=m(()=>e.createElementVNode("label",null,"=",-1)),cw={class:"speed"},dw={key:1,class:"speed"},rw={key:2,class:"under"},mw={key:3,class:"over"},hw={class:"flex-center"},pw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Ew={class:"speed-right formula flex-space"},yw=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed",-1)),_w=m(()=>e.createElementVNode("label",null,"-",-1)),Nw=m(()=>e.createElementVNode("label",null,"Good Weather Current Factor",-1)),Vw=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed ",-1)),fw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),gw={key:2,class:"segment-speed"},Dw={class:"flex-center"},xw=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),bw={class:"speed-right flex-space"},Cw=m(()=>e.createElementVNode("span",null,"-",-1)),Sw=m(()=>e.createElementVNode("span",null,"-",-1)),kw=m(()=>e.createElementVNode("label",null,"=",-1)),Aw={class:"speed"},Bw=m(()=>e.createElementVNode("span",null,"-",-1)),ww=m(()=>e.createElementVNode("label",null,"=",-1)),Tw={class:"speed"},Ow={key:2,class:"under"},uw={key:3,class:"over"},Fw={class:"flex-center"},Pw=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lw={class:"speed-right formula flex-space"},Ww=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Hw=m(()=>e.createElementVNode("label",null,"-",-1)),Mw=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),Gw=m(()=>e.createElementVNode("label",null,"-",-1)),Iw=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),Rw=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),zw=m(()=>e.createElementVNode("label",null,"-",-1)),Uw=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),Yw=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),Zw=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Qw={class:"segment-formula"},Jw={class:"header-block flex-start"},Kw=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),qw={class:"title"},Xw={key:0,style:{"margin-left":"4px","font-weight":"300"}},jw={class:"formula-block"},$w={class:"flex-evenly"},vw=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)),e7={class:"formula-right flex-evenly"},t7={class:"fraction",style:{width:"240px"}},o7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),l7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),a7=m(()=>e.createElementVNode("div",null,"(a)",-1)),n7={class:"flex-center"},s7={class:"formula-left flex-space"},i7=m(()=>e.createElementVNode("label",null,"=",-1)),c7={class:"formula-right flex-evenly"},d7={class:"fraction",style:{width:"240px"}},r7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7=m(()=>e.createElementVNode("div",null,"(b)",-1)),h7={class:"flex-center"},p7={class:"formula-left flex-space"},E7=m(()=>e.createElementVNode("label",null,"=",-1)),y7={class:"formula-right flex-evenly"},_7={class:"fraction",style:{width:"240px"}},N7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V7=m(()=>e.createElementVNode("div",null,"(c)",-1)),f7=e.createStaticVNode('<div class="flex-start" data-v-1c4dbfe0><div class="flex-space" style="width:300px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Time Lost</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(a)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Time Gained</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(c)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(a)</div></div></div>',1),g7={class:"formula-desc"},D7={class:"flex-end"},x7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),b7={class:"flex-end"},C7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),S7={class:"flex-end"},k7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),A7={key:0,class:"formula-block",style:{"font-weight":"400"}},B7={class:"flex-evenly"},w7=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)),T7={class:"formula-right flex-evenly"},O7={class:"fraction",style:{width:"240px"}},u7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),F7=m(()=>e.createElementVNode("div",null,"=",-1)),P7=m(()=>e.createElementVNode("div",null,"(a')",-1)),L7={class:"flex-center"},W7={class:"formula-left flex-space"},H7=m(()=>e.createElementVNode("label",null,"=",-1)),M7={class:"formula-right flex-evenly"},G7={class:"fraction",style:{width:"240px"}},I7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=m(()=>e.createElementVNode("div",null,"=",-1)),z7=m(()=>e.createElementVNode("div",null,"(b')",-1)),U7={class:"flex-center"},Y7={class:"formula-left flex-space"},Z7=m(()=>e.createElementVNode("label",null,"=",-1)),Q7={class:"formula-right flex-evenly"},J7={class:"fraction",style:{width:"240px"}},K7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=m(()=>e.createElementVNode("div",null,"=",-1)),X7=m(()=>e.createElementVNode("div",null,"(c')",-1)),j7={class:"formula-conclusion",style:{"margin-bottom":"0"}},$7={key:0,class:"flex-evenly",style:{width:"500px"}},v7=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),e9=m(()=>e.createElementVNode("div",null,"=",-1)),t9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),o9=m(()=>e.createElementVNode("div",null,"=",-1)),l9=m(()=>e.createElementVNode("div",null,"-",-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9={key:1,class:"flex-evenly",style:{width:"500px"}},s9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),i9=m(()=>e.createElementVNode("div",null,"=",-1)),c9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),d9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"-",-1)),m9=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)),p9={key:1,class:"formula-conclusion"},E9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),y9={class:"segment-formula"},_9={class:"header-block flex-start"},N9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),V9={class:"title"},f9={key:0,style:{"margin-left":"4px","font-weight":"300"}},g9={class:"formula-block"},D9={class:"flex-evenly"},x9=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)),b9={class:"formula-right flex-evenly"},C9={class:"fraction",style:{width:"240px"}},S9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),k9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),A9=m(()=>e.createElementVNode("div",null,"x",-1)),B9=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)),w9=m(()=>e.createElementVNode("div",null,"(d)",-1)),T9={style:{"line-height":"1"}},O9=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)),u9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},F9={class:"flex-center"},P9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),L9={class:"formula-right flex-evenly"},W9={class:"fraction",style:{width:"240px"}},H9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),M9=m(()=>e.createElementVNode("div",null,"x",-1)),G9=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)),I9=m(()=>e.createElementVNode("div",null,"(e)",-1)),R9={class:"flex-center"},z9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"240px"}},Z9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9=m(()=>e.createElementVNode("div",null,"x",-1)),J9=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)),K9=m(()=>e.createElementVNode("div",null,"(f)",-1)),q9=e.createStaticVNode('<div class="flex-start" data-v-1c4dbfe0><div class="flex-space" style="width:300px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Fuel Over-consumption</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(d)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-1c4dbfe0><label data-v-1c4dbfe0>Fuel Saving</label><div data-v-1c4dbfe0>=</div><div data-v-1c4dbfe0>(f)</div><div data-v-1c4dbfe0>-</div><div data-v-1c4dbfe0>(d)</div></div></div>',1),X9={class:"flex-center"},j9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},v9={class:"fraction",style:{width:"270px"}},e6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6={class:"flex-center"},l6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),a6={class:"formula-right flex-evenly"},n6={class:"fraction",style:{width:"270px"}},s6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),i6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),c6=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)),d6={class:"header-block flex-start",style:{"margin-top":"10px"}},r6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),m6={class:"title"},h6={key:0,class:"formula-block"},p6={class:"flex-evenly"},E6=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)),y6={class:"formula-right flex-evenly"},_6={class:"fraction",style:{width:"240px"}},N6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V6=m(()=>e.createElementVNode("div",null,"x",-1)),f6={class:"fraction",style:{width:"240px"}},g6={key:0},D6=m(()=>e.createElementVNode("span",null," + ",-1)),x6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),b6=m(()=>e.createElementVNode("div",null,"=",-1)),C6=m(()=>e.createElementVNode("div",null,"(d')",-1)),S6={class:"flex-evenly"},k6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"240px"}},w6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=m(()=>e.createElementVNode("div",null,"x",-1)),O6={class:"fraction",style:{width:"240px"}},u6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),F6=m(()=>e.createElementVNode("div",null,"24",-1)),P6=m(()=>e.createElementVNode("div",null,"=",-1)),L6=m(()=>e.createElementVNode("div",null,"(e')",-1)),W6={class:"flex-evenly"},H6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),M6={class:"formula-right flex-evenly"},G6={class:"fraction",style:{width:"240px"}},I6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R6=m(()=>e.createElementVNode("div",null,"x",-1)),z6={class:"fraction",style:{width:"240px"}},U6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y6=m(()=>e.createElementVNode("div",null,"24",-1)),Z6=m(()=>e.createElementVNode("div",null,"=",-1)),Q6=m(()=>e.createElementVNode("div",null,"(f')",-1)),J6={class:"formula-conclusion",style:{"margin-bottom":"0"}},K6={class:"flex-evenly",style:{width:"500px"}},q6=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),X6=m(()=>e.createElementVNode("div",null,"=",-1)),j6=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),v6=m(()=>e.createElementVNode("div",null,"-",-1)),eT=m(()=>e.createElementVNode("div",null,"=",-1)),tT={key:0,class:"flex-evenly"},oT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),lT=m(()=>e.createElementVNode("div",null,"=",-1)),aT={class:"fraction"},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"=",-1)),iT={class:"flex-evenly",style:{width:"700px"}},cT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),dT=m(()=>e.createElementVNode("div",null,"=",-1)),rT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),mT=m(()=>e.createElementVNode("div",null,"=",-1)),hT=m(()=>e.createElementVNode("div",null,"-",-1)),pT=m(()=>e.createElementVNode("div",null,"=",-1)),ET={key:0,class:"flex-evenly",style:{width:"500px"}},yT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT={class:"fraction",style:{width:"140px"}},VT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),fT=m(()=>e.createElementVNode("div",null,"=",-1)),gT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),DT={key:1,class:"formula-conclusion"},xT={class:"header-block flex-end",style:{"margin-top":"10px"}},bT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),CT={class:"title"},ST={key:0,class:"formula-block"},kT={class:"flex-evenly"},AT=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)),BT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"x",-1)),uT={class:"fraction",style:{width:"240px"}},FT={key:0},PT=m(()=>e.createElementVNode("span",null," - ",-1)),LT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"(d'')",-1)),MT={class:"flex-evenly"},GT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),IT={class:"formula-right flex-evenly"},RT={class:"fraction",style:{width:"240px"}},zT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=m(()=>e.createElementVNode("div",null,"x",-1)),YT={class:"fraction",style:{width:"240px"}},ZT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),QT=m(()=>e.createElementVNode("div",null,"24",-1)),JT=m(()=>e.createElementVNode("div",null,"=",-1)),KT=m(()=>e.createElementVNode("div",null,"(e'')",-1)),qT={class:"flex-evenly"},XT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),jT={class:"formula-right flex-evenly"},$T={class:"fraction",style:{width:"240px"}},vT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),eO=m(()=>e.createElementVNode("div",null,"x",-1)),tO={class:"fraction",style:{width:"240px"}},oO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),lO=m(()=>e.createElementVNode("div",null,"24",-1)),aO=m(()=>e.createElementVNode("div",null,"=",-1)),nO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),sO={class:"formula-conclusion",style:{"margin-bottom":"0"}},iO={key:0,class:"flex-evenly",style:{width:"500px"}},cO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),dO=m(()=>e.createElementVNode("div",null,"=",-1)),rO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),mO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"-",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},yO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),_O=m(()=>e.createElementVNode("div",null,"=",-1)),NO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"-",-1)),gO=m(()=>e.createElementVNode("div",null,"=",-1)),DO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function bO(t,n,o,c,l,a){var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",nB,[e.createElementVNode("div",sB,[e.createElementVNode("div",iB,[e.createElementVNode("div",cB,[dB,e.createElementVNode("span",rB,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",mB,[hB,e.createElementVNode("span",pB,e.toDisplayString((S=(D=o.report)==null?void 0:D.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(p=o.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",EB,[yB,e.createElementVNode("span",_B,e.toDisplayString((r=(x=o.report)==null?void 0:x.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",NB,[e.createElementVNode("div",VB,[fB,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",gB,e.toDisplayString((P=(T=o.report)==null?void 0:T.departure)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",DB,[e.createVNode(E,{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"]),xB,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",bB,e.toDisplayString(a.computeUTCTime((F=o.report.departure)==null?void 0:F.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",CB,[SB,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",kB,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",AB,[e.createVNode(E,{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"]),BB,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",wB,e.toDisplayString(a.computeUTCTime((q=(K=o.report)==null?void 0:K.arrival)==null?void 0:q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",TB,[OB,e.createElementVNode("span",uB,e.toDisplayString((X=(j=o.report)==null?void 0:j.voyage)==null?void 0:X.loadCondition),1)])])]),e.createElementVNode("div",FB,[PB,e.createElementVNode("div",LB,[e.createElementVNode("div",WB,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",HB,[MB,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(s,$)=>{var d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+$},[e.createElementVNode("div",GB,[e.createElementVNode("div",IB,"Seg."+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Q,Ve)=>{var Te,Me,me,Xe,$e,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Ve},[e.createElementVNode("div",RB,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",zB,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",UB,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((Xe=Q==null?void 0:Q.departure)==null?void 0:Xe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime(($e=Q==null?void 0:Q.departure)==null?void 0:$e.utcTime))+")",1)]),YB,e.createElementVNode("div",ZB,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",QB,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",JB,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)),KB,e.createElementVNode("div",qB,[e.createElementVNode("div",XB,[jB,e.createElementVNode("div",$B,[vB,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[e8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ie=s==null?void 0:s.extend)==null?void 0:ie.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:he.fo)+" |",1),e.createElementVNode("span",null,[o8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[l8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((pe=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:pe.dgo)+" |",1),e.createElementVNode("span",null,[a8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[n8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),s8,e.createElementVNode("div",i8,[e.createElementVNode("div",c8,[d8,e.createElementVNode("div",r8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),m8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",h8,[((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",p8," Time Gained ")):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",E8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",y8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",N8,[((xe=s==null?void 0:s.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",V8,[f8,e.createElementVNode("span",g8,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeGain),1),D8])):((Ce=s==null?void 0:s.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",x8,[b8,e.createElementVNode("span",C8,e.toDisplayString((Se=s==null?void 0:s.timeConclusion)==null?void 0:Se.timeLost),1),S8])):(e.openBlock(),e.createElementBlock("div",k8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",A8,[B8,e.createElementVNode("div",w8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),T8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",O8,[((Ae=(ke=s==null?void 0:s.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u8," FO Saving ")):((ue=(Be=s==null?void 0:s.fuelConclusion)==null?void 0:Be.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",P8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",L8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",W8,[((Ne=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Ne.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",H8,[M8,e.createElementVNode("span",G8,e.toDisplayString((Ee=(u=s==null?void 0:s.fuelConclusion)==null?void 0:u.fo)==null?void 0:Ee.saving),1),I8])):((Le=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",R8,[z8,e.createElementVNode("span",U8,e.toDisplayString((we=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),Y8])):(e.openBlock(),e.createElementBlock("div",Z8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Q8,[J8,e.createElementVNode("div",K8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),q8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",X8,[((Ke=(He=s==null?void 0:s.fuelConclusion)==null?void 0:He.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",j8," DO/GO Saving ")):((U=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",v8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",e5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",t5,[((ze=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",o5,[l5,e.createElementVNode("span",a5,e.toDisplayString((Ye=(Ue=s==null?void 0:s.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),n5])):((Qe=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",s5,[i5,e.createElementVNode("span",c5,e.toDisplayString((y=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:y.overCons),1),d5])):(e.openBlock(),e.createElementBlock("div",r5,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),m5]),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")},[h5,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",p5,[E5,y5,e.createElementVNode("div",_5,[e.createElementVNode("table",N5,[V5,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString($+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,f5))],2)],2),e.createElementVNode("div",g5,[D5,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,$)=>{var d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja,ne,mo,Ka,qa,Xa,rt,ln,an,nn,sn,Pt,Wn,Hn,Mn,Gn,In,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,qn,Xn,jn,$n,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,hs,ps,Es,ys,_s,Ns,Vs,fs,gs,Ds,xs,bs,Cs,Ss,ks,As,Bs,ws,Ts,Os,us,Fs,Ps,Ls,Ws,Hs,Ms;return e.openBlock(),e.createElementBlock("div",{key:$,class:"segment-block"},[e.createElementVNode("div",x5,"Voyage Analysis Seg. "+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(je,$v)=>{var Gs,Is,Rs,zs,Us,Ys,Zs,Qs,Js,Ks;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:$v},[e.createElementVNode("div",b5,[(Gs=je==null?void 0:je.departure)!=null&&Gs.portName?(e.openBlock(),e.createElementBlock("span",C5,e.toDisplayString((Is=je==null?void 0:je.departure)==null?void 0:Is.portName),1)):(e.openBlock(),e.createElementBlock("span",S5,e.toDisplayString(a.computeLat((Rs=je==null?void 0:je.departure)==null?void 0:Rs.lat).pretty)+", "+e.toDisplayString(a.computeLng((zs=je==null?void 0:je.departure)==null?void 0:zs.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Us=je==null?void 0:je.departure)==null?void 0:Us.utcTime))+")",1)]),k5,e.createElementVNode("div",A5,[(Ys=je==null?void 0:je.arrival)!=null&&Ys.portName?(e.openBlock(),e.createElementBlock("span",B5,e.toDisplayString((Zs=je==null?void 0:je.arrival)==null?void 0:Zs.portName),1)):(e.openBlock(),e.createElementBlock("span",w5,e.toDisplayString(a.computeLat((Qs=je==null?void 0:je.arrival)==null?void 0:Qs.lat).pretty)+", "+e.toDisplayString(a.computeLng((Js=je==null?void 0:je.arrival)==null?void 0:Js.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ks=je==null?void 0:je.arrival)==null?void 0:Ks.utcTime))+")",1)])])}),128)),T5,e.createElementVNode("div",O5,[e.createElementVNode("table",null,[u5,F5,e.createElementVNode("tr",null,[P5,e.createElementVNode("td",L5,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",W5,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ie=s==null?void 0:s.allWx)==null?void 0:ie.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((he=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:he.distance),1)]),e.createElementVNode("tr",null,[H5,e.createElementVNode("td",M5,e.toDisplayString((pe=(ce=s==null?void 0:s.goodWx)==null?void 0:ce.outEca)==null?void 0:pe.time),1),e.createElementVNode("td",G5,e.toDisplayString((De=(ge=s==null?void 0:s.goodWx)==null?void 0:ge.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=s==null?void 0:s.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=s==null?void 0:s.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[I5,e.createElementVNode("td",R5,e.toDisplayString(((Ae=(ke=s==null?void 0:s.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",z5,e.toDisplayString(((ue=(Be=s==null?void 0:s.goodWx)==null?void 0:Be.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ne=(Fe=s==null?void 0:s.allWx)==null?void 0:Fe.outEca)==null?void 0:Ne.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(u=s==null?void 0:s.allWx)==null?void 0:u.inEca)==null?void 0:Ee.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[U5,e.createElementVNode("td",Y5,e.toDisplayString(((Le=(Pe=s==null?void 0:s.goodWx)==null?void 0:Pe.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",Z5,e.toDisplayString(((we=(We=s==null?void 0:s.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(He=s==null?void 0:s.allWx)==null?void 0:He.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Q5,e.createElementVNode("td",J5,e.toDisplayString(((ze=(Oe=s==null?void 0:s.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",K5,e.toDisplayString(((Ye=(Ue=s==null?void 0:s.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((y=(Je=s==null?void 0:s.allWx)==null?void 0:Je.inEca)==null?void 0:y.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[q5,e.createElementVNode("td",X5,e.toDisplayString(((Ve=(Q=s==null?void 0:s.goodWx)==null?void 0:Q.outEca)==null?void 0:Ve.sumDgoCons)||"--"),1),e.createElementVNode("td",j5,e.toDisplayString(((Me=(Te=s==null?void 0:s.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Xe=(me=s==null?void 0:s.allWx)==null?void 0:me.outEca)==null?void 0:Xe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=($e=s==null?void 0:s.allWx)==null?void 0:$e.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[$5,e.createElementVNode("td",v5,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",ew,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(mt=s==null?void 0:s.allWx)==null?void 0:mt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(pt=s==null?void 0:s.allWx)==null?void 0:pt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[$])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",tw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=s==null?void 0:s.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",ow,[e.createElementVNode("div",lw,[aw,e.createElementVNode("div",nw,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=s==null?void 0:s.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock("span",dw,e.toDisplayString((St=s==null?void 0:s.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgSpd),1),sw,e.createElementVNode("span",null,e.toDisplayString(((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf:`(${(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf})`),1),iw,e.createElementVNode("span",cw,e.toDisplayString((Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.pfmSpd)+" (kts)",1)],64)),((kt=s==null?void 0:s.goodWx)==null?void 0:kt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",rw,"(Under-performance)")):e.createCommentVNode("",!0),((At=s==null?void 0:s.goodWx)==null?void 0:At.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",mw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",hw,[pw,e.createElementVNode("div",Ew,[(wt=(Bt=o.report)==null?void 0:Bt.weather)!=null&&wt.favorableCur&&((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Vw,fw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[yw,_w,Nw],64))])])])):(e.openBlock(),e.createElementBlock("div",gw,[e.createElementVNode("div",Dw,[xw,e.createElementVNode("div",bw,[(ho=(Ht=o.report)==null?void 0:Ht.weather)!=null&&ho.favorableCur&&((yo=s==null?void 0:s.allWx)==null?void 0:yo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Gt=s==null?void 0:s.allWx)==null?void 0:Gt.avgSpd),1),Bw,e.createElementVNode("span",null,e.toDisplayString(((It=s==null?void 0:s.allWx)==null?void 0:It.avgWf)>0?(Rt=s==null?void 0:s.allWx)==null?void 0:Rt.avgWf:`(${(zt=s==null?void 0:s.allWx)==null?void 0:zt.avgWf})`),1),ww,e.createElementVNode("span",Tw,e.toDisplayString((Ut=s==null?void 0:s.allWx)==null?void 0:Ut.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((_o=s==null?void 0:s.allWx)==null?void 0:_o.avgSpd),1),Cw,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.allWx)==null?void 0:No.avgCf)>0?(Vo=s==null?void 0:s.allWx)==null?void 0:Vo.avgCf:`(${(G=s==null?void 0:s.allWx)==null?void 0:G.avgCf})`),1),Sw,e.createElementVNode("span",null,e.toDisplayString(((tt=s==null?void 0:s.allWx)==null?void 0:tt.avgWf)>0?(Ot=s==null?void 0:s.allWx)==null?void 0:Ot.avgWf:`(${(ut=s==null?void 0:s.allWx)==null?void 0:ut.avgWf})`),1),kw,e.createElementVNode("span",Aw,e.toDisplayString((Mt=s==null?void 0:s.allWx)==null?void 0:Mt.pfmSpd)+" (kts)",1)],64)),((Yt=s==null?void 0:s.allWx)==null?void 0:Yt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Ow,"(Under-performance)")):e.createCommentVNode("",!0),((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",uw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fw,[Pw,e.createElementVNode("div",Lw,[(Jt=(Qt=o.report)==null?void 0:Qt.weather)!=null&&Jt.favorableCur&&((Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Rw,zw,Uw,Yw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ww,Hw,Mw,Gw,Iw],64))])])])),Zw,e.createElementVNode("div",Qw,[e.createElementVNode("div",Jw,[Kw,e.createElementVNode("div",qw,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Time Analysis",1),(Xt=(qt=o.report)==null?void 0:qt.weather)!=null&&Xt.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Xw,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jw,[e.createElementVNode("div",$w,[vw,e.createElementVNode("div",e7,[e.createElementVNode("div",t7,[e.createElementVNode("div",null,e.toDisplayString(($t=(jt=o.report)==null?void 0:jt.weather)!=null&&$t.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o7,l7]),a7])]),e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(eo=(vt=s==null?void 0:s.extend)==null?void 0:vt.cp)==null?void 0:eo.speed,"Under"))+"kts)",1),i7]),e.createElementVNode("div",c7,[e.createElementVNode("div",d7,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),r7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ao=(lo=s==null?void 0:s.extend)==null?void 0:lo.cp)==null?void 0:ao.speed,"Under"))+"kts",1)]),m7])]),e.createElementVNode("div",h7,[e.createElementVNode("div",p7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(so=(no=s==null?void 0:s.extend)==null?void 0:no.cp)==null?void 0:so.speed,"Over"))+"kts)",1),E7]),e.createElementVNode("div",y7,[e.createElementVNode("div",_7,[e.createElementVNode("div",null,e.toDisplayString((co=(io=o.report)==null?void 0:io.weather)!=null&&co.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),N7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(go=(fo=s==null?void 0:s.extend)==null?void 0:fo.cp)==null?void 0:go.speed,"Over"))+"kts",1)]),V7])]),f7]),e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[x7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(xo=(Do=s==null?void 0:s.extend)==null?void 0:Do.cp)==null?void 0:xo.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",b7,[C7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Co=(bo=s==null?void 0:s.extend)==null?void 0:bo.cp)==null?void 0:Co.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S7,[k7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ko=(So=s==null?void 0:s.extend)==null?void 0:So.cp)==null?void 0:ko.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(Ao=s==null?void 0:s.extend)==null?void 0:Ao.cp)==null?void 0:Bo.speed,"Under"))+" kts)",1)])]),(wo=s==null?void 0:s.goodWx)!=null&&wo.distance?(e.openBlock(),e.createElementBlock("div",A7,[e.createElementVNode("div",B7,[w7,e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("div",null,e.toDisplayString((Oo=(To=o.report)==null?void 0:To.weather)!=null&&Oo.noExtrapolation?(uo=s==null?void 0:s.goodWx)==null?void 0:uo.distance:(Fo=s==null?void 0:s.allWx)==null?void 0:Fo.distance),1),u7,e.createElementVNode("div",null,e.toDisplayString((Po=s==null?void 0:s.goodWx)==null?void 0:Po.pfmSpd),1)]),F7,e.createElementVNode("div",null,e.toDisplayString((Lo=s==null?void 0:s.timeConclusion)==null?void 0:Lo.timeAtPfmSpd)+" (hrs)",1),P7])]),e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+"kts)",1),H7]),e.createElementVNode("div",M7,[e.createElementVNode("div",G7,[e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=o.report)==null?void 0:Mo.weather)!=null&&Go.noExtrapolation?(Io=s==null?void 0:s.goodWx)==null?void 0:Io.distance:(Yo=s==null?void 0:s.allWx)==null?void 0:Yo.distance),1),I7,e.createElementVNode("div",null,e.toDisplayString((Zo=s==null?void 0:s.timeConclusion)==null?void 0:Zo.minusAbtSpd),1)]),R7,e.createElementVNode("div",null,e.toDisplayString((Qo=s==null?void 0:s.timeConclusion)==null?void 0:Qo.timeAtMinusAbtSpd)+" (hrs)",1),z7])]),e.createElementVNode("div",U7,[e.createElementVNode("div",Y7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ko=(Jo=s==null?void 0:s.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Over"))+"kts)",1),Z7]),e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.report)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:($o=s==null?void 0:s.allWx)==null?void 0:$o.distance),1),K7,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.plusAbtSpd),1)]),q7,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPlusAbtSpd)+" (hrs)",1),X7])]),e.createElementVNode("div",j7,[((tl=s==null?void 0:s.timeConclusion)==null?void 0:tl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",$7,[v7,e9,t9,o9,e.createElementVNode("div",null,e.toDisplayString((ol=s==null?void 0:s.timeConclusion)==null?void 0:ol.timeAtPfmSpd),1),l9,e.createElementVNode("div",null,e.toDisplayString((ll=s==null?void 0:s.timeConclusion)==null?void 0:ll.timeAtMinusAbtSpd),1),a9,e.createElementVNode("div",null,e.toDisplayString((al=s==null?void 0:s.timeConclusion)==null?void 0:al.timeLost)+" (hrs)",1)])):((nl=s==null?void 0:s.timeConclusion)==null?void 0:nl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",n9,[s9,i9,c9,d9,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.timeAtPlusAbtSpd),1),r9,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeAtPfmSpd),1),m9,e.createElementVNode("div",null,e.toDisplayString((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((dl=s==null?void 0:s.timeConclusion)==null?void 0:dl.conclusionStatus)==="Lost"?"flex-center lost":((rl=s==null?void 0:s.timeConclusion)==null?void 0:rl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[h9,e.createElementVNode("div",null,e.toDisplayString(((ml=s==null?void 0:s.timeConclusion)==null?void 0:ml.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",p9,e.toDisplayString(l.noGoodWxDay),1))]),E9,e.createElementVNode("div",y9,[e.createElementVNode("div",_9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Consumption Analysis",1),(pl=(hl=o.report)==null?void 0:hl.weather)!=null&&pl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",f9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",g9,[e.createElementVNode("div",D9,[x9,e.createElementVNode("div",b9,[e.createElementVNode("div",C9,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.report)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),S9,k9]),A9,B9,w9])]),e.createElementVNode("div",T9,[O9,((Nl=(Ft=s.extend)==null?void 0:Ft.cp)==null?void 0:Nl.dgo)>0?(e.openBlock(),e.createElementBlock("div",u9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",F9,[P9,e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[e.createElementVNode("div",null,e.toDisplayString((Dl=(gl=o.report)==null?void 0:gl.weather)!=null&&Dl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(bl=(xl=s==null?void 0:s.extend)==null?void 0:xl.cp)==null?void 0:bl.speed,"Under"))+"kts",1)]),M9,G9,I9])]),e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=o.report)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Z9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Al=(kl=s==null?void 0:s.extend)==null?void 0:kl.cp)==null?void 0:Al.speed,"Under"))+"kts",1)]),Q9,J9,K9])]),q9,((wl=(Bl=s.extend)==null?void 0:Bl.cp)==null?void 0:wl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",X9,[j9,e.createElementVNode("div",$9,[e.createElementVNode("div",v9,[e6,t6,e.createElementVNode("div",null,e.toDisplayString((Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",o6,[l6,e.createElementVNode("div",a6,[e.createElementVNode("div",n6,[s6,i6,e.createElementVNode("div",null,e.toDisplayString((Fl=(ul=o.report)==null?void 0:ul.weather)!=null&&Fl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),c6,e.createElementVNode("div",d6,[r6,e.createElementVNode("div",m6,"Seg. "+e.toDisplayString($+1)+" Fuel Oil",1)]),(Pl=s==null?void 0:s.goodWx)!=null&&Pl.distance?(e.openBlock(),e.createElementBlock("div",h6,[e.createElementVNode("div",p6,[E6,e.createElementVNode("div",y6,[e.createElementVNode("div",_6,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=o.report)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?(Hl=s==null?void 0:s.goodWx)==null?void 0:Hl.distance:(Ml=s==null?void 0:s.allWx)==null?void 0:Ml.distance),1),N6,e.createElementVNode("div",null,e.toDisplayString((Gl=s==null?void 0:s.goodWx)==null?void 0:Gl.pfmSpd),1)]),V6,e.createElementVNode("div",f6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Il=s==null?void 0:s.goodWx)==null?void 0:Il.sumFoCons),1),((zl=(Rl=s==null?void 0:s.goodWx)==null?void 0:Rl.inEca)==null?void 0:zl.distance)>0?(e.openBlock(),e.createElementBlock("span",g6,[D6,e.createElementVNode("span",null,e.toDisplayString((Yl=(Ul=s==null?void 0:s.fuelConclusion)==null?void 0:Ul.fo)==null?void 0:Yl.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),x6,e.createElementVNode("div",null,e.toDisplayString((Zl=s==null?void 0:s.goodWx)==null?void 0:Zl.time),1)]),b6,e.createElementVNode("div",null,e.toDisplayString((Jl=(Ql=s.fuelConclusion)==null?void 0:Ql.fo)==null?void 0:Jl.entireCons)+" (mt)",1),C6])]),e.createElementVNode("div",S6,[k6,e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=o.report)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?(Xl=s==null?void 0:s.goodWx)==null?void 0:Xl.distance:(jl=s==null?void 0:s.allWx)==null?void 0:jl.distance),1),w6,e.createElementVNode("div",null,e.toDisplayString(($l=s==null?void 0:s.timeConclusion)==null?void 0:$l.minusAbtSpd),1)]),T6,e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((ea=(vl=s==null?void 0:s.fuelConclusion)==null?void 0:vl.fo)==null?void 0:ea.overTolerance),1),u6,F6]),P6,e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s.fuelConclusion)==null?void 0:ta.fo)==null?void 0:oa.maxCons)+" (mt)",1),L6])]),e.createElementVNode("div",W6,[H6,e.createElementVNode("div",M6,[e.createElementVNode("div",G6,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=o.report)==null?void 0:la.weather)!=null&&aa.noExtrapolation?(na=s==null?void 0:s.goodWx)==null?void 0:na.distance:(sa=s==null?void 0:s.allWx)==null?void 0:sa.distance),1),I6,e.createElementVNode("div",null,e.toDisplayString((ia=s==null?void 0:s.timeConclusion)==null?void 0:ia.minusAbtSpd),1)]),R6,e.createElementVNode("div",z6,[e.createElementVNode("div",null,e.toDisplayString((da=(ca=s==null?void 0:s.fuelConclusion)==null?void 0:ca.fo)==null?void 0:da.underTolerance),1),U6,Y6]),Z6,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=s.fuelConclusion)==null?void 0:ra.fo)==null?void 0:ma.minCons)+" (mt)",1),Q6])]),e.createElementVNode("div",J6,[((pa=(ha=s==null?void 0:s.fuelConclusion)==null?void 0:ha.fo)==null?void 0:pa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",K6,[q6,X6,j6,$6,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=s==null?void 0:s.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:ya.entireCons),1),v6,e.createElementVNode("div",null,e.toDisplayString((Na=(_a=s==null?void 0:s.fuelConclusion)==null?void 0:_a.fo)==null?void 0:Na.maxCons),1),eT,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=s==null?void 0:s.fuelConclusion)==null?void 0:Va.fo)==null?void 0:fa.overCons),1)]),(Da=(ga=s==null?void 0:s.goodWx)==null?void 0:ga.inEca)!=null&&Da.distance?(e.openBlock(),e.createElementBlock("div",tT,[oT,lT,e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((ba=(xa=s==null?void 0:s.goodWx)==null?void 0:xa.inEca)==null?void 0:ba.distance)+" * "+e.toDisplayString((Sa=(Ca=s==null?void 0:s.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.overCons),1),nT,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=o.report)==null?void 0:ka.weather)!=null&&Aa.noExtrapolation?(Ba=s==null?void 0:s.goodWx)==null?void 0:Ba.distance:(wa=s==null?void 0:s.allWx)==null?void 0:wa.distance),1)]),sT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Fa=(ua=s==null?void 0:s.fuelConclusion)==null?void 0:ua.fo)==null?void 0:Fa.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",iT,[cT,dT,rT,mT,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=s==null?void 0:s.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.minCons),1),hT,e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.entireCons),1),pT,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s==null?void 0:s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.saving)+" (mt)",1)]),(Ra=(Ia=s==null?void 0:s.goodWx)==null?void 0:Ia.inEca)!=null&&Ra.distance?(e.openBlock(),e.createElementBlock("div",ET,[yT,_T,e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=(Ya=s==null?void 0:s.goodWx)==null?void 0:Ya.inEca)==null?void 0:ae.distance:(Za=(ro=s==null?void 0:s.allWx)==null?void 0:ro.inEca)==null?void 0:Za.distance)+" * "+e.toDisplayString((Ja=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.saving),1),VT,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=o.report)==null?void 0:ne.weather)!=null&&mo.noExtrapolation?(Ka=s==null?void 0:s.goodWx)==null?void 0:Ka.distance:(qa=s==null?void 0:s.allWx)==null?void 0:qa.distance),1)]),fT,e.createElementVNode("div",null,e.toDisplayString((rt=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:rt.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((an=(ln=s==null?void 0:s.fuelConclusion)==null?void 0:ln.fo)==null?void 0:an.conclusionStatus)==="Over"?"flex-center lost":((sn=(nn=s==null?void 0:s.fuelConclusion)==null?void 0:nn.fo)==null?void 0:sn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[gT,e.createElementVNode("div",null,e.toDisplayString(((Wn=(Pt=s==null?void 0:s.fuelConclusion)==null?void 0:Pt.fo)==null?void 0:Wn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",DT,e.toDisplayString(l.noGoodWxDay),1)),((Mn=(Hn=s==null?void 0:s.extend)==null?void 0:Hn.cp)==null?void 0:Mn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xT,[bT,e.createElementVNode("div",CT,"Seg. "+e.toDisplayString($+1)+" Diesel/Gas Oil ",1)]),(Gn=s==null?void 0:s.goodWx)!=null&&Gn.distance?(e.openBlock(),e.createElementBlock("div",ST,[e.createElementVNode("div",kT,[AT,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Rn=(In=o.report)==null?void 0:In.weather)!=null&&Rn.noExtrapolation?(zn=s==null?void 0:s.goodWx)==null?void 0:zn.distance:(Un=s==null?void 0:s.allWx)==null?void 0:Un.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((Yn=s==null?void 0:s.goodWx)==null?void 0:Yn.pfmSpd),1)]),OT,e.createElementVNode("div",uT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Zn=s==null?void 0:s.goodWx)==null?void 0:Zn.sumDgoCons),1),((Jn=(Qn=s==null?void 0:s.goodWx)==null?void 0:Qn.inEca)==null?void 0:Jn.distance)>0?(e.openBlock(),e.createElementBlock("span",FT,[PT,e.createElementVNode("span",null,e.toDisplayString((qn=(Kn=s==null?void 0:s.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:qn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),LT,e.createElementVNode("div",null,e.toDisplayString((Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.time),1)]),WT,e.createElementVNode("div",null,e.toDisplayString(($n=(jn=s.fuelConclusion)==null?void 0:jn.dgo)==null?void 0:$n.entireCons)+" (mt)",1),HT])]),e.createElementVNode("div",MT,[GT,e.createElementVNode("div",IT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((es=(vn=o.report)==null?void 0:vn.weather)!=null&&es.noExtrapolation?(ts=s==null?void 0:s.goodWx)==null?void 0:ts.distance:(os=s==null?void 0:s.allWx)==null?void 0:os.distance),1),zT,e.createElementVNode("div",null,e.toDisplayString((ls=s==null?void 0:s.timeConclusion)==null?void 0:ls.minusAbtSpd),1)]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=s==null?void 0:s.fuelConclusion)==null?void 0:as.dgo)==null?void 0:ns.overTolerance),1),ZT,QT]),JT,e.createElementVNode("div",null,e.toDisplayString((is=(ss=s.fuelConclusion)==null?void 0:ss.dgo)==null?void 0:is.maxCons)+" (mt)",1),KT])]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",jT,[e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((ds=(cs=o.report)==null?void 0:cs.weather)!=null&&ds.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1),vT,e.createElementVNode("div",null,e.toDisplayString((hs=s==null?void 0:s.timeConclusion)==null?void 0:hs.minusAbtSpd),1)]),eO,e.createElementVNode("div",tO,[e.createElementVNode("div",null,e.toDisplayString((Es=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:Es.underTolerance),1),oO,lO]),aO,e.createElementVNode("div",null,e.toDisplayString((_s=(ys=s.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:_s.minCons)+" (mt)",1),nO])]),e.createElementVNode("div",sO,[((Vs=(Ns=s==null?void 0:s.fuelConclusion)==null?void 0:Ns.dgo)==null?void 0:Vs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",iO,[cO,dO,rO,mO,e.createElementVNode("div",null,e.toDisplayString((gs=(fs=s==null?void 0:s.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=s==null?void 0:s.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.maxCons),1),pO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=s==null?void 0:s.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.overCons),1)])):((ks=(Ss=s==null?void 0:s.fuelConclusion)==null?void 0:Ss.fo)==null?void 0:ks.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[yO,_O,NO,VO,e.createElementVNode("div",null,e.toDisplayString((Bs=(As=s==null?void 0:s.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Bs.minCons),1),fO,e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=s==null?void 0:s.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.entireCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((us=(Os=s==null?void 0:s.fuelConclusion)==null?void 0:Os.dgo)==null?void 0:us.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ps=(Fs=s==null?void 0:s.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:Ps.conclusionStatus)==="Over"?"flex-center lost":((Ws=(Ls=s==null?void 0:s.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:Ws.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[DO,e.createElementVNode("div",null,e.toDisplayString(((Ms=(Hs=s==null?void 0:s.fuelConclusion)==null?void 0:Hs.dgo)==null?void 0:Ms.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const CO=fe(aB,[["render",bO],["__scopeId","data-v-1c4dbfe0"]]),Wee="",SO={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=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,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?te.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,E,i,_,D;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(E=this.report)==null?void 0:E.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(_=this.report)==null?void 0:_.weather)==null?void 0:D.showWave)??!0}}},_e=t=>(e.pushScopeId("data-v-52fade0b"),t=t(),e.popScopeId(),t),kO={class:"report-inventory"},AO={class:"section summary-section"},BO=_e(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),wO={class:"summary-block"},TO=_e(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),OO={class:"label",rowspan:"4"},uO=_e(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),FO=_e(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),PO=_e(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),LO=_e(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),WO={class:"section inventory-section"},HO=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),MO={class:"inventory-block flex-center"},GO={style:{"font-size":"12px"}},IO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),RO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),zO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),UO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),YO=["colspan"],ZO={key:0,class:"label",colspan:"2"},QO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),XO=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),jO=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),$O={key:0,class:"label",rowspan:"2"},vO=_e(()=>e.createElementVNode("br",null,null,-1)),eu={key:1,class:"label",rowspan:"2"},tu=_e(()=>e.createElementVNode("br",null,null,-1)),ou=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),lu={key:2,class:"label",rowspan:"2"},au=_e(()=>e.createElementVNode("br",null,null,-1)),nu={key:3,class:"label",colspan:"2"},su={key:4,class:"label",rowspan:"2"},iu=_e(()=>e.createElementVNode("br",null,null,-1)),cu={key:5,class:"label",colspan:"2"},du=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ru={key:6,class:"label",rowspan:"2"},mu={key:7,class:"label",rowspan:"2"},hu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),pu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Eu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),yu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),_u=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),Nu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),Vu=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),fu=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Du=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),xu=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),bu=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Cu={key:0,class:"label"},Su={key:1,class:"label"},ku={key:2,class:"label"},Au={key:3,class:"label"},Bu=_e(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),wu=_e(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),Tu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Ou=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),uu=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Fu=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Pu=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Lu=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Wu={class:"summary-tbody"};function Hu(t,n,o,c,l,a){var E;return e.openBlock(),e.createElementBlock("div",kO,[e.createElementVNode("div",AO,[BO,e.createElementVNode("div",wO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.segments,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(_+1),1),uO,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((p=i==null?void 0:i.allWx)==null?void 0:p.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,[FO,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,[PO,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((F=i==null?void 0:i.badWx)==null?void 0:F.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,[LO,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",WO,[HO,e.createElementVNode("div",MO,[e.createElementVNode("table",GO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[IO,RO,zO,UO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,YO),o.showFactor?(e.openBlock(),e.createElementBlock("th",ZO,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,XO,jO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",$O,[e.createTextVNode("Spd"),vO,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",eu,[e.createTextVNode("Dis"),tu,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),ou,l.showWave?(e.openBlock(),e.createElementBlock("th",lu,[e.createTextVNode("Sea HT"),au,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",nu,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",su,[e.createTextVNode("Sig Wave"),iu,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",cu,"Current")):e.createCommentVNode("",!0),du,o.showFactor?(e.openBlock(),e.createElementBlock("th",ru,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",mu,"wxFactor")):e.createCommentVNode("",!0),hu,pu,Eu,yu,_u,Nu,Vu,fu]),e.createElementVNode("tr",null,[gu,Du,xu,bu,l.showSwell?(e.openBlock(),e.createElementBlock("th",Cu,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Su,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",ku,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",Au,"CF(kts)")):e.createCommentVNode("",!0),Bu,wu,Tu,Ou,uu,Fu,Pu,Lu])]),e.createElementVNode("tbody",Wu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,_)=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K;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=(p=i.meteo)==null?void 0:p.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=(F=(b=i.meteo)==null?void 0:b.wave)==null?void 0:F.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(((K=i.meteo)==null?void 0:K.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 Mu=fe(SO,[["render",Hu],["__scopeId","data-v-52fade0b"]]),Hee="",Gu={components:{Lng:$a,Lat:va},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(zo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(zo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(zo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,_,D,S,p,N;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;this.inventory.forEach(x=>{var r,C,k,T,P,L,O,b,F,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),n.push([z,(F=x.noon)==null?void 0:F.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:n,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:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,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:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(D=this.spdFoConsChart)==null||D.setOption(a);const E={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:(p=(S=this.report)==null?void 0:S.weather)!=null&&p.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,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:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,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:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(E)},renderWxCurrChart(){var E;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;this.inventory.forEach(i=>{var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F;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=(p=i.meteo)==null?void 0:p.wave)==null?void 0:N.sig)==null?void 0:x.height:c),n.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,(F=(b=(O=i.meteo)==null?void 0:O.wave)==null?void 0:b.sig)==null?void 0:F.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:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(E=this.currChart)==null||E.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),Iu={class:"report-summary"},Ru={class:"section chart-section"},zu=_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)),Uu={class:"chart-block"},Yu={ref:"spdFoConsChart",class:"chart"},Zu={ref:"spdDgoConsChart",class:"chart"},Qu={ref:"currChart",class:"chart"},Ju={class:"section map-section"},Ku=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),qu={class:"map-block"},Xu={class:"flex-space"},ju={class:"voyage-block",style:{height:"197px"}},$u={class:"flex-space label-block",style:{width:"100%"}},vu=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),eF={style:{"text-transform":"uppercase"}},tF={class:"flex-space label-block",style:{width:"100%"}},oF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),lF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},aF={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},nF={class:"flex-space label-block",style:{width:"100%"}},sF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),iF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},cF={class:"flex-space label-block",style:{width:"100%"}},dF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),rF={key:0,class:"flex-end",style:{flex:"1"}},mF={key:1,class:"flex-end",style:{flex:"1"}},hF=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),pF={class:"flex-end",style:{width:"140px"}},EF={class:"flex-space label-block",style:{width:"100%"}},yF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_F={key:0,class:"flex-end",style:{flex:"1"}},NF={key:1,class:"flex-end",style:{flex:"1"}},VF=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),fF={class:"flex-end",style:{width:"140px"}},gF={class:"flex-space label-block",style:{width:"100%"}},DF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),xF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},bF=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),CF=["src"],SF=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 kF(t,n,o,c,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X;const E=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",Iu,[e.createElementVNode("div",Ru,[zu,e.createElementVNode("div",Uu,[e.createElementVNode("div",Yu,null,512),e.createElementVNode("div",Zu,null,512),e.createElementVNode("div",Qu,null,512)])]),e.createElementVNode("div",Ju,[Ku,e.createElementVNode("div",qu,[e.createElementVNode("div",Xu,[e.createElementVNode("div",ju,[e.createElementVNode("div",$u,[vu,e.createElementVNode("span",eF,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",tF,[oF,e.createElementVNode("span",lF,e.toDisplayString((D=(_=o.report)==null?void 0:_.vessel)==null?void 0:D.name),1),e.createElementVNode("span",aF,"("+e.toDisplayString((p=(S=o.report)==null?void 0:S.vessel)==null?void 0:p.type)+")",1)]),e.createElementVNode("div",nF,[sF,e.createElementVNode("span",iF,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",cF,[dF,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",rF,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",mF,[e.createVNode(E,{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"]),hF,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",pF,e.toDisplayString(a.computeUTCTime((b=o.report.departure)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",EF,[yF,(R=(F=o.report)==null?void 0:F.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_F,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",NF,[e.createVNode(E,{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"]),VF,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",fF,e.toDisplayString(a.computeUTCTime((K=(H=o.report)==null?void 0:H.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",gF,[DF,e.createElementVNode("span",xF,e.toDisplayString((j=(q=o.report)==null?void 0:q.voyage)==null?void 0:j.loadCondition),1)])]),bF]),e.createElementVNode("img",{src:(X=o.report)==null?void 0:X.chartUrl,alt:""},null,8,CF)])]),SF])}const AF=fe(Gu,[["render",kF],["__scopeId","data-v-dace21b5"]]),Mee="",BF={components:{Brand:Uo,Summary:CO,Inventory:Mu,Chart:AF,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,E,i=!1;c.inventory.sample.hours.forEach((_,D)=>{a||(a=_),(!E||i)&&(E=_,i=!1),a.segIndex===_.segIndex?a.segLength=(a.segLength||0)+1:(a=_,a.segLength=1),E.noonLength=(E.noonLength||0)+1;let S=_.type.charAt(0);["N","E"].includes(S)&&(i=!0,E.dailyAvgCf=_.dailyAvgCf,E.avgSpdCalc=_.avgSpdCalc,E.distanceCalc=_.distanceCalc,E.noonUtc=_.utc,E.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 wF(t,n,o,c,l,a){var p,N,x,r;const E=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=(p=o.report)==null?void 0:p.weather)!=null&&N.referenceOnly||(r=(x=o.report)==null?void 0:x.weather)!=null&&r.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(_,{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=fe(BF,[["render",wF],["__scopeId","data-v-23bf57dc"]]),TF={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",xn)}},Gee="",Iee="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){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:n}}),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 n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],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]),n.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]),n.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(n,o)}},Ree="",zee="",OF={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:Xs.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){en.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new en.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()})}}},uF=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),FF={class:"map"},PF=uF(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function LF(t,n,o,c,l,a){const E=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",FF,[PF,e.createVNode(E,{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 WF=fe(OF,[["render",LF],["__scopeId","data-v-0230b635"]]),HF={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(zo.init(c))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=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:n,axisLabel:{show:!0,formatter:function(c,l){var a=w(c).format("MMMDD"),E=w(c).format("HH");return E==="00"||l===0?a:E}}},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)})}}},MF=["id"];function GF(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,MF)])}const IF=fe(HF,[["render",GF]]),Uee="",RF={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:Uo,Map:WF,Echart:IF},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(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return w(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${te.LngLatHelper.lat2pretty(t).pretty} / ${te.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-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 p in this.data.hours){let N=this.data.hours[p];N.hour=p,t.push(N)}else{let p=0;for(let N in this.data.hours)if(p<8){let x=this.data.hours[N];x.hour=N,t.push(x),p++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let p in this.records)w(this.data.date).add(p,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[p]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const c=[],l=[],a=[],E=[];let i=[],_=[],D=[];for(let p in this.records){const N=this.records[p],x=w(this.data.date).add(p,"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 p in this.data.hours){const N=this.data.hours[p],x=w(this.data.date).add(p,"h").utc(),r=this.computeHourSubscript(w(x).format("H")),C=`${w(x).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;E.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(c),this.fetchSpdData(l,E),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,E=0,i=0,_=0;o.forEach(S=>{const p=S[1];p<=17.1?c++:p<=24.4?l++:p<=32.6?a++:p<=41.4?E++:p<=50.9?i++:p>50.9&&_++});const D=o.length;n.td.push([o[0][0],te.roundPrecision(c/D,2)*100]),n.ts.push([o[0][0],te.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],te.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],te.roundPrecision(E/D,2)*100]),n.sty.push([o[0][0],te.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],te.roundPrecision(_/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let E=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(E)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe;const c=w(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const E={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);E[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(_=n[a.next])==null?void 0:_.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(S=n[a.next])==null?void 0:S.lat,ee),lng:this.computeInterpolateValue((p=n[a.prev])==null?void 0:p.lng,(N=n[a.next])==null?void 0:N.lng,ee),movement:{deg:this.computeInterpolateValue((r=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((P=(T=n[a.prev])==null?void 0:T.movement)==null?void 0:P.kts,(O=(L=n[a.next])==null?void 0:L.movement)==null?void 0:O.kts,ee),spd:this.computeInterpolateValue((F=(b=n[a.prev])==null?void 0:b.movement)==null?void 0:F.spd,(Z=(R=n[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((z=n[a.prev])==null?void 0:z.pressure,(W=n[a.next])==null?void 0:W.pressure,ee),wind:{kts:this.computeInterpolateValue((Y=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(I=n[a.next])==null?void 0:I.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((q=(K=n[a.prev])==null?void 0:K.wind)==null?void 0:q.lat,(X=(j=n[a.next])==null?void 0:j.wind)==null?void 0:X.lat,ee),lng:this.computeInterpolateValue((M=(V=n[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=($=n[a.prev])==null?void 0:$.wind)==null?void 0:d.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return E}}},bn=t=>(e.pushScopeId("data-v-7324f644"),t=t(),e.popScopeId(),t),zF={class:"typhoon-report"},UF={class:"report-content"},YF={class:"map"},ZF={class:"table"},QF=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)),JF=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 KF(t,n,o,c,l,a){const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Map"),_=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",zF,[e.createVNode(E,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",UF,[e.createElementVNode("div",null,[e.createElementVNode("div",YF,[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",ZF,[e.createElementVNode("table",null,[QF,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(D,S)=>{var p,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(((p=D==null?void 0:D.wind)==null?void 0:p.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"])])]),JF])}const Cn=fe(RF,[["render",KF],["__scopeId","data-v-7324f644"]]),qF={install(t){t.component("HurricaneReport",Cn)}},Yee="",XF={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
+ `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var E;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(E=this.data)!=null&&E.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},po=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),jF={class:"invoice-report"},$F=po(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),vF={class:"report-title"},eP=po(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),tP={class:"title-info"},oP=po(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),lP=po(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),aP=po(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),nP=po(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),sP=po(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),iP={class:"report-content"},cP={style:{display:"flex"},ref:"name",class:"name"},dP=["innerHTML"],rP={style:{"margin-bottom":"10px"}},mP={class:"table",ref:"table"},hP=po(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),pP=po(()=>e.createElementVNode("td",null,null,-1)),EP={class:"total"},yP={class:"total"},_P={key:0,class:"page-break"},NP={ref:"detail",class:"detail"},VP={class:"title"},fP={class:"info"},gP={class:"info"},DP={class:"info"},xP={class:"info"},bP={class:"info"},CP={key:0},SP={class:"info"},kP=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),AP={class:"info"},BP=po(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),wP={class:"info"},TP=po(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),OP={class:"info"},uP=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),FP={key:1},PP={class:"info"},LP=po(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),WP={key:1,ref:"memo",class:"detail"},HP=po(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),MP=["innerHTML"];function GP(t,n,o,c,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",jF,[e.createVNode(E),$F,e.createElementVNode("div",vF,[eP,e.createElementVNode("div",tP,[oP,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),lP,aP,nP,sP])])]),e.createElementVNode("div",iP,[e.createElementVNode("div",cP,[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,dP)],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",rP,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",mP,[e.createElementVNode("table",null,[hP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.data)==null?void 0:p.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,[pP,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",EP,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",yP,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(x=o.data)==null?void 0:x.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",_P)):e.createCommentVNode("",!0),e.createElementVNode("div",NP,[e.createElementVNode("div",VP,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",fP,[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",gP,[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",DP,[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",xP,[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",bP,[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",CP,[e.createElementVNode("div",SP,[kP,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankSwift)??"-"),1)]),e.createElementVNode("div",AP,[BP,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",wP,[TP,e.createElementVNode("span",null,e.toDisplayString(((b=l.company)==null?void 0:b.interBank)??"-"),1)]),e.createElementVNode("div",OP,[uP,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",FP,[e.createElementVNode("div",PP,[LP,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",WP,[HP,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((z=o.data)==null?void 0:z.memo)},null,8,MP)],512)):e.createCommentVNode("",!0)])])}const Sn=fe(XF,[["render",GP],["__scopeId","data-v-db643e45"]]),Zee="",IP={components:{IdmBrand:Uo},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,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${w(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Wt=t=>(e.pushScopeId("data-v-4876379b"),t=t(),e.popScopeId(),t),RP={class:"invoice-report"},zP={class:"section items-section"},UP={class:"flex-start"},YP=Wt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),ZP=["innerHTML"],QP={class:"flex-space"},JP={class:"invoice-item"},KP={key:0,class:"invoice-item"},qP=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)),XP={class:"text-ellipsis"},jP={colspan:2,class:"total"},$P=Wt(()=>e.createElementVNode("span",null,"Total in CNY",-1)),vP={key:1},eL={class:"total"},tL={key:0},oL={key:1},lL={key:0,class:"memo-block"},aL=Wt(()=>e.createElementVNode("div",{class:"invoice-item"},"MEMO",-1)),nL=["innerHTML"],sL={class:"section company-section"},iL=Wt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),cL={class:"company-item"},dL=Wt(()=>e.createElementVNode("label",null,"Bank",-1)),rL={class:"company-item"},mL=Wt(()=>e.createElementVNode("label",null,"Account",-1)),hL={class:"company-item"},pL=Wt(()=>e.createElementVNode("label",null,"Title",-1)),EL={class:"company-item"},yL=Wt(()=>e.createElementVNode("label",null,"Addr",-1)),_L={class:"company-item"},NL=Wt(()=>e.createElementVNode("label",null,"Tel",-1)),VL={class:"company-item"},fL=Wt(()=>e.createElementVNode("label",null,"Tax ID",-1)),gL={class:"company-item"},DL=Wt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),xL={class:"company-item"},bL=Wt(()=>e.createElementVNode("label",null,"Bank Name",-1)),CL={class:"company-item"},SL=Wt(()=>e.createElementVNode("label",null,"Bank Address",-1)),kL={class:"company-item"},AL=Wt(()=>e.createElementVNode("label",null,"Account No.",-1)),BL={class:"company-item"},wL=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),TL={class:"company-item"},OL=Wt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),uL={class:"company-item"},FL=Wt(()=>e.createElementVNode("label",null,"SWIFT",-1)),PL={class:"company-item"},LL=Wt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),WL=e.createStaticVNode('<div class="section sign-section" data-v-4876379b><div class="flex-space" data-v-4876379b><div class="sign-block" data-v-4876379b><div data-v-4876379b>Finance Team</div><div data-v-4876379b>Ocean Right Marine Service Co., Ltd.</div><div data-v-4876379b>Email: <a href="mailto:op@ormwx.com" data-v-4876379b>op@ormwx.com</a></div><div data-v-4876379b>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-4876379b> Thank You </div></div></div>',1);function HL(t,n,o,c,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",RP,[e.createVNode(E,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",zP,[e.createElementVNode("div",UP,[YP,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
+ `,"<br/>")},null,8,ZP)]),e.createElementVNode("div",QP,[e.createElementVNode("div",JP,"Invoice No. "+e.toDisplayString(o.report.number),1),(S=o.report)!=null&&S.paymentDate?(e.openBlock(),e.createElementBlock("div",KP,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.reservations,(ce,pe)=>(e.openBlock(),e.createElementBlock("tr",{key:pe},[e.createElementVNode("td",null,e.toDisplayString(pe+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",XP,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",jP,[((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),$P],64)):(e.openBlock(),e.createElementBlock("span",vP,"Total in US"))]),e.createElementVNode("td",eL,[((r=o.report)==null?void 0:r.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock("span",tL,e.toDisplayString(`¥${(C=o.report)==null?void 0:C.paymentAmount}`),1)):(e.openBlock(),e.createElementBlock("span",oL,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1))])])])]),(T=o.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",lL,[aL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(P=o.report)==null?void 0:P.memo)==null?void 0:L.replace(`
44
+ `,"<br/>")},null,8,nL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sL,[iL,((O=o.report)==null?void 0:O.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",cL,[dL,e.createElementVNode("span",null,e.toDisplayString((F=l.account[(b=o.report)==null?void 0:b.paymentType])==null?void 0:F.bank),1)]),e.createElementVNode("div",rL,[mL,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,[pL,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",EL,[yL,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",_L,[NL,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",VL,[fL,e.createElementVNode("span",null,e.toDisplayString((q=l.account[(K=o.report)==null?void 0:K.paymentType])==null?void 0:q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",gL,[DL,e.createElementVNode("span",null,e.toDisplayString((X=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:X.title),1)]),e.createElementVNode("div",xL,[bL,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",CL,[SL,e.createElementVNode("span",null,e.toDisplayString((s=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",kL,[AL,e.createElementVNode("span",null,e.toDisplayString((d=l.account[($=o.report)==null?void 0:$.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",BL,[wL,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",TL,[OL,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",uL,[FL,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",PL,[LL,e.createElementVNode("span",null,e.toDisplayString((he=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:he.intermediaryBankAbaNo),1)])],64))]),WL])}const kn=fe(IP,[["render",HL],["__scopeId","data-v-4876379b"]]),ML={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},GL=t=>((typeof t=="string"||typeof t=="number")&&(t=w(t)),t),IL=(t,n="MMM-DD,YYYY/HHmm[Z]")=>RL(t,n),RL=(t,n="MMM-DD/HHmm[Z]")=>(t=GL(t),t?`${t.utc().format(n)}`:"-"),Qee="",zL={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,n){return IL(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},UL={class:"idm-editable-item"},YL=["innerHTML"],ZL={key:3,class:"buttons"};function QL(t,n,o,c,l,a){const E=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),_=e.resolveComponent("IdmEditor"),D=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),p=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",UL,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=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":n[3]||(n[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":n[4]||(n[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":n[5]||(n[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":n[6]||(n[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":n[7]||(n[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":n[8]||(n[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(p,{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":n[9]||(n[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(p,{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":n[10]||(n[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(p,{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":n[11]||(n[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":n[12]||(n[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(E,{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(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...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,YL)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[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",ZL,[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=fe(zL,[["render",QL]]),Jee="",JL={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:Uo},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));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,n,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,E;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,c){var E,i,_,D,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const p=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(E=p==null?void 0:p.data)==null?void 0:E.data,this.extraPortList=(_=(i=p==null?void 0:p.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),KL={class:"deviation-report"},qL={class:"section vessel-section"},XL={class:"report-summary"},jL={class:"summary-item"},$L=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),vL={class:"flexL gray"},eW={class:"summary-item"},tW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),oW={class:"flexL gray"},lW={class:"summary-item"},aW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),nW={class:"flexL gray"},sW={class:"summary-item"},iW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),cW={class:"flexL gray"},dW={class:"summary-item"},rW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),mW={class:"flexL gray",style:{display:"flex"}},hW={class:"flex"},pW={class:"flexM"},EW={class:"summary-item"},yW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),_W={class:"flexL gray",style:{display:"flex"}},NW={class:"flex"},VW={class:"flexM"},fW={class:"section summary-section"},gW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),DW={class:"report-summary"},xW={class:"summary-item"},bW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),CW={class:"summary-item"},SW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),kW={class:"summary-item"},AW=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),BW={class:"summary-item"},wW=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),TW={class:"section map-section"},OW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),uW={class:"report-map"},FW=["src"],PW=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),LW={key:0,class:"section deviation-section"},WW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),HW={class:"report-summary"},MW=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),GW={class:"summary-item"},IW=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),RW={class:"blue center",style:{width:"20%"}},zW={class:"blue center",style:{width:"17%"}},UW={class:"flex blue center"},YW={class:"flex blue center"},ZW=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),QW=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),JW={class:"summary-item"},KW=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),qW={class:"blue center",style:{width:"20%"}},XW={class:"blue center",style:{width:"17%"}},jW={class:"flex blue center"},$W={class:"flex blue center"},vW={class:"flex blue center"},eH={class:"flex blue center"},tH={class:"summary-item"},oH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),lH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),aH={class:"blue center",style:{width:"17%"}},nH={class:"flex blue center"},sH={class:"flex blue center"},iH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),cH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),dH={class:"section cp-section"},rH=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),mH={class:"report-summary"},hH={class:"summary-item"},pH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),EH={class:"flexL blue center"},yH={class:"summary-item"},_H=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),NH={class:"flexL blue center"},VH={class:"summary-item"},fH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),gH={class:"flexL blue center"},DH={class:"section port-section"},xH={class:"subtitle port"},bH=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),CH={class:"print-hidden"},SH={class:"report-port"},kH=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)),AH={rowspan:2},BH=B(()=>e.createElementVNode("td",null,"Arrival",-1)),wH=B(()=>e.createElementVNode("td",null,null,-1)),TH=B(()=>e.createElementVNode("td",null,null,-1)),OH={rowspan:2,class:"print-hidden"},uH=B(()=>e.createElementVNode("td",null,"Departure",-1)),FH=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),PH=B(()=>e.createElementVNode("td",null,null,-1)),LH=B(()=>e.createElementVNode("td",null,null,-1)),WH=B(()=>e.createElementVNode("td",null,null,-1)),HH=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),MH={class:"section distance-section"},GH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),IH={class:"report-summary"},RH=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)),zH={class:"summary-item"},UH=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),YH={class:"flex blue center"},ZH={class:"flex blue center"},QH={class:"summary-item"},JH=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),KH={class:"flex blue center"},qH={class:"section time-section"},XH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),jH={key:0,class:"report-formular"},$H={class:"equation"},vH=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),eM={class:"function",style:{width:"20%"}},tM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),lM={style:{width:"10%"}},aM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),nM={class:"equation"},sM=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),iM={style:{width:"5%"}},cM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),dM={style:{width:"8%"}},rM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),mM={style:{width:"4%"}},hM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pM={key:1,class:"report-formular"},EM={class:"equation"},yM=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),_M={class:"function",style:{width:"20%"}},NM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fM={style:{width:"10%"}},gM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),DM={key:0,class:"equation"},xM=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),bM={style:{width:"5%"}},CM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),SM={style:{width:"5%"}},kM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),AM={style:{width:"5%"}},BM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wM={key:1,class:"equation"},TM=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),OM={style:{width:"5%"}},uM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),FM={style:{width:"5%"}},PM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),LM={style:{width:"5%"}},WM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),HM={style:{width:"5%"}},MM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),GM={key:2,class:"report-summary"},IM={class:"summary-item"},RM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),zM={class:"flex blue center"},UM={class:"summary-item"},YM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),ZM={class:"flex blue center"},QM={class:"summary-item"},JM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),KM={class:"flex blue center"},qM={key:3,class:"report-summary"},XM={class:"summary-item"},jM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),$M={class:"flex blue center"},vM={class:"summary-item"},eG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),tG={class:"flex blue center"},oG={key:0,class:"summary-item"},lG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),aG={class:"flex blue center"},nG={class:"summary-item"},sG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),iG={class:"flex blue center"},cG={class:"section consumption-section"},dG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),rG={key:0,class:"report-formular"},mG={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),pG={class:"function",style:{width:"5%"}},EG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_G={class:"function",style:{width:"5%"}},NG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VG=B(()=>e.createElementVNode("div",null,"24",-1)),fG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gG={style:{width:"5%"}},DG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xG={class:"equation"},bG=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),CG={style:{width:"5%"}},SG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),kG={style:{width:"5%"}},AG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BG={style:{width:"5%"}},wG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TG={class:"equation"},OG=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),uG={class:"function",style:{width:"5%"}},FG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),LG={class:"function",style:{width:"5%"}},WG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HG=B(()=>e.createElementVNode("div",null,"24",-1)),MG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GG={style:{width:"5%"}},IG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RG={class:"equation"},zG=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),UG={style:{width:"5%"}},YG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZG={style:{width:"5%"}},QG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),JG={style:{width:"5%"}},KG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qG={key:1,class:"report-formular"},XG={class:"equation"},jG=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),$G={class:"function",style:{width:"5%"}},vG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tI={class:"function",style:{width:"5%"}},oI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lI=B(()=>e.createElementVNode("div",null,"24",-1)),aI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nI={style:{width:"5%"}},sI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iI={class:"equation"},cI=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),dI={class:"function",style:{width:"5%"}},rI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),hI={class:"function",style:{width:"5%"}},pI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EI=B(()=>e.createElementVNode("div",null,"24",-1)),yI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_I={style:{width:"5%"}},NI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),VI={key:0,class:"equation"},fI=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),gI={style:{width:"5%"}},DI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),xI={style:{width:"5%"}},bI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CI={style:{width:"5%"}},SI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kI={key:1,class:"equation"},AI=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),BI={style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TI={style:{width:"5%"}},OI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uI={style:{width:"5%"}},FI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PI={style:{width:"5%"}},LI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WI={key:2,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 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),MI={style:{width:"5%"}},GI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),II={style:{width:"5%"}},RI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zI={style:{width:"5%"}},UI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YI={key:3,class:"equation"},ZI=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),QI={style:{width:"5%"}},JI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),KI={style:{width:"5%"}},qI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),XI={style:{width:"5%"}},jI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$I={style:{width:"5%"}},vI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),eR={key:2,class:"report-summary"},tR=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)),oR={class:"summary-item"},lR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),aR={class:"flex blue center"},nR={class:"flex blue center"},sR={class:"summary-item"},iR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),cR={class:"flex blue center"},dR={class:"flex blue center"},rR={class:"summary-item"},mR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),hR={key:3,class:"report-summary"},pR=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)),ER={class:"summary-item"},yR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),_R={class:"flex blue center"},NR={class:"flex blue center"},VR={class:"summary-item"},fR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),gR={class:"flex blue center"},DR={class:"flex blue center"},xR={key:0,class:"summary-item"},bR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),CR={class:"flex blue center"},SR={class:"flex blue center"},kR={class:"summary-item"},AR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),BR={class:"section comment-section"},wR=["innerHTML"];function TR(t,n,o,c,l,a){var N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),_=e.resolveComponent("CirclePlus"),D=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",KL,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",qL,[e.createElementVNode("div",XL,[e.createElementVNode("div",jL,[$L,e.createElementVNode("div",vL,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",eW,[tW,e.createElementVNode("div",oW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",lW,[aW,e.createElementVNode("div",nW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",sW,[iW,e.createElementVNode("div",cW,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",dW,[rW,e.createElementVNode("div",mW,[e.createElementVNode("span",hW,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",pW,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",EW,[yW,e.createElementVNode("div",_W,[e.createElementVNode("span",NW,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",VW,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",fW,[gW,e.createElementVNode("div",DW,[e.createElementVNode("div",xW,[bW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",CW,[SW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",kW,[AW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",BW,[wW,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(((he=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",TW,[OW,e.createElementVNode("div",uW,[e.createElementVNode("img",{style:{width:"100%"},src:(ce=l.extraData)==null?void 0:ce.chartUrl,alt:""},null,8,FW),PW])]),((pe=o.report)==null?void 0:pe.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",LW,[WW,e.createElementVNode("div",HW,[MW,e.createElementVNode("div",GW,[IW,e.createElementVNode("div",RW,e.toDisplayString(a.computedLngLat((ge=l.extraData)==null?void 0:ge.startLng,(De=l.extraData)==null?void 0:De.startLat)),1),e.createElementVNode("div",zW,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",UW,[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:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",YW,[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:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),ZW,QW]),e.createElementVNode("div",JW,[KW,e.createElementVNode("div",qW,e.toDisplayString(a.computedLngLat((Se=l.extraData)==null?void 0:Se.endLng,(ke=l.extraData)==null?void 0:ke.endLat)),1),e.createElementVNode("div",XW,e.toDisplayString(a.computeUTCTime((Ae=l.extraData)==null?void 0:Ae.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",jW,[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:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",$W,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",vW,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",eH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ne=l.extraData)==null?void 0:Ne.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",tH,[oH,lH,e.createElementVNode("div",aH,e.toDisplayString(((Ee=(u=l.extraData)==null?void 0:u.timeAnalysis)==null?void 0:Ee.actualTime)??"—"),1),e.createElementVNode("div",nH,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",sH,e.toDisplayString(((Ke=(He=(we=l.extraData)==null?void 0:we.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ke.actualCons)??"—"),1),iH,cH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",dH,[rH,e.createElementVNode("div",mH,[e.createElementVNode("div",hH,[pH,e.createElementVNode("div",EH,e.toDisplayString(((U=(qe=l.extraData)==null?void 0:qe.cp)==null?void 0:U.speed)??"—"),1)]),e.createElementVNode("div",yH,[_H,e.createElementVNode("div",NH,e.toDisplayString(((ze=(Oe=l.extraData)==null?void 0:Oe.cp)==null?void 0:ze.fo)??"—"),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",gH,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",DH,[e.createElementVNode("div",xH,[bH,e.createElementVNode("div",CH,[e.createVNode(D,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(_)]),_:1},8,["onClick"])])]),e.createElementVNode("div",SH,[e.createElementVNode("table",null,[kH,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",AH,[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"])]),BH,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"])]),wH,TH,e.createElementVNode("td",OH,[e.createVNode(D,{size:20,onClick:Pt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[uH,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,[FH,PH,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=(y=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:y.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Te=(Ve=l.extraData)==null?void 0:Ve.consAnalysis)==null?void 0:Te.dgo)==null?void 0:Me.portCons)??"—"),1),LH,WH,HH])])])])]),e.createElementVNode("div",MH,[GH,e.createElementVNode("div",IH,[RH,e.createElementVNode("div",zH,[UH,e.createElementVNode("div",YH,[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:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",ZH,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Xe=l.extraData)==null?void 0:Xe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",QH,[JH,e.createElementVNode("div",KH,e.toDisplayString((($e=l.extraData)==null?void 0:$e.extraDist)??"—"),1)])])]),e.createElementVNode("div",qH,[XH,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",jH,[e.createElementVNode("div",$H,[vH,e.createElementVNode("div",eM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),tM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),oM,e.createElementVNode("div",lM,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),aM]),e.createElementVNode("div",nM,[sM,e.createElementVNode("div",iM,e.toDisplayString((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.sailingTime),1),cM,e.createElementVNode("div",dM,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),rM,e.createElementVNode("div",mM,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),hM])])):(e.openBlock(),e.createElementBlock("div",pM,[e.createElementVNode("div",EM,[yM,e.createElementVNode("div",_M,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),NM,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),VM,e.createElementVNode("div",fM,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.sailingTime),1),gM]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DM,[xM,e.createElementVNode("div",bM,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.actualTime),1),CM,e.createElementVNode("div",SM,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),kM,e.createElementVNode("div",AM,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),BM])):(e.openBlock(),e.createElementBlock("div",wM,[TM,e.createElementVNode("div",OM,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),uM,e.createElementVNode("div",FM,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.sailingTime),1),PM,e.createElementVNode("div",LM,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.portTime),1),WM,e.createElementVNode("div",HM,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),MM]))])),((G=o.report)==null?void 0:G.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",GM,[e.createElementVNode("div",IM,[RM,e.createElementVNode("div",zM,e.toDisplayString(((Ot=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ot.sailingTime)??"—"),1)]),e.createElementVNode("div",UM,[YM,e.createElementVNode("div",ZM,e.toDisplayString(((Mt=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",QM,[JM,e.createElementVNode("div",KM,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",qM,[e.createElementVNode("div",XM,[jM,e.createElementVNode("div",$M,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",vM,[eG,e.createElementVNode("div",tG,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",oG,[lG,e.createElementVNode("div",aG,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",iG,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",cG,[dG,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",rG,[e.createElementVNode("div",mG,[hG,e.createElementVNode("div",pG,[e.createElementVNode("div",null,e.toDisplayString((Xt=l.extraData)==null?void 0:Xt.extraDist),1),EG,e.createElementVNode("div",null,e.toDisplayString(($t=(jt=l.extraData)==null?void 0:jt.cp)==null?void 0:$t.speed),1)]),yG,e.createElementVNode("div",_G,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),NG,VG]),fG,e.createElementVNode("div",gG,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),DG]),e.createElementVNode("div",xG,[bG,e.createElementVNode("div",CG,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),SG,e.createElementVNode("div",kG,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),AG,e.createElementVNode("div",BG,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),wG]),e.createElementVNode("div",TG,[OG,e.createElementVNode("div",uG,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),FG,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),PG,e.createElementVNode("div",LG,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),WG,HG]),MG,e.createElementVNode("div",GG,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),IG]),e.createElementVNode("div",RG,[zG,e.createElementVNode("div",UG,e.toDisplayString((Fo=(uo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Fo.sailingCons),1),YG,e.createElementVNode("div",ZG,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),QG,e.createElementVNode("div",JG,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),KG])])):(e.openBlock(),e.createElementBlock("div",qG,[e.createElementVNode("div",XG,[jG,e.createElementVNode("div",$G,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),vG,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),eI,e.createElementVNode("div",tI,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.fo),1),oI,lI]),aI,e.createElementVNode("div",nI,e.toDisplayString((Xo=(qo=(Ko=l.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:qo.fo)==null?void 0:Xo.sailingCons),1),sI]),e.createElementVNode("div",iI,[cI,e.createElementVNode("div",dI,[e.createElementVNode("div",null,e.toDisplayString((jo=l.extraData)==null?void 0:jo.priorDist),1),rI,e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:vo.speed),1)]),mI,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),pI,EI]),yI,e.createElementVNode("div",_I,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.dgo)==null?void 0:al.sailingCons),1),NI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",VI,[fI,e.createElementVNode("div",gI,e.toDisplayString((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.actualCons),1),DI,e.createElementVNode("div",xI,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),bI,e.createElementVNode("div",CI,e.toDisplayString((pl=(hl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:hl.fo)==null?void 0:pl.totalExtraCons),1),SI])):(e.openBlock(),e.createElementBlock("div",kI,[AI,e.createElementVNode("div",BI,e.toDisplayString((Ft=(yl=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Ft.actualCons),1),wI,e.createElementVNode("div",TI,e.toDisplayString(a.computeNum((Dl=(gl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:gl.fo)==null?void 0:Dl.sailingCons)),1),OI,e.createElementVNode("div",uI,e.toDisplayString(a.computeNum((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.portCons)),1),FI,e.createElementVNode("div",PI,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Al.totalExtraCons),1),LI])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",WI,[HI,e.createElementVNode("div",MI,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),GI,e.createElementVNode("div",II,e.toDisplayString((Fl=(ul=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Fl.sailingCons),1),RI,e.createElementVNode("div",zI,e.toDisplayString((Wl=(Ll=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.totalExtraCons),1),UI])):(e.openBlock(),e.createElementBlock("div",YI,[ZI,e.createElementVNode("div",QI,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),JI,e.createElementVNode("div",KI,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)),1),qI,e.createElementVNode("div",XI,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.portCons)),1),jI,e.createElementVNode("div",$I,e.toDisplayString((Kl=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.totalExtraCons),1),vI]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",eR,[tR,e.createElementVNode("div",oR,[lR,e.createElementVNode("div",aR,e.toDisplayString((($l=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:$l.sailingCons)??"—"),1),e.createElementVNode("div",nR,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",sR,[iR,e.createElementVNode("div",cR,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",dR,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(da=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ha=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:ha.fo)==null?void 0:pa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((_a=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:_a.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",hR,[pR,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",_R,e.toDisplayString((xa=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:xa.sailingCons),1),e.createElementVNode("div",NR,e.toDisplayString((Sa=(Ca=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",gR,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.fo)==null?void 0:Ba.actualCons),1),e.createElementVNode("div",DR,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",xR,[bR,e.createElementVNode("div",CR,e.toDisplayString((Pa=(Fa=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Fa.fo)==null?void 0:Pa.portCons),1),e.createElementVNode("div",SR,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",kR,[AR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ja=(Qa=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:Qa.dgo)==null?void 0:Ja.totalExtraCons),3)])]))]),e.createElementVNode("div",BR,[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(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,wR))],2)])])}const Bn=fe(JL,[["render",TR],["__scopeId","data-v-4829e189"]]),Kee="",OR={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+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2E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SVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(te.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(te.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${te.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,E;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,c){var E,i,_,D,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),x=n.substring(l+1);x!=="date"&&(o=Number(o)),this.extraPortList[c][N][x]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const p=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(E=p==null?void 0:p.data)==null?void 0:E.data,this.extraPortList=(_=(i=p==null?void 0:p.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),uR={class:"deviation-report"},FR=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),PR={class:"report-header"},LR={class:"header-title",style:{position:"relative !important"}},WR={class:"header-title-content"},HR=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),MR={class:"title-date"},GR={class:"report-summary"},IR={class:"summary-item"},RR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),zR={class:"flexL gray"},UR={class:"summary-item"},YR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),ZR={class:"flexL gray"},QR={class:"summary-item"},JR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),KR={class:"flexL gray"},qR={class:"summary-item"},XR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),jR={class:"flexL gray"},$R={class:"summary-item"},vR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),ez={class:"flexL gray",style:{display:"flex"}},tz={class:"flex"},oz={class:"flexM"},lz={class:"summary-item"},az=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),nz={class:"flexL gray",style:{display:"flex"}},sz={class:"flex"},iz={class:"flexM"},cz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),dz={class:"report-summary"},rz={class:"summary-item"},mz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),hz={class:"summary-item"},pz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),Ez={class:"summary-item"},yz=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),_z={class:"summary-item"},Nz=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Vz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),fz={class:"report-map"},gz=["src"],Dz=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),xz=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),bz={key:0,class:"subtitle"},Cz={key:1,class:"report-summary"},Sz=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),kz={class:"summary-item"},Az=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),Bz={class:"blue center",style:{width:"20%"}},wz={class:"blue center",style:{width:"17%"}},Tz={class:"flex blue center"},Oz={class:"flex blue center"},uz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Fz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Pz={class:"summary-item"},Lz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),Wz={class:"blue center",style:{width:"20%"}},Hz={class:"blue center",style:{width:"17%"}},Mz={class:"flex blue center"},Gz={class:"flex blue center"},Iz={class:"flex blue center"},Rz={class:"flex blue center"},zz={class:"summary-item"},Uz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),Yz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),Zz={class:"blue center",style:{width:"17%"}},Qz={class:"flex blue center"},Jz={class:"flex blue center"},Kz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Xz=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),jz={class:"report-summary"},$z={class:"summary-item"},vz=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),eU={class:"flexL blue center"},tU={class:"summary-item"},oU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),lU={class:"flexL blue center"},aU={class:"summary-item"},nU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),sU={class:"flexL blue center"},iU={class:"subtitle port"},cU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),dU={class:"print-hidden"},rU={class:"report-port"},mU=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},pU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),EU=A(()=>e.createElementVNode("td",null,null,-1)),yU=A(()=>e.createElementVNode("td",null,null,-1)),_U={rowspan:2,class:"print-hidden"},NU=A(()=>e.createElementVNode("td",null,"Departure",-1)),VU=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),fU=A(()=>e.createElementVNode("td",null,null,-1)),gU=A(()=>e.createElementVNode("td",null,null,-1)),DU=A(()=>e.createElementVNode("td",null,null,-1)),xU=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),bU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),CU={class:"report-summary"},SU=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)),kU={class:"summary-item"},AU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),BU={class:"flex blue center"},wU={class:"flex blue center"},TU={class:"summary-item"},OU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),uU={class:"flex blue center"},FU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),PU={key:2,class:"report-formular"},LU={class:"equation"},WU=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),HU={class:"function",style:{width:"20%"}},MU=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),IU={style:{width:"10%"}},RU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),zU={class:"equation"},UU=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),YU={style:{width:"5%"}},ZU=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),QU={style:{width:"8%"}},JU=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),KU={style:{width:"4%"}},qU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),XU={key:3,class:"report-formular"},jU={class:"equation"},$U=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),vU={class:"function",style:{width:"20%"}},eY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oY={style:{width:"10%"}},lY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),aY={key:0,class:"equation"},nY=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),sY={style:{width:"5%"}},iY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),cY={style:{width:"5%"}},dY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),rY={style:{width:"5%"}},mY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),hY={key:1,class:"equation"},pY=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),EY={style:{width:"5%"}},yY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),_Y={style:{width:"5%"}},NY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),VY={style:{width:"5%"}},fY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),gY={style:{width:"5%"}},DY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),xY={key:4,class:"report-summary"},bY={class:"summary-item"},CY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),SY={class:"flex blue center"},kY={class:"summary-item"},AY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),BY={class:"flex blue center"},wY={class:"summary-item"},TY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),OY={class:"flex blue center"},uY={key:5,class:"report-summary"},FY={class:"summary-item"},PY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),LY={class:"flex blue center"},WY={class:"summary-item"},HY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),MY={class:"flex blue center"},GY={key:0,class:"summary-item"},IY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),RY={class:"flex blue center"},zY={class:"summary-item"},UY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),YY={class:"flex blue center"},ZY=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),QY={key:6,class:"report-formular"},JY={class:"equation"},KY=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),qY={class:"function",style:{width:"5%"}},XY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jY=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$Y={class:"function",style:{width:"5%"}},vY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eZ=A(()=>e.createElementVNode("div",null,"24",-1)),tZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),oZ={style:{width:"5%"}},lZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),aZ={class:"equation"},nZ=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),sZ={style:{width:"5%"}},iZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),cZ={style:{width:"5%"}},dZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rZ={style:{width:"5%"}},mZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hZ={class:"equation"},pZ=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),EZ={class:"function",style:{width:"5%"}},yZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_Z=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),NZ={class:"function",style:{width:"5%"}},VZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fZ=A(()=>e.createElementVNode("div",null,"24",-1)),gZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DZ={style:{width:"5%"}},xZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),bZ={class:"equation"},CZ=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),SZ={style:{width:"5%"}},kZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AZ={style:{width:"5%"}},BZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),wZ={style:{width:"5%"}},TZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OZ={key:7,class:"report-formular"},uZ={class:"equation"},FZ=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),PZ={class:"function",style:{width:"5%"}},LZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HZ={class:"function",style:{width:"5%"}},MZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GZ=A(()=>e.createElementVNode("div",null,"24",-1)),IZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RZ={style:{width:"5%"}},zZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UZ={class:"equation"},YZ=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),ZZ={class:"function",style:{width:"5%"}},QZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),KZ={class:"function",style:{width:"5%"}},qZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XZ=A(()=>e.createElementVNode("div",null,"24",-1)),jZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$Z={style:{width:"5%"}},vZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),eQ={key:0,class:"equation"},tQ=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),oQ={style:{width:"5%"}},lQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),aQ={style:{width:"5%"}},nQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sQ={style:{width:"5%"}},iQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),cQ={key:1,class:"equation"},dQ=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),rQ={style:{width:"5%"}},mQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),hQ={style:{width:"5%"}},pQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EQ={style:{width:"5%"}},yQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_Q={style:{width:"5%"}},NQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),VQ={key:2,class:"equation"},fQ=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),gQ={style:{width:"5%"}},DQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),xQ={style:{width:"5%"}},bQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={key:3,class:"equation"},AQ=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),BQ={style:{width:"5%"}},wQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TQ={style:{width:"5%"}},OQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uQ={style:{width:"5%"}},FQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PQ={style:{width:"5%"}},LQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WQ={key:8,class:"report-summary"},HQ=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)),MQ={class:"summary-item"},GQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),IQ={class:"flex blue center"},RQ={class:"flex blue center"},zQ={class:"summary-item"},UQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),YQ={class:"flex blue center"},ZQ={class:"flex blue center"},QQ={class:"summary-item"},JQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),KQ={key:9,class:"report-summary"},qQ=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)),XQ={class:"summary-item"},jQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),$Q={class:"flex blue center"},vQ={class:"flex blue center"},eJ={class:"summary-item"},tJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),oJ={class:"flex blue center"},lJ={class:"flex blue center"},aJ={key:0,class:"summary-item"},nJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),sJ={class:"flex blue center"},iJ={class:"flex blue center"},cJ={class:"summary-item"},dJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),rJ=["innerHTML"];function mJ(t,n,o,c,l,a){var p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,Ve,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,G,tt,Ot,ut,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,uo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,hl,pl,El,yl,Ft,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,ul,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,ua,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya;const E=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),_=e.resolveComponent("ElIcon"),D=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",uR,[FR,e.createElementVNode("div",PR,[e.createElementVNode("div",LR,[e.createElementVNode("div",WR,[HR,e.createElementVNode("div",MR,e.toDisplayString(a.computeUTCTime((p=l.extraData)==null?void 0:p.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",GR,[e.createElementVNode("div",IR,[RR,e.createElementVNode("div",zR,e.toDisplayString((x=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",QR,[JR,e.createElementVNode("div",KR,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",qR,[XR,e.createElementVNode("div",jR,e.toDisplayString((P=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",$R,[vR,e.createElementVNode("div",ez,[e.createElementVNode("span",tz,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",oz,e.toDisplayString(a.computeUTCTime(((F=(b=l.extraData)==null?void 0:b.departure)==null?void 0:F.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,[e.createElementVNode("span",sz,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",iz,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)])])]),cz,e.createElementVNode("div",dz,[e.createElementVNode("div",rz,[mz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",hz,[pz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",Ez,[yz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",_z,[Nz,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(((he=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])]),Vz,e.createElementVNode("div",fz,[e.createElementVNode("img",{style:{width:"100%"},src:(ce=l.extraData)==null?void 0:ce.chartUrl,alt:""},null,8,gz),Dz]),xz,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bz,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Cz,[Sz,e.createElementVNode("div",kz,[Az,e.createElementVNode("div",Bz,e.toDisplayString(a.computedLngLat((pe=l.extraData)==null?void 0:pe.startLng,(ge=l.extraData)==null?void 0:ge.startLat)),1),e.createElementVNode("div",wz,e.toDisplayString(a.computeUTCTime((De=l.extraData)==null?void 0:De.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Tz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(xe=l.extraData)==null?void 0:xe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Oz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),uz,Fz]),e.createElementVNode("div",Pz,[Lz,e.createElementVNode("div",Wz,e.toDisplayString(a.computedLngLat((Ce=l.extraData)==null?void 0:Ce.endLng,(Se=l.extraData)==null?void 0:Se.endLat)),1),e.createElementVNode("div",Hz,e.toDisplayString(a.computeUTCTime((ke=l.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Mz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Gz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Iz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",Rz,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",zz,[Uz,Yz,e.createElementVNode("div",Zz,e.toDisplayString(((u=(Ne=l.extraData)==null?void 0:Ne.timeAnalysis)==null?void 0:u.actualTime)??"—"),1),e.createElementVNode("div",Qz,e.toDisplayString(((Le=(Pe=(Ee=l.extraData)==null?void 0:Ee.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",Jz,e.toDisplayString(((He=(we=(We=l.extraData)==null?void 0:We.consAnalysis)==null?void 0:we.dgo)==null?void 0:He.actualCons)??"—"),1),Kz,qz])])),Xz,e.createElementVNode("div",jz,[e.createElementVNode("div",$z,[vz,e.createElementVNode("div",eU,e.toDisplayString(((qe=(Ke=l.extraData)==null?void 0:Ke.cp)==null?void 0:qe.speed)??"—"),1)]),e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,e.toDisplayString(((Oe=(U=l.extraData)==null?void 0:U.cp)==null?void 0:Oe.fo)??"—"),1)]),e.createElementVNode("div",aU,[nU,e.createElementVNode("div",sU,e.toDisplayString(((Ue=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",iU,[cU,e.createElementVNode("div",dU,[e.createVNode(_,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",rU,[e.createElementVNode("table",null,[mU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Za,Qa,Ja,ne,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",hU,[e.createVNode(E,{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"])]),pU,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.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(E,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.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(E,{class:"editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),EU,yU,e.createElementVNode("td",_U,[e.createVNode(_,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[NU,e.createElementVNode("td",null,[e.createVNode(E,{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(E,{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(E,{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(E,{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(E,{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,[VU,fU,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(((y=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:y.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Te=(Ve=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:Ve.dgo)==null?void 0:Te.portCons)??"—"),1),gU,DU,xU])])])]),bU,e.createElementVNode("div",CU,[SU,e.createElementVNode("div",kU,[AU,e.createElementVNode("div",BU,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",wU,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",TU,[OU,e.createElementVNode("div",uU,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])]),FU,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",PU,[e.createElementVNode("div",LU,[WU,e.createElementVNode("div",HU,[e.createElementVNode("div",null,e.toDisplayString(($e=l.extraData)==null?void 0:$e.extraDist),1),MU,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),GU,e.createElementVNode("div",IU,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),RU]),e.createElementVNode("div",zU,[UU,e.createElementVNode("div",YU,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),ZU,e.createElementVNode("div",QU,e.toDisplayString(a.computeNum((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.portTime)),1),JU,e.createElementVNode("div",KU,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),qU])])):(e.openBlock(),e.createElementBlock("div",XU,[e.createElementVNode("div",jU,[$U,e.createElementVNode("div",vU,[e.createElementVNode("div",null,e.toDisplayString((_t=l.extraData)==null?void 0:_t.priorDist),1),eY,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.cp)==null?void 0:Vt.speed),1)]),tY,e.createElementVNode("div",oY,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.sailingTime),1),lY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",aY,[nY,e.createElementVNode("div",sY,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.actualTime),1),iY,e.createElementVNode("div",cY,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.sailingTime),1),dY,e.createElementVNode("div",rY,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.totalExtraTime),1),mY])):(e.openBlock(),e.createElementBlock("div",hY,[pY,e.createElementVNode("div",EY,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.actualTime),1),yY,e.createElementVNode("div",_Y,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),NY,e.createElementVNode("div",VY,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.portTime),1),fY,e.createElementVNode("div",gY,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),DY]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",xY,[e.createElementVNode("div",bY,[CY,e.createElementVNode("div",SY,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",kY,[AY,e.createElementVNode("div",BY,e.toDisplayString(((tt=(G=l.extraData)==null?void 0:G.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",wY,[TY,e.createElementVNode("div",OY,e.toDisplayString(((ut=(Ot=l.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:ut.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",uY,[e.createElementVNode("div",FY,[PY,e.createElementVNode("div",LY,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",WY,[HY,e.createElementVNode("div",MY,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",GY,[IY,e.createElementVNode("div",RY,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",zY,[UY,e.createElementVNode("div",YY,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),ZY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",QY,[e.createElementVNode("div",JY,[KY,e.createElementVNode("div",qY,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),XY,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),jY,e.createElementVNode("div",$Y,[e.createElementVNode("div",null,e.toDisplayString((Xt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Xt.fo),1),vY,eZ]),tZ,e.createElementVNode("div",oZ,e.toDisplayString((vt=($t=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:$t.fo)==null?void 0:vt.sailingCons),1),lZ]),e.createElementVNode("div",aZ,[nZ,e.createElementVNode("div",sZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),iZ,e.createElementVNode("div",cZ,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),dZ,e.createElementVNode("div",rZ,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),mZ]),e.createElementVNode("div",hZ,[pZ,e.createElementVNode("div",EZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),yZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),_Z,e.createElementVNode("div",NZ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),VZ,fZ]),gZ,e.createElementVNode("div",DZ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),xZ]),e.createElementVNode("div",bZ,[CZ,e.createElementVNode("div",SZ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),kZ,e.createElementVNode("div",AZ,e.toDisplayString(a.computeNum((uo=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:uo.portCons)),1),BZ,e.createElementVNode("div",wZ,e.toDisplayString((Lo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),TZ])])):(e.openBlock(),e.createElementBlock("div",OZ,[e.createElementVNode("div",uZ,[FZ,e.createElementVNode("div",PZ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),LZ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),WZ,e.createElementVNode("div",HZ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),MZ,GZ]),IZ,e.createElementVNode("div",RZ,e.toDisplayString((Qo=(Zo=(Yo=l.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.fo)==null?void 0:Qo.sailingCons),1),zZ]),e.createElementVNode("div",UZ,[YZ,e.createElementVNode("div",ZZ,[e.createElementVNode("div",null,e.toDisplayString((Jo=l.extraData)==null?void 0:Jo.priorDist),1),QZ,e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=l.extraData)==null?void 0:Ko.cp)==null?void 0:qo.speed),1)]),JZ,e.createElementVNode("div",KZ,[e.createElementVNode("div",null,e.toDisplayString((jo=(Xo=l.extraData)==null?void 0:Xo.cp)==null?void 0:jo.dgo),1),qZ,XZ]),jZ,e.createElementVNode("div",$Z,e.toDisplayString((el=(vo=($o=l.extraData)==null?void 0:$o.consAnalysis)==null?void 0:vo.dgo)==null?void 0:el.sailingCons),1),vZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",eQ,[tQ,e.createElementVNode("div",oQ,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.actualCons),1),lQ,e.createElementVNode("div",aQ,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),nQ,e.createElementVNode("div",sQ,e.toDisplayString((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.totalExtraCons),1),iQ])):(e.openBlock(),e.createElementBlock("div",cQ,[dQ,e.createElementVNode("div",rQ,e.toDisplayString((hl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:hl.actualCons),1),mQ,e.createElementVNode("div",hQ,e.toDisplayString(a.computeNum((yl=(El=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.sailingCons)),1),pQ,e.createElementVNode("div",EQ,e.toDisplayString(a.computeNum((gl=(Nl=(Ft=l.extraData)==null?void 0:Ft.consAnalysis)==null?void 0:Nl.fo)==null?void 0:gl.portCons)),1),yQ,e.createElementVNode("div",_Q,e.toDisplayString((bl=(xl=(Dl=l.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:xl.fo)==null?void 0:bl.totalExtraCons),1),NQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",VQ,[fQ,e.createElementVNode("div",gQ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),DQ,e.createElementVNode("div",xQ,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.sailingCons),1),bQ,e.createElementVNode("div",CQ,e.toDisplayString((ul=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:ul.totalExtraCons),1),SQ])):(e.openBlock(),e.createElementBlock("div",kQ,[AQ,e.createElementVNode("div",BQ,e.toDisplayString((Ll=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.actualCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString(a.computeNum((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),OQ,e.createElementVNode("div",uQ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.portCons)),1),FQ,e.createElementVNode("div",PQ,e.toDisplayString((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.totalExtraCons),1),LQ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",WQ,[HQ,e.createElementVNode("div",MQ,[GQ,e.createElementVNode("div",IQ,e.toDisplayString(((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:Jl.sailingCons)??"—"),1),e.createElementVNode("div",RQ,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",zQ,[UQ,e.createElementVNode("div",YQ,e.toDisplayString(((vl=($l=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:$l.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",ZQ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",QQ,[JQ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:ca.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(pa=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:pa.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",KQ,[qQ,e.createElementVNode("div",XQ,[jQ,e.createElementVNode("div",$Q,e.toDisplayString((Na=(_a=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:_a.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",vQ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",eJ,[tJ,e.createElementVNode("div",oJ,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",lJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aJ,[nJ,e.createElementVNode("div",sJ,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",iJ,e.toDisplayString((ua=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:ua.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",cJ,[dJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.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":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,rJ))],2)])}const wn=fe(OR,[["render",mJ],["__scopeId","data-v-77edf8aa"]]),hJ={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},qee="",pJ={components:{IdmBrand:Uo},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZA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WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},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,n=2){return t==="-"?"-":te.roundPrecision(t,n)}}}},Eo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),EJ={class:"stoppage-report"},yJ={class:"report-summary"},_J={class:"summary-item"},NJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),VJ={class:"flexL gray"},fJ={class:"summary-item"},gJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DJ={class:"flexL gray"},xJ={class:"summary-item"},bJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CJ={class:"flexL gray"},SJ={class:"summary-item"},kJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AJ={class:"flexL gray"},BJ={class:"summary-item"},wJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),TJ={class:"flexL gray",style:{display:"flex"}},OJ={class:"flex"},uJ={class:"flexM"},FJ={class:"summary-item"},PJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),LJ={class:"flexL gray",style:{display:"flex"}},WJ={class:"flex"},HJ={class:"flexM"},MJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),GJ={class:"report-summary"},IJ={class:"summary-item"},RJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),zJ={class:"summary-item"},UJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),YJ={class:"summary-item"},ZJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),QJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),JJ={class:"report-table"},KJ=Eo(()=>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)),qJ=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),XJ={rowspan:2},jJ={rowspan:2},$J={rowspan:2},vJ=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),eK={class:"report-map"},tK=["src"];function oK(t,n,o,c,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EJ,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",yJ,[e.createElementVNode("div",_J,[NJ,e.createElementVNode("div",VJ,e.toDisplayString((_=(i=o.report)==null?void 0:i.vessel)==null?void 0:_.name),1)]),e.createElementVNode("div",fJ,[gJ,e.createElementVNode("div",DJ,e.toDisplayString((D=o.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",xJ,[bJ,e.createElementVNode("div",CJ,e.toDisplayString((p=(S=o.report)==null?void 0:S.vessel)==null?void 0:p.type),1)]),e.createElementVNode("div",SJ,[kJ,e.createElementVNode("div",AJ,e.toDisplayString((x=(N=o.report)==null?void 0:N.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",BJ,[wJ,e.createElementVNode("div",TJ,[e.createElementVNode("span",OJ,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",uJ,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",FJ,[PJ,e.createElementVNode("div",LJ,[e.createElementVNode("span",WJ,e.toDisplayString((b=(O=o.report)==null?void 0:O.arrival)==null?void 0:b.name),1),e.createElementVNode("span",HJ,e.toDisplayString(a.computeUTCTime(((R=(F=o.report)==null?void 0:F.arrival)==null?void 0:R.ata)||((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.eta))),1)])])]),MJ,e.createElementVNode("div",GJ,[e.createElementVNode("div",IJ,[RJ,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",zJ,[UJ,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",YJ,[ZJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((K=o.report)==null?void 0:K.totalDgoCons)??"—"),5)])]),QJ,e.createElementVNode("div",JJ,[e.createElementVNode("table",null,[KJ,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[qJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((q=o.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((X=o.report)==null?void 0:X.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",XJ,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",jJ,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",$J,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[vJ,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((d=o.report)==null?void 0:d.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",eK,[e.createElementVNode("img",{style:{width:"100%"},src:(ie=o.report)==null?void 0:ie.chartUrl,alt:""},null,8,tK)])])}const Tn=fe(pJ,[["render",oK],["__scopeId","data-v-42f6f59f"]]),lK={install(t){t.component("StoppageReport",Tn)}},Xee="",aK={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAY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BdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ie=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),nK={class:"comparison-report"},sK=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),iK={class:"report-header"},cK={class:"header-title",style:{position:"relative !important"}},dK=["src"],rK={class:"header-title-content"},mK=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),hK={class:"title-date"},pK={class:"report-summary"},EK={class:"summary-item"},yK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),_K={class:"flexL gray"},NK={class:"summary-item"},VK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),fK={class:"flexL gray"},gK={class:"summary-item"},DK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),xK={class:"flexL gray"},bK={class:"summary-item"},CK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),SK={class:"flexL gray"},kK={class:"summary-item"},AK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),BK={class:"flexL gray"},wK={class:"summary-item"},TK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OK={class:"flexL gray",style:{display:"flex"}},uK={class:"flex"},FK={class:"flexM"},PK={class:"summary-item"},LK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),WK={class:"flexL gray",style:{display:"flex"}},HK={class:"flex"},MK={class:"flexM"},GK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),IK={class:"report-summary"},RK={class:"summary-item"},zK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),UK={class:"summary-item"},YK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),ZK={class:"summary-item"},QK=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),JK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KK={class:"report-map"},qK=["src"],XK=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),jK=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),$K={key:0,class:"subtitle"},vK={key:1,class:"report-summary"},eq={class:"summary-item"},tq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),oq={class:"flexL blue center"},lq={class:"summary-item"},aq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),nq={class:"flexL blue center"},sq={class:"summary-item"},iq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),cq={class:"flexL blue center"},dq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),rq={class:"report-summary"},mq=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"},pq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Eq={class:"flex blue-light center"},yq={class:"flex blue-light center"},_q={class:"summary-item"},Nq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Vq={class:"flex blue-light center"},fq={class:"flex blue-light center"},gq={class:"summary-item"},Dq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),xq={class:"flex blue-light center"},bq={class:"flex blue-light center"},Cq={class:"summary-item"},Sq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),kq={class:"flex blue-light center"},Aq={class:"flex blue-light center"},Bq={class:"summary-item"},wq=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"},uq={class:"summary-item"},Fq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Pq={class:"flex blue-light center"},Lq={class:"flex blue-light center"},Wq={class:"summary-item"},Hq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Mq={class:"flex blue-light center italic"},Gq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Iq={class:"report-summary"},Rq=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)),zq={class:"summary-item"},Uq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Yq={class:"flex blue-light center"},Zq={class:"flex blue-light center"},Qq={class:"summary-item"},Jq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Kq={class:"flex blue-light center"},qq={class:"flex blue-light center"},Xq={class:"summary-item"},jq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),$q={class:"flex blue-light center"},vq={class:"flex blue-light center"},eX={class:"summary-item"},tX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),oX={class:"flex blue-light center"},lX={class:"flex blue-light center"},aX={class:"summary-item"},nX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),sX={class:"flex blue-light center italic"},iX={class:"summary-item"},cX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),dX={class:"flex blue-light center italic"},rX=["innerHTML"];function mX(t,n,o,c,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We,we;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",nK,[e.createVNode(E),sK,e.createElementVNode("div",iK,[e.createElementVNode("div",cK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,dK),e.createElementVNode("div",rK,[mK,e.createElementVNode("div",hK,e.toDisplayString(a.computeUTCTime(((_=l.comparisonData)==null?void 0:_.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",pK,[e.createElementVNode("div",EK,[yK,e.createElementVNode("div",_K,e.toDisplayString((S=(D=l.comparisonData)==null?void 0:D.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",NK,[VK,e.createElementVNode("div",fK,e.toDisplayString((p=l.comparisonData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",gK,[DK,e.createElementVNode("div",xK,e.toDisplayString((x=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:x.type),1)]),e.createElementVNode("div",bK,[CK,e.createElementVNode("div",SK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",kK,[AK,e.createElementVNode("div",BK,e.toDisplayString((T=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:T.number),1)]),e.createElementVNode("div",wK,[TK,e.createElementVNode("div",OK,[e.createElementVNode("span",uK,e.toDisplayString((L=(P=l.comparisonData)==null?void 0:P.departure)==null?void 0:L.name),1),e.createElementVNode("span",FK,e.toDisplayString(a.computeUTCTime(((b=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:b.atd)||((R=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",PK,[LK,e.createElementVNode("div",WK,[e.createElementVNode("span",HK,e.toDisplayString((z=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:z.name),1),e.createElementVNode("span",MK,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)])])]),GK,e.createElementVNode("div",IK,[e.createElementVNode("div",RK,[zK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffTime,"time")),3)]),e.createElementVNode("div",UK,[YK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",ZK,[QK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),JK,e.createElementVNode("div",KK,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,qK),XK]),jK,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",$K,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",vK,[e.createElementVNode("div",eq,[tq,e.createElementVNode("div",oq,e.toDisplayString(((d=($=l.comparisonData)==null?void 0:$.cp)==null?void 0:d.speed)??"—"),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString(((oe=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",sq,[iq,e.createElementVNode("div",cq,e.toDisplayString(((se=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:se.dgo)??"—"),1)])])),dq,e.createElementVNode("div",rq,[mq,e.createElementVNode("div",hq,[pq,e.createElementVNode("div",Eq,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",yq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",_q,[Nq,e.createElementVNode("div",Vq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",fq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdTime)??"—"),1)]),e.createElementVNode("div",gq,[Dq,e.createElementVNode("div",xq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualAvgSpd)??"—"),1),e.createElementVNode("div",bq,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Cq,[Sq,e.createElementVNode("div",kq,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualAvgCF)??"—"),1),e.createElementVNode("div",Aq,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Bq,[wq,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",uq,[Fq,e.createElementVNode("div",Pq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualPfmSpd)??"—"),1),e.createElementVNode("div",Lq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Wq,[Hq,e.createElementVNode("div",Mq,e.toDisplayString(a.compareTime((ke=l.comparisonData)==null?void 0:ke.actualTime,(Ae=l.comparisonData)==null?void 0:Ae.recmdTime)),1)])]),Gq,e.createElementVNode("div",Iq,[Rq,e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",Yq,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Zq,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",Kq,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",qq,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Xq,[jq,e.createElementVNode("div",$q,e.toDisplayString(((u=l.comparisonData)==null?void 0:u.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",vq,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",eX,[tX,e.createElementVNode("div",oX,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",lX,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",iX,[cX,e.createElementVNode("div",dX,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":n[0]||(n[0]=He=>l.advisory=He),height:"320px",onBlur:n[1]||(n[1]=He=>a.handleCommit("comments",He))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[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,rX))],2)])}const On=fe(aK,[["render",mX],["__scopeId","data-v-c8bf8198"]]),jee="",hX={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+1pznZWxzM3v593JSKJguN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JS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?te.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),pX={class:"comparison-report"},EX=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),yX={class:"report-header"},_X={class:"header-title",style:{position:"relative !important"}},NX={class:"header-title-content"},VX=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),fX={class:"title-date"},gX={class:"report-summary"},DX={class:"summary-item"},xX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bX={class:"flexL gray"},CX={class:"summary-item"},SX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),kX={class:"flexL gray"},AX={class:"summary-item"},BX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),wX={class:"flexL gray"},TX={class:"summary-item"},OX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),uX={class:"flexL gray"},FX={class:"summary-item"},PX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),LX={class:"flexL gray"},WX={class:"summary-item"},HX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MX={class:"flexL gray",style:{display:"flex"}},GX={class:"flex"},IX={class:"flexM"},RX={class:"summary-item"},zX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UX={class:"flexL gray",style:{display:"flex"}},YX={class:"flex"},ZX={class:"flexM"},QX=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),JX={class:"report-summary"},KX={class:"summary-item"},qX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),XX={class:"summary-item"},jX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),$X={class:"summary-item"},vX=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),ej=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),tj={class:"report-map"},oj=["src"],lj=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),aj=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),nj={key:0,class:"subtitle"},sj={key:1,class:"report-summary"},ij={class:"summary-item"},cj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),dj={class:"flexL blue center"},rj={class:"summary-item"},mj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),hj={class:"flexL blue center"},pj={class:"summary-item"},Ej=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),yj={class:"flexL blue center"},_j=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),Nj={class:"report-summary"},Vj=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)),fj={class:"summary-item"},gj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Dj={class:"flex blue-light center"},xj={class:"flex blue-light center"},bj={class:"summary-item"},Cj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Aj={class:"summary-item"},Bj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),wj={class:"flex blue-light center"},Tj={class:"flex blue-light center"},Oj={class:"summary-item"},uj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Fj={class:"flex blue-light center"},Pj={class:"flex blue-light center"},Lj={class:"summary-item"},Wj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Hj={class:"flex blue-light center"},Mj={class:"flex blue-light center"},Gj={class:"summary-item"},Ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Rj={class:"flex blue-light center"},zj={class:"flex blue-light center"},Uj={class:"summary-item"},Yj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Zj={class:"flex blue-light center italic"},Qj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Jj={class:"report-summary"},Kj=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)),qj={class:"summary-item"},Xj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),jj={class:"flex blue-light center"},$j={class:"flex blue-light center"},vj={class:"summary-item"},e$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),t$={class:"flex blue-light center"},o$={class:"flex blue-light center"},l$={class:"summary-item"},a$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),n$={class:"flex blue-light center"},s$={class:"flex blue-light center"},i$={class:"summary-item"},c$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),d$={class:"flex blue-light center"},r$={class:"flex blue-light center"},m$={class:"summary-item"},h$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),p$={class:"flex blue-light center italic"},E$={class:"summary-item"},y$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),_$={class:"flex blue-light center italic"},N$=["innerHTML"];function V$(t,n,o,c,l,a){var i,_,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W,f,Y,I,H,K,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be,ue,Fe,Ne,u,Ee,Pe,Le,We;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pX,[EX,e.createElementVNode("div",yX,[e.createElementVNode("div",_X,[e.createElementVNode("div",NX,[VX,e.createElementVNode("div",fX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",gX,[e.createElementVNode("div",DX,[xX,e.createElementVNode("div",bX,e.toDisplayString((D=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",CX,[SX,e.createElementVNode("div",kX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",AX,[BX,e.createElementVNode("div",wX,e.toDisplayString((N=(p=l.comparisonData)==null?void 0:p.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",TX,[OX,e.createElementVNode("div",uX,e.toDisplayString((r=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",FX,[PX,e.createElementVNode("div",LX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,[e.createElementVNode("span",GX,e.toDisplayString((P=(T=l.comparisonData)==null?void 0:T.departure)==null?void 0:P.name),1),e.createElementVNode("span",IX,e.toDisplayString(a.computeUTCTime(((O=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:O.atd)||((F=(b=l.comparisonData)==null?void 0:b.departure)==null?void 0:F.etd))),1)])]),e.createElementVNode("div",RX,[zX,e.createElementVNode("div",UX,[e.createElementVNode("span",YX,e.toDisplayString((Z=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",ZX,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)])])]),QX,e.createElementVNode("div",JX,[e.createElementVNode("div",KX,[qX,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",XX,[jX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffFoCons,"oil")),3)]),e.createElementVNode("div",$X,[vX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffDgoCons,"oil")),3)])]),ej,e.createElementVNode("div",tj,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,oj),lj]),aj,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nj,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sj,[e.createElementVNode("div",ij,[cj,e.createElementVNode("div",dj,e.toDisplayString((($=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:$.speed)??"—"),1)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",hj,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",pj,[Ej,e.createElementVNode("div",yj,e.toDisplayString(((ee=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ee.dgo)??"—"),1)])])),_j,e.createElementVNode("div",Nj,[Vj,e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",xj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",bj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",kj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Aj,[Bj,e.createElementVNode("div",wj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgSpd)??"—"),1),e.createElementVNode("div",Tj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Oj,[uj,e.createElementVNode("div",Fj,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.actualAvgCF)??"—"),1),e.createElementVNode("div",Pj,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Lj,[Wj,e.createElementVNode("div",Hj,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualAvgWF)??"—"),1),e.createElementVNode("div",Mj,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",zj,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Uj,[Yj,e.createElementVNode("div",Zj,e.toDisplayString(a.compareTime((Se=l.comparisonData)==null?void 0:Se.actualTime,(ke=l.comparisonData)==null?void 0:ke.recmdTime)),1)])]),Qj,e.createElementVNode("div",Jj,[Kj,e.createElementVNode("div",qj,[Xj,e.createElementVNode("div",jj,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",vj,[e$,e.createElementVNode("div",t$,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualFoCons)??"-"),1),e.createElementVNode("div",o$,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",l$,[a$,e.createElementVNode("div",n$,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",s$,e.toDisplayString(((u=l.comparisonData)==null?void 0:u.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",i$,[c$,e.createElementVNode("div",d$,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualDgoCons)??"-"),1),e.createElementVNode("div",r$,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",m$,[h$,e.createElementVNode("div",p$,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",E$,[y$,e.createElementVNode("div",_$,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(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=we=>l.advisory=we),height:"320px",onBlur:n[1]||(n[1]=we=>a.handleCommit("comments",we))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...we)=>a.decideDisable&&a.decideDisable(...we)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,N$))],2)])}const un=fe(hX,[["render",V$],["__scopeId","data-v-b2f57055"]]),f$={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",un)}},g$={install(t){t.component("IdmBrand",Uo),t.component("IdmThird",ja)}},$ee="",D$={name:"QuotaReport",components:{Brand:Uo},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(){en.accessToken=this.mapboxToken,this.map=new en.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}})}}},Fn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),x$={class:"quota-report"},b$=Fn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),C$={class:"section quota-section"},S$=Fn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),k$={class:"label"},A$={class:"label"},B$=["innerHTML"],w$=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 T$(t,n,o,c,l,a){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",x$,[e.createVNode(E,{name:"Quotation Sheet"}),b$,e.createElementVNode("div",C$,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[S$,(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",k$,e.toDisplayString(i.rank),1),e.createElementVNode("td",A$,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,B$))),128))]))),128))])]),w$])])}const Pn=fe(D$,[["render",T$],["__scopeId","data-v-f3647134"]]),O$={install(t){t.component("OrmQuoteReport",Pn)}},vee="",u$={name:"PrecipitationReport",components:{IdmBrand:Uo,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,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(n=this.report)==null?void 0:n.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return te.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return te.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return te.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,E,i,_,D,S;const n=te.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let p=0;p<((l=t==null?void 0:t.extend)==null?void 0:l.length);p++){const N=t==null?void 0:t.extend[p];if(p===0)N.precip.pacc=0;else{const x=w(N.utc).utcOffset(n),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 p of Object.keys(o))c+=(E=o[p])==null?void 0:E.colspan,o[p].level=((i=o[p])==null?void 0:i.pacc)<10?"Light":((_=o[p])==null?void 0:_.pacc)<24.9?"Moderate":((D=o[p])==null?void 0:D.pacc)<49.9?"Heavy":((S=o[p])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var D,S,p,N,x,r,C,k,T,P,L,O,b,F;const _=w(i.utc).utcOffset((D=this.form)==null?void 0:D.localTZ).format("MMM-DD/HHmm[LT]");o.push(_),a=((p=(S=i.wave)==null?void 0:S.sig)==null?void 0:p.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,(F=i.precip)==null?void 0:F.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const E={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(E)}},async initMap(){this.version==="Pretty"&&!this.map&&(en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Lt=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),F$={class:"precipitation-report"},P$={class:"section area-section"},L$={class:"area-block"},W$={class:"area-header flex-space"},H$={class:"flex-start"},M$=["onClick"],G$={class:"flex-end"},I$={class:"area-body"},R$=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),z$={class:"flex-evenly"},U$={key:0},Y$=["colspan"],Z$=["colspan"],Q$={style:{"font-size":"10px"}},J$={key:0},K$={key:1},q$={key:2},X$={key:3},j$={key:0},$$={key:1,style:{"font-size":"14px"}},v$=Lt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),ev={class:"section echart-section"},tv={ref:"echart",class:"echart"},ov={class:"section sample-section"},lv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),av=["colspan"],nv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),sv=Lt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),iv=Lt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),cv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),dv=Lt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),rv=Lt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),mv={key:0},hv={key:1},pv=Lt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ev=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),yv=Lt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),_v=Lt(()=>e.createElementVNode("th",null,"BF",-1)),Nv=Lt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Vv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),fv=Lt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),gv=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Dv=Lt(()=>e.createElementVNode("th",null,"Dir",-1)),xv=Lt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),bv=Lt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Cv=Lt(()=>e.createElementVNode("th",null,"°C",-1)),Sv={width:"120px"},kv={key:0},Av={key:1},Bv={key:0,class:"degree-box"},wv={key:1},Tv={key:0,class:"degree-box"},Ov={key:1},uv={key:0,class:"degree-box"},Fv={key:1},Pv={class:"section area-section"},Lv={class:"area-block"},Wv={class:"area-header flex-end"},Hv={class:"flex-end"},Mv={class:"area-body"},Gv=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),Iv=["colspan"],Rv=["colspan"],zv={style:{"font-size":"10px"}},Uv={key:0},Yv={key:1},Zv={key:2},Qv={key:3},Jv={key:1,style:{"font-size":"14px"}},Kv={key:0};function qv(t,n,o,c,l,a){var _,D,S,p,N,x,r,C,k,T,P,L,O,b,F,R,Z,z,W;const E=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",F$,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=f=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",P$,[e.createElementVNode("div",L$,[e.createElementVNode("div",W$,[e.createElementVNode("div",H$,[(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,M$))),128))]),e.createElementVNode("div",G$,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",I$,[R$,e.createElementVNode("div",z$,[l.form?(e.openBlock(),e.createElementBlock("table",U$,[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((p=l.form)==null?void 0:p.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,Y$)]),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,Z$)}),128))]),e.createElementVNode("tr",Q$,[(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,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[H==="0"?(e.openBlock(),e.createElementBlock("th",J$,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",K$,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",q$,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",X$,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(R=Object.keys((F=l.form)==null?void 0:F.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,K)=>{var q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",j$,e.toDisplayString(a.roundPrecision((q=l.form)==null?void 0:q.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",$$,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),v$,e.createElementVNode("div",ev,[e.createElementVNode("div",tv,null,512)]),e.createElementVNode("div",ov,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lv,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,av),nv,sv,iv,cv,dv,rv]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",mv,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",hv,"Acc (mm)")):e.createCommentVNode("",!0),pv,Ev,yv,_v,Nv,Vv,fv,gv,Dv,xv,bv,Cv])]),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,q,j,X,V,M,J,s,$,d,v,oe,ee,se,ie,de,re,he,ce,pe,ge,De,xe,be,Ce,Se,ke,Ae,Be;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",Sv,e.toDisplayString(a.computeLTime(f.utc,(I=l.form)==null?void 0:I.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",kv,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Av,e.toDisplayString((K=f.precip)==null?void 0:K.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(q=f.wind)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",Bv,[e.createTextVNode(e.toDisplayString((j=f.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=f.wind)==null?void 0:X.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wv,"-"))]),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(($=(s=f.wave)==null?void 0:s.wd)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,[(v=(d=f.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Tv,[e.createTextVNode(e.toDisplayString((ee=(oe=f.wave)==null?void 0:oe.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",Ov,"-"))]),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=(he=f.wave)==null?void 0:he.swell)==null?void 0:ce.period,1)),1),e.createElementVNode("td",null,[(ge=(pe=f.wave)==null?void 0:pe.sig)!=null&&ge.height?(e.openBlock(),e.createElementBlock("span",uv,[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",Fv,"-"))]),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",Pv,[e.createElementVNode("div",Lv,[e.createElementVNode("div",Wv,[e.createElementVNode("div",Hv,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Mv,[Gv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var I,H,K;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,Iv)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>{var X;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:f.paccInDays[q].colspan,class:e.normalizeClass((X=f.paccInDays[q])==null?void 0:X.level)},e.toDisplayString(q)+" ("+e.toDisplayString(f.paccInDays[q].pacc)+") ",11,Rv)}),128))]),e.createElementVNode("tr",zv,[(K=Object.keys(f==null?void 0:f.paccInDays))!=null&&K.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[X==="0"?(e.openBlock(),e.createElementBlock("th",Uv,"00-06")):e.createCommentVNode("",!0),X==="1"?(e.openBlock(),e.createElementBlock("th",Yv,"06-12")):e.createCommentVNode("",!0),X==="2"?(e.openBlock(),e.createElementBlock("th",Zv,"12-18")):e.createCommentVNode("",!0),X==="3"?(e.openBlock(),e.createElementBlock("th",Qv,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Jv,"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),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(X)?(e.openBlock(),e.createElementBlock("td",Kv,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[q][X],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Ln=fe(u$,[["render",qv],["__scopeId","data-v-93671675"]]),Xv={install(t){t.component("PrecipitationReport",Ln)}},jv={install(t){t.component("IdmLoading",on)}};le.BrandPlugin=g$,le.ComparisonPlugin=f$,le.DeviationPlugin=hJ,le.DeviationReport=Bn,le.FliComparisonReport=un,le.FliDeviationReport=wn,le.FliPlanReport=Nn,le.FliVoyageReport=Dn,le.HurricanePlugin=qF,le.HurricaneReport=Cn,le.IdmBrand=Uo,le.IdmEditor=Ro,le.IdmEditorPlugin=CE,le.IdmLat=va,le.IdmLatPlugin=SE,le.IdmLng=$a,le.IdmLngPlugin=kE,le.IdmLoading=on,le.IdmThird=ja,le.InvoicePlugin=ML,le.InvoiceReport=Sn,le.LoadingPlugin=jv,le.ORMPointReport=pn,le.OpiComparisonReport=On,le.OpiPlanReport=cn,le.OpiVoyageReport=gn,le.OrmInvoiceReport=kn,le.OrmPlanReport=Vn,le.OrmQuoteReport=Pn,le.OrmVoyageReport=xn,le.PiLogo=fn,le.PiLogoPlugin=FE,le.PointReport=En,le.PointReportPlugin=_d,le.PrecipitationReport=Ln,le.PrecipitationReportPlugin=Xv,le.QuoteReportPlugin=O$,le.RouteReport=cn,le.RouteReportPlugin=bE,le.StoppageReport=Tn,le.StoppageReportPlugin=lK,le.VoyageReportPlugin=TF,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});