@idmwx/idmui-report 3.3.5 → 3.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Deviation/src/fli.vue.d.ts +0 -1
- package/dist/Invoice/index.d.ts +1 -2
- package/dist/Point/index.d.ts +1 -2
- package/dist/Route/index.d.ts +2 -3
- package/dist/Voyage/index.d.ts +1 -2
- package/dist/Voyage/src/fli/summary.vue.d.ts +1 -1
- package/dist/index.js +5644 -9357
- package/dist/index.umd.cjs +6 -7
- package/dist/style.css +1 -1
- package/package.json +2 -3
- package/dist/Image/brab.vue.d.ts +0 -11
- package/dist/Image/route1.vue.d.ts +0 -11
- package/dist/Image/route2.vue.d.ts +0 -11
- package/dist/Image/route3.vue.d.ts +0 -11
- package/dist/Invoice/src/opi/index.vue.d.ts +0 -53
- package/dist/Point/src/opi.vue.d.ts +0 -33
- package/dist/Route/src/opi.vue.d.ts +0 -54
- package/dist/Voyage/src/opi/firstPart.vue.d.ts +0 -63
- package/dist/Voyage/src/opi/index.vue.d.ts +0 -36
- package/dist/Voyage/src/opi/scCharts.vue.d.ts +0 -45
- package/dist/Voyage/src/opi/secondPart.vue.d.ts +0 -45
- package/dist/Voyage/src/opi/thirdPart.vue.d.ts +0 -87
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ee,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("axios"),require("@element-plus/icons-vue"),require("element-plus"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","axios","@element-plus/icons-vue","element-plus","mapbox-gl"],ie):(ee=typeof globalThis<"u"?globalThis:ee||self,ie(ee["idmui-report"]={},ee["@idmwx/idmwx-base"],ee.moment,ee.Vue,ee.echarts,ee["@wangeditor/editor-for-vue"],ee["@idmui/tropical"],ee.axios,ee["@element-plus/icons-vue"],ee["element-plus"],ee["mapbox-gl"]))})(this,function(ee,ie,G,e,Ji,rn,qi,ja,en,mn,gl){"use strict";function Ki(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(s,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const Nl=Ki(Ji),_oe="",ke=(t,s)=>{const o=t.__vccOpts||t;for(const[c,l]of s)o[c]=l;return o},ji={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?G(t):G()).utc().format(s)}`}}}},pn=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Xi={class:"section brand-section flex-space"},vi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),ec={class:"report-box flex-space"},tc={class:"name flex-start"},oc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},lc={class:"flex-start",style:{width:"100%"}},ac={class:"label-block flex-evenly",style:{flex:"1"}},nc=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),sc={class:"flex-end",style:{flex:"2"}},ic=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function cc(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Xi,[vi,e.createElementVNode("div",ec,[e.createElementVNode("div",tc,e.toDisplayString(o.name),1),e.createElementVNode("div",oc,[e.createElementVNode("div",lc,[e.createElementVNode("div",ac,[nc,e.createElementVNode("span",sc,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),ic])])])}const _o=ke(ji,[["render",cc],["__scopeId","data-v-609af107"]]),dc={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}}},rc={key:0,class:"loading"},mc=e.createElementVNode("i",{class:"iconfont"},"",-1);function pc(t,s,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",rc,[mc,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const tn=ke(dc,[["render",pc]]),Eoe="",hc={name:"ORMPointReport",components:{IdmLoading:tn,IdmBrand:_o},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,o,c;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,_,i,E,b,x,y,g;const s={};for(let B=0;B<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);B++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[B];if(B===0)r.precip.pacc=0;else{const S=(_=t==null?void 0:t.extend)==null?void 0:_.data[B-1],C=G(r.utc).utcOffset(this.localTZ),O=G(S.utc).utcOffset(this.localTZ),L=(i=S==null?void 0:S.precip)==null?void 0:i.prate,w=C.diff(O,"h"),T=this.roundPrecision(L*w,1);if(r.precip.pacc=T,T>0){const D=s[C.format("MMM-DD")],W=Math.floor(C.get("hour")/6);D?(D.pacc=this.roundPrecision(D.pacc+T,1),D[`${W}`]?D[`${W}`]+=T:(D[`${W}`]=T,D.colspan+=1)):(s[C.format("MMM-DD")]={pacc:T,colspan:1},s[C.format("MMM-DD")][`${W}`]=T)}}}t.paccInDays=s;let o=0;for(const B of Object.keys(s))o+=(E=s[B])==null?void 0:E.colspan,s[B].level=((b=s[B])==null?void 0:b.pacc)<10?"Light":((x=s[B])==null?void 0:x.pacc)<24.9?"Moderate":((y=s[B])==null?void 0:y.pacc)<49.9?"Heavy":((g=s[B])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,_,i;this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const t=[],s=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(_=(a=this.report)==null?void 0:a.extend)==null?void 0:_.data)==null||i.forEach(E=>{var x,y,g,B,r,S,C,O,L,w,T,D,W;const b=G(E.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),c=((y=(x=E.wave)==null?void 0:x.sig)==null?void 0:y.height)>c?(B=(g=E.wave)==null?void 0:g.sig)==null?void 0:B.height:c,s.push([b,(r=E.wind)==null?void 0:r.kts,(S=E.gusts)==null?void 0:S.kts,(O=(C=E.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=E.wind)==null?void 0:L.direction,(w=E.wind)==null?void 0:w.degree,(T=E.wind)==null?void 0:T.scale,(D=E.current)==null?void 0:D.kts,(W=E.precip)==null?void 0:W.acc,this.roundPrecision(E.visibility/1852,0),E.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-b77c7ac1"),t=t(),e.popScopeId(),t),_c={class:"point-report"},Ec={class:"section info-section"},yc={class:"flex-evenly"},Nc={class:"flex-space label-block",style:{width:"100%"}},Vc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),fc={class:"flex-space label-block",style:{width:"100%"}},gc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Dc={class:"flex-evenly"},bc={class:"flex-space label-block",style:{width:"100%"}},xc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Cc={class:"flex-space label-block",style:{width:"100%"}},Sc={class:"flex-end",style:{width:"180px"}},kc={class:"section echart-section"},Bc={ref:"echart",class:"echart"},Ac={class:"section sample-section"},wc=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Tc=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Oc=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Fc=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Pc=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Wc=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Lc=["colspan"],uc=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Hc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Mc=st(()=>e.createElementVNode("th",null,"Dir",-1)),Gc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ic=st(()=>e.createElementVNode("th",null,"BF",-1)),$c=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Rc=st(()=>e.createElementVNode("th",null,"Dir",-1)),zc=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Uc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Yc=st(()=>e.createElementVNode("th",null,"Dir",-1)),Zc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Qc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jc=st(()=>e.createElementVNode("th",null,"Dir",-1)),qc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Kc={key:0},jc={key:1},Xc=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),vc=st(()=>e.createElementVNode("th",null,"°C",-1)),ed={width:"120px"},td={key:0,class:"degree-box"},od={key:1},ld={key:0,class:"degree-box"},ad={key:1},nd={key:0,class:"degree-box"},sd={key:1},id={key:0,class:"degree-box"},cd={key:1},dd={key:0},rd={key:1};function md(t,s,o,c,l,a){var E,b,x,y;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",_c,[e.createVNode(_,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ec,[e.createElementVNode("div",yc,[e.createElementVNode("div",Nc,[Vc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((E=o.report)==null?void 0:E.lat).pretty)+" / "+e.toDisplayString(a.computeLng((b=o.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",fc,[gc,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Dc,[e.createElementVNode("div",bc,[xc,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Cc,[e.createElementVNode("label",Sc,"("+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",kc,[e.createElementVNode("div",Bc,null,512)]),e.createElementVNode("div",Ac,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[wc,Tc,Oc,Fc,Pc,Wc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Lc),uc,Hc]),e.createElementVNode("tr",null,[Mc,Gc,Ic,$c,Rc,zc,Uc,Yc,Zc,Qc,Jc,qc,o.showPrate?(e.openBlock(),e.createElementBlock("th",Kc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",jc,"Acc (mm)")):e.createCommentVNode("",!0),Xc,vc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=(x=o.report)==null?void 0:x.extend)==null?void 0:y.data,(g,B)=>{var r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:B},[e.createElementVNode("td",ed,e.toDisplayString(a.computeLTime(g.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=g.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",td,[e.createTextVNode(e.toDisplayString((S=g.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((C=g.wind)==null?void 0:C.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",od,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((O=g.wind)==null?void 0:O.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((L=g.wind)==null?void 0:L.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((w=g.gusts)==null?void 0:w.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((D=(T=g.wave)==null?void 0:T.wd)==null?void 0:D.height,1)),1),e.createElementVNode("td",null,[(Y=(W=g.wave)==null?void 0:W.swell)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",ld,[e.createTextVNode(e.toDisplayString(($=(Z=g.wave)==null?void 0:Z.swell)==null?void 0:$.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((V=(P=g.wave)==null?void 0:P.swell)==null?void 0:V.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(I=g.wave)==null?void 0:I.swell)==null?void 0:M.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((H=(u=g.wave)==null?void 0:u.swell)==null?void 0:H.period,1)),1),e.createElementVNode("td",null,[(j=(Q=g.wave)==null?void 0:Q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",nd,[e.createTextVNode(e.toDisplayString((N=(K=g.wave)==null?void 0:K.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=(R=g.wave)==null?void 0:R.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=g.wave)==null?void 0:n.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=g.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(te=g.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",id,[e.createTextVNode(e.toDisplayString((oe=g.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=g.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=g.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",dd,e.toDisplayString(a.roundPrecision((de=g.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",rd,e.toDisplayString(a.roundPrecision((re=g.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.temp,1)),1)])}),128))])])])])}const hn=ke(hc,[["render",md],["__scopeId","data-v-b77c7ac1"]]),yoe="",pd={props:{name:{type:String,default:""}}},hd={class:"section brand-section flex-space"},_d=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),Ed={class:"report-box flex-space"},yd={class:"name flex-start"},Nd=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 & Consulting Center</div></div></div>',1);function Vd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",hd,[_d,e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,e.toDisplayString(o.name),1),Nd])])}const on=ke(pd,[["render",Vd],["__scopeId","data-v-602c94e3"]]),Noe="",fd={name:"PointReport",components:{IdmBrand:on},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return`${G(t).utc().format(s)}Z`}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),gd={class:"point-report"},Dd=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"},xd={class:"info-box"},Cd=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Sd={class:"info"},kd=et(()=>e.createElementVNode("label",null,"Position",-1)),Bd={class:"info"},Ad=et(()=>e.createElementVNode("label",null,"Issued",-1)),wd=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Td={class:"report-body"},Od={class:"weather-sample"},Fd=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Pd=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Wd=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Ld=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ud=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Hd=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Md=["colspan"],Gd=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Id=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),$d=et(()=>e.createElementVNode("th",null,"Dir",-1)),Rd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),zd=et(()=>e.createElementVNode("th",null,"BF",-1)),Ud=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Yd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Zd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Qd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jd=et(()=>e.createElementVNode("th",null,"Dir",-1)),qd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Kd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),jd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),vd={key:0},er={key:1},tr=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),or=et(()=>e.createElementVNode("th",null,"°C",-1)),lr={width:"120px"},ar={key:0,class:"degree-box"},nr={key:1},sr={key:0,class:"degree-box"},ir={key:1},cr={key:0,class:"degree-box"},dr={key:1},rr={key:0,class:"degree-box"},mr={key:1},pr={key:0},hr={key:1};function _r(t,s,o,c,l,a){const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",gd,[e.createVNode(_),Dd,e.createElementVNode("div",bd,[e.createElementVNode("div",xd,[Cd,e.createElementVNode("div",Sd,[kd,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,[Ad,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),wd]),e.createElementVNode("div",Td,[e.createElementVNode("div",Od,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Fd,Pd,Wd,Ld,ud,Hd,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Md),Gd,Id]),e.createElementVNode("tr",null,[$d,Rd,zd,Ud,Yd,Zd,Qd,Jd,qd,Kd,jd,Xd,o.showPrate?(e.openBlock(),e.createElementBlock("th",vd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",er,"Acc (mm)")):e.createCommentVNode("",!0),tr,or])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",lr,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(b=i.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",ar,[e.createTextVNode(e.toDisplayString((x=i.wind)==null?void 0:x.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((y=i.wind)==null?void 0:y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",nr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((g=i.wind)==null?void 0:g.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((B=i.wind)==null?void 0:B.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((C=(S=i.wave)==null?void 0:S.wd)==null?void 0:C.height,1)),1),e.createElementVNode("td",null,[(L=(O=i.wave)==null?void 0:O.swell)!=null&&L.height?(e.openBlock(),e.createElementBlock("span",sr,[e.createTextVNode(e.toDisplayString((T=(w=i.wave)==null?void 0:w.swell)==null?void 0:T.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((W=(D=i.wave)==null?void 0:D.swell)==null?void 0:W.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ir,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(Y=i.wave)==null?void 0:Y.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((P=($=i.wave)==null?void 0:$.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(I=(V=i.wave)==null?void 0:V.sig)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",cr,[e.createTextVNode(e.toDisplayString((u=(M=i.wave)==null?void 0:M.sig)==null?void 0:u.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Q=(H=i.wave)==null?void 0:H.sig)==null?void 0:Q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",dr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(j=i.wave)==null?void 0:j.sig)==null?void 0:K.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((R=(N=i.wave)==null?void 0:N.sig)==null?void 0:R.period,1)),1),e.createElementVNode("td",null,[(q=i.current)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",rr,[e.createTextVNode(e.toDisplayString((n=i.current)==null?void 0:n.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=i.current)==null?void 0:X.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",mr,"-"))]),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",pr,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",hr,e.toDisplayString(a.roundPrecision((te=i.precip)==null?void 0:te.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 _n=ke(fd,[["render",_r],["__scopeId","data-v-2fead0ca"]]),Er={install(t){t.component("ORMPointReport",hn),t.component("PointReport",_n)}},yr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Nr={class:"logo"},Vr=[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 fr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Nr,Vr)}const gr=ke(yr,[["render",fr]]),Dr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},br={class:"logo"},xr=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Cr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",br,xr)}const Sr=ke(Dr,[["render",Cr]]),kr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Br={class:"logo"},Ar=[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 wr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Br,Ar)}const Tr=ke(kr,[["render",wr]]),Doe="",Or={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=ie.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Fr={class:"lng-box"},Pr={key:0},Wr=En(()=>e.createElementVNode("span",null,"°",-1)),Lr=En(()=>e.createElementVNode("span",null,"'",-1));function ur(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Fr,[o.label?(e.openBlock(),e.createElementBlock("span",Pr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Wr,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Lr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const Xa=ke(Or,[["render",ur],["__scopeId","data-v-533ec662"]]),boe="",Hr={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}}},yn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),Mr={class:"lat-box"},Gr={key:0},Ir=yn(()=>e.createElementVNode("span",null,"°",-1)),$r=yn(()=>e.createElementVNode("span",null,"'",-1));function Rr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Mr,[o.label?(e.openBlock(),e.createElementBlock("span",Gr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Ir,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),$r,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=ke(Hr,[["render",Rr],["__scopeId","data-v-d3432239"]]),xoe="",zr={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,o;t?(s=this.editor)==null||s.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Ur={class:"editor-box"};function Yr(t,s,o,c,l,a){const _=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ur,[e.withDirectives(e.createVNode(_,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=E=>l.valueHtml=E),"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 Zo=ke(zr,[["render",Yr],["__scopeId","data-v-0d3b5c3c"]]),Zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIz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2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Coe="",Soe="",Qr={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Route1:gr,Route2:Sr,Route3:Tr,IdmBrand:on},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`${G(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=G((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],c=s[s.length-1];return G(c.eta).diff(G(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,s,o,c,l,a,_,i,E,b;if(this.sogChart||(this.sogChart=e.markRaw(Nl.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Nl.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Nl.init(this.$refs.waveChart))),(s=(t=this.plan)==null?void 0:t.speeds)!=null&&s.length){const x=[],y={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:x}],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:[]},g={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],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:[]},B={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],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,S;for(let C=0;C<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);C++){const O=(l=this.plan)==null?void 0:l.speeds[C].speed,L=[],w=[],T=[],D=[];for(let $=0;$<O.sample.hours.length;$++){const P=O.sample.hours[$];if(C===0){r||(r=G(P.eta).utc(),S=r.clone().add(this.computeDay(this.plan),"day"));const H=G(P.eta).utc();if(H.isAfter(S))break;x.push(`${H.format("MMM-DD/HHmm")}Z`)}const V=this.roundPrecision(P.speed||10,1),I=this.roundPrecision(P.cFactor||0,1),M=this.roundPrecision((_=(a=P.meteo)==null?void 0:a.wind)==null?void 0:_.kts,1),u=this.roundPrecision((b=(E=(i=P.meteo)==null?void 0:i.wave)==null?void 0:E.sig)==null?void 0:b.height,1);L.push(V),T.push(M),D.push(u),w.push(I)}const W={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:L},Y={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:T},Z={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:D};y.series.push(W),g.series.push(Y),B.series.push(Z)}this.sogChart.setOption(y),this.windChart.setOption(g),this.waveChart.setOption(B)}},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),Jr={class:"route-report"},qr={class:"report-header flex-space"},Kr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Zr,alt:""},null,-1)),jr=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)),Xr={class:"issued flex-end"},vr=it(()=>e.createElementVNode("label",null,"Issued",-1)),em={class:"report-body"},tm={class:"voyage-summary flex-space"},om={class:"title"},lm={key:0},am={key:1},nm={key:0,class:"initial"},sm={key:1,class:"warning"},im={class:"summary flex-start"},cm={class:"summary-item"},dm=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),rm={class:"summary-item"},mm=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pm={key:0},hm={key:1,class:"flex-start"},_m=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Em={class:"summary-item"},ym=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Nm={key:0},Vm={key:1,class:"flex-start"},fm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),gm={class:"route-advisory"},Dm={class:"charts"},bm={key:0},xm=["src"],Cm={class:"legend-box"},Sm=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),km={key:0,class:"legend-item"},Bm=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Am={key:1,class:"legend-item"},wm=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Tm={key:1,class:"empty"},Om={class:"route-comparison"},Fm=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)),Pm={class:"container"},Wm={key:0},Lm=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)),um=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Hm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Mm=it(()=>e.createElementVNode("th",null,"*FO",-1)),Gm=it(()=>e.createElementVNode("th",null,"*DO",-1)),Im={colspan:"3"},$m={rowspan:"2"},Rm={rowspan:"2"},zm={rowspan:"2"},Um={rowspan:"2"},Ym={rowspan:"2"},Zm={rowspan:"2"},Qm={rowspan:"2"},Jm={rowspan:"2"},qm={rowspan:"2"},Km={class:"route-advisory",style:{"page-break-after":"always"}},jm={class:"advisory"},Xm={class:"reason"},vm={class:"secondary-title flex-space"},ep=it(()=>e.createElementVNode("div",null,"Note",-1)),tp=["innerHTML"],op={class:"major-waypoints"},lp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),ap={class:"container"},np=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),sp={class:"body"},ip={class:"cell-item",style:{width:"180px"}},cp={key:0,class:"flex-center"},dp={key:1,class:"flex-center"},rp=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),mp={key:0},pp={class:"cell-item",style:{width:"100px"}},hp={key:0,class:"cell-item offset",style:{width:"35px"}},_p={key:1,class:"cell-item offset",style:{width:"55px"}},Ep={key:2,class:"cell-item offset",style:{width:"40px"}},yp={key:3,class:"cell-item offset",style:{width:"125px"}},Np={class:"weather-eChart"},Vp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),fp={ref:"sogChart",class:"eChart"},gp={ref:"windChart",class:"eChart wind"},Dp={ref:"waveChart",class:"eChart"},bp={class:"weather-sample"},xp={class:"secondary-title"},Cp=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)),Sp={class:"flex-center"},kp=it(()=>e.createElementVNode("span",null,"/",-1)),Bp={key:0,class:"degree-box"},Ap={key:1},wp={key:0,class:"degree-box"},Tp={key:1},Op={key:0,class:"degree-box"},Fp={key:1},Pp={key:0,class:"degree-box"},Wp={key:1};function Lp(t,s,o,c,l,a){var x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),E=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Jr,[e.createVNode(_,{name:"Voyage Planning"}),e.createElementVNode("div",qr,[Kr,jr,e.createElementVNode("div",Xr,[vr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((x=o.plan)==null?void 0:x.updatedAt)),1)])]),e.createElementVNode("div",em,[e.createElementVNode("div",tm,[e.createElementVNode("div",om,[((y=o.plan)==null?void 0:y.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",lm,"Recommended Route Report for "+e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",am,"Route Report for "+e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name),1)),e.createElementVNode("div",null,[((L=o.plan)==null?void 0:L.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",nm,"Initial Route Report")):e.createCommentVNode("",!0),((w=o.plan)==null?void 0:w.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",sm,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",im,[e.createElementVNode("div",cm,[dm,e.createElementVNode("span",null,e.toDisplayString((D=(T=o.plan)==null?void 0:T.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",rm,[mm,(Z=(Y=(W=o.plan)==null?void 0:W.leg)==null?void 0:Y.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pm,e.toDisplayString((P=($=o.plan)==null?void 0:$.leg)==null?void 0:P.departure.name),1)):(e.openBlock(),e.createElementBlock("div",hm,[e.createVNode(i,{lat:(M=(I=(V=o.plan)==null?void 0:V.leg)==null?void 0:I.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),_m,e.createVNode(E,{lng:(Q=(H=(u=o.plan)==null?void 0:u.leg)==null?void 0:H.departure)==null?void 0:Q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Em,[ym,(N=(K=(j=o.plan)==null?void 0:j.leg)==null?void 0:K.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString((R=o.plan)==null?void 0:R.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Vm,[e.createVNode(i,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),fm,e.createVNode(E,{lat:(te=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",gm,[e.createElementVNode("div",Dm,[(oe=o.plan)!=null&&oe.chartUrl?(e.openBlock(),e.createElementBlock("div",bm,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,xm),e.createElementVNode("div",Cm,[Sm,((ce=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",km,Bm)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Am,wm)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Tm,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[0]||(s[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Om,[Fm,e.createElementVNode("div",Pm,[(le=(ye=o.plan)==null?void 0:ye.speeds)!=null&&le.length?(e.openBlock(),e.createElementBlock("table",Wm,[e.createElementVNode("thead",null,[Lm,e.createElementVNode("tr",null,[um,Hm,Mm,Gm,e.createElementVNode("th",Im,"*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((_e=o.plan)==null?void 0:_e.speeds,(F,me)=>{var Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",$m,e.toDisplayString(me+1),1),e.createElementVNode("td",Rm,e.toDisplayString((We=(Pe=F.speed)==null?void 0:Pe.lane)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=F.speed)==null?void 0:Le.label)??"CP"} ${((pe=F.speed)==null?void 0:pe.v0)??((Re=($e=F.speed)==null?void 0:$e.cpCopy)==null?void 0:Re.speed)}`),1),e.createElementVNode("td",zm,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((z=F.speed)==null?void 0:z.eta)),1),e.createElementVNode("td",Um,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",Ym,e.toDisplayString(a.roundPrecision((we=F.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",Zm,e.toDisplayString(a.roundPrecision((He=F.speed)==null?void 0:He.totalDgoCons,3)),1),e.createElementVNode("td",Qm,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",Jm,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",qm,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((J=(h=F.speed)==null?void 0:h.cpCopy)==null?void 0:J.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((ue=F.speed)==null?void 0:ue.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",Xm,[e.createElementVNode("div",vm,[ep,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:s[1]||(s[1]=F=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(b,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":s[2]||(s[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,tp))])]),e.createElementVNode("div",op,[lp,e.createElementVNode("div",ap,[np,e.createElementVNode("div",sp,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((be=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:be.wps),(F,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",ip,[F.isResume?(e.openBlock(),e.createElementBlock("div",cp,"Resume")):(e.openBlock(),e.createElementBlock("div",dp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),rp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",mp," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pp,e.toDisplayString(a.computeUTCTime(F.eta)),1),me?(e.openBlock(),e.createElementBlock("div",hp,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",_p,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Ep,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",yp,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,null,512),e.createElementVNode("div",gp,null,512),e.createElementVNode("div",Dp,null,512)]),e.createElementVNode("div",bp,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",xp,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Cp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ee=(Fe=(Oe=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:Oe.speed)==null?void 0:Fe.sample)==null?void 0:Ee.hours,(F,me)=>{var Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Sp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),kp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(We=(Pe=F.meteo)==null?void 0:Pe.wind)!=null&&We.kts?(e.openBlock(),e.createElementBlock("span",Bp,[e.createTextVNode(e.toDisplayString((pe=(Le=F.meteo)==null?void 0:Le.wind)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Re=($e=F.meteo)==null?void 0:$e.wind)==null?void 0:Re.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ap,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(ze=F.meteo)==null?void 0:ze.wind)==null?void 0:z.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(He=(we=F.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",wp,[e.createTextVNode(e.toDisplayString((J=(h=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:h.swell)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(ue=(Te=F.meteo)==null?void 0:Te.wave)==null?void 0:ue.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Tp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=(Ke=(he=F.meteo)==null?void 0:he.wave)==null?void 0:Ke.swell)==null?void 0:Xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(pt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&pt.height?(e.openBlock(),e.createElementBlock("span",Op,[e.createTextVNode(e.toDisplayString((Et=(_t=(ht=F.meteo)==null?void 0:ht.wave)==null?void 0:_t.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Vt=(Nt=(yt=F.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)==null?void 0:Vt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=F.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=(xt=(bt=F.meteo)==null?void 0:bt.wave)==null?void 0:xt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=F.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",Pp,[e.createTextVNode(e.toDisplayString((At=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Tt=(wt=F.meteo)==null?void 0:wt.current)==null?void 0:Tt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Wp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Ot=F.meteo)==null?void 0:Ot.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=ke(Qr,[["render",Lp],["__scopeId","data-v-ba499fc2"]]),Toe="",up={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=G((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],c=s[s.length-1];return G(c.eta).diff(G(o.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Hp={class:"route-report"},Mp=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Gp={class:"section"},Ip=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),$p={class:"section-body basics"},Rp={class:"flex-space section-row"},zp={class:"flex-start"},Up=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Yp={class:"flex-start"},Zp={class:"flex-start"},Qp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Jp={class:"flex-start flex"},qp={key:0,class:"flex"},Kp={key:1,class:"flex-space flex"},jp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"time flex"},vp={class:"flex-space section-row"},eh={class:"flex-start"},th=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),oh={class:"flex-start"},lh={class:"flex-start"},ah=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),nh={class:"flex-start flex"},sh={key:0,class:"flex"},ih={key:1,class:"flex-space"},ch=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),dh={class:"time flex"},rh={class:"flex-space section-row"},mh={class:"flex-start"},ph=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),hh={class:"flex-start"},_h={class:"flex-start"},Eh=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),yh={class:"flex-start flex"},Nh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Vh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),fh={class:"section-body detail"},gh={class:"flex-space",style:{"align-items":"stretch"}},Dh={class:"chart"},bh=["src"],xh={key:1,class:"empty flex-center"},Ch={class:"route flex",style:{"justify-content":"space-between"}},Sh=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),kh={class:"suggestion"},Bh=["innerHTML"],Ah={class:"flex-start legends"},wh=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),Th={key:0,class:"legend"},Oh=[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))],Wh={class:"section"},Lh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),uh={class:"section-body comparison"},Hh={class:"container"},Mh={key:0},Gh=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)),Ih={class:"section",style:{"page-break-inside":"avoid"}},$h=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Rh={class:"section-body sample"},zh={class:"major-waypoints"},Uh={class:"container"},Yh=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),Zh={class:"body"},Qh={class:"cell-item flexM"},Jh={class:"flex-center"},qh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Kh={class:"cell-item flexL"},jh={key:0,class:"flex-center"},Xh={key:1},vh={class:"cell-item flex"},e1={key:0,class:"cell-item flex offset"},t1={key:1,class:"cell-item flex nbsp"},o1={key:2,class:"cell-item flex offset"},l1={key:3,class:"cell-item flex nbsp"},a1={key:4,class:"cell-item flex offset"},n1={key:5,class:"cell-item flex nbsp"},s1={class:"section"},i1=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),c1={class:"section-body sample"},d1={key:0},r1=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)),m1={class:"flex-center"},p1=ct(()=>e.createElementVNode("span",null,"/",-1)),h1={key:0,class:"degree-box"},_1={key:1},E1={key:0,class:"degree-box"},y1={key:1},N1={key:0,class:"degree-box"},V1={key:1},f1={key:0,class:"degree-box"},g1={key:1},D1=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 b1(t,s,o,c,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Hp,[Mp,e.createElementVNode("div",Gp,[Ip,e.createElementVNode("div",$p,[e.createElementVNode("div",Rp,[e.createElementVNode("div",zp,[Up,e.createElementVNode("div",Yp,e.toDisplayString((y=(x=(b=o.plan)==null?void 0:b.voyage)==null?void 0:x.company)==null?void 0:y.name),1)]),e.createElementVNode("div",Zp,[Qp,e.createElementVNode("div",Jp,[(r=(B=(g=o.plan)==null?void 0:g.leg)==null?void 0:B.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",qp,e.toDisplayString((C=(S=o.plan)==null?void 0:S.leg)==null?void 0:C.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[e.createVNode(_,{lat:(w=(L=(O=o.plan)==null?void 0:O.leg)==null?void 0:L.departure)==null?void 0:w.lat,label:""},null,8,["lat"]),jp,e.createVNode(i,{lng:(W=(D=(T=o.plan)==null?void 0:T.leg)==null?void 0:D.departure)==null?void 0:W.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Xp,e.toDisplayString(a.computeUTCTime((($=(Z=(Y=o.plan)==null?void 0:Y.leg)==null?void 0:Z.departure)==null?void 0:$.atd)||((I=(V=(P=o.plan)==null?void 0:P.leg)==null?void 0:V.departure)==null?void 0:I.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",vp,[e.createElementVNode("div",eh,[th,e.createElementVNode("div",oh,e.toDisplayString((H=(u=(M=o.plan)==null?void 0:M.voyage)==null?void 0:u.vessel)==null?void 0:H.name),1)]),e.createElementVNode("div",lh,[ah,e.createElementVNode("div",nh,[(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.destination)!=null&&K.name?(e.openBlock(),e.createElementBlock("div",sh,e.toDisplayString((R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.destination.name),1)):(e.openBlock(),e.createElementBlock("div",ih,[e.createVNode(_,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),ch,e.createVNode(i,{lng:(te=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",dh,e.toDisplayString(a.computeUTCTime(((ce=(se=(oe=o.plan)==null?void 0:oe.speeds)==null?void 0:se[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",rh,[e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,e.toDisplayString(a.computeUTCTime((ye=o.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",_h,[Eh,e.createElementVNode("div",yh,[e.createElementVNode("div",null,e.toDisplayString((_e=(le=o.plan)==null?void 0:le.voyage)==null?void 0:_e.loadCondition),1)])])])])]),e.createElementVNode("div",Nh,[Vh,e.createElementVNode("div",fh,[e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",xh,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...z)=>a.handleRefresh&&a.handleRefresh(...z))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Ch,[e.createElementVNode("div",null,[Sh,e.createElementVNode("div",kh,[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=z=>l.advisory=z),class:"editor",height:"120px",onBlur:s[2]||(s[2]=z=>a.handleCommit(z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...z)=>a.handleEdit&&a.handleEdit(...z)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",Ah,[wh,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",Th,Oh)):e.createCommentVNode("",!0),((be=(De=o.plan)==null?void 0:De.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",Fh,Ph)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wh,[Lh,e.createElementVNode("div",uh,[e.createElementVNode("div",Hh,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",Mh,[Gh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((He=z.speed)==null?void 0:He.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=z.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=z.speed)==null?void 0:Ye.v0)??((Qe=(Ze=z.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((h=(Je=z.speed)==null?void 0:Je.cpCopy)==null?void 0:h.fo)+" FO / "+e.toDisplayString((Te=(J=z.speed)==null?void 0:J.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((ue=z.speed)==null?void 0:ue.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=z.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((he=z.speed)==null?void 0:he.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ke=z.speed)==null?void 0:Ke.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=z.speed)==null?void 0:Xe.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=z.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ih,[$h,e.createElementVNode("div",Rh,[e.createElementVNode("div",zh,[e.createElementVNode("div",Uh,[Yh,e.createElementVNode("div",Zh,[(Fe=(Oe=o.plan)==null?void 0:Oe.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(me=(F=(Ee=o.plan)==null?void 0:Ee.speeds[0])==null?void 0:F.speed)==null?void 0:me.sample)==null?void 0:Pe.wps,(z,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",Qh,[e.createElementVNode("div",Jh,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),qh,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Kh,[z.name?(e.openBlock(),e.createElementBlock("span",jh,e.toDisplayString(z.name),1)):(e.openBlock(),e.createElementBlock("span",Xh,"-"))]),e.createElementVNode("div",vh,e.toDisplayString(a.computeUTCTime(z.eta)),1),we?(e.openBlock(),e.createElementBlock("div",e1,e.toDisplayString(a.computeNav(z)),1)):(e.openBlock(),e.createElementBlock("div",t1)),we?(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(a.roundPrecision(z.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",l1)),we?(e.openBlock(),e.createElementBlock("div",a1,e.toDisplayString(a.roundPrecision(z.avgSpd??z.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",n1))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",s1,[i1,e.createElementVNode("div",c1,[(Le=(We=o.plan)==null?void 0:We.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",d1,[r1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ze=(Re=($e=(pe=o.plan)==null?void 0:pe.speeds[0])==null?void 0:$e.speed)==null?void 0:Re.sample)==null?void 0:ze.hours,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(z.isDangerous?"dangerous":z.isSevere?"severe":z.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(z.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",m1,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),p1,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(He=z.meteo)==null?void 0:He.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",h1,e.toDisplayString((Ze=(Ye=z.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",_1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=z.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(J=(h=z.meteo)==null?void 0:h.wave)==null?void 0:J.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(he=(Me=(ue=z.meteo)==null?void 0:ue.wave)==null?void 0:Me.swell)!=null&&he.height?(e.openBlock(),e.createElementBlock("span",E1,e.toDisplayString((ve=(Xe=(Ke=z.meteo)==null?void 0:Ke.wave)==null?void 0:Xe.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",y1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=z.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=(pt=(nt=z.meteo)==null?void 0:nt.wave)==null?void 0:pt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(_t=z.meteo)==null?void 0:_t.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",N1,e.toDisplayString((ft=(Vt=(Nt=z.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.direction),1)):(e.openBlock(),e.createElementBlock("span",V1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(Dt=(gt=z.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(xt=z.meteo)==null?void 0:xt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(Bt=(kt=z.meteo)==null?void 0:kt.current)!=null&&Bt.kts?(e.openBlock(),e.createElementBlock("span",f1,e.toDisplayString((wt=(At=z.meteo)==null?void 0:At.current)==null?void 0:wt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",g1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(Tt=z.meteo)==null?void 0:Tt.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(z.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),D1])}const Nn=ke(up,[["render",b1],["__scopeId","data-v-afd0f0bf"]]),Loe="",x1={name:"OrmRouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Brand:_o,Loading:tn},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s,o){let c=0;return o&&s&&(c=ie.LngLatHelper.guessTimeZoneOffset(s,o)),`${G(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var o,c,l,a,_;if(s===0)return"-";{const i=G((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[s])==null?void 0:c.speed)==null?void 0:l.eta).diff(G((_=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:_.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const o=[];if(s.length)return s.forEach(c=>{o.push(c),c.suspend&&(t!=null&&t.useRouteParam)&&o.push({etd:c.etd,eta:c.etd,isResume:!0,memo:`Stoppage: ${c.suspend}hrs`})}),o}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var a,_,i,E;const o=(E=(i=(_=(a=t==null?void 0:t.speeds)==null?void 0:a[s])==null?void 0:_.speed)==null?void 0:i.sample)==null?void 0:E.hours,c=o[0],l=o[o.length-1];return Math.round(G(l.eta).diff(G(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var E,b,x,y,g,B,r;const t=[],s=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((S,C)=>{c[S]=Math.PI/8*C});const a=18;let _=4;(B=(g=(y=(x=(b=(E=this.plan)==null?void 0:E.speeds)==null?void 0:b[this.speedIndex])==null?void 0:x.speed)==null?void 0:y.sample)==null?void 0:g.hours)==null||B.forEach(S=>{var O,L,w,T,D,W,Y,Z,$,P;const C=S.meteo;if(C){const V=G(C.utc).utc().format("MMM-DD/HHmm[Z]");t.push(V),_=Math.ceil(((L=(O=C.wave)==null?void 0:O.sig)==null?void 0:L.height)>_?(T=(w=C.wave)==null?void 0:w.sig)==null?void 0:T.height:_),s.push([V,(D=C.wind)==null?void 0:D.kts,(Y=(W=C.wave)==null?void 0:W.sig)==null?void 0:Y.height,(Z=C.wind)==null?void 0:Z.direction,($=C.wind)==null?void 0:$.degree,(P=C.wind)==null?void 0:P.scale,S.cFactor,S.wFactor,S.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:_,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(S,C)=>{const O=C.coord([C.value(o.dateTime),C.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[C.value(o.windDirection)],position:O,style:C.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-0b0e9517"),t=t(),e.popScopeId(),t),C1={class:"voyage-plan"},S1={class:"plan-report"},k1={class:"section voyage-section flex-space"},B1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},A1={class:"flex-start label-block",style:{width:"100%"}},w1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),T1={style:{"text-transform":"uppercase"},class:"text-ellipsis"},O1={class:"flex-start label-block",style:{width:"100%"}},F1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},W1={class:"flex-start label-block",style:{width:"100%"}},L1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),u1={class:"flex-end"},H1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},M1={class:"flex-start label-block",style:{width:"100%"}},G1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),I1={key:0,class:"flex-end",style:{flex:"1"}},$1={key:1,class:"flex-end",style:{flex:"1"}},R1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),z1={class:"flex-end",style:{width:"120px"}},U1={class:"flex-space label-block",style:{width:"100%"}},Y1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Z1={key:0,class:"flex-end",style:{flex:"1"}},Q1={key:1,class:"flex-end",style:{flex:"1"}},J1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q1={class:"flex-end",style:{width:"120px"}},K1={class:"flex-space label-block",style:{width:"100%"}},j1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),X1={class:"flex-end",style:{"text-transform":"uppercase"}},v1={class:"section chart-section"},e_=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),t_={class:"flex-center"},o_=["src"],l_={class:"legends"},a_=e.createStaticVNode('<div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-dangerous);" data-v-0b0e9517></label><span data-v-0b0e9517>Dangerous</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-severe);" data-v-0b0e9517></label><span data-v-0b0e9517>Severe</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-heavy);" data-v-0b0e9517></label><span data-v-0b0e9517>Heavy</span></div>',3),n_={class:"legend"},s_=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),i_={key:0,class:"legend"},c_=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),d_={key:1,class:"legend"},r_=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),m_={key:1,class:"empty"},p_={class:"section comparison-section"},h_={key:0},__=dt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),E_=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),y_=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),N_=dt(()=>e.createElementVNode("th",null,"*FO",-1)),V_=dt(()=>e.createElementVNode("th",null,"*DO",-1)),f_={colspan:"3"},g_={rowspan:"2"},D_={rowspan:"2"},b_={rowspan:"2"},x_={rowspan:"2"},C_={rowspan:"2"},S_={rowspan:"2"},k_={rowspan:"2"},B_={rowspan:"2"},A_={rowspan:"2"},w_=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)),T_={class:"section waypoint-section"},O_={class:"header-block flex-start"},F_=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),P_={class:"title"},W_={key:0,class:"flex-end",style:{flex:"1"}},L_=["onClick"],u_={class:"advisory"},H_=["innerHTML"],M_={class:"major-waypoint"},G_=e.createStaticVNode('<div class="major-header" data-v-0b0e9517><div class="cell-item flex" style="flex:1.5;" data-v-0b0e9517>Major waypoint</div><div class="cell-item flex" data-v-0b0e9517>Time</div><div class="cell-item flex" data-v-0b0e9517>Nav</div><div class="cell-item flex" data-v-0b0e9517>Dist</div><div class="cell-item flex" data-v-0b0e9517>SOG</div><div class="cell-item flex" data-v-0b0e9517>Memo</div></div>',1),I_={class:"major-body"},$_={class:"cell-item flex",style:{flex:"1.5"}},R_={key:0,class:"flex-center"},z_={key:1,class:"flex-center"},U_=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Y_={key:0},Z_={class:"cell-item flex"},Q_={key:0,class:"cell-item flex offset"},J_={key:1,class:"cell-item flex nbsp"},q_={key:2,class:"cell-item flex offset"},K_={key:3,class:"cell-item flex nbsp"},j_={key:4,class:"cell-item flex offset"},X_={key:5,class:"cell-item flex nbsp"},v_={key:6,class:"cell-item flex offset"},eE={key:7,class:"cell-item flex nbsp"},tE={class:"section forecast-section"},oE={class:"header-block flex-start"},lE=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),aE={class:"title"},nE={key:0,class:"flex-end",style:{flex:"1"}},sE=["onClick"],iE={class:"echart-block"},cE={ref:"echart",class:"echart"},dE=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)),rE={class:"flex-center"},mE=dt(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},hE={key:1},_E={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},NE={key:1},VE={key:0,class:"degree-box"},fE={key:1},gE=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 DE(t,s,o,c,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("div",S1,[e.createVNode(_,{name:"Voyage Planning",issued:(y=o.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=U=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",k1,[e.createElementVNode("div",B1,[e.createElementVNode("div",A1,[w1,e.createElementVNode("span",T1,e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.company)==null?void 0:r.name),1)]),e.createElementVNode("div",O1,[F1,e.createElementVNode("span",P1,e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name)+" ("+e.toDisplayString((D=(T=(w=(L=o.plan)==null?void 0:L.voyage)==null?void 0:w.vessel)==null?void 0:T.vesselType)==null?void 0:D.name)+")",1)]),e.createElementVNode("div",W1,[L1,e.createElementVNode("span",u1,e.toDisplayString((Y=(W=o.plan)==null?void 0:W.voyage)==null?void 0:Y.number),1)])]),e.createElementVNode("div",H1,[e.createElementVNode("div",M1,[G1,(P=($=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:$.departure)!=null&&P.name?(e.openBlock(),e.createElementBlock("span",I1,e.toDisplayString((I=(V=o.plan)==null?void 0:V.leg)==null?void 0:I.departure.name),1)):(e.openBlock(),e.createElementBlock("div",$1,[e.createVNode(E,{lat:(H=(u=(M=o.plan)==null?void 0:M.leg)==null?void 0:u.departure)==null?void 0:H.lat,label:""},null,8,["lat"]),R1,e.createVNode(b,{lng:(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.departure)==null?void 0:K.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",z1,e.toDisplayString(a.computeUTCTime(((q=(R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.departure)==null?void 0:q.atd)||((d=(X=(n=o.plan)==null?void 0:n.leg)==null?void 0:X.departure)==null?void 0:d.etd)||((se=(oe=(te=(v=o.plan)==null?void 0:v.speeds)==null?void 0:te[l.speedIndex])==null?void 0:oe.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",U1,[Y1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Z1,e.toDisplayString((_e=(le=(ye=o.plan)==null?void 0:ye.leg)==null?void 0:le.destination)==null?void 0:_e.name),1)):(e.openBlock(),e.createElementBlock("div",Q1,[e.createVNode(E,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),J1,e.createVNode(b,{lng:(be=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",q1,e.toDisplayString(a.computeUTCTime(((Oe=(Se=(Ce=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:Oe.ata)||((me=(F=(Ee=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:Ee[l.speedIndex])==null?void 0:F.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",K1,[j1,e.createElementVNode("span",X1,e.toDisplayString((We=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",v1,[e_,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",t_,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,o_)]),e.createElementVNode("div",l_,[a_,e.createElementVNode("div",n_,[s_,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=U=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((z=(ze=(Re=($e=(pe=o.plan)==null?void 0:pe.speeds)==null?void 0:$e[0])==null?void 0:Re.speed)==null?void 0:ze.lane)==null?void 0:z.name),1)]),((He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He.length)>1?(e.openBlock(),e.createElementBlock("div",i_,[c_,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=U=>(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),((J=(h=o.plan)==null?void 0:h.speeds)==null?void 0:J.length)>2?(e.openBlock(),e.createElementBlock("div",d_,[r_,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=U=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Ke=(he=(Me=(ue=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:ue[2])==null?void 0:Me.speed)==null?void 0:he.lane)==null?void 0:Ke.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",m_,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p_,[(ve=(Xe=o.plan)==null?void 0:Xe.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",h_,[e.createElementVNode("thead",null,[__,e.createElementVNode("tr",null,[E_,y_,N_,V_,e.createElementVNode("th",f_,"*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,(U,tt)=>{var Ft,Pt,Mt,Gt,It,$t,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,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",g_,e.toDisplayString(tt+1),1),e.createElementVNode("td",D_,e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=U.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=U.speed)==null?void 0:Gt.v0)??(($t=(It=U.speed)==null?void 0:It.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",b_,e.toDisplayString(a.roundPrecision((Rt=U.speed)==null?void 0:Rt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((zt=U.speed)==null?void 0:zt.eta,(Zt=(Yt=(Ut=o.plan)==null?void 0:Ut.leg)==null?void 0:Yt.destination)==null?void 0:Zt.lng,(qt=(Jt=(Qt=o.plan)==null?void 0:Qt.leg)==null?void 0:Jt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Kt=U.speed)==null?void 0:Kt.eta))+"]",1)]),e.createElementVNode("td",x_,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",C_,e.toDisplayString(a.roundPrecision((jt=U.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",S_,e.toDisplayString(a.roundPrecision((Xt=U.speed)==null?void 0:Xt.totalDgoCons,3)),1),e.createElementVNode("td",k_,e.toDisplayString(a.roundPrecision(((vt=U.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B_,e.toDisplayString(a.roundPrecision(((eo=U.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",A_,e.toDisplayString(a.roundPrecision(((to=U.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=U.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=U.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=U.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=U.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=U.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),w_]),e.createElementVNode("div",T_,[e.createElementVNode("div",O_,[F_,e.createElementVNode("div",P_,"Advisory & Major Waypoint of Route "+e.toDisplayString((pt=(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:pt.name),1),((_t=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:_t.length)>1?(e.openBlock(),e.createElementBlock("div",W_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,L_)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",u_,[l.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:s[6]||(s[6]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,H_))]),e.createElementVNode("div",M_,[G_,e.createElementVNode("div",I_,[(Nt=(yt=o.plan)==null?void 0:yt.speeds)!=null&&Nt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=o.plan)==null?void 0:Vt.speeds)==null?void 0:ft[l.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(kt=(St=(Ct=(xt=(bt=o.plan)==null?void 0:bt.speeds)==null?void 0:xt[l.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:kt.wps),(U,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",$_,[U.isResume?(e.openBlock(),e.createElementBlock("div",R_,"Resume")):(e.openBlock(),e.createElementBlock("div",z_,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),U_,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"]),U.pilot?(e.openBlock(),e.createElementBlock("span",Y_," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Z_,e.toDisplayString(a.computeUTCTime(U.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",Q_,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",J_)),tt?(e.openBlock(),e.createElementBlock("div",q_,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",K_)),tt?(e.openBlock(),e.createElementBlock("div",j_,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",X_)),tt?(e.openBlock(),e.createElementBlock("div",v_,e.toDisplayString(a.computeMemo(U)),1)):(e.openBlock(),e.createElementBlock("div",eE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",tE,[(At=(Bt=o.plan)==null?void 0:Bt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",oE,[lE,e.createElementVNode("div",aE,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((po=(Ht=(Ot=(Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt[l.speedIndex])==null?void 0:Ot.speed)==null?void 0:Ht.lane)==null?void 0:po.name),1),((No=(yo=o.plan)==null?void 0:yo.speeds)==null?void 0:No.length)>1?(e.openBlock(),e.createElementBlock("div",nE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=o.plan)==null?void 0:Vo.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U==null?void 0:U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,sE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",iE,[e.createElementVNode("div",cE,null,512)]),e.createElementVNode("table",null,[dE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((xo=(bo=(Do=(go=(fo=o.plan)==null?void 0:fo.speeds)==null?void 0:go[l.speedIndex])==null?void 0:Do.speed)==null?void 0:bo.sample)==null?void 0:xo.hours,(U,tt)=>{var Ft,Pt,Mt,Gt,It,$t,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,Io,$o,Ro,zo,Uo,Yo;return e.openBlock(),e.createElementBlock("tr",{key:tt,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",rE,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),mE,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=U.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",pE,[e.createTextVNode(e.toDisplayString((Gt=(Mt=U.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($t=(It=U.meteo)==null?void 0:It.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",hE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((zt=(Rt=U.meteo)==null?void 0:Rt.wind)==null?void 0:zt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Zt=(Yt=(Ut=U.meteo)==null?void 0:Ut.wave)==null?void 0:Yt.wd)==null?void 0:Zt.height,1)),1),e.createElementVNode("td",null,[(qt=(Jt=(Qt=U.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",_E,[e.createTextVNode(e.toDisplayString((Xt=(jt=(Kt=U.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:Xt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=U.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",EE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=U.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=U.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(So=(Co=(co=U.meteo)==null?void 0:co.wave)==null?void 0:Co.sig)!=null&&So.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString((Ao=(Bo=(ko=U.meteo)==null?void 0:ko.wave)==null?void 0:Bo.sig)==null?void 0:Ao.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Oo=(To=(wo=U.meteo)==null?void 0:wo.wave)==null?void 0:To.sig)==null?void 0:Oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",NE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Wo=(Po=(Fo=U.meteo)==null?void 0:Fo.wave)==null?void 0:Po.sig)==null?void 0:Wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ho=(uo=(Lo=U.meteo)==null?void 0:Lo.wave)==null?void 0:uo.sig)==null?void 0:Ho.period,1)),1),e.createElementVNode("td",null,[(Go=(Mo=U.meteo)==null?void 0:Mo.current)!=null&&Go.kts?(e.openBlock(),e.createElementBlock("span",VE,[e.createTextVNode(e.toDisplayString(($o=(Io=U.meteo)==null?void 0:Io.current)==null?void 0:$o.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((zo=(Ro=U.meteo)==null?void 0:Ro.current)==null?void 0:zo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",fE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Yo=(Uo=U.meteo)==null?void 0:Uo.current)==null?void 0:Yo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),gE])])])}const Vn=ke(x1,[["render",DE],["__scopeId","data-v-0b0e9517"]]),bE={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},xE={install(t){t.component("IdmEditor",Zo)}},CE={install(t){t.component("IdmLat",va)}},SE={install(t){t.component("IdmLng",Xa)}},kE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},AE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},wE=["fill","fill-opacity"],TE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
1
|
+
(function(u,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ie):(u=typeof globalThis<"u"?globalThis:u||self,ie(u["idmui-report"]={},u["@idm-plugin/geo"],u.moment,u.Vue,u.echarts,u["@wangeditor/editor-for-vue"],u["@idmui/tropical"],u["@element-plus/icons-vue"],u["element-plus"],u.axios,u["mapbox-gl"]))})(this,function(u,ie,K,e,Mi,on,Ii,Ya,ln,ua,hl){"use strict";function Ri(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(s,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return s.default=t,Object.freeze(s)}const Za=Ri(Mi),SU="",Ce=(t,s)=>{const l=t.__vccOpts||t;for(const[r,a]of s)l[r]=a;return l},Gi={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?K(t):K()).utc().format(s)}`}}}},an=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),zi={class:"section brand-section flex-space"},Ui=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),ui={class:"report-box flex-space"},Yi={class:"name flex-start"},Zi={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Qi={class:"flex-start",style:{width:"100%"}},Ji={class:"label-block flex-evenly",style:{flex:"1"}},Ki=an(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ji={class:"flex-end",style:{flex:"2"}},qi=an(()=>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 Xi(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",zi,[Ui,e.createElementVNode("div",ui,[e.createElementVNode("div",Yi,e.toDisplayString(l.name),1),e.createElementVNode("div",Zi,[e.createElementVNode("div",Qi,[e.createElementVNode("div",Ji,[Ki,e.createElementVNode("span",ji,e.toDisplayString(n.computeUTCTime(l.issued,"MMM-DD, YYYY")),1)])]),qi])])])}const no=Ce(Gi,[["render",Xi],["__scopeId","data-v-609af107"]]),vi={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}}},ec={key:0,class:"loading"},tc=e.createElementVNode("i",{class:"iconfont"},"",-1);function oc(t,s,l,r,a,n){return l.loading?(e.openBlock(),e.createElementBlock("div",ec,[tc,e.createElementVNode("div",null,e.toDisplayString(l.text),1)])):e.createCommentVNode("",!0)}const Qa=Ce(vi,[["render",oc]]),BU="",lc={name:"ORMPointReport",components:{IdmLoading:Qa,IdmBrand:no},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,l,r;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((l=this.report)==null?void 0:l.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var r,a,n,y,i,p,x,g,h,E;const s={};for(let k=0;k<((a=(r=t==null?void 0:t.extend)==null?void 0:r.data)==null?void 0:a.length);k++){const b=(n=t==null?void 0:t.extend)==null?void 0:n.data[k];if(k===0)b.precip.pacc=0;else{const C=(y=t==null?void 0:t.extend)==null?void 0:y.data[k-1],D=K(b.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(i=C==null?void 0:C.precip)==null?void 0:i.prate,B=D.diff(T,"h"),w=this.roundPrecision(F*B,1);if(b.precip.pacc=w,w>0){const V=s[D.format("MMM-DD")],O=Math.floor(D.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.colspan+=1)):(s[D.format("MMM-DD")]={pacc:w,colspan:1},s[D.format("MMM-DD")][`${O}`]=w)}}}t.paccInDays=s;let l=0;for(const k of Object.keys(s))l+=(p=s[k])==null?void 0:p.colspan,s[k].level=((x=s[k])==null?void 0:x.pacc)<10?"Light":((g=s[k])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[k])==null?void 0:h.pacc)<49.9?"Heavy":((E=s[k])==null?void 0:E.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=l,t}}},methods:{initEchart(){var n,y,i;this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const t=[],s=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(i=(y=(n=this.report)==null?void 0:n.extend)==null?void 0:y.data)==null||i.forEach(p=>{var g,h,E,k,b,C,D,T,F,B,w,V,O;const x=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(x),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(k=(E=p.wave)==null?void 0:E.sig)==null?void 0:k.height:r,s.push([x,(b=p.wind)==null?void 0:b.kts,(C=p.gusts)==null?void 0:C.kts,(T=(D=p.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(V=p.current)==null?void 0:V.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={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:r,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:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,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:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,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:s,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:s,z:2}]};this.echart.setOption(a)}}},Ge=t=>(e.pushScopeId("data-v-e7748764"),t=t(),e.popScopeId(),t),ac={class:"point-report"},nc={class:"section info-section"},sc={class:"flex-evenly"},ic={class:"flex-space label-block",style:{width:"100%"}},cc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),dc={class:"flex-space label-block",style:{width:"100%"}},rc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),mc={class:"flex-evenly"},pc={class:"flex-space label-block",style:{width:"100%"}},hc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),_c={class:"flex-space label-block",style:{width:"100%"}},yc={class:"flex-end",style:{width:"180px"}},Ec={class:"section echart-section"},Nc={ref:"echart",class:"echart"},Vc={class:"section sample-section"},fc=Ge(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),xc=Ge(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),bc=Ge(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gc=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Dc=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),kc=Ge(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Cc=["colspan"],Sc=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bc=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),wc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Ac=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Tc=Ge(()=>e.createElementVNode("th",null,"BF",-1)),Fc=Ge(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Oc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Pc=Ge(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Lc=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Wc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),$c=Ge(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Hc=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Mc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Ic=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Rc={key:0},Gc={key:1},zc=Ge(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Uc=Ge(()=>e.createElementVNode("th",null,"°C",-1)),uc={width:"120px"},Yc={key:0,class:"degree-box"},Zc={key:1},Qc={key:0,class:"degree-box"},Jc={key:1},Kc={key:0,class:"degree-box"},jc={key:1},qc={key:0,class:"degree-box"},Xc={key:1},vc={key:0},ed={key:1};function td(t,s,l,r,a,n){var p,x,g,h;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ac,[e.createVNode(y,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",nc,[e.createElementVNode("div",sc,[e.createElementVNode("div",ic,[cc,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=l.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((x=l.report)==null?void 0:x.lng).pretty),1)]),e.createElementVNode("div",dc,[rc,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",mc,[e.createElementVNode("div",pc,[hc,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",_c,[e.createElementVNode("label",yc,"("+e.toDisplayString(n.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Ec,[e.createElementVNode("div",Nc,null,512)]),e.createElementVNode("div",Vc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[fc,xc,bc,gc,Dc,kc,e.createElementVNode("th",{colspan:l.showPrate&&l.showAcc?2:1},"Precip",8,Cc),Sc,Bc]),e.createElementVNode("tr",null,[wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc,$c,Hc,Mc,Ic,l.showPrate?(e.openBlock(),e.createElementBlock("th",Rc,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Gc,"Acc (mm)")):e.createCommentVNode("",!0),zc,Uc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=l.report)==null?void 0:g.extend)==null?void 0:h.data,(E,k)=>{var b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",uc,e.toDisplayString(n.computeLTime(E.utc,this.localTZ)),1),e.createElementVNode("td",null,[(b=E.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",Yc,[e.createTextVNode(e.toDisplayString((C=E.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((D=E.wind)==null?void 0:D.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=E.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=E.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=E.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((V=(w=E.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(I=(O=E.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Qc,[e.createTextVNode(e.toDisplayString((G=(R=E.wave)==null?void 0:R.swell)==null?void 0:G.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=E.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=E.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=E.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=E.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Kc,[e.createTextVNode(e.toDisplayString((J=(U=E.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ne=(ae=E.wave)==null?void 0:ae.sig)==null?void 0:ne.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=E.wave)==null?void 0:o.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=E.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=E.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",qc,[e.createTextVNode(e.toDisplayString((oe=E.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=E.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=E.current)==null?void 0:se.kts,1)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",vc,e.toDisplayString(n.roundPrecision((re=E.precip)==null?void 0:re.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",ed,e.toDisplayString(n.roundPrecision((me=E.precip)==null?void 0:me.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.temp,1)),1)])}),128))])])])])}const nn=Ce(lc,[["render",td],["__scopeId","data-v-e7748764"]]),od={install(t){t.component("ORMPointReport",nn)}},wU="",ld={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){const t=ie.LngLatHelper.convertToStdLng(this.lng),{direction:s,degree:l,minute:r,second:a}=ie.LngLatHelper.lng2pretty(t);this.lngDirection=s,this.lngDegree=l,this.lngMinute=r}},immediate:!0}}},sn=t=>(e.pushScopeId("data-v-8494fac1"),t=t(),e.popScopeId(),t),ad={class:"lng-box"},nd={key:0},sd=sn(()=>e.createElementVNode("span",null,"°",-1)),id=sn(()=>e.createElementVNode("span",null,"'",-1));function cd(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",ad,[l.label?(e.openBlock(),e.createElementBlock("span",nd,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.lngDegree),1),sd,e.createElementVNode("label",null,e.toDisplayString(a.lngMinute),1),id,e.createElementVNode("label",null,e.toDisplayString(a.lngDirection),1)])}const Ja=Ce(ld,[["render",cd],["__scopeId","data-v-8494fac1"]]),AU="",dd={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}}},cn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),rd={class:"lat-box"},md={key:0},pd=cn(()=>e.createElementVNode("span",null,"°",-1)),hd=cn(()=>e.createElementVNode("span",null,"'",-1));function _d(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",rd,[l.label?(e.openBlock(),e.createElementBlock("span",md,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.latDegree),1),pd,e.createElementVNode("label",null,e.toDisplayString(a.latMinute),1),hd,e.createElementVNode("label",null,e.toDisplayString(a.latDirection),1)])}const Ka=Ce(dd,[["render",_d],["__scopeId","data-v-d3432239"]]),TU="",yd={name:"IdmEditor",components:{Editor:on.Editor,Toolbar:on.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,l;t?(s=this.editor)==null||s.disable():(l=this.editor)==null||l.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Ed={class:"editor-box"};function Nd(t,s,l,r,a,n){const y=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ed,[e.withDirectives(e.createVNode(y,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!l.disabled]]),e.createVNode(i,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:l.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Ro=Ce(yd,[["render",Nd],["__scopeId","data-v-0d3b5c3c"]]),FU="",Vd={name:"OrmRouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro,Brand:no,Loading:Qa},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s,l){let r=0;return l&&s&&(r=ie.LngLatHelper.guessTimeZoneOffset(s,l)),`${K(t).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var l,r,a,n,y;if(s===0)return"-";{const i=K((a=(r=(l=t==null?void 0:t.speeds)==null?void 0:l[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((y=(n=t==null?void 0:t.speeds)==null?void 0:n[0])==null?void 0:y.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const l=[];if(s.length)return s.forEach(r=>{l.push(r),r.suspend&&(t!=null&&t.useRouteParam)&&l.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),l}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var n,y,i,p;const l=(p=(i=(y=(n=t==null?void 0:t.speeds)==null?void 0:n[s])==null?void 0:y.speed)==null?void 0:i.sample)==null?void 0:p.hours,r=l[0],a=l[l.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,x,g,h,E,k,b;const t=[],s=[],l={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,D)=>{r[C]=Math.PI/8*D});const n=18;let y=4;(k=(E=(h=(g=(x=(p=this.plan)==null?void 0:p.speeds)==null?void 0:x[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:E.hours)==null||k.forEach(C=>{var T,F,B,w,V,O,I,R,G,z;const D=C.meteo;if(D){const _=K(D.utc).utc().format("MMM-DD/HHmm[Z]");t.push(_),y=Math.ceil(((F=(T=D.wave)==null?void 0:T.sig)==null?void 0:F.height)>y?(w=(B=D.wave)==null?void 0:B.sig)==null?void 0:w.height:y),s.push([_,(V=D.wind)==null?void 0:V.kts,(I=(O=D.wave)==null?void 0:O.sig)==null?void 0:I.height,(R=D.wind)==null?void 0:R.direction,(G=D.wind)==null?void 0:G.degree,(z=D.wind)==null?void 0:z.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:y,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:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,D)=>{const T=D.coord([D.value(l.dateTime),D.value(l.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[D.value(l.windDirection)],position:T,style:D.style({stroke:"#555",lineWidth:1})}},encode:{x:l.dateTime,y:l.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:l.dateTime,y:l.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:l.dateTime,y:l.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(b=this.echart)==null||b.setOption(i)}}},Ue=t=>(e.pushScopeId("data-v-76808fbe"),t=t(),e.popScopeId(),t),fd={class:"voyage-plan"},xd={class:"plan-report"},bd={class:"section voyage-section flex-space"},gd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Dd={class:"flex-start label-block",style:{width:"100%"}},kd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Cd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Sd={class:"flex-start label-block",style:{width:"100%"}},Bd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),wd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Ad={class:"flex-start label-block",style:{width:"100%"}},Td=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Fd={class:"flex-end"},Od={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Pd={class:"flex-start label-block",style:{width:"100%"}},Ld=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Rd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Gd={key:0,class:"flex-end",style:{flex:"1"}},zd={key:1,class:"flex-end",style:{flex:"1"}},Ud=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ud={class:"flex-end",style:{width:"120px"}},Yd={class:"flex-space label-block",style:{width:"100%"}},Zd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Qd={class:"flex-end",style:{"text-transform":"uppercase"}},Jd={class:"section chart-section"},Kd=Ue(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),jd={class:"flex-center"},qd=["src"],Xd={class:"legends"},vd=e.createStaticVNode('<div class="legend" data-v-76808fbe><label style="background-color:var(--idm-dangerous);" data-v-76808fbe></label><span data-v-76808fbe>Dangerous</span></div><div class="legend" data-v-76808fbe><label style="background-color:var(--idm-severe);" data-v-76808fbe></label><span data-v-76808fbe>Severe</span></div><div class="legend" data-v-76808fbe><label style="background-color:var(--idm-heavy);" data-v-76808fbe></label><span data-v-76808fbe>Heavy</span></div>',3),er={class:"legend"},tr=Ue(()=>e.createElementVNode("b",{class:"route1"},null,-1)),or={key:0,class:"legend"},lr=Ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ar={key:1,class:"legend"},nr=Ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),sr={key:1,class:"empty"},ir={class:"section comparison-section"},cr={key:0},dr=Ue(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),rr=Ue(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),mr=Ue(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),pr=Ue(()=>e.createElementVNode("th",null,"*FO",-1)),hr=Ue(()=>e.createElementVNode("th",null,"*DO",-1)),_r={colspan:"3"},yr={rowspan:"2"},Er={rowspan:"2"},Nr={rowspan:"2"},Vr={rowspan:"2"},fr={rowspan:"2"},xr={rowspan:"2"},br={rowspan:"2"},gr={rowspan:"2"},Dr={rowspan:"2"},kr=Ue(()=>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)),Cr={class:"section waypoint-section"},Sr={class:"header-block flex-start"},Br=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),wr={class:"title"},Ar={key:0,class:"flex-end",style:{flex:"1"}},Tr=["onClick"],Fr={class:"advisory"},Or=["innerHTML"],Pr={class:"major-waypoint"},Lr=e.createStaticVNode('<div class="major-header" data-v-76808fbe><div class="cell-item flex" style="flex:1.5;" data-v-76808fbe>Major waypoint</div><div class="cell-item flex" data-v-76808fbe>Time</div><div class="cell-item flex" data-v-76808fbe>Nav</div><div class="cell-item flex" data-v-76808fbe>Dist</div><div class="cell-item flex" data-v-76808fbe>SOG</div><div class="cell-item flex" data-v-76808fbe>Memo</div></div>',1),Wr={class:"major-body"},$r={class:"cell-item flex",style:{flex:"1.5"}},Hr={key:0,class:"flex-center"},Mr={key:1,class:"flex-center"},Ir=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Rr={key:0},Gr={class:"cell-item flex"},zr={key:0,class:"cell-item flex offset"},Ur={key:1,class:"cell-item flex nbsp"},ur={key:2,class:"cell-item flex offset"},Yr={key:3,class:"cell-item flex nbsp"},Zr={key:4,class:"cell-item flex offset"},Qr={key:5,class:"cell-item flex nbsp"},Jr={key:6,class:"cell-item flex offset"},Kr={key:7,class:"cell-item flex nbsp"},jr={class:"section forecast-section"},qr={class:"header-block flex-start"},Xr=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),vr={class:"title"},em={key:0,class:"flex-end",style:{flex:"1"}},tm=["onClick"],om={class:"echart-block"},lm={ref:"echart",class:"echart"},am=Ue(()=>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)),nm={class:"flex-center"},sm=Ue(()=>e.createElementVNode("span",null,"/",-1)),im={key:0,class:"degree-box"},cm={key:1},dm={key:0,class:"degree-box"},rm={key:1},mm={key:0,class:"degree-box"},pm={key:1},hm={key:0,class:"degree-box"},_m={key:1},ym=Ue(()=>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 Em(t,s,l,r,a,n){var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),x=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fd,[e.createElementVNode("div",xd,[e.createVNode(y,{name:"Voyage Planning",issued:(h=l.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",bd,[e.createElementVNode("div",gd,[e.createElementVNode("div",Dd,[kd,e.createElementVNode("span",Cd,e.toDisplayString((b=(k=(E=l.plan)==null?void 0:E.voyage)==null?void 0:k.company)==null?void 0:b.name),1)]),e.createElementVNode("div",Sd,[Bd,e.createElementVNode("span",wd,e.toDisplayString((T=(D=(C=l.plan)==null?void 0:C.voyage)==null?void 0:D.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((V=(w=(B=(F=l.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:V.name)+")",1)]),e.createElementVNode("div",Ad,[Td,e.createElementVNode("span",Fd,e.toDisplayString((I=(O=l.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Od,[e.createElementVNode("div",Pd,[Ld,(z=(G=(R=l.plan)==null?void 0:R.leg)==null?void 0:G.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((L=(_=l.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(P=(W=(H=l.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Hd,e.createVNode(x,{lng:(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((ne=(ae=(J=l.plan)==null?void 0:J.leg)==null?void 0:ae.departure)==null?void 0:ne.atd)||((v=(j=(o=l.plan)==null?void 0:o.leg)==null?void 0:j.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=l.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Rd,(me=(re=(se=l.plan)==null?void 0:se.leg)==null?void 0:re.destination)!=null&&me.name?(e.openBlock(),e.createElementBlock("span",Gd,e.toDisplayString((he=(q=(ye=l.plan)==null?void 0:ye.leg)==null?void 0:q.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",zd,[e.createVNode(p,{lat:(Ve=(Ne=(Ee=l.plan)==null?void 0:Ee.leg)==null?void 0:Ne.destination)==null?void 0:Ve.lat,label:""},null,8,["lat"]),Ud,e.createVNode(x,{lng:(be=(xe=(fe=l.plan)==null?void 0:fe.leg)==null?void 0:xe.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",ud,e.toDisplayString(n.computeUTCTime(((Ae=(ke=(De=(ge=l.plan)==null?void 0:ge.speeds)==null?void 0:De[a.speedIndex])==null?void 0:ke.speed)==null?void 0:Ae.ata)||((Pe=(Oe=(Fe=(Te=l.plan)==null?void 0:Te.speeds)==null?void 0:Fe[a.speedIndex])==null?void 0:Oe.speed)==null?void 0:Pe.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Yd,[Zd,e.createElementVNode("span",Qd,e.toDisplayString((We=(Le=l.plan)==null?void 0:Le.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",Jd,[Kd,($e=l.plan)!=null&&$e.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",jd,[e.createElementVNode("img",{src:l.plan.chartUrl},null,8,qd)]),e.createElementVNode("div",Xd,[vd,e.createElementVNode("div",er,[tr,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>(a.speedIndex=0,n.renderEchart()))},e.toDisplayString((A=(Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds)==null?void 0:Qe[0])==null?void 0:Je.speed)==null?void 0:Ke.lane)==null?void 0:A.name),1)]),((Ie=(Se=l.plan)==null?void 0:Se.speeds)==null?void 0:Ie.length)>1?(e.openBlock(),e.createElementBlock("div",or,[lr,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>(a.speedIndex=1,n.renderEchart()))},e.toDisplayString((et=(ve=(Xe=(qe=(je=l.plan)==null?void 0:je.speeds)==null?void 0:qe[1])==null?void 0:Xe.speed)==null?void 0:ve.lane)==null?void 0:et.name),1)])):e.createCommentVNode("",!0),(($=(m=l.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",ar,[nr,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>(a.speedIndex=2,n.renderEchart()))},e.toDisplayString((ze=(ce=(Re=(He=(Be=l.plan)==null?void 0:Be.speeds)==null?void 0:He[2])==null?void 0:Re.speed)==null?void 0:ce.lane)==null?void 0:ze.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",sr,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",ir,[(ot=(tt=l.plan)==null?void 0:tt.speeds)!=null&&ot.length?(e.openBlock(),e.createElementBlock("table",cr,[e.createElementVNode("thead",null,[dr,e.createElementVNode("tr",null,[rr,mr,pr,hr,e.createElementVNode("th",_r,"*days (with in the next "+e.toDisplayString(n.computeDay(l.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ct=l.plan)==null?void 0:ct.speeds,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Me},[e.createElementVNode("tr",null,[e.createElementVNode("td",yr,e.toDisplayString(Me+1),1),e.createElementVNode("td",Er,e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((pt=S.speed)==null?void 0:pt.label)??"CP"} ${((Pt=S.speed)==null?void 0:Pt.v0)??((Wt=(Lt=S.speed)==null?void 0:Lt.cpCopy)==null?void 0:Wt.speed)}`),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(($t=S.speed)==null?void 0:$t.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Ht=S.speed)==null?void 0:Ht.eta,(Rt=(It=(Mt=l.plan)==null?void 0:Mt.leg)==null?void 0:It.destination)==null?void 0:Rt.lng,(Ut=(zt=(Gt=l.plan)==null?void 0:Gt.leg)==null?void 0:zt.destination)==null?void 0:Ut.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((ut=S.speed)==null?void 0:ut.eta))+"]",1)]),e.createElementVNode("td",Vr,e.toDisplayString(n.computeTimeDiff(l.plan,Me)),1),e.createElementVNode("td",fr,e.toDisplayString(n.roundPrecision((Yt=S.speed)==null?void 0:Yt.totalFoCons,3)),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((Zt=S.speed)==null?void 0:Zt.totalDgoCons,3)),1),e.createElementVNode("td",br,e.toDisplayString(n.roundPrecision(((Qt=S.speed)==null?void 0:Qt.dangerous)/24,1)),1),e.createElementVNode("td",gr,e.toDisplayString(n.roundPrecision(((Jt=S.speed)==null?void 0:Jt.severe)/24,1)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(jt=S.speed)==null?void 0:jt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((vt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:vt.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((eo=S.speed)==null?void 0:eo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),kr]),e.createElementVNode("div",Cr,[e.createElementVNode("div",Sr,[Br,e.createElementVNode("div",wr,"Advisory & Major Waypoint of Route "+e.toDisplayString((ht=(mt=(rt=(dt=l.plan.speeds)==null?void 0:dt[a.speedIndex])==null?void 0:rt.speed)==null?void 0:mt.lane)==null?void 0:ht.name),1),((yt=(_t=l.plan)==null?void 0:_t.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",Ar,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=l.plan)==null?void 0:Et.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,Tr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Fr,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Or))]),e.createElementVNode("div",Pr,[Lr,e.createElementVNode("div",Wr,[(Vt=(Nt=l.plan)==null?void 0:Nt.speeds)!=null&&Vt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((gt=(bt=(xt=(ft=l.plan)==null?void 0:ft.speeds)==null?void 0:xt[a.speedIndex])==null?void 0:bt.speed)==null?void 0:gt.argv,(Bt=(St=(Ct=(kt=(Dt=l.plan)==null?void 0:Dt.speeds)==null?void 0:kt[a.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:Bt.wps),(S,Me)=>(e.openBlock(),e.createElementBlock("div",{key:Me,class:"cell-row"},[e.createElementVNode("div",$r,[S.isResume?(e.openBlock(),e.createElementBlock("div",Hr,"Resume")):(e.openBlock(),e.createElementBlock("div",Mr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Ir,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Rr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Gr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Me?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur)),Me?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Yr)),Me?(e.openBlock(),e.createElementBlock("div",Zr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Qr)),Me?(e.openBlock(),e.createElementBlock("div",Jr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Kr))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",jr,[(At=(wt=l.plan)==null?void 0:wt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",qr,[Xr,e.createElementVNode("div",vr,"Weather Forecast for the Next "+e.toDisplayString(n.computeDay(l.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((co=(io=(Ot=(Ft=(Tt=l.plan)==null?void 0:Tt.speeds)==null?void 0:Ft[a.speedIndex])==null?void 0:Ot.speed)==null?void 0:io.lane)==null?void 0:co.name),1),((mo=(ro=l.plan)==null?void 0:ro.speeds)==null?void 0:mo.length)>1?(e.openBlock(),e.createElementBlock("div",em,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((po=l.plan)==null?void 0:po.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S==null?void 0:S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,tm)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",om,[e.createElementVNode("div",lm,null,512)]),e.createElementVNode("table",null,[am,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((No=(Eo=(yo=(_o=(ho=l.plan)==null?void 0:ho.speeds)==null?void 0:_o[a.speedIndex])==null?void 0:yo.speed)==null?void 0:Eo.sample)==null?void 0:No.hours,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io;return e.openBlock(),e.createElementBlock("tr",{key:Me,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",nm,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),sm,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(at=(lt=S.meteo)==null?void 0:lt.wind)!=null&&at.kts?(e.openBlock(),e.createElementBlock("span",im,[e.createTextVNode(e.toDisplayString((Pt=(pt=S.meteo)==null?void 0:pt.wind)==null?void 0:Pt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wt=(Lt=S.meteo)==null?void 0:Lt.wind)==null?void 0:Wt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",cm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ht=($t=S.meteo)==null?void 0:$t.wind)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(It=(Mt=S.meteo)==null?void 0:Mt.wave)==null?void 0:It.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Ut=(zt=(Gt=S.meteo)==null?void 0:Gt.wave)==null?void 0:zt.swell)!=null&&Ut.height?(e.openBlock(),e.createElementBlock("span",dm,[e.createTextVNode(e.toDisplayString((Zt=(Yt=(ut=S.meteo)==null?void 0:ut.wave)==null?void 0:Yt.swell)==null?void 0:Zt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Kt=(Jt=(Qt=S.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)==null?void 0:Kt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Xt=(qt=(jt=S.meteo)==null?void 0:jt.wave)==null?void 0:qt.swell)==null?void 0:Xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=(eo=(vt=S.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.period,1)),1),e.createElementVNode("td",null,[(fo=(Vo=(oo=S.meteo)==null?void 0:oo.wave)==null?void 0:Vo.sig)!=null&&fo.height?(e.openBlock(),e.createElementBlock("span",mm,[e.createTextVNode(e.toDisplayString((go=(bo=(xo=S.meteo)==null?void 0:xo.wave)==null?void 0:bo.sig)==null?void 0:go.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Co=(ko=(Do=S.meteo)==null?void 0:Do.wave)==null?void 0:ko.sig)==null?void 0:Co.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((wo=(Bo=(So=S.meteo)==null?void 0:So.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Fo=(To=(Ao=S.meteo)==null?void 0:Ao.wave)==null?void 0:To.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(Po=(Oo=S.meteo)==null?void 0:Oo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",hm,[e.createTextVNode(e.toDisplayString((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",_m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Io=(Mo=S.meteo)==null?void 0:Mo.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),ym])])])}const en=Ce(Vd,[["render",Em],["__scopeId","data-v-76808fbe"]]),OU="",Nm={name:"RouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s){const l=K(t);return l.utcOffset(s),`${l.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,l,r,a;return(a=(r=(l=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:l.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var l,r,a;if(s===0)return"-";{const n=K((r=(l=t==null?void 0:t.speeds[s])==null?void 0:l.speed)==null?void 0:r.eta).diff(K((a=t==null?void 0:t.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t){var a,n,y;const s=(y=(n=(a=t==null?void 0:t.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:y.hours,l=s[0],r=s[s.length-1];return K(r.eta).diff(K(l.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ue=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Vm={class:"route-report"},fm=ue(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),xm={class:"section"},bm=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),gm={class:"section-body basics"},Dm={class:"flex-space section-row"},km={class:"flex-start"},Cm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Sm={class:"flex-start"},Bm={class:"flex-start"},wm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Am={class:"flex-start flex"},Tm={key:0,class:"flex"},Fm={key:1,class:"flex-space flex"},Om=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Pm={class:"time flex"},Lm={class:"flex-space section-row"},Wm={class:"flex-start"},$m=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Hm={class:"flex-start"},Mm={class:"flex-start"},Im=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Rm={class:"flex-start flex"},Gm={key:0,class:"flex"},zm={key:1,class:"flex-space"},Um=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),um={class:"time flex"},Ym={class:"flex-space section-row"},Zm={class:"flex-start"},Qm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Jm={class:"flex-start"},Km={class:"flex-start"},jm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),qm={class:"flex-start flex"},Xm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},vm=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),ep={class:"section-body detail"},tp={class:"flex-space",style:{"align-items":"stretch"}},op={class:"chart"},lp=["src"],ap={key:1,class:"empty flex-center"},np={class:"route flex",style:{"justify-content":"space-between"}},sp=ue(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),ip={class:"suggestion"},cp=["innerHTML"],dp={class:"flex-start legends"},rp=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),mp={key:0,class:"legend"},pp=[ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 2",-1))],hp={key:1,class:"legend"},_p=[ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 3",-1))],yp={class:"section"},Ep=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),Np={class:"section-body comparison"},Vp={class:"container"},fp={key:0},xp=ue(()=>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)),bp={class:"section",style:{"page-break-inside":"avoid"}},gp=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Dp={class:"section-body sample"},kp={class:"major-waypoints"},Cp={class:"container"},Sp=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),Bp={class:"body"},wp={class:"cell-item flexM"},Ap={class:"flex-center"},Tp=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Fp={class:"cell-item flexL"},Op={key:0,class:"flex-center"},Pp={key:1},Lp={class:"cell-item flex"},Wp={key:0,class:"cell-item flex offset"},$p={key:1,class:"cell-item flex nbsp"},Hp={key:2,class:"cell-item flex offset"},Mp={key:3,class:"cell-item flex nbsp"},Ip={key:4,class:"cell-item flex offset"},Rp={key:5,class:"cell-item flex nbsp"},Gp={class:"section"},zp=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Up={class:"section-body sample"},up={key:0},Yp=ue(()=>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)),Zp={class:"flex-center"},Qp=ue(()=>e.createElementVNode("span",null,"/",-1)),Jp={key:0,class:"degree-box"},Kp={key:1},jp={key:0,class:"degree-box"},qp={key:1},Xp={key:0,class:"degree-box"},vp={key:1},eh={key:0,class:"degree-box"},th={key:1},oh=ue(()=>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 lh(t,s,l,r,a,n){var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Vm,[fm,e.createElementVNode("div",xm,[bm,e.createElementVNode("div",gm,[e.createElementVNode("div",Dm,[e.createElementVNode("div",km,[Cm,e.createElementVNode("div",Sm,e.toDisplayString((h=(g=(x=l.plan)==null?void 0:x.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Bm,[wm,e.createElementVNode("div",Am,[(b=(k=(E=l.plan)==null?void 0:E.leg)==null?void 0:k.departure)!=null&&b.name?(e.openBlock(),e.createElementBlock("div",Tm,e.toDisplayString((D=(C=l.plan)==null?void 0:C.leg)==null?void 0:D.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Fm,[e.createVNode(y,{lat:(B=(F=(T=l.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Om,e.createVNode(i,{lng:(O=(V=(w=l.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Pm,e.toDisplayString(n.computeUTCTime(((G=(R=(I=l.plan)==null?void 0:I.leg)==null?void 0:R.departure)==null?void 0:G.atd)||((L=(_=(z=l.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Lm,[e.createElementVNode("div",Wm,[$m,e.createElementVNode("div",Hm,e.toDisplayString((P=(W=(H=l.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Mm,[Im,e.createElementVNode("div",Rm,[(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Gm,e.toDisplayString((ae=(J=l.plan)==null?void 0:J.leg)==null?void 0:ae.destination.name),1)):(e.openBlock(),e.createElementBlock("div",zm,[e.createVNode(y,{lat:(j=(o=(ne=l.plan)==null?void 0:ne.leg)==null?void 0:o.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Um,e.createVNode(i,{lng:(te=(ee=(v=l.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",um,e.toDisplayString(n.computeUTCTime(((se=(le=(oe=l.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:se.speed.ata)||((me=(re=l.plan)==null?void 0:re.speeds)==null?void 0:me[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Ym,[e.createElementVNode("div",Zm,[Qm,e.createElementVNode("div",Jm,e.toDisplayString(n.computeUTCTime((ye=l.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Km,[jm,e.createElementVNode("div",qm,[e.createElementVNode("div",null,e.toDisplayString((he=(q=l.plan)==null?void 0:q.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Xm,[vm,e.createElementVNode("div",ep,[e.createElementVNode("div",tp,[e.createElementVNode("div",op,[(Ee=l.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=l.plan)==null?void 0:Ne.chartUrl},null,8,lp)):(e.openBlock(),e.createElementBlock("div",ap,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",np,[e.createElementVNode("div",null,[sp,e.createElementVNode("div",ip,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,cp))])]),e.createElementVNode("div",dp,[rp,((fe=(Ve=l.plan)==null?void 0:Ve.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",mp,pp)):e.createCommentVNode("",!0),((be=(xe=l.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",hp,_p)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",yp,[Ep,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[(De=(ge=l.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",fp,[xp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ke=l.plan)==null?void 0:ke.speeds,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ie=A.speed)==null?void 0:Ie.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((je=A.speed)==null?void 0:je.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((ve=(Xe=A.speed)==null?void 0:Xe.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=A.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((He=A.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((ce=A.speed)==null?void 0:ce.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((ze=A.speed)==null?void 0:ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=A.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",bp,[gp,e.createElementVNode("div",Dp,[e.createElementVNode("div",kp,[e.createElementVNode("div",Cp,[Sp,e.createElementVNode("div",Bp,[(Te=(Ae=l.plan)==null?void 0:Ae.speeds)!=null&&Te.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Le=(Pe=(Oe=(Fe=l.plan)==null?void 0:Fe.speeds[0])==null?void 0:Oe.speed)==null?void 0:Pe.sample)==null?void 0:Le.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",wp,[e.createElementVNode("div",Ap,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),Tp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Fp,[A.name?(e.openBlock(),e.createElementBlock("span",Op,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Pp,"-"))]),e.createElementVNode("div",Lp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Wp,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",$p)),Se?(e.openBlock(),e.createElementBlock("div",Hp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Mp)),Se?(e.openBlock(),e.createElementBlock("div",Ip,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Rp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Gp,[zp,e.createElementVNode("div",Up,[($e=(We=l.plan)==null?void 0:We.speeds)!=null&&$e.length?(e.openBlock(),e.createElementBlock("table",up,[Yp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds[0])==null?void 0:Qe.speed)==null?void 0:Je.sample)==null?void 0:Ke.hours,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Zp,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),Qp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(je=(Ie=A.meteo)==null?void 0:Ie.wind)!=null&&je.kts?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((Xe=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:Xe.direction),1)):(e.openBlock(),e.createElementBlock("span",Kp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=A.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(ce=(Re=(He=A.meteo)==null?void 0:He.wave)==null?void 0:Re.swell)!=null&&ce.height?(e.openBlock(),e.createElementBlock("span",jp,e.toDisplayString((ot=(tt=(ze=A.meteo)==null?void 0:ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",qp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((rt=(dt=(ct=A.meteo)==null?void 0:ct.wave)==null?void 0:dt.swell)==null?void 0:rt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((_t=(ht=(mt=A.meteo)==null?void 0:mt.wave)==null?void 0:ht.swell)==null?void 0:_t.period,1)),1),e.createElementVNode("td",null,[(Nt=(Et=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)!=null&&Nt.height?(e.openBlock(),e.createElementBlock("span",Xp,e.toDisplayString((xt=(ft=(Vt=A.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:xt.direction),1)):(e.openBlock(),e.createElementBlock("span",vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(gt=(bt=A.meteo)==null?void 0:bt.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((St=(Ct=(kt=A.meteo)==null?void 0:kt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(wt=(Bt=A.meteo)==null?void 0:Bt.current)!=null&&wt.kts?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString((Tt=(At=A.meteo)==null?void 0:At.current)==null?void 0:Tt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",th,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ot=(Ft=A.meteo)==null?void 0:Ft.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),oh])}const dn=Ce(Nm,[["render",lh],["__scopeId","data-v-afd0f0bf"]]),ah={install(t){t.component("RouteReport",en),t.component("FliPlanReport",dn),t.component("OrmPlanReport",en)}},nh={install(t){t.component("IdmEditor",Ro)}},sh={install(t){t.component("IdmLat",Ka)}},ih={install(t){t.component("IdmLng",Ja)}},ch={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},dh={class:"logo"},rh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},mh=["fill","fill-opacity"],ph=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
2
2
|
-408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
|
|
3
3
|
-82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
|
|
4
4
|
-225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
|
|
@@ -38,9 +38,8 @@
|
|
|
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 OE(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",AE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},TE,8,wE)]))])}const fn=ke(kE,[["render",OE]]),FE={install(t){t.component("PiLogo",fn)}},Hoe="",Moe="",PE={components:{Editor:Zo,IdmBrand:on},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//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0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vv3L6tttfZvZAntVfaPr4/fo+dn+u231uf57Zvao/s8rx9af36PsTs285ZVv9cWZ3q/5I0x8uOqXtD5zu8ndtupNy7Z2q31+g37vD2wmr33W63d/veLtN9du3HQ/2zePyWwv0UadvHPP1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQAD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ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${s} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):s==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(s==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(s="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,s;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(s=(t=this.reportData)==null?void 0:t.segments)==null||s.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(_=>{let i={time:G(_.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(_.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:_.duration,distance:_.distance,fo:_.foCons,dgo:_.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(_=>{a.push(this.computedSeg(_))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(_=>_.type!=="A"&&_.goodWx))})}}},f=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),WE=["src"],LE={class:"voyage-main"},uE={class:"main",style:{"page-break-after":"always"}},HE={class:"main-title",style:{position:"relative !important"}},ME=["src"],GE={class:"main-title-content"},IE=f(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),$E={class:"title-date"},RE={class:"main-subtitle"},zE={class:"white"},UE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),YE={class:"subtitle-main"},ZE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),QE={class:"subtitle-main"},JE={class:"main-box"},qE={class:"main-table"},KE=f(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),jE={class:"bold"},XE=f(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),vE={class:"bold"},ey=f(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),ty={class:"bold"},oy=f(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ly={class:"bold"},ay={style:{display:"inline-block",width:"50%"}},ny=f(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),sy={class:"bold"},iy={style:{display:"inline-block",width:"50%"}},cy=f(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),dy={class:"tips",style:{display:"flex"}},ry={style:{color:"var(--table-note-color)"}},my={class:"summary-table",style:{"margin-top":"5px"}},py=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),hy={style:{width:"15%"}},_y={key:1},Ey=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),yy={key:1},Ny=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),Vy={key:1},fy=f(()=>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)),gy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),Dy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},xy=f(()=>e.createElementVNode("div",null,"Exclusion",-1)),Cy=f(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),Sy={class:"remark-table"},ky=f(()=>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"],Ay={class:"analysis page-title"},wy={class:"analysis-title"},Ty={class:"analysis-title-detail"},Oy=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Fy={class:"page-avoid"},Py={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Wy=f(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Ly=f(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),uy=f(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),Hy=f(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),My=f(()=>e.createElementVNode("tr",null,null,-1)),Gy={class:"title"},Iy={class:"title"},$y={class:"title"},Ry={class:"title"},zy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Uy={class:"page-avoid",style:{"margin-bottom":"15px"}},Yy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Zy=f(()=>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)),Qy=f(()=>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)),Jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),qy={class:"inGoodWx"},Ky={class:"inGoodWx"},jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),Xy={class:"inGoodWx"},vy={class:"inGoodWx"},eN=f(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),tN={class:"inGoodWx"},oN={class:"inGoodWx"},lN=f(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),aN={class:"inGoodWx"},nN={class:"inGoodWx"},sN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),iN={class:"inGoodWx"},cN={class:"inGoodWx"},dN=f(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),rN={class:"inGoodWx"},mN={class:"inGoodWx"},pN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),hN={class:"inGoodWx"},_N={class:"inGoodWx"},EN={key:0,class:"analysis-tips"},yN={key:1,class:"analysis-definition"},NN={key:2,class:"analysis-definition"},VN=f(()=>e.createElementVNode("br",null,null,-1)),fN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},gN=f(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),DN=f(()=>e.createElementVNode("span",null,"= ",-1)),bN={key:0},xN={key:1},CN={key:2},SN={key:3},kN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},BN=f(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),AN=f(()=>e.createElementVNode("span",null,"=",-1)),wN={key:0},TN={key:1},ON=f(()=>e.createElementVNode("span",null,"-",-1)),FN=f(()=>e.createElementVNode("span",null,"=",-1)),PN={key:0},WN={key:1},LN={key:6,class:"tr-tips tips-color"},uN={class:"formula page-title"},HN={class:"page-avoid"},MN={class:"subtitle",style:{"margin-top":"0"}},GN={key:0},IN={class:"definition"},$N=f(()=>e.createElementVNode("br",null,null,-1)),RN=f(()=>e.createElementVNode("br",null,null,-1)),zN=f(()=>e.createElementVNode("br",null,null,-1)),UN={class:"equation"},YN=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),ZN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),QN={style:{width:"50%"},class:"fraction"},JN=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qN=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KN=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jN={class:"equation"},XN={style:{width:"35%"}},vN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eV={style:{width:"50%"},class:"fraction"},tV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),lV={class:"equation"},aV={style:{width:"35%"}},nV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sV={style:{width:"50%"},class:"fraction"},iV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),dV=f(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),rV={class:"page-avoid"},mV={key:0,class:"definition",style:{margin:"15px 0"}},pV={class:"equation"},hV=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),_V=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},yV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),gV={class:"equation"},DV={style:{width:"35%"}},bV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xV={style:{width:"35%"},class:"fraction"},CV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"10%","text-align":"center"}},BV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),AV={class:"equation"},wV={style:{width:"35%"}},TV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),OV={style:{width:"35%"},class:"fraction"},FV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WV={style:{width:"10%","text-align":"center"}},LV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),uV=f(()=>e.createElementVNode("span",null,"=",-1)),HV=f(()=>e.createElementVNode("span",null,"=",-1)),MV=f(()=>e.createElementVNode("span",null,"=",-1)),GV=["innerHTML"],IV={class:"page-avoid"},$V={class:"subtitle page-title"},RV={key:0},zV={class:"definition",style:{"margin-bottom":"15px"}},UV=f(()=>e.createElementVNode("br",null,null,-1)),YV=f(()=>e.createElementVNode("br",null,null,-1)),ZV=f(()=>e.createElementVNode("br",null,null,-1)),QV={class:"equation"},JV=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KV={style:{width:"25%"},class:"fraction"},jV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XV=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),vV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ef=f(()=>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)),tf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),of={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},lf=f(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),af={key:0},nf={class:"equation"},sf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),cf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),df={style:{width:"25%"},class:"fraction"},rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pf=f(()=>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)),hf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),_f={class:"equation"},Ef=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),yf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Nf={style:{width:"25%"},class:"fraction"},Vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gf=f(()=>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)),Df=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),bf=f(()=>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)),xf={key:0,class:"equation"},Cf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),Sf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kf={style:{width:"45%"},class:"fraction"},Bf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),Af=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf={key:1,class:"equation"},Tf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Of=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"45%"},class:"fraction"},Pf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Wf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Lf={class:"page-avoid"},uf=f(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Hf={key:0,class:"definition",style:{margin:"15px 0"}},Mf={class:"equation"},Gf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),If=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$f={style:{width:"20%"},class:"fraction"},Rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Uf={style:{width:"20%"},class:"fraction"},Yf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"10%","text-align":"center"}},Jf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qf={class:"equation"},Kf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"20%"},class:"fraction"},vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t0={style:{width:"20%"},class:"fraction"},o0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=f(()=>e.createElementVNode("div",null,"24",-1)),a0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),n0={style:{width:"10%","text-align":"center"}},s0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),i0={class:"equation"},c0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),d0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"20%"},class:"fraction"},m0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),h0={style:{width:"20%"},class:"fraction"},_0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E0=f(()=>e.createElementVNode("div",null,"24",-1)),y0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"10%","text-align":"center"}},V0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),f0=f(()=>e.createElementVNode("span",null,"=",-1)),g0=f(()=>e.createElementVNode("span",null,"=",-1)),D0=f(()=>e.createElementVNode("span",null,"=",-1)),b0={key:0},x0={key:0,class:"equation"},C0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),S0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),k0={style:{width:"45%"},class:"fraction"},B0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"10%","text-align":"center"}},T0={key:1,class:"equation"},O0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),F0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),P0={style:{width:"45%"},class:"fraction"},W0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),u0={style:{width:"10%","text-align":"center"}},H0=["innerHTML"],M0={class:"page-avoid"},G0={key:0},I0=f(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),$0={key:0,class:"definition",style:{margin:"15px 0"}},R0={class:"equation"},z0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),U0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Y0={style:{width:"20%"},class:"fraction"},Z0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Q0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),J0={style:{width:"20%"},class:"fraction"},q0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),K0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),j0={style:{width:"10%","text-align":"center"}},X0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),v0={class:"equation"},eg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),tg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),og={style:{width:"20%"},class:"fraction"},lg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ag=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ng={style:{width:"20%"},class:"fraction"},sg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ig=f(()=>e.createElementVNode("div",null,"24",-1)),cg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),dg={style:{width:"10%","text-align":"center"}},rg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),mg={class:"equation"},pg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),hg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_g={style:{width:"20%"},class:"fraction"},Eg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ng={style:{width:"20%"},class:"fraction"},Vg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fg=f(()=>e.createElementVNode("div",null,"24",-1)),gg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Dg={style:{width:"10%","text-align":"center"}},bg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),xg=f(()=>e.createElementVNode("span",null,"=",-1)),Cg=f(()=>e.createElementVNode("span",null,"=",-1)),Sg=f(()=>e.createElementVNode("span",null,"=",-1)),kg=["innerHTML"];function Bg(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark":"")},[e.createVNode(_,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,WE),e.createElementVNode("div",LE,[e.createElementVNode("div",uE,[e.createElementVNode("div",HE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,ME),e.createElementVNode("div",GE,[IE,e.createElementVNode("div",$E,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",RE,[e.createElementVNode("table",zE,[e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE," "+e.toDisplayString((g=o.reportData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE," "+e.toDisplayString((r=(B=o.reportData)==null?void 0:B.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",JE,[e.createElementVNode("table",qE,[e.createElementVNode("tr",null,[KE,e.createElementVNode("td",jE,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("tr",null,[XE,e.createElementVNode("td",vE,e.toDisplayString((L=(O=o.reportData)==null?void 0:O.voyage)==null?void 0:L.loadCondition),1)]),e.createElementVNode("tr",null,[ey,e.createElementVNode("td",ty,e.toDisplayString((T=(w=o.reportData)==null?void 0:w.voyage)==null?void 0:T.number),1)]),e.createElementVNode("tr",null,[oy,e.createElementVNode("td",ly,[e.createElementVNode("span",ay,e.toDisplayString(((W=(D=o.reportData)==null?void 0:D.departure)==null?void 0:W.portName)||a.computedLngLat((Z=(Y=o.reportData)==null?void 0:Y.departure)==null?void 0:Z.lat,(P=($=o.reportData)==null?void 0:$.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(V=o.reportData)==null?void 0:V.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ny,e.createElementVNode("td",sy,[e.createElementVNode("span",iy,e.toDisplayString(((u=(M=o.reportData)==null?void 0:M.arrival)==null?void 0:u.portName)||a.computedLngLat((Q=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:Q.lat,(K=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:R.utcTime,"table")),1)])])])]),cy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=o.reportData)==null?void 0:q.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",dy,[e.createElementVNode("div",ry,"Seg."+e.toDisplayString(v+1)+" ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(te,oe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+oe,class:"tips-seg"},e.toDisplayString(te),1))),128))])]),e.createElementVNode("table",my,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",hy,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",_y,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,[Ey,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",yy,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,[Ny,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",Vy,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)])]),fy]))),128)),gy,e.createElementVNode("div",Dy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((n=o.reportData)==null?void 0:n.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[xy,e.createElementVNode("div",null,[Cy,e.createElementVNode("table",Sy,[ky,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=d=>l.advisory=d),height:"320px",onBlur:s[1]||(s[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:s[2]||(s[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(d,v)=>{var te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",Ay,[e.createElementVNode("div",wy,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",Ty,[e.createElementVNode("div",null,e.toDisplayString((oe=(te=o.reportData)==null?void 0:te.vessel)==null?void 0:oe.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),Oy,e.createElementVNode("div",Fy,[e.createElementVNode("table",Py,[e.createElementVNode("tr",null,[Wy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),Ly,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[uy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),Hy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),My,e.createElementVNode("tr",null,[e.createElementVNode("td",Gy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",Iy,"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",$y,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Ry,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),zy,e.createElementVNode("div",Uy,[e.createElementVNode("table",Yy,[Zy,Qy,e.createElementVNode("tr",null,[Jy,e.createElementVNode("td",qy,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",Ky,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,[jy,e.createElementVNode("td",Xy,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",vy,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,[eN,e.createElementVNode("td",tN,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",oN,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,[lN,e.createElementVNode("td",aN,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",nN,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,[sN,e.createElementVNode("td",iN,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",cN,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,[dN,e.createElementVNode("td",rN,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",mN,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,[pN,e.createElementVNode("td",hN,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",_N,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",EN," 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",yN," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(se=o.reportData)==null?void 0:se.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",NN,[e.createTextVNode(" No Charter Party defined good weather was found. "),VN,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",fN,[gN,DN,(le=(ye=o.reportData)==null?void 0:ye.weather)!=null&&le.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",bN,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(_e=o.reportData)==null?void 0:_e.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",xN,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",CN,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",SN,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",kN,[BN,AN,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",wN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",TN,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),ON,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),FN,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",PN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",WN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",LN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",uN,[e.createElementVNode("div",HN,[e.createElementVNode("div",MN,[e.createTextVNode(" Time Analysis "),(Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",GN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",IN,[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),$N,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),RN,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),zN,e.createElementVNode("div",UN,[YN,ZN,e.createElementVNode("div",QN,[e.createElementVNode("div",null,e.toDisplayString((F=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JN,qN]),KN]),e.createElementVNode("div",jN,[e.createElementVNode("div",XN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),vN,e.createElementVNode("div",eV,[e.createElementVNode("div",null,e.toDisplayString((Pe=(me=o.reportData)==null?void 0:me.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),oV]),e.createElementVNode("div",lV,[e.createElementVNode("div",aV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),nV,e.createElementVNode("div",sV,[e.createElementVNode("div",null,e.toDisplayString((Le=(We=o.reportData)==null?void 0:We.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),iV,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),cV]),dV])]),e.createElementVNode("div",rV,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",mV,[e.createElementVNode("div",pV,[hV,_V,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString(($e=(pe=o.reportData)==null?void 0:pe.weather)!=null&&$e.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),yV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),fV]),e.createElementVNode("div",gV,[e.createElementVNode("div",DV," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),bV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((ze=(Re=o.reportData)==null?void 0:Re.weather)!=null&&ze.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),CV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),SV,e.createElementVNode("div",kV,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BV]),e.createElementVNode("div",AV,[e.createElementVNode("div",wV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),TV,e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((we=(z=o.reportData)==null?void 0:z.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),FV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),PV,e.createElementVNode("div",WV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),LV]),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),uV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),HV,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),MV,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(((He=d.timeConclusion)==null?void 0:He.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,GV))]),e.createElementVNode("div",IV,[e.createElementVNode("div",$V,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",RV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",zV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),UV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),YV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),ZV,e.createElementVNode("div",QV,[JV,qV,e.createElementVNode("div",KV,[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),jV,XV]),vV,ef,tf]),e.createElementVNode("div",of,[lf,((h=(Je=d.extend)==null?void 0:Je.cp)==null?void 0:h.dgo)>0?(e.openBlock(),e.createElementBlock("div",af,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",nf,[sf,cf,e.createElementVNode("div",df,[e.createElementVNode("div",null,e.toDisplayString((Te=(J=o.reportData)==null?void 0:J.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),mf,pf,hf]),e.createElementVNode("div",_f,[Ef,yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString((Me=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Vf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),ff,gf,Df]),bf,((Ke=(he=d.extend)==null?void 0:he.cp)==null?void 0:Ke.dgo)>0?(e.openBlock(),e.createElementBlock("div",xf,[Cf,Sf,e.createElementVNode("div",kf,[Bf,Af,e.createElementVNode("div",null,e.toDisplayString((ve=(Xe=o.reportData)==null?void 0:Xe.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",wf,[Tf,Of,e.createElementVNode("div",Ff,[Pf,Wf,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",Lf,[uf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Hf,[e.createElementVNode("div",Mf,[Gf,If,e.createElementVNode("div",$f,[e.createElementVNode("div",null,e.toDisplayString((ht=(pt=o.reportData)==null?void 0:pt.weather)!=null&&ht.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Rf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),zf,e.createElementVNode("div",Uf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),Yf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Zf,e.createElementVNode("div",Qf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),Jf]),e.createElementVNode("div",qf,[Kf,jf,e.createElementVNode("div",Xf,[e.createElementVNode("div",null,e.toDisplayString((Et=(_t=o.reportData)==null?void 0:_t.weather)!=null&&Et.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),vf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),o0,l0]),a0,e.createElementVNode("div",n0,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),s0]),e.createElementVNode("div",i0,[c0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString((Nt=(yt=o.reportData)==null?void 0:yt.weather)!=null&&Nt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),m0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),p0,e.createElementVNode("div",h0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),_0,E0]),y0,e.createElementVNode("div",N0,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),V0]),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),f0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),g0,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),D0,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",b0,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",x0,[C0,S0,e.createElementVNode("div",k0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),B0,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=o.reportData)==null?void 0:Vt.weather)!=null&&ft.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),A0,e.createElementVNode("div",w0,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",T0,[O0,F0,e.createElementVNode("div",P0,[e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=o.reportData)==null?void 0:gt.weather)!=null&&Dt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),W0,e.createElementVNode("div",null,e.toDisplayString((xt=(bt=o.reportData)==null?void 0:bt.weather)!=null&&xt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),L0,e.createElementVNode("div",u0,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,H0))]),e.createElementVNode("div",M0,[((St=(Ct=d.extend)==null?void 0:Ct.cp)==null?void 0:St.dgo)>0?(e.openBlock(),e.createElementBlock("div",G0,[I0,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",$0,[e.createElementVNode("div",R0,[z0,U0,e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((Bt=(kt=o.reportData)==null?void 0:kt.weather)!=null&&Bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Z0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Q0,e.createElementVNode("div",J0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),q0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),K0,e.createElementVNode("div",j0,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),X0]),e.createElementVNode("div",v0,[eg,tg,e.createElementVNode("div",og,[e.createElementVNode("div",null,e.toDisplayString((wt=(At=o.reportData)==null?void 0:At.weather)!=null&&wt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),lg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),ag,e.createElementVNode("div",ng,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),sg,ig]),cg,e.createElementVNode("div",dg,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),rg]),e.createElementVNode("div",mg,[pg,hg,e.createElementVNode("div",_g,[e.createElementVNode("div",null,e.toDisplayString((Ot=(Tt=o.reportData)==null?void 0:Tt.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Eg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),yg,e.createElementVNode("div",Ng,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Vg,fg]),gg,e.createElementVNode("div",Dg,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),xg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.entireCons:d.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.maxCons:d.fuelConclusion.dgo.entireCons),1),Sg,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,kg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Ag=ke(PE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Goe="",wg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,s=2){return t==="--"?"--":ie.roundPrecision(t,s)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,s,o){let c="";return s&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,_,i,E,b,x,y,g,B;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=(_=this.reportData)==null?void 0:_.weather)==null?void 0:i.showSig)??!0,this.showSwell=((b=(E=this.reportData)==null?void 0:E.weather)==null?void 0:b.showSwell)??!0,this.showWave=((y=(x=this.reportData)==null?void 0:x.weather)==null?void 0:y.showWave)??!0;let t=[];(B=(g=this.reportData)==null?void 0:g.segments)==null||B.forEach(r=>{let S=r.extend.cp;r.inventory.sample.hours.forEach(C=>{let O=JSON.parse(JSON.stringify(C));O.cp=S,t.push(O)})}),t.sort(function(r,S){let C=r.date,O=S.date;return C-O});let s="";t.forEach(r=>{r.seg!==s&&(r.isFirstSeg=!0,s=r.seg);let S=r.type.charAt(0);r.abbreviation=S,S==="M"?S="*":S==="A"&&(S=""),r.dateTime=S+" "+G(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Be=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Tg={class:"table",id:"second-table"},Og=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Fg={class:"subtitle"},Pg={class:"introduce"},Wg={class:"introduce-ship"},Lg={style:{"margin-bottom":"15px"}},ug=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Hg={rowspan:"4"},Mg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),Gg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),Ig=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),$g=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),Rg=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),zg={class:"summary-table"},Ug=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Yg=Be(()=>e.createElementVNode("th",{rowspan:"3"}," Date ",-1)),Zg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Qg=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Jg=["colspan"],qg={key:0,colspan:"2"},Kg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),jg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Xg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),vg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),o2={key:0,rowspan:"2"},l2=Be(()=>e.createElementVNode("br",null,null,-1)),a2={key:1,rowspan:"2"},n2=Be(()=>e.createElementVNode("br",null,null,-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2={key:2,rowspan:"2"},c2=Be(()=>e.createElementVNode("br",null,null,-1)),d2={key:3,colspan:"2"},r2={key:4,rowspan:"2"},m2=Be(()=>e.createElementVNode("br",null,null,-1)),p2={key:5,colspan:"2"},h2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),_2={key:6,rowspan:"2"},E2={key:7,rowspan:"2"},y2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),N2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),V2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),f2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),g2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),D2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),b2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),x2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),C2=Be(()=>e.createElementVNode("th",null,"FO",-1)),S2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),k2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),B2=Be(()=>e.createElementVNode("th",null,"BF",-1)),A2={key:0},w2={key:1},T2={key:2},O2={key:3},F2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),P2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),W2=Be(()=>e.createElementVNode("th",null,"FO",-1)),L2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),u2=Be(()=>e.createElementVNode("th",null,"FO",-1)),H2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),M2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),G2=Be(()=>e.createElementVNode("th",null,"BF",-1)),I2={class:"summary-tbody"};function $2(t,s,o,c,l,a){var _,i,E,b,x,y,g,B;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Tg,[Og,e.createElementVNode("div",Fg,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),e.createElementVNode("div",Pg,[e.createElementVNode("div",Wg,[e.createElementVNode("span",null,e.toDisplayString((g=(y=o.reportData)==null?void 0:y.vessel)==null?void 0:g.name),1)])]),e.createElementVNode("div",Lg,[e.createElementVNode("table",null,[ug,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((B=o.reportData)==null?void 0:B.segments,(r,S)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S},[e.createElementVNode("tr",null,[e.createElementVNode("td",Hg,e.toDisplayString(S+1),1),Mg,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,[Gg,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,[Ig,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,[$g,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))])])]),Rg,e.createElementVNode("div",null,[e.createElementVNode("table",zg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ug,Yg,Zg,Qg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Jg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",qg,"meteo")):e.createCommentVNode("",!0),Kg,jg]),e.createElementVNode("tr",null,[Xg,vg,e2,t2,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",o2,[e.createTextVNode("Spd"),l2,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",a2,[e.createTextVNode("Dis"),n2,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),s2,l.showWave?(e.openBlock(),e.createElementBlock("th",i2,[e.createTextVNode("Sea HT"),c2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",d2,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",r2,[e.createTextVNode("Sig Wave"),m2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",p2,"Current")):e.createCommentVNode("",!0),h2,o.isAdmin?(e.openBlock(),e.createElementBlock("th",_2,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",E2,"wxFactor")):e.createCommentVNode("",!0),y2,N2,V2,f2,g2,D2,b2,x2]),e.createElementVNode("tr",null,[C2,S2,k2,B2,l.showSwell?(e.openBlock(),e.createElementBlock("th",A2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",w2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",T2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",O2,"CF(kts)")):e.createCommentVNode("",!0),F2,P2,W2,L2,u2,H2,M2,G2])]),e.createElementVNode("tbody",I2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,S)=>{var C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(C=l.summaryTable[S+1])!=null&&C.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(((L=(O=r.meteo)==null?void 0:O.wind)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((T=(w=r.meteo)==null?void 0:w.wind)==null?void 0:T.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Y=(W=(D=r.meteo)==null?void 0:D.wave)==null?void 0:W.wd)==null?void 0:Y.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=($=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:$.swell)==null?void 0:P.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((M=(I=(V=r.meteo)==null?void 0:V.wave)==null?void 0:I.swell)==null?void 0:M.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=(H=(u=r.meteo)==null?void 0:u.wave)==null?void 0:H.sig)==null?void 0:Q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((K=(j=r.meteo)==null?void 0:j.current)==null?void 0:K.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((N=r.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((R=r.meteo)==null?void 0:R.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=r.meteo)==null?void 0:q.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 R2=ke(wg,[["render",$2],["__scopeId","data-v-9fe5beca"]]),z2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,s){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),s.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Nl.init(c))}let t=this,s=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:s};this.$nextTick(()=>{this.chart.setOption(o)})}}},U2=["id"];function Y2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,U2)])}const Z2=ke(z2,[["render",Y2]]),Q2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},J2={class:"logo"},q2=[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 K2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",J2,q2)}const j2=ke(Q2,[["render",K2]]),$oe="",X2={components:{ScCharts:Z2,BrabImg:j2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let s=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(s.push({num:l,id:a}),o=l)});let c=[];return s.forEach((l,a)=>{let _=0;a==s.length-1?_=t.length-l.id:_=s[a+1].id-l.id+1;let i=[];for(let E=0;E<t.length;E++)(E>l.id||E==l.id)&&_>0?(i.push(l.num),_=_-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,s){let o=[],c=null,l=0;t.forEach((_,i)=>{_!=c&&this.computedIsNull(_)!==""?(o.push({num:_,id:i}),c=_,l++):this.computedIsNull(_)!==""&&_==c&&(o[l-1].id=i)});let a=[];return o.forEach((_,i)=>{let E=i?o[i-1].id:-1;for(let b=E;b<_.id;b++)a.push(_.num)}),a}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const s=/.*(?=<)/,o=t.match(s);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let s=ie.EmailHelper.convert2Html(t);return s=s.replace(/<\/br><\/br>+/g,"</br>"),s=s.replace(/(<\/br> <\/br>)+/g,"</br>"),s}else return"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,s){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(s=>s.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,R)=>{let q=N.extend.cp;N.inventory.sample.hours.forEach((n,X)=>{let d=JSON.parse(JSON.stringify(n));d.cp=q,d.fuelConclusion=N.fuelConclusion,d.timeConclusion=N.timeConclusion,t.push(d)})}),t.sort(function(N,R){let q=N.date,n=R.date;return q-n});let s=[],o=[],c=[],l=[],a=[],_=[],i=[],E=[],b=[],x=[],y=[],g=[],B=[],r=[],S=[],C=[],O=[],L=[],w=[],T=[],D=[],W=[],Y=[],Z=[],$=[],P=[!1,!1],V=[],I=[],M=[!1,!1],u=[],H=[];t.forEach((N,R)=>{var n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;if(s.push(G(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&R==t.length-1&&(V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(V),V=[])):P.indexOf(!0)!==-1&&(V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(V),V=[]),N.excluded===!0?(M.indexOf(!0)===-1&&(R===0?u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!0),M.indexOf(!0)!=-1&&R===t.length-1&&(u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[])):M.indexOf(!0)!==-1&&(u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[]),(N==null?void 0:N.type)==="EOSP"&&((n=t[R+1])==null?void 0:n.type)==="BOSP"){let he=[];he.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),he.push({xAxis:G(t[R+1].utc).utc().format("MM/DD HHmm[Z]")}),H.push(he)}N.type!="A"&&(N.type==="BOSP"&&R===0?l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),(X=N==null?void 0:N.noon)==null?void 0:X.avgSpd,N==null?void 0:N.type]):l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((d=N==null?void 0:N.noon)==null?void 0:d.avgSpd)||"-",N==null?void 0:N.type]),w.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),Y.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((te=N==null?void 0:N.noon)==null?void 0:te.seasHt)||"-"])),E.push((N==null?void 0:N.type)!="A"?this.computedIsNull((oe=N==null?void 0:N.noon)==null?void 0:oe.foCons):""),B.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),$.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),c.push((N==null?void 0:N.cpSpd)??""),a.push(((ce=N==null?void 0:N.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=N==null?void 0:N.cp)==null?void 0:de.fo)??""),b.push(((ye=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:ye.underTolerance)??""),x.push(((_e=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:_e.overTolerance)??""),g.push(((Ne=N==null?void 0:N.cp)==null?void 0:Ne.dgo)??""),r.push(((fe=(Ve=N==null?void 0:N.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),S.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),O.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),L.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let q="";(Fe=(Oe=this.reportData)==null?void 0:Oe.weather)!=null&&Fe.sigSwitch?(q=(me=(F=(Ee=N.meteo)==null?void 0:Ee.wave)==null?void 0:F.sig)!=null&&me.height?(Le=(We=(Pe=N.meteo)==null?void 0:Pe.wave)==null?void 0:We.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",W.push(this.reportData.weather.sigHeight)):($e=(pe=this.reportData)==null?void 0:pe.weather)!=null&&$e.waveSwitch?(q=(z=(ze=(Re=N.meteo)==null?void 0:Re.wave)==null?void 0:ze.wd)!=null&&z.height?(Ue=(He=(we=N.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",W.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(q=(h=(Je=(Qe=N.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&h.height?(ue=(Te=(J=N.meteo)==null?void 0:J.wave)==null?void 0:Te.swell)==null?void 0:ue.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",W.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),D.push(q)}),this.params={xAxis:s,markArea:[{type:"line",markArea:{data:I},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:H},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,R)=>{N.indexOf("-")!==-1&&R!==l.length-1&&(N[1]=l[R+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),b=this.computedArray(b),x=this.computedArray(x),g=this.computedArray(g),r=this.computedArray(r),S=this.computedArray(S),E=this.computedCurrent(E),B=this.computedCurrent(B,"dgotype"),$=this.computedCurrent($),c.forEach((N,R)=>{let q={name:R==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(q)}),a.forEach((N,R)=>{let q={name:R==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(q)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,R)=>{let q={name:R==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};_.push(q)}),b.forEach((N,R)=>{let q={name:R==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};_.push(q)}),x.forEach((N,R)=>{let q={name:R==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};_.push(q)}),_.push({name:"Daily FO",type:"bar",showSymbol:!1,data:E,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),g.forEach((N,R)=>{let q={name:R==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};y.push(q)}),r.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};y.push(q)}),S.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};y.push(q)}),y.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:B,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),C.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0}),C.push({name:"Wind BF",type:"line",data:O,color:"#5eb3e0",showSymbol:!1,smooth:!0}),C.push({name:"Ship Report",type:"scatter",data:w,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),T.push({name:"CP Good Weather",type:"line",data:W,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");T.push({name:Q,type:"line",data:D,color:"#5eb3e0",showSymbol:!1,smooth:!0}),T.push({name:"Ship Report",type:"scatter",data:Y,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:$,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=_,this.DGOChartData=y,this.windSpdChartData=C,this.waveChartData=T,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),v2={class:"charts"},eD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),tD={class:"subtitle"},oD=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),lD={class:"weather-eChart"},aD={class:"charts page-title"},nD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),sD={class:"subtitle"},iD=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),cD={class:"weather-eChart"},dD={class:"charts page-title"},rD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),mD={class:"subtitle"},pD={class:"message-table"},hD=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),_D=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),ED=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),yD={style:{display:"inline-block",width:"50%"}},ND=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),VD={style:{display:"inline-block",width:"50%"}},fD={style:{margin:"15px auto","padding-left":"20px"}},gD=["src"],DD={class:"charts-imgLegend"},bD={style:{position:"relative",left:"-20px"}},xD=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)),CD=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)),SD=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)),kD={key:0,class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),AD={class:"subtitle"},wD={class:"message-table"},TD=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),OD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),FD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),PD={style:{display:"inline-block",width:"50%"}},WD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),LD={style:{display:"inline-block",width:"50%"}},uD={class:"columns"},HD={class:"title"},MD=["innerHTML"],GD={class:"charts",style:{"page-break-before":"always"}},ID=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),$D={class:"methodology"},RD=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's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-4fb04207> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div><div 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 "about", 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),zD={class:"definition"},UD={class:"equation"},YD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),ZD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),QD={style:{width:"50%"},class:"fraction"},JD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jD={class:"equation"},XD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),vD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),e3={style:{width:"50%"},class:"fraction"},t3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o3=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),l3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),a3={class:"equation"},n3=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),s3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),i3={style:{width:"50%"},class:"fraction"},c3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d3=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),r3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),m3=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)),p3=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),h3=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)),_3=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),E3=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function y3(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe;const _=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",v2,[eD,e.createElementVNode("div",tD,e.toDisplayString(a.computedTime((g=o.reportData)==null?void 0:g.createdAt)),1),oD,e.createElementVNode("div",lD,[e.createVNode(_,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",aD,[nD,e.createElementVNode("div",sD,e.toDisplayString(a.computedTime((B=o.reportData)==null?void 0:B.createdAt)),1),iD,e.createElementVNode("div",cD,[e.createVNode(_,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",dD,[rD,e.createElementVNode("div",mD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",pD,[e.createElementVNode("tr",null,[hD,e.createElementVNode("td",null,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.name),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,e.toDisplayString((O=o.reportData)==null?void 0:O.preparedFor),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,[e.createElementVNode("span",yD,e.toDisplayString(((w=(L=o.reportData)==null?void 0:L.departure)==null?void 0:w.portName)||a.computedLngLat((D=(T=o.reportData)==null?void 0:T.departure)==null?void 0:D.lat,(Y=(W=o.reportData)==null?void 0:W.departure)==null?void 0:Y.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime(($=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:$.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ND,e.createElementVNode("td",null,[e.createElementVNode("span",VD,e.toDisplayString(((V=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:V.portName)||a.computedLngLat((M=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:M.lat,(H=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:H.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",fD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,gD),e.createElementVNode("div",DD,[e.createElementVNode("div",bD,[xD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),CD]),SD])])]),(R=(N=o.reportData)==null?void 0:N.weather)!=null&&R.showMails?(e.openBlock(),e.createElementBlock("div",kD,[BD,e.createElementVNode("div",AD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",wD,[e.createElementVNode("tr",null,[TD,e.createElementVNode("td",null,e.toDisplayString((n=(q=o.reportData)==null?void 0:q.vessel)==null?void 0:n.name),1)]),e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,[e.createElementVNode("span",PD,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((oe=(te=o.reportData)==null?void 0:te.departure)==null?void 0:oe.lat,(ce=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[WD,e.createElementVNode("td",null,[e.createElementVNode("span",LD,e.toDisplayString(((le=(ye=o.reportData)==null?void 0:ye.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",uD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ee,F)=>(e.openBlock(),e.createElementBlock("div",{key:Ee.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",HD,"FROM "+e.toDisplayString(a.computeFrom(Ee.from))+" "+e.toDisplayString(a.computeUTCTime(Ee.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ee==null?void 0:Ee.body)??"-")},null,8,MD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",GD,[ID,e.createElementVNode("div",$D,[RD,e.createElementVNode("div",zD,[e.createElementVNode("div",UD,[YD,ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",null,e.toDisplayString((xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JD,qD]),KD]),e.createElementVNode("div",jD,[XD,vD,e.createElementVNode("div",e3,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t3,o3]),l3]),e.createElementVNode("div",a3,[n3,s3,e.createElementVNode("div",i3,[e.createElementVNode("div",null,e.toDisplayString((Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c3,d3]),r3]),m3]),p3,h3,_3,E3])])],2)}const N3=ke(X2,[["render",y3],["__scopeId","data-v-4fb04207"]]),Roe="",V3={components:{firstPart:Ag,secondPart:R2,thirdPart:N3},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},f3={class:"voyage-report"};function g3(t,s,o,c,l,a){const _=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),E=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",f3,[e.createVNode(_,{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,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=ke(V3,[["render",g3],["__scopeId","data-v-61638416"]]),zoe="",D3={components:{Editor:Zo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?G(t).utc().format("MMMM D, HHmm[Z]"):s?G(t).utc().format(s):G(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),_=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:_}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):s=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var s,o,c;return(s=t.timeConclusion)!=null&&s.spdPercentage?ie.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(s=this.reportData)==null?void 0:s.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let E={begin:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(E)}),!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 _=[];c.extend.segTimes.forEach(i=>{_.push(this.computedSeg(i))}),this.segDetail.push(_),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},p=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),b3=p(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),x3={class:"fli-main"},C3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),S3={class:"card basics"},k3={class:"list flex"},B3={class:"item"},A3=p(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),w3={class:"content flex"},T3={class:"item"},O3=p(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),F3={class:"content flex"},P3={class:"item"},W3=p(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),L3={class:"content flex"},u3={class:"list"},H3={class:"item"},M3=p(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),G3={class:"content flex"},I3={class:"content flex"},$3={class:"item"},R3=p(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),z3={class:"content flex"},U3={class:"content flex"},Y3={class:"item"},Z3=p(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Q3={class:"content flexL"},J3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),q3={class:"clause"},K3={key:0,class:"definition flex"},j3={key:1,class:"definition flex"},X3={class:"item"},v3=p(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),eb={class:"content"},tb={key:0,class:"item"},ob=p(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),lb={class:"content"},ab={key:1,class:"item"},nb=p(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),sb={class:"content"},ib={key:2,class:"item"},cb=p(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),db={class:"content"},rb={key:3,class:"item"},mb=p(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),pb={class:"content"},hb={key:4,class:"item"},_b=[p(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Eb={key:5,class:"item"},yb=[p(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Nb={class:"definition flexM"},Vb={class:"table"},fb=p(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),gb=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Db={class:"summary"},bb={key:0,class:"summary-overall"},xb=p(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Cb={class:"summary-overall-row"},Sb={class:"card"},kb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bb={class:"main-content"},Ab={key:0},wb={key:1},Tb={class:"card"},Ob=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Fb={class:"main-content"},Pb={key:0},Wb={key:1},Lb={class:"card"},ub=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Hb={class:"main-content"},Mb={key:0},Gb={key:1},Ib={class:"summary-overall-row"},$b={class:"card"},Rb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),zb={class:"main-content"},Ub={class:"card"},Yb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Zb={class:"main-content"},Qb={class:"card"},Jb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),qb={class:"main-content"},Kb=p(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),jb={class:"card",style:{flex:"1.5"}},Xb={class:"card-title"},vb=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ex={class:"card-segment"},tx={class:"card-segment"},ox={class:"card-segment"},lx=p(()=>e.createElementVNode("div",null,"Applied",-1)),ax={class:"uppercase"},nx={class:"card summary-card",style:{flex:"1"}},sx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),ix={key:0,class:"main-content"},cx={key:0,class:"iconfont success"},dx={key:1,class:"iconfont error"},rx={key:1,class:"main-content"},mx={class:"card-content",style:{"justify-content":"flex-start"}},px={class:"card summary-card",style:{flex:"1"}},hx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),_x={key:0,class:"main-content"},Ex={key:0,class:"iconfont success"},yx={key:1,class:"iconfont error"},Nx={key:1,class:"main-content"},Vx={class:"card-content",style:{"justify-content":"flex-start"}},fx={class:"card summary-card",style:{flex:"1"}},gx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Dx={key:0,class:"main-content"},bx={key:0,class:"iconfont success"},xx={key:1,class:"iconfont error"},Cx={key:1,class:"main-content"},Sx={class:"card-content",style:{"justify-content":"flex-start"}},kx={style:{"page-break-inside":"avoid"}},Bx=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Ax={class:"remarks"},wx={class:"item"},Tx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Ox={class:"speed"},Fx={class:"uppercase"},Px={class:"item"},Wx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Lx={key:0,class:"remark-detail"},ux={key:1,class:"remark-detail"},Hx={class:"page-avoid"},Mx={class:"dashed"},Gx={class:"card phase-title-card",style:{flex:"0.5"}},Ix={class:"card-title"},$x=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Rx={class:"card-segment"},zx={class:"card-segment"},Ux={class:"card-segment"},Yx=p(()=>e.createElementVNode("div",null,"Applied",-1)),Zx={class:"uppercase"},Qx=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Jx={class:"phase-analysis"},qx={class:"card phase-card",style:{flex:"1"}},Kx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),jx={class:"main-content"},Xx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),vx={class:"main-content"},eC={class:"card-content"},tC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),oC=p(()=>e.createElementVNode("span",null,"mt",-1)),lC={class:"card-content"},aC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),nC=p(()=>e.createElementVNode("span",null,"mt",-1)),sC={class:"card-content"},iC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),cC=p(()=>e.createElementVNode("span",null,"mt",-1)),dC={class:"card-content"},rC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),mC=p(()=>e.createElementVNode("span",null,"mt",-1)),pC=p(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),hC={class:"card phase-card",style:{flex:"1"}},_C=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),EC={class:"main-content"},yC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),NC={class:"main-content"},VC={class:"card-content"},fC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),gC=p(()=>e.createElementVNode("span",null,"mt",-1)),DC={class:"card-content"},bC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),xC=p(()=>e.createElementVNode("span",null,"mt",-1)),CC={class:"card-content"},SC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),kC=p(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},AC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),wC=p(()=>e.createElementVNode("span",null,"mt",-1)),TC=p(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),OC={class:"phase-analysis"},FC={class:"card phase-card",style:{flex:"1"}},PC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),WC={class:"main-content"},LC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),uC={class:"main-content"},HC={class:"card-content"},MC=p(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),GC=p(()=>e.createElementVNode("span",null,"nm",-1)),IC={class:"card-content"},$C=p(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),RC=p(()=>e.createElementVNode("span",null,"nm",-1)),zC={class:"card-content"},UC=p(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),YC=p(()=>e.createElementVNode("span",null,"nm",-1)),ZC={class:"card-content"},QC=p(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),JC=p(()=>e.createElementVNode("span",null,"nm",-1)),qC={class:"card phase-card",style:{flex:"1"}},KC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),jC={class:"main-content"},XC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),vC={class:"main-content"},eS={class:"card-content"},tS=p(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),oS=p(()=>e.createElementVNode("span",null,"hrs",-1)),lS={class:"card-content"},aS=p(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),nS=p(()=>e.createElementVNode("span",null,"hrs",-1)),sS={class:"card-content"},iS=p(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),cS=p(()=>e.createElementVNode("span",null,"hrs",-1)),dS={class:"card-content"},rS=p(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),mS=p(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},hS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),_S={class:"main-content"},ES=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),yS={class:"main-content"},NS={class:"card-content"},VS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),fS=p(()=>e.createElementVNode("span",null,"kts",-1)),gS={class:"card-content"},DS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=p(()=>e.createElementVNode("span",null,"kts",-1)),xS={class:"card-content"},CS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),SS=p(()=>e.createElementVNode("span",null,"kts",-1)),kS={class:"card-content"},BS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),AS=p(()=>e.createElementVNode("span",null,"kts",-1)),wS={class:"phase-analysis"},TS={class:"card phase-card",style:{flex:"1"}},OS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),FS={class:"main-content"},PS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),WS={class:"main-content"},LS={class:"card-content"},uS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),HS=p(()=>e.createElementVNode("span",null,"mt",-1)),MS={class:"card-content"},GS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),IS=p(()=>e.createElementVNode("span",null,"mt",-1)),$S={class:"card-content"},RS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),zS=p(()=>e.createElementVNode("span",null,"mt",-1)),US={class:"card-content"},YS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),ZS=p(()=>e.createElementVNode("span",null,"mt",-1)),QS={class:"card phase-card",style:{flex:"1"}},JS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),qS={class:"main-content"},KS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),jS={class:"main-content"},XS={class:"card-content"},vS=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),ek=p(()=>e.createElementVNode("span",null,"mt",-1)),tk={class:"card-content"},ok=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),lk=p(()=>e.createElementVNode("span",null,"mt",-1)),ak={class:"card-content"},nk=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),sk=p(()=>e.createElementVNode("span",null,"mt",-1)),ik={class:"card-content"},ck=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),dk=p(()=>e.createElementVNode("span",null,"mt",-1)),rk={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},mk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),pk={class:"main-content"},hk={class:"card-content"},_k=p(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ek={key:0},yk=p(()=>e.createElementVNode("span",null,"kts",-1)),Nk={key:1},Vk={class:"phase-card"},fk={class:"card",style:{flex:"1"}},gk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Dk={key:0,class:"main-content"},bk={key:0,class:"iconfont success"},xk={key:1,class:"iconfont error"},Ck={key:1,class:"main-content"},Sk={class:"nogwd"},kk={class:"card-content",style:{"justify-content":"flex-start"}},Bk={key:0},Ak={class:"equation"},wk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),Tk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ok={style:{width:"8%"}},Fk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Wk={style:{width:"10%"}},Lk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),uk={class:"equation"},Hk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),Mk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gk={style:{width:"8%"}},Ik=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$k=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Rk={style:{width:"10%"}},zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Uk={class:"equation"},Yk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Qk={style:{width:"8%"}},Jk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"10%"}},jk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Xk={class:"phase-card"},vk={class:"card",style:{flex:"1"}},e4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),t4={key:0,class:"main-content"},o4={key:0,class:"iconfont success"},l4={key:1,class:"iconfont error"},a4={key:1,class:"main-content"},n4={class:"nogwd"},s4={class:"card-content",style:{"justify-content":"flex-start"}},i4={key:0},c4={class:"equation"},d4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),r4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),m4={style:{width:"8%"}},p4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),_4={style:{width:"120px"}},E4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),N4={style:{width:"10%"}},V4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),f4={class:"equation"},g4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),D4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b4={style:{width:"8%"}},x4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),S4={style:{width:"120px"}},k4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=p(()=>e.createElementVNode("div",null,"24",-1)),A4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),w4={style:{width:"10%"}},T4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),O4={class:"equation"},F4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),P4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),W4={style:{width:"8%"}},L4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),H4={style:{width:"120px"}},M4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),G4=p(()=>e.createElementVNode("div",null,"24",-1)),I4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$4={style:{width:"10%"}},R4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),z4={key:0,class:"phase-card"},U4={class:"card",style:{flex:"1"}},Y4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Z4={key:0,class:"main-content"},Q4={key:0,class:"iconfont success"},J4={key:1,class:"iconfont error"},q4={key:1,class:"main-content"},K4={class:"nogwd"},j4={class:"card-content",style:{"justify-content":"flex-start"}},X4={key:0},v4={class:"equation"},eB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),tB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oB={style:{width:"8%"}},lB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),nB={style:{width:"120px"}},sB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cB={style:{width:"10%"}},dB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),rB={class:"equation"},mB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),pB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hB={style:{width:"8%"}},_B=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yB={style:{width:"120px"}},NB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VB=p(()=>e.createElementVNode("div",null,"24",-1)),fB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gB={style:{width:"10%"}},DB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),bB={class:"equation"},xB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),CB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SB={style:{width:"8%"}},kB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),AB={style:{width:"120px"}},wB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TB=p(()=>e.createElementVNode("div",null,"24",-1)),OB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),FB={style:{width:"10%"}},PB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),WB=p(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),LB={class:"formular dashed",style:{"page-break-inside":"avoid"}},uB={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},HB=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),MB={class:""},GB={class:"equation"},IB=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),$B=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RB={style:{width:"50%"},class:"fraction"},zB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UB=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),YB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),ZB={class:"equation"},QB=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),JB=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),qB={style:{width:"50%"},class:"fraction"},KB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jB=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),XB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),vB={class:"equation"},e5=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o5={style:{width:"50%"},class:"fraction"},l5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a5=p(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),n5=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),s5=p(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),i5={class:"flexL formular-item",style:{"margin-left":"20px"}},c5=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),d5={class:""},r5={class:"equation"},m5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),p5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h5={style:{width:"25%"},class:"fraction"},_5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E5=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),y5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),N5=p(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),V5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),f5={class:"equation"},g5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),D5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b5={style:{width:"25%"},class:"fraction"},x5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),S5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k5=p(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),B5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),A5={class:"equation"},w5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),T5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),O5={style:{width:"25%"},class:"fraction"},F5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),W5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),L5=p(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),u5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),H5=p(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),M5=p(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function G5(t,s,o,c,l,a){var _,i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly?"watermark":"")},[b3,e.createElementVNode("div",x3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",k3,[e.createElementVNode("div",B3,[A3,e.createElementVNode("div",w3,e.toDisplayString((E=o.reportData)==null?void 0:E.preparedFor),1)]),e.createElementVNode("div",T3,[O3,e.createElementVNode("div",F3,e.toDisplayString((x=(b=o.reportData)==null?void 0:b.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",P3,[W3,e.createElementVNode("div",L3,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",u3,[e.createElementVNode("div",H3,[M3,e.createElementVNode("div",G3,e.toDisplayString(((g=(y=o.reportData)==null?void 0:y.departure)==null?void 0:g.portName)||a.computedLngLat((r=(B=o.reportData)==null?void 0:B.departure)==null?void 0:r.lat,(C=(S=o.reportData)==null?void 0:S.departure)==null?void 0:C.lng)),1),e.createElementVNode("div",I3,e.toDisplayString(a.computedTime((L=(O=o.reportData)==null?void 0:O.departure)==null?void 0:L.utcTime,"table")),1)]),e.createElementVNode("div",$3,[R3,e.createElementVNode("div",z3,e.toDisplayString(((T=(w=o.reportData)==null?void 0:w.arrival)==null?void 0:T.portName)||a.computedLngLat((W=(D=o.reportData)==null?void 0:D.arrival)==null?void 0:W.lat,(Z=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",U3,e.toDisplayString(a.computedTime((P=($=o.reportData)==null?void 0:$.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,e.toDisplayString((I=(V=o.reportData)==null?void 0:V.voyage)==null?void 0:I.loadCondition),1)])])]),J3,e.createElementVNode("div",q3,[(u=(M=o.reportData)==null?void 0:M.weather)!=null&&u.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",K3," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",j3,[e.createElementVNode("div",X3,[v3,e.createElementVNode("div",eb,"BF "+e.toDisplayString(((Q=(H=o.reportData)==null?void 0:H.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",tb,[ob,e.createElementVNode("div",lb,e.toDisplayString(((R=(N=o.reportData)==null?void 0:N.weather)==null?void 0:R.waveHeight)||"-")+" Meter",1)])):(n=(q=o.reportData)==null?void 0:q.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",ab,[nb,e.createElementVNode("div",sb,e.toDisplayString(((d=(X=o.reportData)==null?void 0:X.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(te=(v=o.reportData)==null?void 0:v.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",ib,[cb,e.createElementVNode("div",db,e.toDisplayString(((se=(oe=o.reportData)==null?void 0:oe.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(ye=(re=o.reportData)==null?void 0:re.weather)!=null&&ye.swellHeight||(_e=(le=o.reportData)==null?void 0:le.weather)!=null&&_e.sigSwitch?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("div",pb,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",hb,_b)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Eb,yb)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Nb,[e.createElementVNode("table",Vb,[fb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(h,J)=>(e.openBlock(),e.createElementBlock("tr",{key:J},[e.createElementVNode("td",null,e.toDisplayString(h==null?void 0:h.type),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.speed} | ${h==null?void 0:h.spdOfOver} , ${h.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.fo} | ${h==null?void 0:h.over} , ${h.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.dgo} | ${h==null?void 0:h.over} , ${h.under}`),1)]))),128))])])])]),gb,e.createElementVNode("div",Db,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",bb,[xb,e.createElementVNode("div",Cb,[e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,[(Oe=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",Ab,e.toDisplayString((Ee=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Ee.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Tb,[Ob,e.createElementVNode("div",Fb,[(me=(F=o.reportData)==null?void 0:F.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",Pb,e.toDisplayString((We=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Lb,[ub,e.createElementVNode("div",Hb,[(pe=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",Mb,e.toDisplayString((Re=($e=o.reportData)==null?void 0:$e.goodWx)==null?void 0:Re.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Gb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Ib,[e.createElementVNode("div",$b,[Rb,e.createElementVNode("div",zb,e.toDisplayString((z=(ze=o.reportData)==null?void 0:ze.allWx)==null?void 0:z.avgSpd)+" kts ",1)]),e.createElementVNode("div",Ub,[Yb,e.createElementVNode("div",Zb,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:He.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Qb,[Jb,e.createElementVNode("div",qb,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),Kb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(h,J)=>{var Te,ue,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:J},[e.createElementVNode("div",jb,[e.createElementVNode("div",Xb,[vb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(he,Ke)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ke,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",ex,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port1),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time1),1)]),e.createElementVNode("div",tx,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port2),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time2),1)])],2))),128)),e.createElementVNode("div",ox,[lx,e.createElementVNode("div",null,[e.createElementVNode("span",ax,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",nx,[sx,(Te=h.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",ix,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",cx,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",mx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",px,[hx,(ue=h.goodWx)!=null&&ue.distance?(e.openBlock(),e.createElementBlock("div",_x,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ex,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",yx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Nx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Vx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",fx,[gx,(Me=h.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Dx,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",xx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Cx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Sx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",kx,[Bx,e.createElementVNode("div",Ax,[e.createElementVNode("div",wx,[Tx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(h,J)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:J},[e.createElementVNode("div",Ox,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${J+1}. Phase ${J+1} Applied `)+" ",1),e.createElementVNode("span",Fx,e.toDisplayString(h.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Te,ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ue},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Px,[Wx,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Lx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(h,J)=>(e.openBlock(),e.createElementBlock("div",{key:J},e.toDisplayString(`From ${h.begin} to ${h.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",ux,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(h,J)=>{var Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,It,$t,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,Io,$o,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:J},[e.createElementVNode("div",Hx,[e.createElementVNode("div",Mx,[e.createElementVNode("div",Gx,[e.createElementVNode("div",Ix,[$x,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Wt,fl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+fl,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",Rx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time1),1)]),e.createElementVNode("div",zx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time2),1)])],2))),128)),e.createElementVNode("div",Ux,[Yx,e.createElementVNode("div",null,[e.createElementVNode("span",Zx,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])])]),Qx,e.createElementVNode("div",Jx,[e.createElementVNode("div",qx,[Kx,e.createElementVNode("div",jx,[e.createElementVNode("span",null,e.toDisplayString(((Te=h.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),Xx,e.createElementVNode("div",vx,[e.createElementVNode("span",null,e.toDisplayString(((ue=h.allWx)==null?void 0:ue.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",eC,[tC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=h.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((he=h.goodWx)==null?void 0:he.inEca.avgFoEcaCons)||"-"),1),nC])]),e.createElementVNode("div",sC,[iC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ke=h.allWx)==null?void 0:Ke.outEca.avgFoCons)||"-"),1),cC])]),e.createElementVNode("div",dC,[rC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=h.allWx)==null?void 0:Xe.inEca.avgFoEcaCons)||"-"),1),mC])]),pC]),e.createElementVNode("div",hC,[_C,e.createElementVNode("div",EC,[e.createElementVNode("span",null,e.toDisplayString(((ve=h.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),yC,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((ot=h.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",VC,[fC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=h.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),gC])]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=h.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=h.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=h.allWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),wC])]),TC])]),e.createElementVNode("div",OC,[e.createElementVNode("div",FC,[PC,e.createElementVNode("div",WC,[e.createElementVNode("span",null,e.toDisplayString(((ht=h.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),LC,e.createElementVNode("div",uC,[e.createElementVNode("span",null,e.toDisplayString(((_t=h.allWx)==null?void 0:_t.distance)||"-")+" nm",1)]),e.createElementVNode("div",HC,[MC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=h.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),GC])]),e.createElementVNode("div",IC,[$C,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=h.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),RC])]),e.createElementVNode("div",zC,[UC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=h.allWx)==null?void 0:Nt.outEca.distance)||"-"),1),YC])]),e.createElementVNode("div",ZC,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=h.allWx)==null?void 0:Vt.inEca.distance)||"-"),1),JC])])]),e.createElementVNode("div",qC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("span",null,e.toDisplayString(((ft=h.goodWx)==null?void 0:ft.time)||"-")+" hrs",1)]),XC,e.createElementVNode("div",vC,[e.createElementVNode("span",null,e.toDisplayString(((gt=h.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",eS,[tS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=h.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),oS])]),e.createElementVNode("div",lS,[aS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=h.goodWx)==null?void 0:bt.inEca.time)||"-"),1),nS])]),e.createElementVNode("div",sS,[iS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=h.allWx)==null?void 0:xt.outEca.time)||"-"),1),cS])]),e.createElementVNode("div",dS,[rS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=h.allWx)==null?void 0:Ct.inEca.time)||"-"),1),mS])])]),e.createElementVNode("div",pS,[hS,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((St=h.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((kt=h.allWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",NS,[VS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=h.goodWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),fS])]),e.createElementVNode("div",gS,[DS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=h.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",xS,[CS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=h.allWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),SS])]),e.createElementVNode("div",kS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=h.allWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),AS])])])]),e.createElementVNode("div",wS,[e.createElementVNode("div",TS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Ot=h.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",WS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=h.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",LS,[uS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=h.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),HS])]),e.createElementVNode("div",MS,[GS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=h.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),IS])]),e.createElementVNode("div",$S,[RS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=h.allWx)==null?void 0:No.outEca.sumFoCons)||"-"),1),zS])]),e.createElementVNode("div",US,[YS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=h.allWx)==null?void 0:Vo.inEca.sumFoCons)||"-"),1),ZS])])]),e.createElementVNode("div",QS,[JS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((fo=h.goodWx)==null?void 0:fo.sumDgoCons)||"-")+" mt",1)]),KS,e.createElementVNode("div",jS,[e.createElementVNode("span",null,e.toDisplayString(((go=h.allWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",XS,[vS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Do=h.goodWx)==null?void 0:Do.outEca.sumDgoCons)||"-"),1),ek])]),e.createElementVNode("div",tk,[ok,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bo=h.goodWx)==null?void 0:bo.inEca.sumDgoCons)||"-"),1),lk])]),e.createElementVNode("div",ak,[nk,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xo=h.allWx)==null?void 0:xo.outEca.sumDgoCons)||"-"),1),sk])]),e.createElementVNode("div",ik,[ck,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((U=h.allWx)==null?void 0:U.inEca.sumDgoCons)||"-"),1),dk])])]),e.createElementVNode("div",rk,[mk,e.createElementVNode("div",pk,[e.createElementVNode("span",null,e.toDisplayString(((tt=h.goodWx)==null?void 0:tt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",hk,[_k,(Ft=h.goodWx)!=null&&Ft.distance&&!((Mt=(Pt=o.reportData)==null?void 0:Pt.weather)!=null&&Mt.favorableCur&&((Gt=h.goodWx)==null?void 0:Gt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",Ek,[e.createTextVNode(e.toDisplayString(a.computedPositive((It=h.goodWx)==null?void 0:It.avgCf)),1),yk])):(e.openBlock(),e.createElementBlock("b",Nk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,($t=h.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",Dk,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",bk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",xk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Ck,[e.createElementVNode("span",Sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rt=h.goodWx)!=null&&Rt.distance?"":"analysis-none"} card analysis-card`)},[(zt=h.goodWx)!=null&&zt.distance?(e.openBlock(),e.createElementBlock("div",Bk,[e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",Ok,[e.createElementVNode("div",null,e.toDisplayString((Yt=(Ut=o.reportData)==null?void 0:Ut.weather)!=null&&Yt.noExtrapolation?(Zt=h.goodWx)==null?void 0:Zt.distance:(Qt=h.allWx)==null?void 0:Qt.distance),1),Fk,e.createElementVNode("div",null,e.toDisplayString((Jt=h.goodWx)==null?void 0:Jt.pfmSpd),1)]),Pk,e.createElementVNode("div",Wk,e.toDisplayString(h.timeConclusion.timeAtPfmSpd)+" Hrs",1),Lk]),e.createElementVNode("div",uk,[Hk,Mk,e.createElementVNode("div",Gk,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=o.reportData)==null?void 0:qt.weather)!=null&&Kt.noExtrapolation?(jt=h.goodWx)==null?void 0:jt.distance:(Xt=h.allWx)==null?void 0:Xt.distance),1),Ik,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),$k,e.createElementVNode("div",Rk,e.toDisplayString(h.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),zk]),e.createElementVNode("div",Uk,[Yk,Zk,e.createElementVNode("div",Qk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=h.goodWx)==null?void 0:to.distance:(oo=h.allWx)==null?void 0:oo.distance),1),Jk,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.plusAbtSpd),1)]),qk,e.createElementVNode("div",Kk,e.toDisplayString(h.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),jk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Xk,[e.createElementVNode("div",vk,[e4,(lo=h.goodWx)!=null&&lo.distance?(e.openBlock(),e.createElementBlock("div",t4,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",o4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",l4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",a4,[e.createElementVNode("span",n4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",s4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ao=h.goodWx)!=null&&ao.distance?"":"analysis-none"} card analysis-card`)},[(no=h.goodWx)!=null&&no.distance?(e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",c4,[d4,r4,e.createElementVNode("div",m4,[e.createElementVNode("div",null,e.toDisplayString((io=(so=o.reportData)==null?void 0:so.weather)!=null&&io.noExtrapolation?(co=h.goodWx)==null?void 0:co.distance:(Co=h.allWx)==null?void 0:Co.distance),1),p4,e.createElementVNode("div",null,e.toDisplayString((So=h.goodWx)==null?void 0:So.pfmSpd),1)]),h4,e.createElementVNode("div",_4,[e.createElementVNode("div",null,e.toDisplayString((ko=h.goodWx)==null?void 0:ko.sumFoCons)+" "+e.toDisplayString(((Bo=h.allWx)==null?void 0:Bo.inEca.distance)>0?` + ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),E4,e.createElementVNode("div",null,e.toDisplayString((Ao=h.goodWx)==null?void 0:Ao.time),1)]),y4,e.createElementVNode("div",N4,e.toDisplayString(h.fuelConclusion.fo.entireCons)+" MT",1),V4]),e.createElementVNode("div",f4,[g4,D4,e.createElementVNode("div",b4,[e.createElementVNode("div",null,e.toDisplayString((To=(wo=o.reportData)==null?void 0:wo.weather)!=null&&To.noExtrapolation?(Oo=h.goodWx)==null?void 0:Oo.distance:(Fo=h.allWx)==null?void 0:Fo.distance),1),x4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),C4,e.createElementVNode("div",S4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.overTolerance),1),k4,B4]),A4,e.createElementVNode("div",w4,e.toDisplayString(h.fuelConclusion.fo.maxCons)+" MT",1),T4]),e.createElementVNode("div",O4,[F4,P4,e.createElementVNode("div",W4,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Wo.noExtrapolation?(Lo=h.goodWx)==null?void 0:Lo.distance:(uo=h.allWx)==null?void 0:uo.distance),1),L4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),u4,e.createElementVNode("div",H4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.underTolerance),1),M4,G4]),I4,e.createElementVNode("div",$4,e.toDisplayString(h.fuelConclusion.fo.minCons)+" MT",1),R4])])):e.createCommentVNode("",!0)],2)]),((Mo=(Ho=h==null?void 0:h.extend)==null?void 0:Ho.cp)==null?void 0:Mo.dgo)>0?(e.openBlock(),e.createElementBlock("div",z4,[e.createElementVNode("div",U4,[Y4,(Go=h.goodWx)!=null&&Go.distance?(e.openBlock(),e.createElementBlock("div",Z4,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",J4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",q4,[e.createElementVNode("span",K4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",j4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Io=h.goodWx)!=null&&Io.distance?"":"analysis-none"} card analysis-card`)},[($o=h.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",X4,[e.createElementVNode("div",v4,[eB,tB,e.createElementVNode("div",oB,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=o.reportData)==null?void 0:Ro.weather)!=null&&zo.noExtrapolation?(Uo=h.goodWx)==null?void 0:Uo.distance:(Yo=h.allWx)==null?void 0:Yo.distance),1),lB,e.createElementVNode("div",null,e.toDisplayString((Qo=h.goodWx)==null?void 0:Qo.pfmSpd),1)]),aB,e.createElementVNode("div",nB,[e.createElementVNode("div",null,e.toDisplayString((Jo=h.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString(((qo=h.allWx)==null?void 0:qo.inEca.distance)>0?` - ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),sB,e.createElementVNode("div",null,e.toDisplayString((Ko=h.goodWx)==null?void 0:Ko.time),1)]),iB,e.createElementVNode("div",cB,e.toDisplayString(h.fuelConclusion.dgo.entireCons)+" MT",1),dB]),e.createElementVNode("div",rB,[mB,pB,e.createElementVNode("div",hB,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=o.reportData)==null?void 0:jo.weather)!=null&&Xo.noExtrapolation?(vo=h.goodWx)==null?void 0:vo.distance:(el=h.allWx)==null?void 0:el.distance),1),_B,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),EB,e.createElementVNode("div",yB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.overTolerance),1),NB,VB]),fB,e.createElementVNode("div",gB,e.toDisplayString(h.fuelConclusion.dgo.maxCons)+" MT",1),DB]),e.createElementVNode("div",bB,[xB,CB,e.createElementVNode("div",SB,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=o.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?(ll=h.goodWx)==null?void 0:ll.distance:(al=h.allWx)==null?void 0:al.distance),1),kB,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),BB,e.createElementVNode("div",AB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.underTolerance),1),wB,TB]),OB,e.createElementVNode("div",FB,e.toDisplayString(h.fuelConclusion.dgo.minCons)+" MT",1),PB])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),WB,e.createElementVNode("div",LB,[e.createElementVNode("div",uB,[HB,e.createElementVNode("div",MB,[e.createElementVNode("div",GB,[IB,$B,e.createElementVNode("div",RB,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=o.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),zB,UB]),YB]),e.createElementVNode("div",ZB,[QB,JB,e.createElementVNode("div",qB,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),KB,jB]),XB]),e.createElementVNode("div",vB,[e5,t5,e.createElementVNode("div",o5,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l5,a5]),n5]),s5])]),e.createElementVNode("div",i5,[c5,e.createElementVNode("div",d5,[e.createElementVNode("div",r5,[m5,p5,e.createElementVNode("div",h5,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_5,E5]),y5,N5,V5]),e.createElementVNode("div",f5,[g5,D5,e.createElementVNode("div",b5,[e.createElementVNode("div",null,e.toDisplayString((_l=(hl=o.reportData)==null?void 0:hl.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),x5,C5]),S5,k5,B5]),e.createElementVNode("div",A5,[w5,T5,e.createElementVNode("div",O5,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.reportData)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),F5,P5]),W5,L5,u5]),H5,M5])])])])])}),128))])],2)}const I5=ke(D3,[["render",G5],["__scopeId","data-v-037d24da"]]),Joe="",$5={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,o,c){var _;let l="";const a=((_=this.summaryTable)==null?void 0:_.length)-1;return o&&s!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,s){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&s!==o)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.isFirstSeg)return"td-bottom";if(s!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,_;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(_=(a=this.reportData)==null?void 0:a.segments)==null||_.forEach((i,E)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((x,y)=>{let g=JSON.parse(JSON.stringify(x));g.cp=b,t.push(g)})}),t.sort(function(i,E){let b=i.date,x=E.date;return b-x});let s="",o="";t.forEach((i,E)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const x=G(i.utc).utc().format("D-MMM");x!==o&&(i.lastdate=x,o=x),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=G(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},dn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),R5=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)),z5={class:"table",id:"second-table"},U5={class:"summary-table"},Y5=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)),Z5={class:"summary-tbody"},Q5=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),J5={class:"voyage-map",style:{"page-break-inside":"avoid"}},q5=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),K5=["src"],j5=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 X5(t,s,o,c,l,a){var _,i,E,b,x;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[R5,e.createElementVNode("div",z5,[e.createElementVNode("div",null,[e.createElementVNode("table",U5,[Y5,e.createElementVNode("tbody",Z5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(y,g)=>{var B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(y,g))},e.toDisplayString(y.isFirstSeg?y.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.time),3),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString((B=y.noon)==null?void 0:B.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(r=y.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((C=(S=y.meteo)==null?void 0:S.wind)==null?void 0:C.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((w=(L=(O=y.meteo)==null?void 0:O.wave)==null?void 0:L.swell)==null?void 0:w.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((W=(D=(T=y.meteo)==null?void 0:T.wave)==null?void 0:D.swell)==null?void 0:W.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString((($=(Z=(Y=y.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:$.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((P=y.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":y.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((V=y.noon)==null?void 0:V.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((I=y.noon)==null?void 0:I.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(M=y.cp)==null?void 0:M.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(u=y.cp)==null?void 0:u.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((H=y.noon)==null?void 0:H.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((Q=y.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(j=y.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(K=y.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),Q5,e.createElementVNode("div",J5,[q5,e.createElementVNode("img",{style:{width:"100%"},src:(x=o.reportData)==null?void 0:x.chartUrl,alt:""},null,8,K5),j5])],2)}const v5=ke($5,[["render",X5],["__scopeId","data-v-a420dc44"]]),qoe="",eA={components:{Summary:I5,Inventory:v5},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},tA={class:"voyage-report"};function oA(t,s,o,c,l,a){const _=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",tA,[e.createVNode(_,{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=ke(eA,[["render",oA],["__scopeId","data-v-7345a543"]]),Koe="",lA={name:"OrmVoyageSummary",components:{Lng:Xa,Lat:va,Editor:Zo},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?o+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?o+=" Wx Factor is ignored.":t.disableCFactor&&(o+=" Current Factor is ignored."),o+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const _={time:G(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+G(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(_)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-73235698"),t=t(),e.popScopeId(),t),aA={class:"report-summary"},nA={class:"section voyage-section flex-space"},sA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},iA={class:"flex-space label-block",style:{width:"100%"}},cA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),dA={style:{"text-transform":"uppercase"}},rA={class:"flex-space label-block",style:{width:"100%"}},mA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),pA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},hA={class:"flex-space label-block",style:{width:"100%"}},_A=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),EA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},yA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},NA={class:"flex-space label-block",style:{width:"100%"}},VA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),fA={key:0,class:"flex-end",style:{flex:"1"}},gA={key:1,class:"flex-end",style:{flex:"1"}},DA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),bA={class:"flex-end",style:{width:"150px"}},xA={class:"flex-space label-block",style:{width:"100%"}},CA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),SA={key:0,class:"flex-end",style:{flex:"1"}},kA={key:1,class:"flex-end",style:{flex:"1"}},BA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),AA={class:"flex-end",style:{width:"150px"}},wA={class:"flex-space label-block",style:{width:"100%"}},TA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),OA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},FA={class:"section weather-section"},PA=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),WA={class:"definition"},LA={class:"txt"},uA={class:"section summary-section"},HA=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),MA={class:"phase-box"},GA={class:"phase-index"},IA={class:"phase-position"},$A={key:0},RA={key:1},zA=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),UA={class:"phase-position"},YA={key:0},ZA={key:1},QA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),JA={class:"phase-cp flex-space"},qA={class:"cp-box"},KA=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)),jA={class:"flex-space"},XA=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),vA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-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("div",{class:"bb"},null,-1)),s8={class:"phase-conclusion flex-space"},i8={class:"item-conclusion"},c8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),d8={class:"value flex-start"},r8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),m8={key:0,class:"label flex-end"},p8={key:0},h8={key:1},_8={key:2},E8={key:1,class:"label flex-end"},y8={key:2,class:"value flex-end"},N8={key:0},V8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),f8={class:"gain"},g8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),D8={key:1},b8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),x8={class:"lost"},C8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),S8={key:2},k8={class:"item-conclusion"},B8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),A8={class:"value flex-start"},w8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),T8={key:0,class:"label flex-end"},O8={key:0},F8={key:1},P8={key:2},W8={key:1,class:"label flex-end"},L8={key:2,class:"value flex-end"},u8={key:0},H8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),M8={class:"gain"},G8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),I8={key:1},$8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R8={class:"lost"},z8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U8={key:2},Y8={class:"item-conclusion"},Z8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Q8={class:"value flex-start"},J8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),q8={key:0,class:"label flex-end"},K8={key:0},j8={key:1},X8={key:2},v8={key:1,class:"label flex-end"},ew={key:2,class:"value flex-end"},tw={key:0},ow=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),lw={class:"gain"},aw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),nw={key:1},sw=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),iw={class:"lost"},cw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),dw={key:2},rw=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),mw=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),pw={key:0,class:"exclusion-block"},hw=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),_w=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)),Ew={style:{margin:"8px 0"}},yw={class:"remark-table"},Nw=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)),Vw=["innerHTML"],fw={class:"section segment-section"},gw=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Dw={class:"segment-index flex-center"},bw={class:"segment-position"},xw={key:0},Cw={key:1},Sw=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),kw={class:"segment-position"},Bw={key:0},Aw={key:1},ww=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Tw={style:{margin:"10px 0 0"}},Ow=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)),Fw=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)),Pw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Ww={class:"good-wx"},Lw={class:"good-wx"},uw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Hw={class:"good-wx"},Mw={class:"good-wx"},Gw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Iw={class:"good-wx"},$w={class:"good-wx"},Rw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),zw={class:"good-wx"},Uw={class:"good-wx"},Yw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Zw={class:"good-wx"},Qw={class:"good-wx"},Jw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),qw={class:"good-wx"},Kw={class:"good-wx"},jw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Xw={class:"good-wx"},vw={class:"good-wx"},e7={key:0,class:"flex-end tip"},t7={key:1,class:"segment-speed"},o7={class:"flex-center"},l7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),a7={class:"speed-right flex-space"},n7=m(()=>e.createElementVNode("span",null,"-",-1)),s7=m(()=>e.createElementVNode("label",null,"=",-1)),i7={class:"speed"},c7={key:1,class:"speed"},d7={key:0,class:"speed"},r7=m(()=>e.createElementVNode("span",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"=",-1)),p7={class:"speed"},h7=m(()=>e.createElementVNode("span",null,"-",-1)),_7=m(()=>e.createElementVNode("label",null,"=",-1)),E7={class:"speed"},y7=m(()=>e.createElementVNode("span",null,"-",-1)),N7=m(()=>e.createElementVNode("span",null,"-",-1)),V7=m(()=>e.createElementVNode("label",null,"=",-1)),f7={class:"speed"},g7={key:2,class:"under"},D7={key:3,class:"over"},b7={class:"flex-center"},x7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),C7={class:"speed-right formula flex-space"},S7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),k7=m(()=>e.createElementVNode("label",null,"-",-1)),B7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),A7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),w7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),T7={key:0},O7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),F7=m(()=>e.createElementVNode("label",null,"-",-1)),P7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),W7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),L7=m(()=>e.createElementVNode("label",null,"-",-1)),u7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),H7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),M7=m(()=>e.createElementVNode("label",null,"-",-1)),G7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),I7=m(()=>e.createElementVNode("label",null,"-",-1)),$7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),R7={key:2,class:"segment-speed"},z7={class:"flex-center"},U7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Y7={class:"speed-right flex-space"},Z7=m(()=>e.createElementVNode("span",null,"-",-1)),Q7=m(()=>e.createElementVNode("span",null,"-",-1)),J7=m(()=>e.createElementVNode("label",null,"=",-1)),q7={class:"speed"},K7=m(()=>e.createElementVNode("span",null,"-",-1)),j7=m(()=>e.createElementVNode("label",null,"=",-1)),X7={class:"speed"},v7={key:2,class:"under"},e6={key:3,class:"over"},t6={class:"flex-center"},o6=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),l6={class:"speed-right formula flex-space"},a6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),n6=m(()=>e.createElementVNode("label",null,"-",-1)),s6=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),i6=m(()=>e.createElementVNode("label",null,"-",-1)),c6=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),d6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),r6=m(()=>e.createElementVNode("label",null,"-",-1)),m6=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),p6=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),h6=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),_6={class:"segment-formula"},E6={class:"header-block flex-start"},y6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),N6={class:"title"},V6={key:0,style:{"margin-left":"4px","font-weight":"300"}},f6={class:"formula-block"},g6={class:"flex-evenly"},D6=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)),b6={class:"formula-right flex-evenly"},x6={class:"fraction",style:{width:"240px"}},C6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),S6=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),k6=m(()=>e.createElementVNode("div",null,"(a)",-1)),B6={class:"flex-center"},A6={class:"formula-left flex-space"},w6=m(()=>e.createElementVNode("label",null,"=",-1)),T6={class:"formula-right flex-evenly"},O6={class:"fraction",style:{width:"240px"}},F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P6=m(()=>e.createElementVNode("div",null,"(b)",-1)),W6={class:"flex-center"},L6={class:"formula-left flex-space"},u6=m(()=>e.createElementVNode("label",null,"=",-1)),H6={class:"formula-right flex-evenly"},M6={class:"fraction",style:{width:"240px"}},G6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),I6=m(()=>e.createElementVNode("div",null,"(c)",-1)),$6=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Lost</label><div data-v-73235698>=</div><div data-v-73235698>(a)</div><div data-v-73235698>-</div><div data-v-73235698>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Gained</label><div data-v-73235698>=</div><div data-v-73235698>(c)</div><div data-v-73235698>-</div><div data-v-73235698>(a)</div></div></div>',1),R6={class:"formula-desc"},z6={class:"flex-end"},U6=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),Y6={class:"flex-end"},Z6=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),Q6={class:"flex-end"},J6=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),q6={key:0,class:"formula-block",style:{"font-weight":"400"}},K6={class:"flex-evenly"},j6=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)),X6={class:"formula-right flex-evenly"},v6={class:"fraction",style:{width:"240px"}},e9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),t9=m(()=>e.createElementVNode("div",null,"=",-1)),o9=m(()=>e.createElementVNode("div",null,"(a')",-1)),l9={class:"flex-center"},a9={class:"formula-left flex-space"},n9=m(()=>e.createElementVNode("label",null,"=",-1)),s9={class:"formula-right flex-evenly"},i9={class:"fraction",style:{width:"240px"}},c9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"(b')",-1)),m9={class:"flex-center"},p9={class:"formula-left flex-space"},h9=m(()=>e.createElementVNode("label",null,"=",-1)),_9={class:"formula-right flex-evenly"},E9={class:"fraction",style:{width:"240px"}},y9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=m(()=>e.createElementVNode("div",null,"=",-1)),V9=m(()=>e.createElementVNode("div",null,"(c')",-1)),f9={class:"formula-conclusion",style:{"margin-bottom":"0"}},g9={key:0,class:"flex-evenly",style:{width:"500px"}},D9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),b9=m(()=>e.createElementVNode("div",null,"=",-1)),x9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),C9=m(()=>e.createElementVNode("div",null,"=",-1)),S9=m(()=>e.createElementVNode("div",null,"-",-1)),k9=m(()=>e.createElementVNode("div",null,"=",-1)),B9={key:1,class:"flex-evenly",style:{width:"500px"}},A9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),O9=m(()=>e.createElementVNode("div",null,"=",-1)),F9=m(()=>e.createElementVNode("div",null,"-",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),W9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),L9={key:1,class:"formula-conclusion"},u9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H9={class:"segment-formula"},M9={class:"header-block flex-start"},G9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I9={class:"title"},$9={key:0,style:{"margin-left":"4px","font-weight":"300"}},R9={class:"formula-block"},z9={class:"flex-evenly"},U9=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)),Y9={class:"formula-right flex-evenly"},Z9={class:"fraction",style:{width:"240px"}},Q9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),J9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),q9=m(()=>e.createElementVNode("div",null,"x",-1)),K9=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)),j9=m(()=>e.createElementVNode("div",null,"(d)",-1)),X9={style:{"line-height":"1"}},v9=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)),eT={key:0,class:"tips flex-end",style:{"font-size":"14px"}},tT={class:"flex-center"},oT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),lT={class:"formula-right flex-evenly"},aT={class:"fraction",style:{width:"240px"}},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"x",-1)),iT=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)),cT=m(()=>e.createElementVNode("div",null,"(e)",-1)),dT={class:"flex-center"},rT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mT={class:"formula-right flex-evenly"},pT={class:"fraction",style:{width:"240px"}},hT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_T=m(()=>e.createElementVNode("div",null,"x",-1)),ET=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)),yT=m(()=>e.createElementVNode("div",null,"(f)",-1)),NT=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Over-consumption</label><div data-v-73235698>=</div><div data-v-73235698>(d)</div><div data-v-73235698>-</div><div data-v-73235698>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Saving</label><div data-v-73235698>=</div><div data-v-73235698>(f)</div><div data-v-73235698>-</div><div data-v-73235698>(d)</div></div></div>',1),VT={class:"flex-center"},fT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),gT={class:"formula-right flex-evenly"},DT={class:"fraction",style:{width:"270px"}},bT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),xT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT={class:"flex-center"},ST=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),kT={class:"formula-right flex-evenly"},BT={class:"fraction",style:{width:"270px"}},AT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),wT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=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)),OT={class:"header-block flex-start",style:{"margin-top":"10px"}},FT=m(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),PT={class:"title"},WT={key:0,class:"formula-block"},LT={key:0,class:"flex-evenly"},uT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),HT={class:"formula-right flex-evenly"},MT={class:"fraction",style:{width:"60px"}},GT=m(()=>e.createElementVNode("div",null,"-",-1)),IT={class:"fraction",style:{width:"60px"}},$T=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),RT=m(()=>e.createElementVNode("div",null,"24",-1)),zT=m(()=>e.createElementVNode("div",null,"*",-1)),UT=m(()=>e.createElementVNode("div",null,"=",-1)),YT={class:"flex-evenly"},ZT=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)),QT={class:"formula-right flex-evenly"},JT={class:"fraction",style:{width:"240px"}},qT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),KT=m(()=>e.createElementVNode("div",null,"x",-1)),jT={class:"fraction",style:{width:"240px"}},XT={key:0},vT=m(()=>e.createElementVNode("span",null," + ",-1)),eO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=m(()=>e.createElementVNode("div",null,"=",-1)),oO=m(()=>e.createElementVNode("div",null,"(d')",-1)),lO={class:"flex-evenly"},aO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nO={class:"formula-right flex-evenly"},sO={class:"fraction",style:{width:"240px"}},iO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),cO=m(()=>e.createElementVNode("div",null,"x",-1)),dO={class:"fraction",style:{width:"240px"}},rO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),mO=m(()=>e.createElementVNode("div",null,"24",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"(e')",-1)),_O={class:"flex-evenly"},EO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),yO={class:"formula-right flex-evenly"},NO={class:"fraction",style:{width:"240px"}},VO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),fO=m(()=>e.createElementVNode("div",null,"x",-1)),gO={class:"fraction",style:{width:"240px"}},DO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),bO=m(()=>e.createElementVNode("div",null,"24",-1)),xO=m(()=>e.createElementVNode("div",null,"=",-1)),CO=m(()=>e.createElementVNode("div",null,"(f')",-1)),SO={class:"formula-conclusion",style:{"margin-bottom":"0"}},kO={class:"flex-evenly",style:{width:"500px"}},BO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),AO=m(()=>e.createElementVNode("div",null,"=",-1)),wO=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),TO=m(()=>e.createElementVNode("div",null,"=",-1)),OO=m(()=>e.createElementVNode("div",null,"-",-1)),FO=m(()=>e.createElementVNode("div",null,"=",-1)),PO={key:0,class:"flex-evenly"},WO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),LO=m(()=>e.createElementVNode("div",null,"=",-1)),uO={class:"fraction"},HO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO={class:"flex-evenly",style:{width:"700px"}},IO=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),$O=m(()=>e.createElementVNode("div",null,"=",-1)),RO=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),zO=m(()=>e.createElementVNode("div",null,"=",-1)),UO=m(()=>e.createElementVNode("div",null,"-",-1)),YO=m(()=>e.createElementVNode("div",null,"=",-1)),ZO={key:0,class:"flex-evenly",style:{width:"500px"}},QO=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),JO=m(()=>e.createElementVNode("div",null,"=",-1)),qO={class:"fraction",style:{width:"140px"}},KO=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),jO=m(()=>e.createElementVNode("div",null,"=",-1)),XO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),vO={key:1,class:"formula-conclusion"},eF={class:"header-block flex-end",style:{"margin-top":"10px"}},tF=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),oF={class:"title"},lF={key:0,class:"formula-block"},aF={class:"flex-evenly"},nF=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)),sF={class:"formula-right flex-evenly"},iF={class:"fraction",style:{width:"240px"}},cF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),dF=m(()=>e.createElementVNode("div",null,"x",-1)),rF={class:"fraction",style:{width:"240px"}},mF={key:0},pF=m(()=>e.createElementVNode("span",null," - ",-1)),hF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_F=m(()=>e.createElementVNode("div",null,"=",-1)),EF=m(()=>e.createElementVNode("div",null,"(d'')",-1)),yF={class:"flex-evenly"},NF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VF={class:"formula-right flex-evenly"},fF={class:"fraction",style:{width:"240px"}},gF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),DF=m(()=>e.createElementVNode("div",null,"x",-1)),bF={class:"fraction",style:{width:"240px"}},xF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CF=m(()=>e.createElementVNode("div",null,"24",-1)),SF=m(()=>e.createElementVNode("div",null,"=",-1)),kF=m(()=>e.createElementVNode("div",null,"(e'')",-1)),BF={class:"flex-evenly"},AF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),wF={class:"formula-right flex-evenly"},TF={class:"fraction",style:{width:"240px"}},OF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),FF=m(()=>e.createElementVNode("div",null,"x",-1)),PF={class:"fraction",style:{width:"240px"}},WF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),LF=m(()=>e.createElementVNode("div",null,"24",-1)),uF=m(()=>e.createElementVNode("div",null,"=",-1)),HF=m(()=>e.createElementVNode("div",null,"(f'')",-1)),MF={class:"formula-conclusion",style:{"margin-bottom":"0"}},GF={key:0,class:"flex-evenly",style:{width:"500px"}},IF=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),$F=m(()=>e.createElementVNode("div",null,"=",-1)),RF=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),zF=m(()=>e.createElementVNode("div",null,"=",-1)),UF=m(()=>e.createElementVNode("div",null,"-",-1)),YF=m(()=>e.createElementVNode("div",null,"=",-1)),ZF={key:1,class:"flex-evenly",style:{width:"700px"}},QF=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),JF=m(()=>e.createElementVNode("div",null,"=",-1)),qF=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),KF=m(()=>e.createElementVNode("div",null,"=",-1)),jF=m(()=>e.createElementVNode("div",null,"-",-1)),XF=m(()=>e.createElementVNode("div",null,"=",-1)),vF=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),eP={key:1,class:"formula-conclusion"};function tP(t,s,o,c,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aA,[e.createElementVNode("div",nA,[e.createElementVNode("div",sA,[e.createElementVNode("div",iA,[cA,e.createElementVNode("span",dA,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",rA,[mA,e.createElementVNode("span",pA,e.toDisplayString((x=(b=o.report)==null?void 0:b.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type)+")",1)]),e.createElementVNode("div",hA,[_A,e.createElementVNode("span",EA,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[VA,(C=(S=o.report)==null?void 0:S.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",fA,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",gA,[e.createVNode(_,{lat:(T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),DA,e.createVNode(i,{lng:(D=o.report.departure)==null?void 0:D.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",bA,e.toDisplayString(a.computeUTCTime((W=o.report.departure)==null?void 0:W.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",xA,[CA,(Z=(Y=o.report)==null?void 0:Y.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",SA,e.toDisplayString((P=($=o.report)==null?void 0:$.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",kA,[e.createVNode(_,{lat:(I=(V=o.report)==null?void 0:V.arrival)==null?void 0:I.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),BA,e.createVNode(i,{lng:(u=(M=o.report)==null?void 0:M.arrival)==null?void 0:u.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",AA,e.toDisplayString(a.computeUTCTime((Q=(H=o.report)==null?void 0:H.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",wA,[TA,e.createElementVNode("span",OA,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",FA,[PA,e.createElementVNode("div",WA,[e.createElementVNode("div",LA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",uA,[HA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(n,X)=>{var d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",MA,[e.createElementVNode("div",GA,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(J,Te)=>{var ue,Me,he,Ke,Xe,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",IA,[(ue=J==null?void 0:J.departure)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",$A,e.toDisplayString((Me=J==null?void 0:J.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",RA,e.toDisplayString(a.computeLat((he=J==null?void 0:J.departure)==null?void 0:he.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ke=J==null?void 0:J.departure)==null?void 0:Ke.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Xe=J==null?void 0:J.departure)==null?void 0:Xe.utcTime))+")",1)]),zA,e.createElementVNode("div",UA,[(ve=J==null?void 0:J.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",YA,e.toDisplayString((ot=J==null?void 0:J.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",ZA,e.toDisplayString(a.computeLat((lt=J==null?void 0:J.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=J==null?void 0:J.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=J==null?void 0:J.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),QA,e.createElementVNode("div",JA,[e.createElementVNode("div",qA,[KA,e.createElementVNode("div",jA,[XA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[vA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(oe=n==null?void 0:n.extend)==null?void 0:oe.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[e8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(de=(ce=n==null?void 0:n.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(re=n==null?void 0:n.extend)==null?void 0:re.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[t8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[o8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(le=n==null?void 0:n.extend)==null?void 0:le.cp)==null?void 0:_e.dgo)+" |",1),e.createElementVNode("span",null,[l8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[a8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),n8,e.createElementVNode("div",s8,[e.createElementVNode("div",i8,[c8,e.createElementVNode("div",d8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),r8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",m8,[((Ne=n==null?void 0:n.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",p8," Time Gained ")):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",h8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",_8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",E8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y8,[((fe=n==null?void 0:n.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",N8,[V8,e.createElementVNode("span",f8,e.toDisplayString((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.timeGain),1),g8])):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",D8,[b8,e.createElementVNode("span",x8,e.toDisplayString((be=n==null?void 0:n.timeConclusion)==null?void 0:be.timeLost),1),C8])):(e.openBlock(),e.createElementBlock("div",S8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",k8,[B8,e.createElementVNode("div",A8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),w8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",T8,[((Ce=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",O8," FO Saving ")):((Oe=(Se=n==null?void 0:n.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Oe.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",W8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",L8,[((Ee=(Fe=n==null?void 0:n.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Ee.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u8,[H8,e.createElementVNode("span",M8,e.toDisplayString((me=(F=n==null?void 0:n.fuelConclusion)==null?void 0:F.fo)==null?void 0:me.saving),1),G8])):((We=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",I8,[$8,e.createElementVNode("span",R8,e.toDisplayString((pe=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.fo)==null?void 0:pe.overCons),1),z8])):(e.openBlock(),e.createElementBlock("div",U8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y8,[Z8,e.createElementVNode("div",Q8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),J8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",q8,[((Re=($e=n==null?void 0:n.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Re.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",K8," DO/GO Saving ")):((z=(ze=n==null?void 0:n.fuelConclusion)==null?void 0:ze.dgo)==null?void 0:z.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",j8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",X8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",v8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ew,[((He=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.dgo)==null?void 0:He.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString((Ye=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),aw])):((Qe=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",nw,[sw,e.createElementVNode("span",iw,e.toDisplayString((h=(Je=n==null?void 0:n.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:h.overCons),1),cw])):(e.openBlock(),e.createElementBlock("div",dw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),rw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((R=o.report)==null?void 0:R.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[mw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",pw,[hw,_w,e.createElementVNode("div",Ew,[e.createElementVNode("table",yw,[Nw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(n,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((q=o.report)==null?void 0:q.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=n=>l.remarks=n),class:"editor",height:"120px",onBlur:s[1]||(s[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:l.remarks},null,40,Vw))],2)],2),e.createElementVNode("div",fw,[gw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(n,X)=>{var d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,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e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(je,hoe)=>{var Mi,Gi,Ii,$i,Ri,zi,Ui,Yi,Zi,Qi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:hoe},[e.createElementVNode("div",bw,[(Mi=je==null?void 0:je.departure)!=null&&Mi.portName?(e.openBlock(),e.createElementBlock("span",xw,e.toDisplayString((Gi=je==null?void 0:je.departure)==null?void 0:Gi.portName),1)):(e.openBlock(),e.createElementBlock("span",Cw,e.toDisplayString(a.computeLat((Ii=je==null?void 0:je.departure)==null?void 0:Ii.lat).pretty)+", "+e.toDisplayString(a.computeLng(($i=je==null?void 0:je.departure)==null?void 0:$i.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ri=je==null?void 0:je.departure)==null?void 0:Ri.utcTime))+")",1)]),Sw,e.createElementVNode("div",kw,[(zi=je==null?void 0:je.arrival)!=null&&zi.portName?(e.openBlock(),e.createElementBlock("span",Bw,e.toDisplayString((Ui=je==null?void 0:je.arrival)==null?void 0:Ui.portName),1)):(e.openBlock(),e.createElementBlock("span",Aw,e.toDisplayString(a.computeLat((Yi=je==null?void 0:je.arrival)==null?void 0:Yi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Zi=je==null?void 0:je.arrival)==null?void 0:Zi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Qi=je==null?void 0:je.arrival)==null?void 0:Qi.utcTime))+")",1)])])}),128)),ww,e.createElementVNode("div",Tw,[e.createElementVNode("table",null,[Ow,Fw,e.createElementVNode("tr",null,[Pw,e.createElementVNode("td",Ww,e.toDisplayString((te=(v=n==null?void 0:n.goodWx)==null?void 0:v.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Lw,e.toDisplayString((se=(oe=n==null?void 0:n.goodWx)==null?void 0:oe.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=n==null?void 0:n.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(re=n==null?void 0:n.allWx)==null?void 0:re.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[uw,e.createElementVNode("td",Hw,e.toDisplayString((_e=(le=n==null?void 0:n.goodWx)==null?void 0:le.outEca)==null?void 0:_e.time),1),e.createElementVNode("td",Mw,e.toDisplayString((Ve=(Ne=n==null?void 0:n.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=n==null?void 0:n.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=n==null?void 0:n.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Gw,e.createElementVNode("td",Iw,e.toDisplayString(((Ce=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",$w,e.toDisplayString(((Oe=(Se=n==null?void 0:n.goodWx)==null?void 0:Se.inEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(Fe=n==null?void 0:n.allWx)==null?void 0:Fe.outEca)==null?void 0:Ee.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(F=n==null?void 0:n.allWx)==null?void 0:F.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Rw,e.createElementVNode("td",zw,e.toDisplayString(((We=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Uw,e.toDisplayString(((pe=(Le=n==null?void 0:n.goodWx)==null?void 0:Le.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=($e=n==null?void 0:n.allWx)==null?void 0:$e.outEca)==null?void 0:Re.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((z=(ze=n==null?void 0:n.allWx)==null?void 0:ze.inEca)==null?void 0:z.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Yw,e.createElementVNode("td",Zw,e.toDisplayString(((He=(we=n==null?void 0:n.goodWx)==null?void 0:we.outEca)==null?void 0:He.avgFoCons)||"--"),1),e.createElementVNode("td",Qw,e.toDisplayString(((Ye=(Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((h=(Je=n==null?void 0:n.allWx)==null?void 0:Je.inEca)==null?void 0:h.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Jw,e.createElementVNode("td",qw,e.toDisplayString(((Te=(J=n==null?void 0:n.goodWx)==null?void 0:J.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Kw,e.toDisplayString(((Me=(ue=n==null?void 0:n.goodWx)==null?void 0:ue.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(he=n==null?void 0:n.allWx)==null?void 0:he.outEca)==null?void 0:Ke.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=n==null?void 0:n.allWx)==null?void 0:Xe.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[jw,e.createElementVNode("td",Xw,e.toDisplayString(((lt=(ot=n==null?void 0:n.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",vw,e.toDisplayString(((nt=(at=n==null?void 0:n.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(pt=n==null?void 0:n.allWx)==null?void 0:pt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=n==null?void 0:n.allWx)==null?void 0:_t.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[X])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",e7," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,e.createElementVNode("div",a7,[(ft=(Vt=o.report)==null?void 0:Vt.weather)!=null&&ft.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Tt=(wt=o.report)==null?void 0:wt.weather)!=null&&Tt.disableWxFactor&&((Ht=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ht.disableCFactor)?(e.openBlock(),e.createElementBlock("span",d7,e.toDisplayString((po=n==null?void 0:n.goodWx)==null?void 0:po.pfmSpd)+" (kts)",1)):(No=(yo=o.report)==null?void 0:yo.weather)!=null&&No.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Vo=n==null?void 0:n.goodWx)==null?void 0:Vo.avgSpd),1),r7,e.createElementVNode("span",null,e.toDisplayString(((fo=n==null?void 0:n.goodWx)==null?void 0:fo.avgCf)>0?(go=n==null?void 0:n.goodWx)==null?void 0:go.avgCf:`(${(Do=n==null?void 0:n.goodWx)==null?void 0:Do.avgCf})`),1),m7,e.createElementVNode("span",p7,e.toDisplayString((bo=n==null?void 0:n.goodWx)==null?void 0:bo.pfmSpd)+" (kts)",1)],64)):(U=(xo=o.report)==null?void 0:xo.weather)!=null&&U.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.avgSpd),1),h7,e.createElementVNode("span",null,e.toDisplayString(((Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.avgWf)>0?(Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgWf:`(${(Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgWf})`),1),_7,e.createElementVNode("span",E7,e.toDisplayString((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((It=n==null?void 0:n.goodWx)==null?void 0:It.avgSpd),1),y7,e.createElementVNode("span",null,e.toDisplayString((($t=n==null?void 0:n.goodWx)==null?void 0:$t.avgWf)>0?(Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf:`(${(zt=n==null?void 0:n.goodWx)==null?void 0:zt.avgWf})`),1),N7,e.createElementVNode("span",null,e.toDisplayString(((Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf)>0?(Yt=n==null?void 0:n.goodWx)==null?void 0:Yt.avgCf:`(${(Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgCf})`),1),V7,e.createElementVNode("span",f7,e.toDisplayString((Qt=n==null?void 0:n.goodWx)==null?void 0:Qt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=o.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",c7,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((xt=n==null?void 0:n.goodWx)==null?void 0:xt.avgSpd),1),n7,e.createElementVNode("span",null,e.toDisplayString(((Ct=n==null?void 0:n.goodWx)==null?void 0:Ct.avgCf)>0?(St=n==null?void 0:n.goodWx)==null?void 0:St.avgCf:`(${(kt=n==null?void 0:n.goodWx)==null?void 0:kt.avgCf})`),1),s7,e.createElementVNode("span",i7,e.toDisplayString((Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.pfmSpd)+" (kts)",1)],64))],64)),((Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",g7,"(Under-performance)")):e.createCommentVNode("",!0),((qt=n==null?void 0:n.goodWx)==null?void 0:qt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",D7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",b7,[x7,e.createElementVNode("div",C7,[(jt=(Kt=o.report)==null?void 0:Kt.weather)!=null&&jt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.disableWxFactor&&((ao=(lo=o.report)==null?void 0:lo.weather)!=null&&ao.disableCFactor)?(e.openBlock(),e.createElementBlock("label",T7,"GW Average Speed")):(so=(no=o.report)==null?void 0:no.weather)!=null&&so.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O7,F7,P7],64)):(co=(io=o.report)==null?void 0:io.weather)!=null&&co.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[W7,L7,u7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[H7,M7,G7,I7,$7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(vt=(Xt=o.report)==null?void 0:Xt.weather)!=null&&vt.favorableCur&&((eo=n==null?void 0:n.goodWx)==null?void 0:eo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[A7,w7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[S7,k7,B7],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",z7,[U7,e.createElementVNode("div",Y7,[(So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.favorableCur&&((ko=n==null?void 0:n.allWx)==null?void 0:ko.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Lo=n==null?void 0:n.allWx)==null?void 0:Lo.avgSpd),1),K7,e.createElementVNode("span",null,e.toDisplayString(((uo=n==null?void 0:n.allWx)==null?void 0:uo.avgWf)>0?(Ho=n==null?void 0:n.allWx)==null?void 0:Ho.avgWf:`(${(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.avgWf})`),1),j7,e.createElementVNode("span",X7,e.toDisplayString((Go=n==null?void 0:n.allWx)==null?void 0:Go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Bo=n==null?void 0:n.allWx)==null?void 0:Bo.avgSpd),1),Z7,e.createElementVNode("span",null,e.toDisplayString(((Ao=n==null?void 0:n.allWx)==null?void 0:Ao.avgCf)>0?(wo=n==null?void 0:n.allWx)==null?void 0:wo.avgCf:`(${(To=n==null?void 0:n.allWx)==null?void 0:To.avgCf})`),1),Q7,e.createElementVNode("span",null,e.toDisplayString(((Oo=n==null?void 0:n.allWx)==null?void 0:Oo.avgWf)>0?(Fo=n==null?void 0:n.allWx)==null?void 0:Fo.avgWf:`(${(Po=n==null?void 0:n.allWx)==null?void 0:Po.avgWf})`),1),J7,e.createElementVNode("span",q7,e.toDisplayString((Wo=n==null?void 0:n.allWx)==null?void 0:Wo.pfmSpd)+" (kts)",1)],64)),((Io=n==null?void 0:n.allWx)==null?void 0:Io.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",v7,"(Under-performance)")):e.createCommentVNode("",!0),(($o=n==null?void 0:n.allWx)==null?void 0:$o.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",e6,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",t6,[o6,e.createElementVNode("div",l6,[(zo=(Ro=o.report)==null?void 0:Ro.weather)!=null&&zo.favorableCur&&((Uo=n==null?void 0:n.allWx)==null?void 0:Uo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d6,r6,m6,p6],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a6,n6,s6,i6,c6],64))])])])),h6,e.createElementVNode("div",_6,[e.createElementVNode("div",E6,[y6,e.createElementVNode("div",N6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Qo=(Yo=o.report)==null?void 0:Yo.weather)!=null&&Qo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",V6,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",f6,[e.createElementVNode("div",g6,[D6,e.createElementVNode("div",b6,[e.createElementVNode("div",x6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Jo=o.report)==null?void 0:Jo.weather)!=null&&qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),C6,S6]),k6])]),e.createElementVNode("div",B6,[e.createElementVNode("div",A6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(jo=(Ko=n==null?void 0:n.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts)",1),w6]),e.createElementVNode("div",T6,[e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=o.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),F6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tl=(el=n==null?void 0:n.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts",1)]),P6])]),e.createElementVNode("div",W6,[e.createElementVNode("div",L6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ll=(ol=n==null?void 0:n.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Over"))+"kts)",1),u6]),e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.report)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),G6,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(il=(sl=n==null?void 0:n.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+"kts",1)]),I6])]),$6]),e.createElementVNode("div",R6,[e.createElementVNode("div",z6,[U6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(dl=(cl=n==null?void 0:n.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Y6,[Z6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ml=(rl=n==null?void 0:n.extend)==null?void 0:rl.cp)==null?void 0:ml.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Q6,[J6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(hl=(pl=n==null?void 0:n.extend)==null?void 0:pl.cp)==null?void 0:hl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(El=(_l=n==null?void 0:n.extend)==null?void 0:_l.cp)==null?void 0:El.speed,"Under"))+" kts)",1)])]),(yl=n==null?void 0:n.goodWx)!=null&&yl.distance?(e.openBlock(),e.createElementBlock("div",q6,[e.createElementVNode("div",K6,[j6,e.createElementVNode("div",X6,[e.createElementVNode("div",v6,[e.createElementVNode("div",null,e.toDisplayString((fl=(Wt=o.report)==null?void 0:Wt.weather)!=null&&fl.noExtrapolation?(bl=n==null?void 0:n.goodWx)==null?void 0:bl.distance:(xl=n==null?void 0:n.allWx)==null?void 0:xl.distance),1),e9,e.createElementVNode("div",null,e.toDisplayString((Cl=n==null?void 0:n.goodWx)==null?void 0:Cl.pfmSpd),1)]),t9,e.createElementVNode("div",null,e.toDisplayString((Sl=n==null?void 0:n.timeConclusion)==null?void 0:Sl.timeAtPfmSpd)+" (hrs)",1),o9])]),e.createElementVNode("div",l9,[e.createElementVNode("div",a9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Bl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:Bl.speed,"Under"))+"kts)",1),n9]),e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[e.createElementVNode("div",null,e.toDisplayString((wl=(Al=o.report)==null?void 0:Al.weather)!=null&&wl.noExtrapolation?(Tl=n==null?void 0:n.goodWx)==null?void 0:Tl.distance:(Ol=n==null?void 0:n.allWx)==null?void 0:Ol.distance),1),c9,e.createElementVNode("div",null,e.toDisplayString((Fl=n==null?void 0:n.timeConclusion)==null?void 0:Fl.minusAbtSpd),1)]),d9,e.createElementVNode("div",null,e.toDisplayString((Pl=n==null?void 0:n.timeConclusion)==null?void 0:Pl.timeAtMinusAbtSpd)+" (hrs)",1),r9])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ll=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:Ll.speed,"Over"))+"kts)",1),h9]),e.createElementVNode("div",_9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Hl=(ul=o.report)==null?void 0:ul.weather)!=null&&Hl.noExtrapolation?(Ml=n==null?void 0:n.goodWx)==null?void 0:Ml.distance:(Gl=n==null?void 0:n.allWx)==null?void 0:Gl.distance),1),y9,e.createElementVNode("div",null,e.toDisplayString((Il=n==null?void 0:n.timeConclusion)==null?void 0:Il.plusAbtSpd),1)]),N9,e.createElementVNode("div",null,e.toDisplayString(($l=n==null?void 0:n.timeConclusion)==null?void 0:$l.timeAtPlusAbtSpd)+" (hrs)",1),V9])]),e.createElementVNode("div",f9,[((Rl=n==null?void 0:n.timeConclusion)==null?void 0:Rl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",g9,[D9,b9,x9,C9,e.createElementVNode("div",null,e.toDisplayString((zl=n==null?void 0:n.timeConclusion)==null?void 0:zl.timeAtPfmSpd),1),S9,e.createElementVNode("div",null,e.toDisplayString((Ul=n==null?void 0:n.timeConclusion)==null?void 0:Ul.timeAtMinusAbtSpd),1),k9,e.createElementVNode("div",null,e.toDisplayString((Yl=n==null?void 0:n.timeConclusion)==null?void 0:Yl.timeLost)+" (hrs)",1)])):((Zl=n==null?void 0:n.timeConclusion)==null?void 0:Zl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",B9,[A9,w9,T9,O9,e.createElementVNode("div",null,e.toDisplayString((Ql=n==null?void 0:n.timeConclusion)==null?void 0:Ql.timeAtPlusAbtSpd),1),F9,e.createElementVNode("div",null,e.toDisplayString((Jl=n==null?void 0:n.timeConclusion)==null?void 0:Jl.timeAtPfmSpd),1),P9,e.createElementVNode("div",null,e.toDisplayString((ql=n==null?void 0:n.timeConclusion)==null?void 0:ql.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Kl=n==null?void 0:n.timeConclusion)==null?void 0:Kl.conclusionStatus)==="Lost"?"flex-center lost":((jl=n==null?void 0:n.timeConclusion)==null?void 0:jl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[W9,e.createElementVNode("div",null,e.toDisplayString(((Xl=n==null?void 0:n.timeConclusion)==null?void 0:Xl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",L9,e.toDisplayString(l.noGoodWxDay),1))]),u9,e.createElementVNode("div",H9,[e.createElementVNode("div",M9,[G9,e.createElementVNode("div",I9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(ea=(vl=o.report)==null?void 0:vl.weather)!=null&&ea.noExtrapolation?(e.openBlock(),e.createElementBlock("span",$9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",R9,[e.createElementVNode("div",z9,[U9,e.createElementVNode("div",Y9,[e.createElementVNode("div",Z9,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=o.report)==null?void 0:ta.weather)!=null&&oa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q9,J9]),q9,K9,j9])]),e.createElementVNode("div",X9,[v9,((aa=(la=n.extend)==null?void 0:la.cp)==null?void 0:aa.dgo)>0?(e.openBlock(),e.createElementBlock("div",eT,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",tT,[oT,e.createElementVNode("div",lT,[e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((sa=(na=o.report)==null?void 0:na.weather)!=null&&sa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),nT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ca=(ia=n==null?void 0:n.extend)==null?void 0:ia.cp)==null?void 0:ca.speed,"Under"))+"kts",1)]),sT,iT,cT])]),e.createElementVNode("div",dT,[rT,e.createElementVNode("div",mT,[e.createElementVNode("div",pT,[e.createElementVNode("div",null,e.toDisplayString((ra=(da=o.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(pa=(ma=n==null?void 0:n.extend)==null?void 0:ma.cp)==null?void 0:pa.speed,"Under"))+"kts",1)]),_T,ET,yT])]),NT,((_a=(ha=n.extend)==null?void 0:ha.cp)==null?void 0:_a.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",VT,[fT,e.createElementVNode("div",gT,[e.createElementVNode("div",DT,[bT,xT,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=o.report)==null?void 0:Ea.weather)!=null&&ya.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",CT,[ST,e.createElementVNode("div",kT,[e.createElementVNode("div",BT,[AT,wT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o.report)==null?void 0:Na.weather)!=null&&Va.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),TT,e.createElementVNode("div",OT,[FT,e.createElementVNode("div",PT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(fa=n==null?void 0:n.goodWx)!=null&&fa.distance?(e.openBlock(),e.createElementBlock("div",WT,[((Da=(ga=n==null?void 0:n.goodWx)==null?void 0:ga.inEca)==null?void 0:Da.distance)>0?(e.openBlock(),e.createElementBlock("div",LT,[uT,e.createElementVNode("div",HT,[e.createElementVNode("div",MT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=n==null?void 0:n.goodWx)==null?void 0:ba.inEca)==null?void 0:xa.sumDgoCons),1)]),GT,e.createElementVNode("div",IT,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=n==null?void 0:n.extend)==null?void 0:Ca.cp)==null?void 0:Sa.dgo),1),$T,RT]),zT,e.createElementVNode("div",null,e.toDisplayString((Ba=(ka=n==null?void 0:n.goodWx)==null?void 0:ka.inEca)==null?void 0:Ba.time),1),UT,e.createElementVNode("div",null,e.toDisplayString((wa=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:wa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,[e.createElementVNode("div",JT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=o.report)==null?void 0:Ta.weather)!=null&&Oa.noExtrapolation?(Fa=n==null?void 0:n.goodWx)==null?void 0:Fa.distance:(Pa=n==null?void 0:n.allWx)==null?void 0:Pa.distance),1),qT,e.createElementVNode("div",null,e.toDisplayString((Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.pfmSpd),1)]),KT,e.createElementVNode("div",jT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((La=n==null?void 0:n.goodWx)==null?void 0:La.sumFoCons),1),((Ha=(ua=n==null?void 0:n.goodWx)==null?void 0:ua.inEca)==null?void 0:Ha.distance)>0?(e.openBlock(),e.createElementBlock("span",XT,[vT,e.createElementVNode("span",null,e.toDisplayString((Ga=(Ma=n==null?void 0:n.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),eO,e.createElementVNode("div",null,e.toDisplayString((Ia=n==null?void 0:n.goodWx)==null?void 0:Ia.time),1)]),tO,e.createElementVNode("div",null,e.toDisplayString((Ra=($a=n.fuelConclusion)==null?void 0:$a.fo)==null?void 0:Ra.entireCons)+" (mt)",1),oO])]),e.createElementVNode("div",lO,[aO,e.createElementVNode("div",nO,[e.createElementVNode("div",sO,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=n==null?void 0:n.goodWx)==null?void 0:ae.distance:(ro=n==null?void 0:n.allWx)==null?void 0:ro.distance),1),iO,e.createElementVNode("div",null,e.toDisplayString((Ya=n==null?void 0:n.timeConclusion)==null?void 0:Ya.minusAbtSpd),1)]),cO,e.createElementVNode("div",dO,[e.createElementVNode("div",null,e.toDisplayString((Qa=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Qa.overTolerance),1),rO,mO]),pO,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=n.fuelConclusion)==null?void 0:ne.fo)==null?void 0:mo.maxCons)+" (mt)",1),hO])]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,[e.createElementVNode("div",NO,[e.createElementVNode("div",null,e.toDisplayString((qa=(Ja=o.report)==null?void 0:Ja.weather)!=null&&qa.noExtrapolation?(Ka=n==null?void 0:n.goodWx)==null?void 0:Ka.distance:(rt=n==null?void 0:n.allWx)==null?void 0:rt.distance),1),VO,e.createElementVNode("div",null,e.toDisplayString((ln=n==null?void 0:n.timeConclusion)==null?void 0:ln.minusAbtSpd),1)]),fO,e.createElementVNode("div",gO,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=n==null?void 0:n.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.underTolerance),1),DO,bO]),xO,e.createElementVNode("div",null,e.toDisplayString((Lt=(sn=n.fuelConclusion)==null?void 0:sn.fo)==null?void 0:Lt.minCons)+" (mt)",1),CO])]),e.createElementVNode("div",SO,[(($n=(In=n==null?void 0:n.fuelConclusion)==null?void 0:In.fo)==null?void 0:$n.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",kO,[BO,AO,wO,TO,e.createElementVNode("div",null,e.toDisplayString((zn=(Rn=n==null?void 0:n.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:zn.entireCons),1),OO,e.createElementVNode("div",null,e.toDisplayString((Yn=(Un=n==null?void 0:n.fuelConclusion)==null?void 0:Un.fo)==null?void 0:Yn.maxCons),1),FO,e.createElementVNode("div",null,e.toDisplayString((Qn=(Zn=n==null?void 0:n.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Qn.overCons),1)]),(qn=(Jn=n==null?void 0:n.goodWx)==null?void 0:Jn.inEca)!=null&&qn.distance?(e.openBlock(),e.createElementBlock("div",PO,[WO,LO,e.createElementVNode("div",uO,[e.createElementVNode("div",null,e.toDisplayString((jn=(Kn=n==null?void 0:n.goodWx)==null?void 0:Kn.inEca)==null?void 0:jn.distance)+" * "+e.toDisplayString((vn=(Xn=n==null?void 0:n.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.overCons),1),HO,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(os=n==null?void 0:n.goodWx)==null?void 0:os.distance:(ls=n==null?void 0:n.allWx)==null?void 0:ls.distance),1)]),MO,e.createElementVNode("div",null,e.toDisplayString((ns=(as=n==null?void 0:n.fuelConclusion)==null?void 0:as.fo)==null?void 0:ns.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((is=(ss=n==null?void 0:n.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",GO,[IO,$O,RO,zO,e.createElementVNode("div",null,e.toDisplayString((ds=(cs=n==null?void 0:n.fuelConclusion)==null?void 0:cs.fo)==null?void 0:ds.minCons),1),UO,e.createElementVNode("div",null,e.toDisplayString((ms=(rs=n==null?void 0:n.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.entireCons),1),YO,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=n==null?void 0:n.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.saving)+" (mt)",1)]),(Es=(_s=n==null?void 0:n.goodWx)==null?void 0:_s.inEca)!=null&&Es.distance?(e.openBlock(),e.createElementBlock("div",ZO,[QO,JO,e.createElementVNode("div",qO,[e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=o.report)==null?void 0:ys.weather)!=null&&Ns.noExtrapolation?(fs=(Vs=n==null?void 0:n.goodWx)==null?void 0:Vs.inEca)==null?void 0:fs.distance:(Ds=(gs=n==null?void 0:n.allWx)==null?void 0:gs.inEca)==null?void 0:Ds.distance)+" * "+e.toDisplayString((xs=(bs=n==null?void 0:n.fuelConclusion)==null?void 0:bs.fo)==null?void 0:xs.saving),1),KO,e.createElementVNode("div",null,e.toDisplayString((Ss=(Cs=o.report)==null?void 0:Cs.weather)!=null&&Ss.noExtrapolation?(ks=n==null?void 0:n.goodWx)==null?void 0:ks.distance:(Bs=n==null?void 0:n.allWx)==null?void 0:Bs.distance),1)]),jO,e.createElementVNode("div",null,e.toDisplayString((ws=(As=n==null?void 0:n.fuelConclusion)==null?void 0:As.fo)==null?void 0:ws.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Os=(Ts=n==null?void 0:n.fuelConclusion)==null?void 0:Ts.fo)==null?void 0:Os.conclusionStatus)==="Over"?"flex-center lost":((Ps=(Fs=n==null?void 0:n.fuelConclusion)==null?void 0:Fs.fo)==null?void 0:Ps.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[XO,e.createElementVNode("div",null,e.toDisplayString(((Ls=(Ws=n==null?void 0:n.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:Ls.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",vO,e.toDisplayString(l.noGoodWxDay),1)),((Hs=(us=n==null?void 0:n.extend)==null?void 0:us.cp)==null?void 0:Hs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(Ms=n==null?void 0:n.goodWx)!=null&&Ms.distance?(e.openBlock(),e.createElementBlock("div",lF,[e.createElementVNode("div",aF,[nF,e.createElementVNode("div",sF,[e.createElementVNode("div",iF,[e.createElementVNode("div",null,e.toDisplayString((Is=(Gs=o.report)==null?void 0:Gs.weather)!=null&&Is.noExtrapolation?($s=n==null?void 0:n.goodWx)==null?void 0:$s.distance:(Rs=n==null?void 0:n.allWx)==null?void 0:Rs.distance),1),cF,e.createElementVNode("div",null,e.toDisplayString((zs=n==null?void 0:n.goodWx)==null?void 0:zs.pfmSpd),1)]),dF,e.createElementVNode("div",rF,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Us=n==null?void 0:n.goodWx)==null?void 0:Us.sumDgoCons),1),((Zs=(Ys=n==null?void 0:n.goodWx)==null?void 0:Ys.inEca)==null?void 0:Zs.distance)>0?(e.openBlock(),e.createElementBlock("span",mF,[pF,e.createElementVNode("span",null,e.toDisplayString((Js=(Qs=n==null?void 0:n.fuelConclusion)==null?void 0:Qs.fo)==null?void 0:Js.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),hF,e.createElementVNode("div",null,e.toDisplayString((qs=n==null?void 0:n.goodWx)==null?void 0:qs.time),1)]),_F,e.createElementVNode("div",null,e.toDisplayString((js=(Ks=n.fuelConclusion)==null?void 0:Ks.dgo)==null?void 0:js.entireCons)+" (mt)",1),EF])]),e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,[e.createElementVNode("div",fF,[e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=o.report)==null?void 0:Xs.weather)!=null&&vs.noExtrapolation?(ei=n==null?void 0:n.goodWx)==null?void 0:ei.distance:(ti=n==null?void 0:n.allWx)==null?void 0:ti.distance),1),gF,e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.timeConclusion)==null?void 0:oi.minusAbtSpd),1)]),DF,e.createElementVNode("div",bF,[e.createElementVNode("div",null,e.toDisplayString((ai=(li=n==null?void 0:n.fuelConclusion)==null?void 0:li.dgo)==null?void 0:ai.overTolerance),1),xF,CF]),SF,e.createElementVNode("div",null,e.toDisplayString((si=(ni=n.fuelConclusion)==null?void 0:ni.dgo)==null?void 0:si.maxCons)+" (mt)",1),kF])]),e.createElementVNode("div",BF,[AF,e.createElementVNode("div",wF,[e.createElementVNode("div",TF,[e.createElementVNode("div",null,e.toDisplayString((ci=(ii=o.report)==null?void 0:ii.weather)!=null&&ci.noExtrapolation?(di=n==null?void 0:n.goodWx)==null?void 0:di.distance:(ri=n==null?void 0:n.allWx)==null?void 0:ri.distance),1),OF,e.createElementVNode("div",null,e.toDisplayString((mi=n==null?void 0:n.timeConclusion)==null?void 0:mi.minusAbtSpd),1)]),FF,e.createElementVNode("div",PF,[e.createElementVNode("div",null,e.toDisplayString((hi=(pi=n==null?void 0:n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.underTolerance),1),WF,LF]),uF,e.createElementVNode("div",null,e.toDisplayString((Ei=(_i=n.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ei.minCons)+" (mt)",1),HF])]),e.createElementVNode("div",MF,[((Ni=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",GF,[IF,$F,RF,zF,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=n==null?void 0:n.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.entireCons),1),UF,e.createElementVNode("div",null,e.toDisplayString((Di=(gi=n==null?void 0:n.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.maxCons),1),YF,e.createElementVNode("div",null,e.toDisplayString((xi=(bi=n==null?void 0:n.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:xi.overCons),1)])):((Si=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.fo)==null?void 0:Si.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ZF,[QF,JF,qF,KF,e.createElementVNode("div",null,e.toDisplayString((Bi=(ki=n==null?void 0:n.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Bi.minCons),1),jF,e.createElementVNode("div",null,e.toDisplayString((wi=(Ai=n==null?void 0:n.fuelConclusion)==null?void 0:Ai.dgo)==null?void 0:wi.entireCons),1),XF,e.createElementVNode("div",null,e.toDisplayString((Oi=(Ti=n==null?void 0:n.fuelConclusion)==null?void 0:Ti.dgo)==null?void 0:Oi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Pi=(Fi=n==null?void 0:n.fuelConclusion)==null?void 0:Fi.dgo)==null?void 0:Pi.conclusionStatus)==="Over"?"flex-center lost":((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[vF,e.createElementVNode("div",null,e.toDisplayString(((Hi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:Hi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",eP,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const oP=ke(lA,[["render",tP],["__scopeId","data-v-73235698"]]),joe="",lP={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,o="0.0"){return t?ie.roundPrecision(t,s):o}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,o,c,l,a,_,i,E,b,x,y;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(_=this.report)==null?void 0:_.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(E=this.report)==null?void 0:E.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((y=(x=this.report)==null?void 0:x.weather)==null?void 0:y.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-beebd9b9"),t=t(),e.popScopeId(),t),aP={class:"report-inventory"},nP={class:"section summary-section"},sP=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),iP={class:"summary-block"},cP=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),dP={class:"label",rowspan:"4"},rP=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),mP=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),pP=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),hP=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),_P={class:"section inventory-section"},EP=e.createStaticVNode('<div class="legends flex-space" data-v-beebd9b9><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend good-wx" data-v-beebd9b9></div><div class="label flex-end" data-v-beebd9b9>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend adverse-wx" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-beebd9b9><div class="legend excluded" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-beebd9b9><div data-v-beebd9b9><label data-v-beebd9b9>B</label><span data-v-beebd9b9>BOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>N</label><span data-v-beebd9b9>NOON</span></div><div data-v-beebd9b9><label data-v-beebd9b9>E</label><span data-v-beebd9b9>EOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>*</label><span data-v-beebd9b9>Ship Reported Position</span></div></div></div>',1),yP={class:"inventory-block flex-center"},NP={style:{"font-size":"12px"}},VP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),fP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),gP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),DP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),bP=["colspan"],xP={key:0,class:"label",colspan:"2"},CP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),SP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),kP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),BP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),AP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),wP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),TP={key:0,class:"label",rowspan:"2"},OP=Ae(()=>e.createElementVNode("br",null,null,-1)),FP={key:1,class:"label",rowspan:"2"},PP=Ae(()=>e.createElementVNode("br",null,null,-1)),WP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),LP={key:2,class:"label",rowspan:"2"},uP=Ae(()=>e.createElementVNode("br",null,null,-1)),HP={key:3,class:"label",colspan:"2"},MP={key:4,class:"label",rowspan:"2"},GP=Ae(()=>e.createElementVNode("br",null,null,-1)),IP={key:5,class:"label",colspan:"2"},$P=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),RP={key:6,class:"label",rowspan:"2"},zP={key:7,class:"label",rowspan:"2"},UP={key:8,class:"label",rowspan:"2"},YP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ZP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),QP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),JP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),qP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),KP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),jP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),XP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),vP=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),eW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),tW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),oW=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),lW={key:0,class:"label"},aW={key:1,class:"label"},nW={key:2,class:"label"},sW={key:3,class:"label"},iW=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),cW=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),dW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),rW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),mW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),pW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),hW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),_W=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),EW={class:"summary-tbody"};function yW(t,s,o,c,l,a){var _;return e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",iP,[e.createElementVNode("table",null,[cP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.segments,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:E},[e.createElementVNode("tr",null,[e.createElementVNode("td",dP,e.toDisplayString(E+1),1),rP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.allWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[mP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.goodWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.goodWx)==null?void 0:L.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[pP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=i==null?void 0:i.badWx)==null?void 0:T.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.badWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.badWx)==null?void 0:W.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.badWx)==null?void 0:Y.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[hP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(($=i==null?void 0:i.excluded)==null?void 0:$.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.excluded)==null?void 0:P.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.excluded)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",_P,[EP,e.createElementVNode("div",yP,[e.createElementVNode("table",NP,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[VP,fP,gP,DP,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,bP),o.showFactor?(e.openBlock(),e.createElementBlock("th",xP,"Factor")):e.createCommentVNode("",!0),CP,SP]),e.createElementVNode("tr",null,[kP,BP,AP,wP,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",TP,[e.createTextVNode("Spd"),OP,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",FP,[e.createTextVNode("Dis"),PP,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),WP,l.showWave?(e.openBlock(),e.createElementBlock("th",LP,[e.createTextVNode("Sea HT"),uP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",HP,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",MP,[e.createTextVNode("Sig Wave"),GP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",IP,"Current")):e.createCommentVNode("",!0),$P,o.showFactor?(e.openBlock(),e.createElementBlock("th",RP,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",zP,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",UP,"Water Temp.")):e.createCommentVNode("",!0),YP,ZP,QP,JP,qP,KP,jP,XP]),e.createElementVNode("tr",null,[vP,eW,tW,oW,l.showSwell?(e.openBlock(),e.createElementBlock("th",lW,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",aW,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",nW,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",sW,"CF(kts)")):e.createCommentVNode("",!0),iW,cW,dW,rW,mW,pW,hW,_W])]),e.createElementVNode("tbody",EW,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q;return e.openBlock(),e.createElementBlock("tr",{key:E},[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)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=i.noon)==null?void 0:x.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)&&E?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?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)&&E?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)&&E?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((g=(y=i.meteo)==null?void 0:y.wind)==null?void 0:g.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(B=i.meteo)==null?void 0:B.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(((O=(C=(S=i.meteo)==null?void 0:S.wave)==null?void 0:C.wd)==null?void 0:O.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(((T=(w=(L=i.meteo)==null?void 0:L.wave)==null?void 0:w.swell)==null?void 0:T.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(((Y=(W=(D=i.meteo)==null?void 0:D.wave)==null?void 0:W.swell)==null?void 0:Y.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=($=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:$.sig)==null?void 0:P.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(V=i.meteo)==null?void 0:V.current)==null?void 0:I.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((u=i.meteo)==null?void 0:u.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(((H=i.meteo)==null?void 0:H.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const NW=ke(lP,[["render",yW],["__scopeId","data-v-beebd9b9"]]),Xoe="",VW={name:"OrmVoyageChart",components:{Lng:Xa,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,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Nl.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Nl.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Nl.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var E,b,x,y,g,B;const t=[],s=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;const a=this.inventory.filter(r=>r.noonLength)||[];a.unshift(a[0]),a.forEach((r,S)=>{var O,L,w,T,D,W,Y,Z,$,P,V,I,M,u;const C=this.computeUTCTime(S===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(C),c=Math.ceil(((O=r.noon)==null?void 0:O.foCons)>c?(L=r.noon)==null?void 0:L.foCons:c),c=Math.ceil(((w=r.cp)==null?void 0:w.fo)>c?(T=r.cp)==null?void 0:T.fo:c),l=Math.ceil(((D=r.noon)==null?void 0:D.dgoCons)>l?(W=r.noon)==null?void 0:W.dgoCons:l),l=Math.ceil(((Y=r.cp)==null?void 0:Y.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),s.push([C,($=r.noon)==null?void 0:$.avgSpd,(P=r.noon)==null?void 0:P.foCons,(V=r.noon)==null?void 0:V.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),S<a.length-1){const H=a[S+1];s.push([C,(I=H.noon)==null?void 0:I.avgSpd,(M=H.noon)==null?void 0:M.foCons,(u=H.noon)==null?void 0:u.dgoCons,H.avgSpdCalc,H.cp.speed,H.goodWx&&!H.excluded?100:0,H.cp.dgo,H.cp.fo,H.excluded?100:0])}});const _={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(b=(E=this.report)==null?void 0:E.weather)!=null&&b.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:o.dateTime,y:o.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(x=this.spdFoConsChart)==null||x.setOption(_);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(g=(y=this.report)==null?void 0:y.weather)!=null&&g.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:o.dateTime,y:o.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(B=this.spdDgoConsChart)==null||B.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;const a=this.inventory.filter(E=>E.noonLength)||[];a.unshift(a[0]),a.forEach((E,b)=>{var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K;l=E.noonLength?E.dailyAvgCf:l;const x=this.computeUTCTime(b===0?E.utc:E.noonUtc,"MM-DD/HHmm[Z]");if(t.push(x),c=Math.ceil(((B=(g=(y=E.meteo)==null?void 0:y.wave)==null?void 0:g.sig)==null?void 0:B.height)>c?(C=(S=(r=E.meteo)==null?void 0:r.wave)==null?void 0:S.sig)==null?void 0:C.height:c),s.push([x,(O=E.noon)==null?void 0:O.windBF,(w=(L=E.meteo)==null?void 0:L.wind)==null?void 0:w.scale,(D=(T=E.meteo)==null?void 0:T.wind)==null?void 0:D.direction,(W=E.noon)==null?void 0:W.seasHt,($=(Z=(Y=E.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:$.height,l,E.goodWx&&!E.excluded?20:0,E.excluded?20:0]),b<a.length-1){const N=a[b+1];s.push([x,(P=N.noon)==null?void 0:P.windBF,(I=(V=N.meteo)==null?void 0:V.wind)==null?void 0:I.scale,(u=(M=N.meteo)==null?void 0:M.wind)==null?void 0:u.direction,(H=N.noon)==null?void 0:H.seasHt,(K=(j=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:j.sig)==null?void 0:K.height,N.noonLength?N.dailyAvgCf:l,N.goodWx&&!N.excluded?20:0,N.excluded?20:0])}});const _={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(_)}}},Vl=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),fW={class:"report-summary"},gW={class:"section chart-section"},DW=Vl(()=>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)),bW={class:"chart-block"},xW={ref:"spdFoConsChart",class:"chart"},CW={ref:"spdDgoConsChart",class:"chart"},SW={ref:"currChart",class:"chart"},kW={class:"section map-section"},BW=Vl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),AW={class:"map-block"},wW={class:"flex-space"},TW={class:"voyage-block",style:{height:"197px"}},OW={class:"flex-space label-block",style:{width:"100%"}},FW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),PW={style:{"text-transform":"uppercase"}},WW={class:"flex-space label-block",style:{width:"100%"}},LW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),uW={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},HW={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},MW={class:"flex-space label-block",style:{width:"100%"}},GW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),IW={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},$W={class:"flex-space label-block",style:{width:"100%"}},RW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),zW={key:0,class:"flex-end",style:{flex:"1"}},UW={key:1,class:"flex-end",style:{flex:"1"}},YW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ZW={class:"flex-end",style:{width:"160px"}},QW={class:"flex-space label-block",style:{width:"100%"}},JW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),qW={key:0,class:"flex-end",style:{flex:"1"}},KW={key:1,class:"flex-end",style:{flex:"1"}},jW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),XW={class:"flex-end",style:{width:"160px"}},vW={class:"flex-space label-block",style:{width:"100%"}},eL=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),tL={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},oL=e.createStaticVNode('<div class="legend-block" data-v-24e80f66><div style="position:absolute;margin-top:-8px;" data-v-24e80f66>LEGEND</div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>0812</div><div data-v-24e80f66><div data-v-24e80f66>08 - Day of the month</div><div data-v-24e80f66>12 - Hours of the day</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-24e80f66></i></div><div data-v-24e80f66><div data-v-24e80f66>Wind from N (000)</div><div data-v-24e80f66>Each bard = 10 kts</div><div data-v-24e80f66>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>W 4</div><div data-v-24e80f66> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-24e80f66><div class="good-wx" data-v-24e80f66>Date</div><div data-v-24e80f66>Good weather days</div></div></div>',1),lL=["src"],aL=e.createStaticVNode('<div class="section method-section" data-v-24e80f66><div class="header-block flex-center" data-v-24e80f66><i class="iconfont" data-v-24e80f66></i><div class="title" data-v-24e80f66>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>1. Good Weather Method</div><div class="method-body" data-v-24e80f66> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-24e80f66> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>4. “About”</div><div class="method-body" data-v-24e80f66> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-24e80f66> 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-24e80f66> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>6. Further reference materials</div><div class="method-body" data-v-24e80f66>Please send mail to <a href="mailto:op@ormwx.com" data-v-24e80f66>op@ormwx.com</a>.</div></div></div></div>',1);function nL(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",fW,[e.createElementVNode("div",gW,[DW,e.createElementVNode("div",bW,[e.createElementVNode("div",xW,null,512),e.createElementVNode("div",CW,null,512),e.createElementVNode("div",SW,null,512)])]),e.createElementVNode("div",kW,[BW,e.createElementVNode("div",AW,[e.createElementVNode("div",wW,[e.createElementVNode("div",TW,[e.createElementVNode("div",OW,[FW,e.createElementVNode("span",PW,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",WW,[LW,e.createElementVNode("span",uW,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1),e.createElementVNode("span",HW,"("+e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",MW,[GW,e.createElementVNode("span",IW,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",$W,[RW,(S=(r=o.report)==null?void 0:r.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",zW,e.toDisplayString((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.portName),1)):(e.openBlock(),e.createElementBlock("div",UW,[e.createVNode(_,{lat:(w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),YW,e.createVNode(i,{lng:(T=o.report.departure)==null?void 0:T.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ZW,e.toDisplayString(a.computeUTCTime((D=o.report.departure)==null?void 0:D.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",QW,[JW,(Y=(W=o.report)==null?void 0:W.arrival)!=null&&Y.portName?(e.openBlock(),e.createElementBlock("span",qW,e.toDisplayString(($=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:$.portName),1)):(e.openBlock(),e.createElementBlock("div",KW,[e.createVNode(_,{lat:(V=(P=o.report)==null?void 0:P.arrival)==null?void 0:V.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),jW,e.createVNode(i,{lng:(M=(I=o.report)==null?void 0:I.arrival)==null?void 0:M.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",XW,e.toDisplayString(a.computeUTCTime((H=(u=o.report)==null?void 0:u.arrival)==null?void 0:H.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",vW,[eL,e.createElementVNode("span",tL,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),oL]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,lL)])]),aL])}const sL=ke(VW,[["render",nL],["__scopeId","data-v-24e80f66"]]),voe="",iL={name:"OrmVoyageIndex",components:{Brand:_o,VoySummary:oP,Inventory:NW,Chart:sL,Loading:tn},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,o;const t=[];(o=(s=this.report)==null?void 0:s.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,_,i=!1;c.inventory.sample.hours.forEach((E,b)=>{a||(a=E),(!_||i)&&(_=E,i=!1),a.segIndex===E.segIndex?a.segLength=(a.segLength||0)+1:(a=E,a.segLength=1),_.noonLength=(_.noonLength||0)+1;let x=E.type.charAt(0);["N","M","E"].includes(x)&&(i=!0,_.dailyAvgCf=E.dailyAvgCf,_.avgSpdCalc=E.avgSpdCalc,_.distanceCalc=E.distanceCalc,_.noonUtc=E.utc),E.abbrev=x,x=x==="M"?"*":x==="A"?"":x,E.time=`${x} ${this.computeUTCTime(E.utc,"MMM-DD/HHmm[Z]")}`,E._lng=ie.LngLatHelper.lng2pretty(E.lng),E._lat=ie.LngLatHelper.lat2pretty(E.lat),E.cp=l,t.push(E)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function cL(t,s,o,c,l,a){var y,g;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(y=o.report)==null?void 0:y.weather)!=null&&g.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(_,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=B=>l.loading=!1)},null,8,["loading"]),e.createVNode(E,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const bn=ke(iL,[["render",cL],["__scopeId","data-v-f77ce72a"]]),dL={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",bn)}},ele="",tle="",ole="",rL={name:"IdmTropical",components:{TropicalReport:qi.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},mL={class:"typhoon-report-container"};function pL(t,s,o,c,l,a){const _=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",mL,[o.report?(e.openBlock(),e.createBlock(_,{key:0,report:o.report,model:o.model,ts:o.ts,token:o.token,onCenter:a.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const xn=ke(rL,[["render",pL],["__scopeId","data-v-e69fc9ed"]]),hL={install(t){t.component("TropicalReport",xn)}},lle="",_L={components:{IdmBrand:on},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,s="MMM-DD/HHmm"){return t!=="-"?`${G(t).utc().format(s)}`:"-"}},computeItem(){return function(t){if(t){const s=t.indexOf(",");if(s!==-1)return[t.substring(0,s),t.substring(s+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var _;const t=this.$refs.name.offsetHeight,s=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(_=this.data)!=null&&_.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+s+280>l*1123;)l++;const a=l*1123-(t+s+280);this.breaked=a<o+c})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),EL={class:"invoice-report"},yL=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),NL={class:"report-title"},VL=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),fL={class:"title-info"},gL=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),DL=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),bL=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),xL=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),CL=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),SL={class:"report-content"},kL={style:{display:"flex"},ref:"name",class:"name"},BL=["innerHTML"],AL={style:{"margin-bottom":"10px"}},wL={class:"table",ref:"table"},TL=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),OL=ho(()=>e.createElementVNode("td",null,null,-1)),FL={class:"total"},PL={class:"total"},WL={key:0,class:"page-break"},LL={ref:"detail",class:"detail"},uL={class:"title"},HL={class:"info"},ML={class:"info"},GL={class:"info"},IL={class:"info"},$L={class:"info"},RL={key:0},zL={class:"info"},UL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),YL={class:"info"},ZL=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),QL={class:"info"},JL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),qL={class:"info"},KL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),jL={key:1},XL={class:"info"},vL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),eu={key:1,ref:"memo",class:"detail"},tu=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),ou=["innerHTML"];function lu(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EL,[e.createVNode(_),yL,e.createElementVNode("div",NL,[VL,e.createElementVNode("div",fL,[gL,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),DL,bL,xL,CL])])]),e.createElementVNode("div",SL,[e.createElementVNode("div",kL,[e.createTextVNode(" To: "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((E=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:E.name)},null,8,BL)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((b=o.data)==null?void 0:b.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",AL,"No: "+e.toDisplayString((x=o.data)==null?void 0:x.number),1),e.createElementVNode("div",wL,[e.createElementVNode("table",null,[TL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.data)==null?void 0:y.reservations,(P,V)=>(e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",null,e.toDisplayString(V+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${P==null?void 0:P.amount}`),1)]))),128)),e.createElementVNode("tr",null,[OL,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((g=o.data)==null?void 0:g.rate)}`)+" ",1),e.createElementVNode("span",FL,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",PL,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(B=o.data)==null?void 0:B.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",WL)):e.createCommentVNode("",!0),e.createElementVNode("div",LL,[e.createElementVNode("div",uL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",HL,[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",ML,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((S=l.company)==null?void 0:S.address[l.type])??"-"),1)]),e.createElementVNode("div",GL,[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(((C=l.company)==null?void 0:C.tel)??"-"),1)]),e.createElementVNode("div",IL,[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(((O=l.company)==null?void 0:O.bankName[l.type])??"-"),1)]),e.createElementVNode("div",$L,[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(((L=l.company)==null?void 0:L.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",RL,[e.createElementVNode("div",zL,[UL,e.createElementVNode("span",null,e.toDisplayString(((w=l.company)==null?void 0:w.bankSwift)??"-"),1)]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("span",null,e.toDisplayString(((T=l.company)==null?void 0:T.bankAddress)??"-"),1)]),e.createElementVNode("div",QL,[JL,e.createElementVNode("span",null,e.toDisplayString(((D=l.company)==null?void 0:D.interBank)??"-"),1)]),e.createElementVNode("div",qL,[KL,e.createElementVNode("span",null,e.toDisplayString(((W=l.company)==null?void 0:W.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",jL,[e.createElementVNode("div",XL,[vL,e.createElementVNode("span",null,e.toDisplayString(((Y=l.company)==null?void 0:Y.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",eu,[tu,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml(($=o.data)==null?void 0:$.memo)},null,8,ou)],512)):e.createCommentVNode("",!0)])])}const Cn=ke(_L,[["render",lu],["__scopeId","data-v-db643e45"]]),ale="",au={name:"OrmInvoice",components:{IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${G(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,o,c,l,a,_;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,E)=>Math.round((i+E.amount)*100)/100,0),(_=this.reservations4Route)!=null&&_.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},mt=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),nu={class:"invoice-report"},su={class:"section items-section"},iu={class:"flex-start"},cu=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),du=["innerHTML"],ru={class:"flex-space"},mu={class:"invoice-item"},pu={key:0,class:"invoice-item"},hu=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),_u=mt(()=>e.createElementVNode("td",null,"NO.",-1)),Eu=["colspan"],yu=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),Nu=["colspan"],Vu=["colspan"],fu=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],gu={class:"total"},Du=["colspan"],bu=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],xu={class:"total"},Cu=["colspan"],Su={class:"total"},ku={key:1},Bu=["colspan"],Au=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],wu={class:"total"},Tu={key:0,class:"memo-block"},Ou=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),Fu=["innerHTML"],Pu={class:"section company-section"},Wu=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),Lu={class:"company-item"},uu=mt(()=>e.createElementVNode("label",null,"Bank",-1)),Hu={class:"company-item"},Mu=mt(()=>e.createElementVNode("label",null,"Account",-1)),Gu={class:"company-item"},Iu=mt(()=>e.createElementVNode("label",null,"Title",-1)),$u={class:"company-item"},Ru=mt(()=>e.createElementVNode("label",null,"Addr",-1)),zu={class:"company-item"},Uu=mt(()=>e.createElementVNode("label",null,"Tel",-1)),Yu={class:"company-item"},Zu=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),Qu={class:"company-item"},Ju=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),qu={class:"company-item"},Ku=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),ju={class:"company-item"},Xu=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),vu={class:"company-item"},eH=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),tH={class:"company-item"},oH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),lH={class:"company-item"},aH=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),nH={class:"company-item"},sH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),iH={class:"company-item"},cH=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),dH=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function rH(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",nu,[e.createVNode(_,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",su,[e.createElementVNode("div",iu,[cu,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(E=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:E.name)==null?void 0:b.replace(`
|
|
43
|
-
`,"<br/>")},null,8,
|
|
44
|
-
`,"<br/>")},null,8,
|
|
45
|
-
`,"<br/>")},null,8,yH)]),e.createElementVNode("div",NH,[e.createElementVNode("div",VH,"Invoice No. "+e.toDisplayString(o.report.number),1),(b=o.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",fH,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(x=l.reservations4Route)!=null&&x.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[gH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(w,T)=>{var D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se;return e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString((Y=(W=(D=w.props)==null?void 0:D[0])==null?void 0:W.voyage)==null?void 0:Y.number),1),e.createElementVNode("td",null,e.toDisplayString(((P=($=(Z=w.props)==null?void 0:Z[0])==null?void 0:$.voyage)==null?void 0:P.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((M=(I=(V=w.props)==null?void 0:V[0])==null?void 0:I.vessel)==null?void 0:M.name),1),e.createElementVNode("td",null,e.toDisplayString((Q=(H=(u=w.props)==null?void 0:u[0])==null?void 0:H.voyage)==null?void 0:Q.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((N=(K=(j=w.props)==null?void 0:j[0])==null?void 0:K.departure)==null?void 0:N.name),1),e.createElementVNode("td",null,e.toDisplayString((n=(q=(R=w.props)==null?void 0:R[0])==null?void 0:q.departure)==null?void 0:n.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(d=(X=w.props)==null?void 0:X[0])==null?void 0:d.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(oe=(te=w.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(y=l.reservations4Point)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[DH,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,bH),xH])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(w,T)=>(e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString(w.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(w.items),9,CH),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((g=o.report)==null?void 0:g.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},kH,8,SH),e.createElementVNode("td",BH,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},wH,8,AH),e.createElementVNode("td",TH,[e.createElementVNode("span",null,e.toDisplayString((B=o.report)==null?void 0:B.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,OH),e.createElementVNode("td",FH,"¥"+e.toDisplayString((r=o.report)==null?void 0:r.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",PH,[e.createElementVNode("td",{colspan:l.maxColspans},LH,8,WH),e.createElementVNode("td",uH,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(C=o.report)!=null&&C.memo?(e.openBlock(),e.createElementBlock("div",HH,[MH,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(O=o.report)==null?void 0:O.memo)==null?void 0:L.replace(`
|
|
46
|
-
`,"<br/>")},null,8,GH)])):e.createCommentVNode("",!0)])])}const kn=ke(mH,[["render",IH],["__scopeId","data-v-744130ab"]]),$H={install(t){t.component("InvoiceReport",Cn),t.component("OrmInvoiceReport",Sn),t.component("FliInvoiceReport",kn)}},RH=t=>((typeof t=="string"||typeof t=="number")&&(t=G(t)),t),zH=(t,s="MMM-DD,YYYY/HHmm[Z]")=>UH(t,s),UH=(t,s="MMM-DD/HHmm[Z]")=>(t=RH(t),t?`${t.utc().format(s)}`:"-"),ple="",YH={name:"IdmEditableItem",components:{Edit:en.Edit,Close:en.Close,IdmEditor:Zo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return zH(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},ZH={class:"idm-editable-item"},QH=["innerHTML"],JH={key:3,class:"buttons"};function qH(t,s,o,c,l,a){const _=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),E=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),y=e.resolveComponent("ElOption"),g=e.resolveComponent("ElSelect"),B=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),S=e.resolveComponent("ElCheckbox"),C=e.resolveComponent("ElCheckboxGroup"),O=e.resolveComponent("Edit"),L=e.resolveComponent("ElIcon"),w=e.resolveComponent("ElButton"),T=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",ZH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":s[2]||(s[2]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":s[3]||(s[3]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":s[4]||(s[4]=D=>l.model=D),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(E,{key:3,modelValue:l.model,"onUpdate:modelValue":s[5]||(s[5]=D=>l.model=D),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:l.model,"onUpdate:modelValue":s[6]||(s[6]=D=>l.model=D),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(x,{key:5,modelValue:l.model,"onUpdate:modelValue":s[7]||(s[7]=D=>l.model=D),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(g,{key:6,modelValue:l.model,"onUpdate:modelValue":s[8]||(s[8]=D=>l.model=D),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,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,disabled:D.disabled,value:D.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(g,{key:7,modelValue:l.model,"onUpdate:modelValue":s[9]||(s[9]=D=>l.model=D),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,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,value:D.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(g,{key:8,modelValue:l.model,"onUpdate:modelValue":s[10]||(s[10]=D=>l.model=D),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,D=>(e.openBlock(),e.createBlock(y,{key:D.id,label:D.name,value:D.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":s[11]||(s[11]=D=>l.model=D),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,D=>(e.openBlock(),e.createBlock(B,{key:D.value,label:D.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(C,{key:10,modelValue:l.model,"onUpdate:modelValue":s[12]||(s[12]=D=>l.model=D),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,D=>(e.openBlock(),e.createBlock(S,{label:D.value,key:D.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.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(_,{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(_,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...D)=>a.handleEdit&&a.handleEdit(...D))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,QH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...D)=>a.handleEdit&&a.handleEdit(...D))},[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",JH,[l.editable?(e.openBlock(),e.createBlock(w,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(w,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Bn=ke(YH,[["render",qH]]),hle="",KH={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo,IdmBrand:_o},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(_=this.report)==null?void 0:_.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,o,c){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[c][g][B]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(x=this.report)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-1413248b"),t=t(),e.popScopeId(),t),jH={class:"deviation-report"},XH={class:"section vessel-section"},vH={class:"report-summary"},eM={class:"summary-item"},tM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),oM={class:"flexL gray"},lM={class:"summary-item"},aM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),nM={class:"flexL gray"},sM={class:"summary-item"},iM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),cM={class:"flexL gray"},dM={class:"summary-item"},rM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),mM={class:"flexL gray"},pM={class:"summary-item"},hM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),_M={class:"flexL gray",style:{display:"flex"}},EM={class:"flex"},yM={class:"flexM"},NM={class:"summary-item"},VM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),fM={class:"flexL gray",style:{display:"flex"}},gM={class:"flex"},DM={class:"flexM"},bM={class:"section summary-section"},xM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),CM={class:"report-summary"},SM={class:"summary-item"},kM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),BM={class:"summary-item"},AM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),wM={class:"summary-item"},TM=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),OM={class:"summary-item"},FM=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),PM={class:"section map-section"},WM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),LM={class:"report-map"},uM=["src"],HM=e.createStaticVNode('<div class="legend" data-v-1413248b><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1413248b></div><div data-v-1413248b>Actual Route</div></div><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1413248b></div><div data-v-1413248b>Route prior to deviation</div></div></div>',1),MM={key:0,class:"section deviation-section"},GM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),IM={class:"report-summary"},$M=e.createStaticVNode('<div class="summary-item" data-v-1413248b><div class="blue center" style="width:17%;" data-v-1413248b>Deviation</div><div class="blue center" style="width:20%;" data-v-1413248b>Position</div><div class="blue center" style="width:17%;" data-v-1413248b>Date Time</div><div class="flex blue center" data-v-1413248b>FO BROB<br data-v-1413248b>(mt)</div><div class="flex blue center" data-v-1413248b>DO/GO<br data-v-1413248b>BROB (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>FO (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>DO/GO (mt)</div></div>',1),RM={class:"summary-item"},zM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),UM={class:"blue center",style:{width:"20%"}},YM={class:"blue center",style:{width:"17%"}},ZM={class:"flex blue center"},QM={class:"flex blue center"},JM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),KM={class:"summary-item"},jM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),XM={class:"blue center",style:{width:"20%"}},vM={class:"blue center",style:{width:"17%"}},eG={class:"flex blue center"},tG={class:"flex blue center"},oG={class:"flex blue center"},lG={class:"flex blue center"},aG={class:"summary-item"},nG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),sG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),iG={class:"blue center",style:{width:"17%"}},cG={class:"flex blue center"},dG={class:"flex blue center"},rG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),pG={class:"section cp-section"},hG=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),_G={class:"report-summary"},EG={class:"summary-item"},yG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),NG={class:"flexL blue center"},VG={class:"summary-item"},fG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),gG={class:"flexL blue center"},DG={class:"summary-item"},bG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),xG={class:"flexL blue center"},CG={class:"section port-section"},SG={class:"subtitle port"},kG=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),BG={class:"print-hidden"},AG={class:"report-port"},wG=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)),TG={rowspan:2},OG=A(()=>e.createElementVNode("td",null,"Arrival",-1)),FG=A(()=>e.createElementVNode("td",null,null,-1)),PG=A(()=>e.createElementVNode("td",null,null,-1)),WG={rowspan:2,class:"print-hidden"},LG=A(()=>e.createElementVNode("td",null,"Departure",-1)),uG=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),HG=A(()=>e.createElementVNode("td",null,null,-1)),MG=A(()=>e.createElementVNode("td",null,null,-1)),GG=A(()=>e.createElementVNode("td",null,null,-1)),IG=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),$G={class:"section distance-section"},RG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),zG={class:"report-summary"},UG=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)),YG={class:"summary-item"},ZG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),QG={class:"flex blue center"},JG={class:"flex blue center"},qG={class:"summary-item"},KG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),jG={class:"flex blue center"},XG={class:"section time-section"},vG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),eI={key:0,class:"report-formular"},tI={class:"equation"},oI=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),lI={class:"function",style:{width:"20%"}},aI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sI={style:{width:"10%"}},iI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),cI={class:"equation"},dI=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:28%;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),rI={style:{width:"5%"}},mI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),pI={style:{width:"8%"}},hI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),_I={style:{width:"4%"}},EI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),yI={key:1,class:"report-formular"},NI={class:"equation"},VI=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),fI={class:"function",style:{width:"20%"}},gI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bI={style:{width:"10%"}},xI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),CI={key:0,class:"equation"},SI=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:30%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),kI={style:{width:"5%"}},BI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),AI={style:{width:"5%"}},wI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),TI={style:{width:"5%"}},OI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),FI={key:1,class:"equation"},PI=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>Time spent in port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',8),WI={style:{width:"5%"}},LI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uI={style:{width:"5%"}},HI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),MI={style:{width:"5%"}},GI=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),II={style:{width:"5%"}},$I=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RI={key:2,class:"report-summary"},zI={class:"summary-item"},UI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),YI={class:"flex blue center"},ZI={class:"summary-item"},QI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),JI={class:"flex blue center"},qI={class:"summary-item"},KI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),jI={class:"flex blue center"},XI={key:3,class:"report-summary"},vI={class:"summary-item"},e$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),t$={class:"flex blue center"},o$={class:"summary-item"},l$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),a$={class:"flex blue center"},n$={key:0,class:"summary-item"},s$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),i$={class:"flex blue center"},c$={class:"summary-item"},d$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),r$={class:"flex blue center"},m$={class:"section consumption-section"},p$=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),h$={key:0,class:"report-formular"},_$={class:"equation"},E$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),y$={class:"function",style:{width:"5%"}},N$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),V$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),f$={class:"function",style:{width:"5%"}},g$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),D$=A(()=>e.createElementVNode("div",null,"24",-1)),b$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),x$={style:{width:"5%"}},C$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),S$={class:"equation"},k$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),B$={style:{width:"5%"}},A$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),w$={style:{width:"5%"}},T$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),O$={style:{width:"5%"}},F$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),P$={class:"equation"},W$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),L$={class:"function",style:{width:"5%"}},u$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),H$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),M$={class:"function",style:{width:"5%"}},G$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),I$=A(()=>e.createElementVNode("div",null,"24",-1)),$$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),R$={style:{width:"5%"}},z$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),U$={class:"equation"},Y$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),Z$={style:{width:"5%"}},Q$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),J$={style:{width:"5%"}},q$=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),K$={style:{width:"5%"}},j$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),X$={key:1,class:"report-formular"},v$={class:"equation"},eR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),tR={class:"function",style:{width:"5%"}},oR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),aR={class:"function",style:{width:"5%"}},nR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sR=A(()=>e.createElementVNode("div",null,"24",-1)),iR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cR={style:{width:"5%"}},dR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rR={class:"equation"},mR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),pR={class:"function",style:{width:"5%"}},hR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_R=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),ER={class:"function",style:{width:"5%"}},yR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NR=A(()=>e.createElementVNode("div",null,"24",-1)),VR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fR={style:{width:"5%"}},gR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DR={key:0,class:"equation"},bR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),xR={style:{width:"5%"}},CR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SR={style:{width:"5%"}},kR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BR={style:{width:"5%"}},AR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wR={key:1,class:"equation"},TR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>FO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),OR={style:{width:"5%"}},FR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PR={style:{width:"5%"}},WR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LR={style:{width:"5%"}},uR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HR={style:{width:"5%"}},MR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GR={key:2,class:"equation"},IR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),$R={style:{width:"5%"}},RR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zR={style:{width:"5%"}},UR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YR={style:{width:"5%"}},ZR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QR={key:3,class:"equation"},JR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>DO/GO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),qR={style:{width:"5%"}},KR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jR={style:{width:"5%"}},XR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vR={style:{width:"5%"}},ez=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tz={style:{width:"5%"}},oz=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lz={key:2,class:"report-summary"},az=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)),nz={class:"summary-item"},sz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),iz={class:"flex blue center"},cz={class:"flex blue center"},dz={class:"summary-item"},rz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),mz={class:"flex blue center"},pz={class:"flex blue center"},hz={class:"summary-item"},_z=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Ez={key:3,class:"report-summary"},yz=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)),Nz={class:"summary-item"},Vz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),fz={class:"flex blue center"},gz={class:"flex blue center"},Dz={class:"summary-item"},bz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),xz={class:"flex blue center"},Cz={class:"flex blue center"},Sz={key:0,class:"summary-item"},kz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),Bz={class:"flex blue center"},Az={class:"flex blue center"},wz={class:"summary-item"},Tz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Oz={class:"section comment-section"},Fz=["innerHTML"];function Pz(t,s,o,c,l,a){var g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,It,$t,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,Io,$o,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,Il,$l,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,Ia,$a,Ra,za,Ua,ae,ro,Ya,Za,Qa;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),E=e.resolveComponent("CirclePlus"),b=e.resolveComponent("el-icon"),x=e.resolveComponent("Remove"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jH,[e.createVNode(_,{name:"Voyage Deviation Report"}),e.createElementVNode("div",XH,[e.createElementVNode("div",vH,[e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",lM,[aM,e.createElementVNode("div",nM,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",sM,[iM,e.createElementVNode("div",cM,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",dM,[rM,e.createElementVNode("div",mM,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,[e.createElementVNode("span",EM,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",yM,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,[e.createElementVNode("span",gM,e.toDisplayString((P=($=l.extraData)==null?void 0:$.arrival)==null?void 0:P.name),1),e.createElementVNode("span",DM,e.toDisplayString(a.computeUTCTime(((I=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:I.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])])]),e.createElementVNode("div",bM,[xM,e.createElementVNode("div",CM,[e.createElementVNode("div",SM,[kM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",BM,[AM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",wM,[TM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",OM,[FM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",PM,[WM,e.createElementVNode("div",LM,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,uM),HM])]),((_e=o.report)==null?void 0:_e.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",MM,[GM,e.createElementVNode("div",IM,[$M,e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLat,(Ve=l.extraData)==null?void 0:Ve.startLng)),1),e.createElementVNode("div",YM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime)),1),e.createElementVNode("div",ZM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",QM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),JM,qM]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",XM,e.toDisplayString(a.computedLngLat((be=l.extraData)==null?void 0:be.endLat,(xe=l.extraData)==null?void 0:xe.endLng)),1),e.createElementVNode("div",vM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime)),1),e.createElementVNode("div",eG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",tG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",oG,[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:s[4]||(s[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",lG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ee=l.extraData)==null?void 0:Ee.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",aG,[nG,sG,e.createElementVNode("div",iG,e.toDisplayString(((me=(F=l.extraData)==null?void 0:F.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",cG,e.toDisplayString(((Le=(We=(Pe=l.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:We.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",dG,e.toDisplayString(((Re=($e=(pe=l.extraData)==null?void 0:pe.consAnalysis)==null?void 0:$e.dgo)==null?void 0:Re.actualCons)??"—"),1),rG,mG])])])):e.createCommentVNode("",!0),e.createElementVNode("div",pG,[hG,e.createElementVNode("div",_G,[e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString(((z=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:z.speed)??"—"),1)]),e.createElementVNode("div",VG,[fG,e.createElementVNode("div",gG,e.toDisplayString(((He=(we=l.extraData)==null?void 0:we.cp)==null?void 0:He.fo)??"—"),1)]),e.createElementVNode("div",DG,[bG,e.createElementVNode("div",xG,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",CG,[e.createElementVNode("div",SG,[kG,e.createElementVNode("div",BG,[e.createVNode(b,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(E)]),_:1},8,["onClick"])])]),e.createElementVNode("div",AG,[e.createElementVNode("table",null,[wG,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ja,qa,Ka,rt,ln,an,nn,sn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",TG,[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:Lt=>a.handleCommit("port","name",Lt,mo)},null,8,["value","options","onSelect","onCommit"])]),OG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ja=ne==null?void 0:ne.arrival)==null?void 0:Ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.date",Lt,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:Lt=>a.handleCommit("port","arrival.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),FG,PG,e.createElementVNode("td",WG,[e.createVNode(b,{size:20,onClick:Lt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[LG,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:Lt=>a.handleCommit("port","departure.date",Lt,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:Lt=>a.handleCommit("port","departure.foBrob",Lt,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:Lt=>a.handleCommit("port","departure.dgoBrob",Lt,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:Lt=>a.handleCommit("port","departure.bunkeringFo",Lt,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:Lt=>a.handleCommit("port","departure.bunkeringDgo",Lt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uG,HG,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(((J=(h=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:h.fo)==null?void 0:J.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(ue=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:ue.dgo)==null?void 0:Me.portCons)??"—"),1),MG,GG,IG])])])])]),e.createElementVNode("div",$G,[RG,e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[ZG,e.createElementVNode("div",QG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",JG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Ke=l.extraData)==null?void 0:Ke.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",qG,[KG,e.createElementVNode("div",jG,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])])]),e.createElementVNode("div",XG,[vG,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",eI,[e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),aI,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),nI,e.createElementVNode("div",sI,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),iI]),e.createElementVNode("div",cI,[dI,e.createElementVNode("div",rI,e.toDisplayString((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.sailingTime),1),mI,e.createElementVNode("div",pI,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),hI,e.createElementVNode("div",_I,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),EI])])):(e.openBlock(),e.createElementBlock("div",yI,[e.createElementVNode("div",NI,[VI,e.createElementVNode("div",fI,[e.createElementVNode("div",null,e.toDisplayString((ft=l.extraData)==null?void 0:ft.priorDist),1),gI,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),DI,e.createElementVNode("div",bI,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.sailingTime),1),xI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",CI,[SI,e.createElementVNode("div",kI,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),BI,e.createElementVNode("div",AI,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.sailingTime),1),wI,e.createElementVNode("div",TI,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.totalExtraTime),1),OI])):(e.openBlock(),e.createElementBlock("div",FI,[PI,e.createElementVNode("div",WI,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.actualTime),1),LI,e.createElementVNode("div",uI,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),HI,e.createElementVNode("div",MI,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.portTime),1),GI,e.createElementVNode("div",II,e.toDisplayString((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.totalExtraTime),1),$I]))])),((go=o.report)==null?void 0:go.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",RI,[e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString(((bo=(Do=l.extraData)==null?void 0:Do.timeAnalysis)==null?void 0:bo.sailingTime)??"—"),1)]),e.createElementVNode("div",ZI,[QI,e.createElementVNode("div",JI,e.toDisplayString(((U=(xo=l.extraData)==null?void 0:xo.timeAnalysis)==null?void 0:U.portTime)??"—"),1)]),e.createElementVNode("div",qI,[KI,e.createElementVNode("div",jI,e.toDisplayString(((Ft=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",XI,[e.createElementVNode("div",vI,[e$,e.createElementVNode("div",t$,e.toDisplayString((Mt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Mt.sailingTime),1)]),e.createElementVNode("div",o$,[l$,e.createElementVNode("div",a$,e.toDisplayString((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",n$,[s$,e.createElementVNode("div",i$,e.toDisplayString(((Rt=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:Rt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",c$,[d$,e.createElementVNode("div",r$,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.totalExtraTime),1)])]))]),e.createElementVNode("div",m$,[p$,((Yt=o.report)==null?void 0:Yt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",h$,[e.createElementVNode("div",_$,[E$,e.createElementVNode("div",y$,[e.createElementVNode("div",null,e.toDisplayString((Zt=l.extraData)==null?void 0:Zt.extraDist),1),N$,e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.extraData)==null?void 0:Qt.cp)==null?void 0:Jt.speed),1)]),V$,e.createElementVNode("div",f$,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Kt.fo),1),g$,D$]),b$,e.createElementVNode("div",x$,e.toDisplayString((vt=(Xt=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.sailingCons),1),C$]),e.createElementVNode("div",S$,[k$,e.createElementVNode("div",B$,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),A$,e.createElementVNode("div",w$,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),T$,e.createElementVNode("div",O$,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),F$]),e.createElementVNode("div",P$,[W$,e.createElementVNode("div",L$,[e.createElementVNode("div",null,e.toDisplayString((Co=l.extraData)==null?void 0:Co.extraDist),1),u$,e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.extraData)==null?void 0:So.cp)==null?void 0:ko.speed),1)]),H$,e.createElementVNode("div",M$,[e.createElementVNode("div",null,e.toDisplayString((Ao=(Bo=l.extraData)==null?void 0:Bo.cp)==null?void 0:Ao.dgo),1),G$,I$]),$$,e.createElementVNode("div",R$,e.toDisplayString((Oo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Oo.sailingCons),1),z$]),e.createElementVNode("div",U$,[Y$,e.createElementVNode("div",Z$,e.toDisplayString((Wo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Wo.sailingCons),1),Q$,e.createElementVNode("div",J$,e.toDisplayString(a.computeNum((Ho=(uo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Ho.portCons)),1),q$,e.createElementVNode("div",K$,e.toDisplayString((Io=(Go=(Mo=l.extraData)==null?void 0:Mo.consAnalysis)==null?void 0:Go.dgo)==null?void 0:Io.totalExtraCons),1),j$])])):(e.openBlock(),e.createElementBlock("div",X$,[e.createElementVNode("div",v$,[eR,e.createElementVNode("div",tR,[e.createElementVNode("div",null,e.toDisplayString(($o=l.extraData)==null?void 0:$o.priorDist),1),oR,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=l.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),lR,e.createElementVNode("div",aR,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=l.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.fo),1),nR,sR]),iR,e.createElementVNode("div",cR,e.toDisplayString((qo=(Jo=(Qo=l.extraData)==null?void 0:Qo.consAnalysis)==null?void 0:Jo.fo)==null?void 0:qo.sailingCons),1),dR]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,[e.createElementVNode("div",null,e.toDisplayString((Ko=l.extraData)==null?void 0:Ko.priorDist),1),hR,e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:Xo.speed),1)]),_R,e.createElementVNode("div",ER,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.dgo),1),yR,NR]),VR,e.createElementVNode("div",fR,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.dgo)==null?void 0:ll.sailingCons),1),gR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DR,[bR,e.createElementVNode("div",xR,e.toDisplayString((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),CR,e.createElementVNode("div",SR,e.toDisplayString(a.computeNum((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.sailingCons)),1),kR,e.createElementVNode("div",BR,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.totalExtraCons),1),AR])):(e.openBlock(),e.createElementBlock("div",wR,[TR,e.createElementVNode("div",OR,e.toDisplayString((El=(_l=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:_l.fo)==null?void 0:El.actualCons),1),FR,e.createElementVNode("div",PR,e.toDisplayString(a.computeNum((fl=(Wt=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:Wt.fo)==null?void 0:fl.sailingCons)),1),WR,e.createElementVNode("div",LR,e.toDisplayString(a.computeNum((Cl=(xl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:xl.fo)==null?void 0:Cl.portCons)),1),uR,e.createElementVNode("div",HR,e.toDisplayString((Bl=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Bl.totalExtraCons),1),MR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",GR,[IR,e.createElementVNode("div",$R,e.toDisplayString((Tl=(wl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),RR,e.createElementVNode("div",zR,e.toDisplayString((Pl=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Pl.sailingCons),1),UR,e.createElementVNode("div",YR,e.toDisplayString((ul=(Ll=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:ul.totalExtraCons),1),ZR])):(e.openBlock(),e.createElementBlock("div",QR,[JR,e.createElementVNode("div",qR,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),KR,e.createElementVNode("div",jR,e.toDisplayString(a.computeNum((Rl=($l=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Rl.sailingCons)),1),XR,e.createElementVNode("div",vR,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.portCons)),1),ez,e.createElementVNode("div",tz,e.toDisplayString((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.totalExtraCons),1),oz]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",lz,[az,e.createElementVNode("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString(((Xl=(jl=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:Xl.sailingCons)??"—"),1),e.createElementVNode("div",cz,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",dz,[rz,e.createElementVNode("div",mz,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",pz,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",hz,[_z,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(((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.fo)==null?void 0:ha.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ya=(Ea=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.dgo)==null?void 0:ya.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",Ez,[yz,e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString((ba=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:ba.sailingCons),1),e.createElementVNode("div",gz,e.toDisplayString((Sa=(Ca=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",Dz,[bz,e.createElementVNode("div",xz,e.toDisplayString((Aa=(Ba=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Ba.fo)==null?void 0:Aa.actualCons),1),e.createElementVNode("div",Cz,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",Sz,[kz,e.createElementVNode("div",Bz,e.toDisplayString((Wa=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:Wa.portCons),1),e.createElementVNode("div",Az,e.toDisplayString((Ha=(ua=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:ua.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wz,[Tz,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((za=(Ra=($a=l.extraData)==null?void 0:$a.consAnalysis)==null?void 0:Ra.fo)==null?void 0:za.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Qa=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.dgo)==null?void 0:Qa.totalExtraCons),3)])]))]),e.createElementVNode("div",Oz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ne=>l.advisory=ne),height:"320px",onBlur:s[9]||(s[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Fz))],2)])])}const An=ke(KH,[["render",Pz],["__scopeId","data-v-1413248b"]]),_le="",Wz={name:"FliDvtRpt",components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo},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//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdN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aDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const o=this.fetchLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,s,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(_=this.data)==null?void 0:_.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,o,c){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[c][g][B]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(x=this.data)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},k=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),Lz={class:"deviation-report"},uz=k(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Hz={class:"report-header"},Mz={class:"header-title",style:{position:"relative !important"}},Gz={class:"header-title-content"},Iz=k(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),$z={class:"title-date"},Rz={class:"report-summary"},zz={class:"summary-item"},Uz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Yz={class:"flexL gray"},Zz={class:"summary-item"},Qz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Jz={class:"flexL gray"},qz={class:"summary-item"},Kz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),jz={class:"flexL gray"},Xz={class:"summary-item"},vz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),eU={class:"flexL gray"},tU={class:"summary-item"},oU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),lU={class:"flexL gray",style:{display:"flex"}},aU={class:"flex"},nU={class:"flexM"},sU={class:"summary-item"},iU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),cU={class:"flexL gray",style:{display:"flex"}},dU={class:"flex"},rU={class:"flexM"},mU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),pU={class:"report-summary"},hU={class:"summary-item"},_U=k(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),EU={class:"summary-item"},yU=k(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),NU={class:"summary-item"},VU=k(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),fU={class:"summary-item"},gU=k(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),DU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),bU={class:"report-map"},xU=["src"],CU=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),SU=k(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),kU={key:0,class:"subtitle"},BU={key:1,class:"report-summary"},AU=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),wU={class:"summary-item"},TU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),OU={class:"blue center",style:{width:"20%"}},FU={class:"blue center",style:{width:"17%"}},PU={class:"flex blue center"},WU={class:"flex blue center"},LU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),HU={class:"summary-item"},MU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),GU={class:"blue center",style:{width:"20%"}},IU={class:"blue center",style:{width:"17%"}},$U={class:"flex blue center"},RU={class:"flex blue center"},zU={class:"flex blue center"},UU={class:"flex blue center"},YU={class:"summary-item"},ZU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),QU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),JU={class:"blue center",style:{width:"17%"}},qU={class:"flex blue center"},KU={class:"flex blue center"},jU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vU=k(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),eY={class:"report-summary"},tY={class:"summary-item"},oY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lY={class:"flexL blue center"},aY={class:"summary-item"},nY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sY={class:"flexL blue center"},iY={class:"summary-item"},cY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dY={class:"flexL blue center"},rY={class:"subtitle port"},mY=k(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),pY={class:"print-hidden"},hY={class:"report-port"},_Y=k(()=>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)),EY={rowspan:2},yY=k(()=>e.createElementVNode("td",null,"Arrival",-1)),NY=k(()=>e.createElementVNode("td",null,null,-1)),VY=k(()=>e.createElementVNode("td",null,null,-1)),fY={rowspan:2,class:"print-hidden"},gY=k(()=>e.createElementVNode("td",null,"Departure",-1)),DY=k(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),bY=k(()=>e.createElementVNode("td",null,null,-1)),xY=k(()=>e.createElementVNode("td",null,null,-1)),CY=k(()=>e.createElementVNode("td",null,null,-1)),SY=k(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),kY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),BY={class:"report-summary"},AY=k(()=>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)),wY={class:"summary-item"},TY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),OY={class:"flex blue center"},FY={class:"flex blue center"},PY={class:"summary-item"},WY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),LY={class:"flex blue center"},uY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),HY={key:2,class:"report-formular"},MY={class:"equation"},GY=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),IY={class:"function",style:{width:"20%"}},$Y=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zY={style:{width:"10%"}},UY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YY={class:"equation"},ZY=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),QY={style:{width:"5%"}},JY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),qY={style:{width:"8%"}},KY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jY={style:{width:"4%"}},XY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),vY={key:3,class:"report-formular"},eZ={class:"equation"},tZ=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),oZ={class:"function",style:{width:"20%"}},lZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nZ={style:{width:"10%"}},sZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),iZ={key:0,class:"equation"},cZ=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),dZ={style:{width:"5%"}},rZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),mZ={style:{width:"5%"}},pZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hZ={style:{width:"5%"}},_Z=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EZ={key:1,class:"equation"},yZ=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),NZ={style:{width:"5%"}},VZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),fZ={style:{width:"5%"}},gZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),DZ={style:{width:"5%"}},bZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),xZ={style:{width:"5%"}},CZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SZ={key:4,class:"report-summary"},kZ={class:"summary-item"},BZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),AZ={class:"flex blue center"},wZ={class:"summary-item"},TZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),OZ={class:"flex blue center"},FZ={class:"summary-item"},PZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),WZ={class:"flex blue center"},LZ={key:5,class:"report-summary"},uZ={class:"summary-item"},HZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),MZ={class:"flex blue center"},GZ={class:"summary-item"},IZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),$Z={class:"flex blue center"},RZ={key:0,class:"summary-item"},zZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),UZ={class:"flex blue center"},YZ={class:"summary-item"},ZZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),QZ={class:"flex blue center"},JZ=k(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),qZ={key:6,class:"report-formular"},KZ={class:"equation"},jZ=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),XZ={class:"function",style:{width:"5%"}},vZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tQ={class:"function",style:{width:"5%"}},oQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lQ=k(()=>e.createElementVNode("div",null,"24",-1)),aQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nQ={style:{width:"5%"}},sQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iQ={class:"equation"},cQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for 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),dQ={style:{width:"5%"}},rQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),mQ={style:{width:"5%"}},pQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hQ={style:{width:"5%"}},_Q=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EQ={class:"equation"},yQ=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),NQ={class:"function",style:{width:"5%"}},VQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),gQ={class:"function",style:{width:"5%"}},DQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bQ=k(()=>e.createElementVNode("div",null,"24",-1)),xQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={class:"equation"},BQ=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),AQ={style:{width:"5%"}},wQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TQ={style:{width:"5%"}},OQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FQ={style:{width:"5%"}},PQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WQ={key:7,class:"report-formular"},LQ={class:"equation"},uQ=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),HQ={class:"function",style:{width:"5%"}},MQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),IQ={class:"function",style:{width:"5%"}},$Q=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RQ=k(()=>e.createElementVNode("div",null,"24",-1)),zQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UQ={style:{width:"5%"}},YQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZQ={class:"equation"},QQ=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),JQ={class:"function",style:{width:"5%"}},qQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jQ={class:"function",style:{width:"5%"}},XQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vQ=k(()=>e.createElementVNode("div",null,"24",-1)),eJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tJ={style:{width:"5%"}},oJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lJ={key:0,class:"equation"},aJ=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),nJ={style:{width:"5%"}},sJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),iJ={style:{width:"5%"}},cJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),dJ={style:{width:"5%"}},rJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),mJ={key:1,class:"equation"},pJ=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),hJ={style:{width:"5%"}},_J=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EJ={style:{width:"5%"}},yJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),NJ={style:{width:"5%"}},VJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fJ={style:{width:"5%"}},gJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DJ={key:2,class:"equation"},bJ=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),xJ={style:{width:"5%"}},CJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SJ={style:{width:"5%"}},kJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BJ={style:{width:"5%"}},AJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wJ={key:3,class:"equation"},TJ=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),OJ={style:{width:"5%"}},FJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PJ={style:{width:"5%"}},WJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LJ={style:{width:"5%"}},uJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HJ={style:{width:"5%"}},MJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GJ={key:8,class:"report-summary"},IJ=k(()=>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)),$J={class:"summary-item"},RJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),zJ={class:"flex blue center"},UJ={class:"flex blue center"},YJ={class:"summary-item"},ZJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),QJ={class:"flex blue center"},JJ={class:"flex blue center"},qJ={class:"summary-item"},KJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jJ={key:9,class:"report-summary"},XJ=k(()=>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)),vJ={class:"summary-item"},eq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),tq={class:"flex blue center"},oq={class:"flex blue center"},lq={class:"summary-item"},aq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),nq={class:"flex blue center"},sq={class:"flex blue center"},iq={key:0,class:"summary-item"},cq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),dq={class:"flex blue center"},rq={class:"flex blue center"},mq={class:"summary-item"},pq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),hq=["innerHTML"];function _q(t,s,o,c,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,$e,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,It,$t,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,Io,$o,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,Il,$l,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,Ia,$a,Ra,za,Ua;const _=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),E=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Lz,[uz,e.createElementVNode("div",Hz,[e.createElementVNode("div",Mz,[e.createElementVNode("div",Gz,[Iz,e.createElementVNode("div",$z,e.toDisplayString(a.computeUTCTime((y=l.extraData)==null?void 0:y.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",Rz,[e.createElementVNode("div",zz,[Uz,e.createElementVNode("div",Yz,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",Zz,[Qz,e.createElementVNode("div",Jz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",qz,[Kz,e.createElementVNode("div",jz,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",Xz,[vz,e.createElementVNode("div",eU,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,[e.createElementVNode("span",aU,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",nU,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",sU,[iU,e.createElementVNode("div",cU,[e.createElementVNode("span",dU,e.toDisplayString((P=($=l.extraData)==null?void 0:$.arrival)==null?void 0:P.name),1),e.createElementVNode("span",rU,e.toDisplayString(a.computeUTCTime(((I=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:I.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])]),mU,e.createElementVNode("div",pU,[e.createElementVNode("div",hU,[_U,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",EU,[yU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),DU,e.createElementVNode("div",bU,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,xU),CU]),SU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kU,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",BU,[AU,e.createElementVNode("div",wU,[TU,e.createElementVNode("div",OU,e.toDisplayString(a.computedLngLat((_e=l.extraData)==null?void 0:_e.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",FU,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",PU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",WU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),LU,uU]),e.createElementVNode("div",HU,[MU,e.createElementVNode("div",GU,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",IU,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",$U,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",RU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",zU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",UU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",YU,[ZU,QU,e.createElementVNode("div",JU,e.toDisplayString(((F=(Ee=l.extraData)==null?void 0:Ee.timeAnalysis)==null?void 0:F.actualTime)??"—"),1),e.createElementVNode("div",qU,e.toDisplayString(((We=(Pe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Pe.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",KU,e.toDisplayString((($e=(pe=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:pe.dgo)==null?void 0:$e.actualCons)??"—"),1),jU,XU])])),vU,e.createElementVNode("div",eY,[e.createElementVNode("div",tY,[oY,e.createElementVNode("div",lY,e.toDisplayString(((ze=(Re=l.extraData)==null?void 0:Re.cp)==null?void 0:ze.speed)??"—"),1)]),e.createElementVNode("div",aY,[nY,e.createElementVNode("div",sY,e.toDisplayString(((we=(z=l.extraData)==null?void 0:z.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",iY,[cY,e.createElementVNode("div",dY,e.toDisplayString(((Ue=(He=l.extraData)==null?void 0:He.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",rY,[mY,e.createElementVNode("div",pY,[e.createVNode(E,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",hY,[e.createElementVNode("table",null,[_Y,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Ya,Za,Qa,ne,mo,Ja,qa,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",EY,[e.createVNode(_,{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"])]),yY,e.createElementVNode("td",null,[e.createVNode(_,{class:"check editable-item",value:(Ya=ae==null?void 0:ae.arrival)==null?void 0:Ya.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(_,{class:"editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.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(_,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),NY,VY,e.createElementVNode("td",fY,[e.createVNode(E,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[gY,e.createElementVNode("td",null,[e.createVNode(_,{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(_,{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(_,{class:"editable-item",value:(Ja=ae==null?void 0:ae.departure)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{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(_,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.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,[DY,bY,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(((h=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:h.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Te=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:Te.dgo)==null?void 0:ue.portCons)??"—"),1),xY,CY,SY])])])]),kY,e.createElementVNode("div",BY,[AY,e.createElementVNode("div",wY,[TY,e.createElementVNode("div",OY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",FY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",PY,[WY,e.createElementVNode("div",LY,e.toDisplayString(((Ke=l.extraData)==null?void 0:Ke.extraDist)??"—"),1)])]),uY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",HY,[e.createElementVNode("div",MY,[GY,e.createElementVNode("div",IY,[e.createElementVNode("div",null,e.toDisplayString((Xe=l.extraData)==null?void 0:Xe.extraDist),1),$Y,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),RY,e.createElementVNode("div",zY,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),UY]),e.createElementVNode("div",YY,[ZY,e.createElementVNode("div",QY,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),JY,e.createElementVNode("div",qY,e.toDisplayString(a.computeNum((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.portTime)),1),KY,e.createElementVNode("div",jY,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),XY])])):(e.openBlock(),e.createElementBlock("div",vY,[e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,[e.createElementVNode("div",null,e.toDisplayString((Nt=l.extraData)==null?void 0:Nt.priorDist),1),lZ,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.cp)==null?void 0:ft.speed),1)]),aZ,e.createElementVNode("div",nZ,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),sZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iZ,[cZ,e.createElementVNode("div",dZ,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.actualTime),1),rZ,e.createElementVNode("div",mZ,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),pZ,e.createElementVNode("div",hZ,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),_Z])):(e.openBlock(),e.createElementBlock("div",EZ,[yZ,e.createElementVNode("div",NZ,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.actualTime),1),VZ,e.createElementVNode("div",fZ,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.sailingTime),1),gZ,e.createElementVNode("div",DZ,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),bZ,e.createElementVNode("div",xZ,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.totalExtraTime),1),CZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",SZ,[e.createElementVNode("div",kZ,[BZ,e.createElementVNode("div",AZ,e.toDisplayString(((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime)??"—"),1)]),e.createElementVNode("div",wZ,[TZ,e.createElementVNode("div",OZ,e.toDisplayString(((Do=(go=l.extraData)==null?void 0:go.timeAnalysis)==null?void 0:Do.portTime)??"—"),1)]),e.createElementVNode("div",FZ,[PZ,e.createElementVNode("div",WZ,e.toDisplayString(((xo=(bo=l.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:xo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",LZ,[e.createElementVNode("div",uZ,[HZ,e.createElementVNode("div",MZ,e.toDisplayString((tt=(U=l.extraData)==null?void 0:U.timeAnalysis)==null?void 0:tt.sailingTime),1)]),e.createElementVNode("div",GZ,[IZ,e.createElementVNode("div",$Z,e.toDisplayString((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",RZ,[zZ,e.createElementVNode("div",UZ,e.toDisplayString(((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",QZ,e.toDisplayString(($t=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),JZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",qZ,[e.createElementVNode("div",KZ,[jZ,e.createElementVNode("div",XZ,[e.createElementVNode("div",null,e.toDisplayString((Rt=l.extraData)==null?void 0:Rt.extraDist),1),vZ,e.createElementVNode("div",null,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.cp)==null?void 0:Ut.speed),1)]),eQ,e.createElementVNode("div",tQ,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.cp)==null?void 0:Zt.fo),1),oQ,lQ]),aQ,e.createElementVNode("div",nQ,e.toDisplayString((qt=(Jt=(Qt=l.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:qt.sailingCons),1),sQ]),e.createElementVNode("div",iQ,[cQ,e.createElementVNode("div",dQ,e.toDisplayString((Xt=(jt=(Kt=l.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.sailingCons),1),rQ,e.createElementVNode("div",mQ,e.toDisplayString(a.computeNum((to=(eo=(vt=l.extraData)==null?void 0:vt.consAnalysis)==null?void 0:eo.fo)==null?void 0:to.portCons)),1),pQ,e.createElementVNode("div",hQ,e.toDisplayString((ao=(lo=(oo=l.extraData)==null?void 0:oo.consAnalysis)==null?void 0:lo.fo)==null?void 0:ao.totalExtraCons),1),_Q]),e.createElementVNode("div",EQ,[yQ,e.createElementVNode("div",NQ,[e.createElementVNode("div",null,e.toDisplayString((no=l.extraData)==null?void 0:no.extraDist),1),VQ,e.createElementVNode("div",null,e.toDisplayString((io=(so=l.extraData)==null?void 0:so.cp)==null?void 0:io.speed),1)]),fQ,e.createElementVNode("div",gQ,[e.createElementVNode("div",null,e.toDisplayString((Co=(co=l.extraData)==null?void 0:co.cp)==null?void 0:Co.dgo),1),DQ,bQ]),xQ,e.createElementVNode("div",CQ,e.toDisplayString((Bo=(ko=(So=l.extraData)==null?void 0:So.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Bo.sailingCons),1),SQ]),e.createElementVNode("div",kQ,[BQ,e.createElementVNode("div",AQ,e.toDisplayString((To=(wo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),OQ,e.createElementVNode("div",FQ,e.toDisplayString((uo=(Lo=(Wo=l.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:uo.totalExtraCons),1),PQ])])):(e.openBlock(),e.createElementBlock("div",WQ,[e.createElementVNode("div",LQ,[uQ,e.createElementVNode("div",HQ,[e.createElementVNode("div",null,e.toDisplayString((Ho=l.extraData)==null?void 0:Ho.priorDist),1),MQ,e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=l.extraData)==null?void 0:Mo.cp)==null?void 0:Go.speed),1)]),GQ,e.createElementVNode("div",IQ,[e.createElementVNode("div",null,e.toDisplayString(($o=(Io=l.extraData)==null?void 0:Io.cp)==null?void 0:$o.fo),1),$Q,RQ]),zQ,e.createElementVNode("div",UQ,e.toDisplayString((Uo=(zo=(Ro=l.extraData)==null?void 0:Ro.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),YQ]),e.createElementVNode("div",ZQ,[QQ,e.createElementVNode("div",JQ,[e.createElementVNode("div",null,e.toDisplayString((Yo=l.extraData)==null?void 0:Yo.priorDist),1),qQ,e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.speed),1)]),KQ,e.createElementVNode("div",jQ,[e.createElementVNode("div",null,e.toDisplayString((Ko=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Ko.dgo),1),XQ,vQ]),eJ,e.createElementVNode("div",tJ,e.toDisplayString((vo=(Xo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:Xo.dgo)==null?void 0:vo.sailingCons),1),oJ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",lJ,[aJ,e.createElementVNode("div",nJ,e.toDisplayString((ol=(tl=(el=l.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.actualCons),1),sJ,e.createElementVNode("div",iJ,e.toDisplayString(a.computeNum((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)),1),cJ,e.createElementVNode("div",dJ,e.toDisplayString((cl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.totalExtraCons),1),rJ])):(e.openBlock(),e.createElementBlock("div",mJ,[pJ,e.createElementVNode("div",hJ,e.toDisplayString((ml=(rl=(dl=l.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.actualCons),1),_J,e.createElementVNode("div",EJ,e.toDisplayString(a.computeNum((_l=(hl=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:hl.fo)==null?void 0:_l.sailingCons)),1),yJ,e.createElementVNode("div",NJ,e.toDisplayString(a.computeNum((Wt=(yl=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Wt.portCons)),1),VJ,e.createElementVNode("div",fJ,e.toDisplayString((xl=(bl=(fl=l.extraData)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:xl.totalExtraCons),1),gJ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DJ,[bJ,e.createElementVNode("div",xJ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),CJ,e.createElementVNode("div",SJ,e.toDisplayString((wl=(Al=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:wl.sailingCons),1),kJ,e.createElementVNode("div",BJ,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.totalExtraCons),1),AJ])):(e.openBlock(),e.createElementBlock("div",wJ,[TJ,e.createElementVNode("div",OJ,e.toDisplayString((Ll=(Wl=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Ll.actualCons),1),FJ,e.createElementVNode("div",PJ,e.toDisplayString(a.computeNum((Ml=(Hl=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),WJ,e.createElementVNode("div",LJ,e.toDisplayString(a.computeNum(($l=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:$l.portCons)),1),uJ,e.createElementVNode("div",HJ,e.toDisplayString((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.totalExtraCons),1),MJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",GJ,[IJ,e.createElementVNode("div",$J,[RJ,e.createElementVNode("div",zJ,e.toDisplayString(((Ql=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.sailingCons)??"—"),1),e.createElementVNode("div",UJ,e.toDisplayString(((Kl=(ql=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Kl.sailingCons)??"—"),1)]),e.createElementVNode("div",YJ,[ZJ,e.createElementVNode("div",QJ,e.toDisplayString(((vl=(Xl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",JJ,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",qJ,[KJ,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(((_a=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:_a.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",jJ,[XJ,e.createElementVNode("div",vJ,[eq,e.createElementVNode("div",tq,e.toDisplayString((Na=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",oq,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",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString((xa=(ba=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.fo)==null?void 0:xa.actualCons),1),e.createElementVNode("div",sq,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",iq,[cq,e.createElementVNode("div",dq,e.toDisplayString((wa=(Aa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:Aa.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",rq,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",mq,[pq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(Wa=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:Wa.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($a=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:$a.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.dgo)==null?void 0:Ua.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(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ae=>l.advisory=ae),height:"320px",onBlur:s[9]||(s[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,hq))],2)])}const wn=ke(Wz,[["render",_q],["__scopeId","data-v-77edf8aa"]]),Eq={install(t){t.component("DeviationReport",An),t.component("FliDeviationReport",wn)}},Ele="",yq={name:"OrmStoppage",components:{IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem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Kn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:""}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ie.roundPrecision(t,s)}}}},Eo=t=>(e.pushScopeId("data-v-41122d35"),t=t(),e.popScopeId(),t),Nq={class:"stoppage-report"},Vq={class:"report-summary"},fq={class:"summary-item"},gq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Dq={class:"flexL gray"},bq={class:"summary-item"},xq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Cq={class:"flexL gray"},Sq={class:"summary-item"},kq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),Bq={class:"flexL gray"},Aq={class:"summary-item"},wq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),Tq={class:"flexL gray"},Oq={class:"summary-item"},Fq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),Pq={class:"flexL gray",style:{display:"flex"}},Wq={class:"flex"},Lq={class:"flexM"},uq={class:"summary-item"},Hq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Mq={class:"flexL gray",style:{display:"flex"}},Gq={class:"flex"},Iq={class:"flexM"},$q=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Rq={class:"report-summary"},zq={class:"summary-item"},Uq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),Yq={class:"summary-item"},Zq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),Qq={class:"summary-item"},Jq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),qq=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),Kq={class:"report-table"},jq=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)),Xq=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),vq={rowspan:2},eK={rowspan:2},tK={rowspan:2},oK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),lK={class:"report-map flex-center"},aK=["src"];function nK(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Nq,[e.createVNode(_,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",Vq,[e.createElementVNode("div",fq,[gq,e.createElementVNode("div",Dq,e.toDisplayString((E=(i=o.report)==null?void 0:i.vessel)==null?void 0:E.name),1)]),e.createElementVNode("div",bq,[xq,e.createElementVNode("div",Cq,e.toDisplayString((b=o.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Bq,e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",Aq,[wq,e.createElementVNode("div",Tq,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",Oq,[Fq,e.createElementVNode("div",Pq,[e.createElementVNode("span",Wq,e.toDisplayString((S=(r=o.report)==null?void 0:r.departure)==null?void 0:S.name),1),e.createElementVNode("span",Lq,e.toDisplayString(a.computeUTCTime(((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.atd)||((w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.etd))),1)])]),e.createElementVNode("div",uq,[Hq,e.createElementVNode("div",Mq,[e.createElementVNode("span",Gq,e.toDisplayString((D=(T=o.report)==null?void 0:T.arrival)==null?void 0:D.name),1),e.createElementVNode("span",Iq,e.toDisplayString(a.computeUTCTime(((Y=(W=o.report)==null?void 0:W.arrival)==null?void 0:Y.ata)||(($=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:$.eta))),1)])])]),$q,e.createElementVNode("div",Rq,[e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((P=o.report)==null?void 0:P.totalTime))},e.toDisplayString(((V=o.report)==null?void 0:V.totalTime)??"—"),5)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((I=o.report)==null?void 0:I.totalFoCons))},e.toDisplayString(((M=o.report)==null?void 0:M.totalFoCons)??"—"),5)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((u=o.report)==null?void 0:u.totalDgoCons))},e.toDisplayString(((H=o.report)==null?void 0:H.totalDgoCons)??"—"),5)])]),qq,e.createElementVNode("div",Kq,[e.createElementVNode("table",null,[jq,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xq,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((Q=o.report)==null?void 0:Q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((K=o.report)==null?void 0:K.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((R=o.report)==null?void 0:R.stopDgoBrob)??"-")),1),e.createElementVNode("td",vq,e.toDisplayString(a.computeRoundPrecision(((q=o.report)==null?void 0:q.totalTime)??"-")),1),e.createElementVNode("td",eK,e.toDisplayString(a.computeRoundPrecision(((n=o.report)==null?void 0:n.totalFoCons)??"-")),1),e.createElementVNode("td",tK,e.toDisplayString(a.computeRoundPrecision(((X=o.report)==null?void 0:X.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[oK,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((te=o.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((oe=o.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",lK,[e.createElementVNode("img",{src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,aK)])])}const Tn=ke(yq,[["render",nK],["__scopeId","data-v-41122d35"]]),sK={install(t){t.component("StoppageReport",Tn)}},yle="",iK={name:"OrmComparison",components:{Editor:Zo,IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},qe=t=>(e.pushScopeId("data-v-7d3d9d3b"),t=t(),e.popScopeId(),t),cK={class:"comparison-report"},dK={class:"report-summary"},rK={class:"summary-item"},mK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pK={class:"flexL gray"},hK={class:"summary-item"},_K=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EK={class:"flexL gray"},yK={class:"summary-item"},NK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VK={class:"flexL gray"},fK={class:"summary-item"},gK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),DK={class:"flexL gray"},bK={class:"summary-item"},xK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CK={class:"flexL gray"},SK={class:"summary-item"},kK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),BK={class:"flexL gray",style:{display:"flex"}},AK={class:"flex"},wK={class:"flexM"},TK={class:"summary-item"},OK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),FK={class:"flexL gray",style:{display:"flex"}},PK={class:"flex"},WK={class:"flexM"},LK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),uK={class:"report-summary"},HK={class:"summary-item"},MK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GK={class:"summary-item"},IK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),$K={class:"summary-item"},RK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),zK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),UK={class:"report-map"},YK=["src"],ZK=e.createStaticVNode('<div class="legend" data-v-7d3d9d3b><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Actual Route</div></div><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Recommended Route</div></div></div>',1),QK={key:0,class:"subtitle"},JK={key:1,class:"report-summary"},qK={class:"summary-item"},KK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),jK={class:"flexL blue center"},XK={class:"summary-item"},vK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),ej={class:"flexL blue center"},tj={class:"summary-item"},oj=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),lj={class:"flexL blue center"},aj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),nj={class:"report-summary"},sj=qe(()=>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)),ij={class:"summary-item"},cj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),dj={class:"flex blue-light center"},rj={class:"flex blue-light center"},mj={class:"summary-item"},pj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),hj={class:"flex blue-light center"},_j={class:"flex blue-light center"},Ej={class:"summary-item"},yj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Nj={class:"flex blue-light center"},Vj={class:"flex blue-light center"},fj={class:"summary-item"},gj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Dj={class:"flex blue-light center"},bj={class:"flex blue-light center"},xj={class:"summary-item"},Cj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Bj={class:"summary-item"},Aj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),wj={class:"flex blue-light center"},Tj={class:"flex blue-light center"},Oj={class:"summary-item"},Fj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Pj={class:"flex blue-light center italic"},Wj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Lj={class:"report-summary"},uj=qe(()=>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)),Hj={class:"summary-item"},Mj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Gj={class:"flex blue-light center"},Ij={class:"flex blue-light center"},$j={class:"summary-item"},Rj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),zj={class:"flex blue-light center"},Uj={class:"flex blue-light center"},Yj={class:"summary-item"},Zj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Qj={class:"flex blue-light center"},Jj={class:"flex blue-light center"},qj={class:"summary-item"},Kj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),jj={class:"flex blue-light center"},Xj={class:"flex blue-light center"},vj={class:"summary-item"},eX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),tX={class:"flex blue-light center italic"},oX={class:"summary-item"},lX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),aX={class:"flex blue-light center italic"},nX=["innerHTML"];function sX(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cK,[e.createVNode(_,{name:"Voyage Comparison Report"}),e.createElementVNode("div",dK,[e.createElementVNode("div",rK,[mK,e.createElementVNode("div",pK,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",hK,[_K,e.createElementVNode("div",EK,e.toDisplayString((x=o.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",yK,[NK,e.createElementVNode("div",VK,e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",fK,[gK,e.createElementVNode("div",DK,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",bK,[xK,e.createElementVNode("div",CK,e.toDisplayString((C=(S=o.report)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",SK,[kK,e.createElementVNode("div",BK,[e.createElementVNode("span",AK,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",wK,e.toDisplayString(a.computeUTCTime(((T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=o.report)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",TK,[OK,e.createElementVNode("div",FK,[e.createElementVNode("span",PK,e.toDisplayString((Z=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",WK,e.toDisplayString(a.computeUTCTime(((P=($=o.report)==null?void 0:$.arrival)==null?void 0:P.ata)||((I=(V=o.report)==null?void 0:V.arrival)==null?void 0:I.eta))),1)])])]),LK,e.createElementVNode("div",uK,[e.createElementVNode("div",HK,[MK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=o.report)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=o.report)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",GK,[IK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=o.report)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=o.report)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",$K,[RK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=o.report)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=o.report)==null?void 0:K.diffDgoCons,"oil")),3)])]),zK,e.createElementVNode("div",UK,[e.createElementVNode("img",{style:{width:"100%"},src:(N=o.report)==null?void 0:N.chartUrl,alt:""},null,8,YK),ZK]),(R=o.report)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QK,"CP Terms")),(q=o.report)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JK,[e.createElementVNode("div",qK,[KK,e.createElementVNode("div",jK,e.toDisplayString(((X=(n=o.report)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",XK,[vK,e.createElementVNode("div",ej,e.toDisplayString(((v=(d=o.report)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,e.toDisplayString(((oe=(te=o.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),aj,e.createElementVNode("div",nj,[sj,e.createElementVNode("div",ij,[cj,e.createElementVNode("div",dj,e.toDisplayString(((se=o.report)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",rj,e.toDisplayString(((ce=o.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",mj,[pj,e.createElementVNode("div",hj,e.toDisplayString(((de=o.report)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",_j,e.toDisplayString(((re=o.report)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Ej,[yj,e.createElementVNode("div",Nj,e.toDisplayString(((ye=o.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Vj,e.toDisplayString(((le=o.report)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((_e=o.report)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",bj,e.toDisplayString(((Ne=o.report)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",xj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((Ve=o.report)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",kj,e.toDisplayString(((fe=o.report)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Bj,[Aj,e.createElementVNode("div",wj,e.toDisplayString(((ge=o.report)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Tj,e.toDisplayString(((De=o.report)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Oj,[Fj,e.createElementVNode("div",Pj,e.toDisplayString(a.compareTime((be=o.report)==null?void 0:be.actualTime,(xe=o.report)==null?void 0:xe.recmdTime)),1)])]),Wj,e.createElementVNode("div",Lj,[uj,e.createElementVNode("div",Hj,[Mj,e.createElementVNode("div",Gj,e.toDisplayString(((Ce=o.report)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Ij,e.toDisplayString(((Se=o.report)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",$j,[Rj,e.createElementVNode("div",zj,e.toDisplayString(((Oe=o.report)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Uj,e.toDisplayString(((Fe=o.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Yj,[Zj,e.createElementVNode("div",Qj,e.toDisplayString(((Ee=o.report)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Jj,e.toDisplayString(((F=o.report)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",qj,[Kj,e.createElementVNode("div",jj,e.toDisplayString(((me=o.report)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",Xj,e.toDisplayString(((Pe=o.report)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",vj,[eX,e.createElementVNode("div",tX,e.toDisplayString(((We=o.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",oX,[lX,e.createElementVNode("div",aX,e.toDisplayString(((Le=o.report)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>l.editable=!l.editable),innerHTML:a.computeBlankHtml(l.advisory)?"Please double click to modify remark":l.advisory},null,40,nX))],2)])}const On=ke(iK,[["render",sX],["__scopeId","data-v-7d3d9d3b"]]),Nle="",iX={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:Zo},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+d4ExaSzUQBAGIAEFXdGBoHCv0ug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FHkgsrXPUgEskkpEA/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,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const o={[t]:s};await ja.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=s}}},Ie=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),cX={class:"comparison-report"},dX=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),rX={class:"report-header"},mX={class:"header-title",style:{position:"relative !important"}},pX={class:"header-title-content"},hX=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),_X={class:"title-date"},EX={class:"report-summary"},yX={class:"summary-item"},NX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),VX={class:"flexL gray"},fX={class:"summary-item"},gX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DX={class:"flexL gray"},bX={class:"summary-item"},xX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CX={class:"flexL gray"},SX={class:"summary-item"},kX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),BX={class:"flexL gray"},AX={class:"summary-item"},wX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),TX={class:"flexL gray"},OX={class:"summary-item"},FX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),PX={class:"flexL gray",style:{display:"flex"}},WX={class:"flex"},LX={class:"flexM"},uX={class:"summary-item"},HX=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),MX={class:"flexL gray",style:{display:"flex"}},GX={class:"flex"},IX={class:"flexM"},$X=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),RX={class:"report-summary"},zX={class:"summary-item"},UX=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),YX={class:"summary-item"},ZX=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),QX={class:"summary-item"},JX=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),qX=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KX={class:"report-map"},jX=["src"],XX=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),vX=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),ev={key:0,class:"subtitle"},tv={key:1,class:"report-summary"},ov={class:"summary-item"},lv=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),av={class:"flexL blue center"},nv={class:"summary-item"},sv=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),iv={class:"flexL blue center"},cv={class:"summary-item"},dv=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),rv={class:"flexL blue center"},mv=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),pv={class:"report-summary"},hv=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)),_v={class:"summary-item"},Ev=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),yv={class:"flex blue-light center"},Nv={class:"flex blue-light center"},Vv={class:"summary-item"},fv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),gv={class:"flex blue-light center"},Dv={class:"flex blue-light center"},bv={class:"summary-item"},xv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Cv={class:"flex blue-light center"},Sv={class:"flex blue-light center"},kv={class:"summary-item"},Bv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Av={class:"flex blue-light center"},wv={class:"flex blue-light center"},Tv={class:"summary-item"},Ov=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Fv={class:"flex blue-light center"},Pv={class:"flex blue-light center"},Wv={class:"summary-item"},Lv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),uv={class:"flex blue-light center"},Hv={class:"flex blue-light center"},Mv={class:"summary-item"},Gv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Iv={class:"flex blue-light center italic"},$v=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Rv={class:"report-summary"},zv=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)),Uv={class:"summary-item"},Yv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Zv={class:"flex blue-light center"},Qv={class:"flex blue-light center"},Jv={class:"summary-item"},qv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Kv={class:"flex blue-light center"},jv={class:"flex blue-light center"},Xv={class:"summary-item"},vv=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),eee={class:"flex blue-light center"},tee={class:"flex blue-light center"},oee={class:"summary-item"},lee=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),aee={class:"flex blue-light center"},nee={class:"flex blue-light center"},see={class:"summary-item"},iee=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),cee={class:"flex blue-light center italic"},dee={class:"summary-item"},ree=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),mee={class:"flex blue-light center italic"},pee=["innerHTML"];function hee(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P,V,I,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cX,[dX,e.createElementVNode("div",rX,[e.createElementVNode("div",mX,[e.createElementVNode("div",pX,[hX,e.createElementVNode("div",_X,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",EX,[e.createElementVNode("div",yX,[NX,e.createElementVNode("div",VX,e.toDisplayString((b=(E=l.comparisonData)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString((x=l.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",bX,[xX,e.createElementVNode("div",CX,e.toDisplayString((g=(y=l.comparisonData)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",SX,[kX,e.createElementVNode("div",BX,e.toDisplayString((r=(B=l.comparisonData)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",AX,[wX,e.createElementVNode("div",TX,e.toDisplayString((C=(S=l.comparisonData)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",OX,[FX,e.createElementVNode("div",PX,[e.createElementVNode("span",WX,e.toDisplayString((L=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",LX,e.toDisplayString(a.computeUTCTime(((T=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=l.comparisonData)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",uX,[HX,e.createElementVNode("div",MX,[e.createElementVNode("span",GX,e.toDisplayString((Z=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",IX,e.toDisplayString(a.computeUTCTime(((P=($=l.comparisonData)==null?void 0:$.arrival)==null?void 0:P.ata)||((I=(V=l.comparisonData)==null?void 0:V.arrival)==null?void 0:I.eta))),1)])])]),$X,e.createElementVNode("div",RX,[e.createElementVNode("div",zX,[UX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.comparisonData)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=l.comparisonData)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",YX,[ZX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",QX,[JX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffDgoCons,"oil")),3)])]),qX,e.createElementVNode("div",KX,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,jX),XX]),vX,(R=l.comparisonData)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ev,"CP Terms")),(q=l.comparisonData)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tv,[e.createElementVNode("div",ov,[lv,e.createElementVNode("div",av,e.toDisplayString(((X=(n=l.comparisonData)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",nv,[sv,e.createElementVNode("div",iv,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",cv,[dv,e.createElementVNode("div",rv,e.toDisplayString(((oe=(te=l.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),mv,e.createElementVNode("div",pv,[hv,e.createElementVNode("div",_v,[Ev,e.createElementVNode("div",yv,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",Nv,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",Vv,[fv,e.createElementVNode("div",gv,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",Dv,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",bv,[xv,e.createElementVNode("div",Cv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Sv,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",kv,[Bv,e.createElementVNode("div",Av,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",wv,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Tv,[Ov,e.createElementVNode("div",Fv,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",Pv,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Wv,[Lv,e.createElementVNode("div",uv,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Hv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Mv,[Gv,e.createElementVNode("div",Iv,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),$v,e.createElementVNode("div",Rv,[zv,e.createElementVNode("div",Uv,[Yv,e.createElementVNode("div",Zv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Qv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Jv,[qv,e.createElementVNode("div",Kv,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",jv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Xv,[vv,e.createElementVNode("div",eee,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",tee,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",oee,[lee,e.createElementVNode("div",aee,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",nee,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",see,[iee,e.createElementVNode("div",cee,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",dee,[ree,e.createElementVNode("div",mee,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>a.decideDisable&&a.decideDisable(...pe)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,pee))],2)])}const Fn=ke(iX,[["render",hee],["__scopeId","data-v-b2f57055"]]),_ee={install(t){t.component("OrmComparisonReport",On),t.component("FliComparisonReport",Fn)}},Eee={install(t){t.component("IdmBrand",_o),t.component("IdmThird",on)}},Vle="",fle="",yee={name:"QuotaReport",components:{Brand:_o},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(){gl.accessToken=this.mapboxToken,this.map=new gl.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}})}}},Pn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Nee={class:"quota-report"},Vee=Pn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),fee={class:"section quota-section"},gee=Pn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Dee={class:"label"},bee={class:"label"},xee=["innerHTML"],Cee=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 See(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Nee,[e.createVNode(_,{name:"Quotation Sheet"}),Vee,e.createElementVNode("div",fee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gee,(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)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Dee,e.toDisplayString(i.rank),1),e.createElementVNode("td",bee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,xee))),128))]))),128))])]),Cee])])}const Wn=ke(yee,[["render",See],["__scopeId","data-v-f3647134"]]),gle="",kee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Ln=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Bee={class:"quota-report"},Aee=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),wee={class:"section quota-section"},Tee=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Oee={class:"label"},Fee={class:"label"},Pee=["innerHTML"],Wee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function Lee(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Bee,[e.createVNode(_,{name:"Quotation Sheet"}),Aee,e.createElementVNode("div",wee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Tee,(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)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Oee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Fee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,Pee))),128))]))),128))])]),Wee])])}const un=ke(kee,[["render",Lee],["__scopeId","data-v-e3ab3a93"]]),Dle="",uee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.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}})}}},Hn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),Hee={class:"quota-report"},Mee=Hn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Gee={class:"section quota-section"},Iee=Hn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),$ee={class:"label"},Ree={class:"label"},zee=["innerHTML"],Uee=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Yee(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Hee,[e.createVNode(_,{name:"Quotation Sheet for TONGLI"}),Mee,e.createElementVNode("div",Gee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Iee,(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)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",$ee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Ree,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,zee))),128))]))),128))])]),Uee])])}const Mn=ke(uee,[["render",Yee],["__scopeId","data-v-fecdf217"]]),Zee={install(t){t.component("OrmQuoteReport",Wn),t.component("OrmQuoteReport4SEOA",un),t.component("OrmQuoteReport4TongLi",Mn)}},ble="",Qee={name:"PrecipitationReport",components:{IdmBrand:_o,IdmLoading:tn},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(s=this.report)==null?void 0:s.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,_,i,E,b,x;const s=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const o={};for(let y=0;y<((l=t==null?void 0:t.extend)==null?void 0:l.length);y++){const g=t==null?void 0:t.extend[y];if(y===0)g.precip.pacc=0;else{const B=G(g.utc).utcOffset(s),r=(a=g.precip)==null?void 0:a.acc;if(g.precip.pacc=r,r>0){const S=o[B.format("MMM-DD")],C=Math.floor(B.get("hour")/6);S?(S.pacc=this.roundPrecision(S.pacc+r,1),S[`${C}`]?S[`${C}`]+=r:(S[`${C}`]=r,S.colspan+=1)):(o[B.format("MMM-DD")]={pacc:r,colspan:1},o[B.format("MMM-DD")][`${C}`]=r)}}}t.paccInDays=o;let c=0;for(const y of Object.keys(o))c+=(_=o[y])==null?void 0:_.colspan,o[y].level=((i=o[y])==null?void 0:i.pacc)<10?"Light":((E=o[y])==null?void 0:E.pacc)<24.9?"Moderate":((b=o[y])==null?void 0:b.pacc)<49.9?"Heavy":((x=o[y])==null?void 0:x.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W;const E=G(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");o.push(E),a=((y=(x=i.wave)==null?void 0:x.sig)==null?void 0:y.height)>a?(B=(g=i.wave)==null?void 0:g.sig)==null?void 0:B.height:a,c.push([E,(r=i.wind)==null?void 0:r.kts,(S=i.gusts)==null?void 0:S.kts,(O=(C=i.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=i.wind)==null?void 0:L.direction,(w=i.wind)==null?void 0:w.degree,(T=i.wind)==null?void 0:T.scale,(D=i.current)==null?void 0:D.kts,(W=i.precip)==null?void 0:W.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const _={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(_)}},async initMap(){this.version==="Pretty"&&!this.map&&(gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},ut=t=>(e.pushScopeId("data-v-7f473a9c"),t=t(),e.popScopeId(),t),Jee={class:"precipitation-report"},qee={class:"section area-section"},Kee={class:"area-block"},jee={class:"area-header flex-space"},Xee={class:"flex-start"},vee=["onClick"],ete={class:"flex-end"},tte={class:"area-body"},ote=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-7f473a9c>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-7f473a9c><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-7f473a9c>Heavy Rainstorm (>100mm)</div></div>',2),lte={class:"flex-evenly"},ate={key:0},nte=["colspan"],ste=["colspan"],ite={style:{"font-size":"10px"}},cte={key:0},dte={key:1},rte={key:2},mte={key:3},pte={key:0},hte={key:1,style:{"font-size":"14px"}},_te=ut(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Ete={class:"section echart-section"},yte={ref:"echart",class:"echart"},Nte={class:"section sample-section"},Vte=ut(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),fte=["colspan"],gte=ut(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Dte=ut(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),bte=ut(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Cte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Ste=ut(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),kte={key:0},Bte={key:1},Ate=ut(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),wte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Tte=ut(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ote=ut(()=>e.createElementVNode("th",null,"BF",-1)),Fte=ut(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Pte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Wte=ut(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Lte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),ute=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Hte=ut(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Mte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Gte=ut(()=>e.createElementVNode("th",null,"°C",-1)),Ite={width:"120px"},$te={key:0},Rte={key:1},zte={key:0,class:"degree-box"},Ute={key:1},Yte={key:0,class:"degree-box"},Zte={key:1},Qte={key:0,class:"degree-box"},Jte={key:1},qte={class:"section area-section"},Kte={class:"area-block"},jte={class:"area-header flex-end"},Xte={class:"flex-end"},vte={class:"area-body"},eoe=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-7f473a9c>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-7f473a9c><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-7f473a9c>Heavy Rainstorm (>100mm)</div></div>',2),toe=["colspan"],ooe=["colspan"],loe={style:{"font-size":"10px"}},aoe={key:0},noe={key:1},soe={key:2},ioe={key:3},coe={key:1,style:{"font-size":"14px"}},doe={key:0};function roe(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,$,P;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Jee,[e.createVNode(_,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=V=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qee,[e.createElementVNode("div",Kee,[e.createElementVNode("div",jee,[e.createElementVNode("div",Xee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.rows,(V,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(l.index===I?"header-item active":"header-item"),onClick:M=>{var u;return l.index=I,l.form=(u=o.report)==null?void 0:u.rows[l.index]}},e.toDisplayString(V.rank)+". "+e.toDisplayString(V.name),11,vee))),128))]),e.createElementVNode("div",ete,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=V=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",tte,[ote,e.createElementVNode("div",lte,[l.form?(e.openBlock(),e.createElementBlock("table",ate,[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((b=l.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((x=l.form)==null?void 0:x.name)+" ("+e.toDisplayString(a.computeLat((y=l.form)==null?void 0:y.lat).pretty)+" / "+e.toDisplayString(a.computeLng((g=l.form)==null?void 0:g.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(B=l.form)==null?void 0:B.extend)==null?void 0:r[0].utc,(S=l.form)==null?void 0:S.localTZ))+" to "+e.toDisplayString(a.computeLTime((O=(C=l.form)==null?void 0:C.extend)==null?void 0:O.at(-1).utc,(L=l.form)==null?void 0:L.localTZ))+", "+e.toDisplayString(a.computeTZ((w=l.form)==null?void 0:w.localTZ))+")",1)],8,nte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((T=l.form)==null?void 0:T.paccInDays),(V,I)=>{var M;return e.openBlock(),e.createElementBlock("th",{key:I,colspan:l.form.paccInDays[V].colspan,class:e.normalizeClass((M=l.form.paccInDays[V])==null?void 0:M.level)},e.toDisplayString(V)+" ("+e.toDisplayString(l.form.paccInDays[V].pacc)+") ",11,ste)}),128))]),e.createElementVNode("tr",ite,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((D=l.form)==null?void 0:D.paccInDays),(V,I)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[u==="0"?(e.openBlock(),e.createElementBlock("th",cte,"00-06")):e.createCommentVNode("",!0),u==="1"?(e.openBlock(),e.createElementBlock("th",dte,"06-12")):e.createCommentVNode("",!0),u==="2"?(e.openBlock(),e.createElementBlock("th",rte,"12-18")):e.createCommentVNode("",!0),u==="3"?(e.openBlock(),e.createElementBlock("th",mte,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(Y=Object.keys((W=l.form)==null?void 0:W.paccInDays))!=null&&Y.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(V,I)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>{var Q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[["0","1","2","3"].includes(u)?(e.openBlock(),e.createElementBlock("td",pte,e.toDisplayString(a.roundPrecision((Q=l.form)==null?void 0:Q.paccInDays[V][u],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",hte,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),_te,e.createElementVNode("div",Ete,[e.createElementVNode("div",yte,null,512)]),e.createElementVNode("div",Nte,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Vte,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,fte),gte,Dte,bte,xte,Cte,Ste]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",kte,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Bte,"Acc (mm)")):e.createCommentVNode("",!0),Ate,wte,Tte,Ote,Fte,Pte,Wte,Lte,ute,Hte,Mte,Gte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=l.form)==null?void 0:$.extend,(V,I)=>{var M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:I},[e.createElementVNode("td",Ite,e.toDisplayString(a.computeLTime(V.utc,(M=l.form)==null?void 0:M.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",$te,e.toDisplayString(a.roundPrecision((u=V.precip)==null?void 0:u.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Rte,e.toDisplayString((H=V.precip)==null?void 0:H.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)),1),e.createElementVNode("td",null,[(Q=V.wind)!=null&&Q.kts?(e.openBlock(),e.createElementBlock("span",zte,[e.createTextVNode(e.toDisplayString((j=V.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=V.wind)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ute,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=V.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((R=V.wind)==null?void 0:R.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=V.gusts)==null?void 0:q.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=V.wave)==null?void 0:n.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(v=(d=V.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Yte,[e.createTextVNode(e.toDisplayString((oe=(te=V.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(se=V.wave)==null?void 0:se.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=V.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((le=(ye=V.wave)==null?void 0:ye.swell)==null?void 0:le.period,1)),1),e.createElementVNode("td",null,[(Ne=(_e=V.wave)==null?void 0:_e.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",Qte,[e.createTextVNode(e.toDisplayString((fe=(Ve=V.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=V.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(be=V.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=V.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qte,[e.createElementVNode("div",Kte,[e.createElementVNode("div",jte,[e.createElementVNode("div",Xte,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=V=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",vte,[eoe,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((P=o.report)==null?void 0:P.rows,(V,I)=>{var M,u,H;return e.openBlock(),e.createElementBlock("div",{key:I,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:V.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(V==null?void 0:V.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(V==null?void 0:V.name)+" ("+e.toDisplayString(a.computeLat(V==null?void 0:V.lat).pretty)+" / "+e.toDisplayString(a.computeLng(V==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((M=V==null?void 0:V.extend)==null?void 0:M[0].utc,V==null?void 0:V.localTZ))+" to "+e.toDisplayString(a.computeLTime((u=V==null?void 0:V.extend)==null?void 0:u.at(-1).utc,V==null?void 0:V.localTZ))+", "+e.toDisplayString(a.computeTZ(V==null?void 0:V.localTZ))+")",1)],8,toe)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>{var K;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:V.paccInDays[Q].colspan,class:e.normalizeClass((K=V.paccInDays[Q])==null?void 0:K.level)},e.toDisplayString(Q)+" ("+e.toDisplayString(V.paccInDays[Q].pacc)+") ",11,ooe)}),128))]),e.createElementVNode("tr",loe,[(H=Object.keys(V==null?void 0:V.paccInDays))!=null&&H.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[K==="0"?(e.openBlock(),e.createElementBlock("th",aoe,"00-06")):e.createCommentVNode("",!0),K==="1"?(e.openBlock(),e.createElementBlock("th",noe,"06-12")):e.createCommentVNode("",!0),K==="2"?(e.openBlock(),e.createElementBlock("th",soe,"12-18")):e.createCommentVNode("",!0),K==="3"?(e.openBlock(),e.createElementBlock("th",ioe,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",coe,"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(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(K)?(e.openBlock(),e.createElementBlock("td",doe,e.toDisplayString(a.roundPrecision(V==null?void 0:V.paccInDays[Q][K],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Gn=ke(Qee,[["render",roe],["__scopeId","data-v-7f473a9c"]]),moe={install(t){t.component("PrecipitationReport",Gn)}},poe={install(t){t.component("IdmLoading",tn)}};ee.BrandPlugin=Eee,ee.ComparisonPlugin=_ee,ee.DeviationPlugin=Eq,ee.DeviationReport=An,ee.FliComparisonReport=Fn,ee.FliDeviationReport=wn,ee.FliInvoiceReport=kn,ee.FliPlanReport=Nn,ee.FliVoyageReport=Dn,ee.HurricanePlugin=hL,ee.IdmBrand=_o,ee.IdmEditor=Zo,ee.IdmEditorPlugin=xE,ee.IdmLat=va,ee.IdmLatPlugin=CE,ee.IdmLng=Xa,ee.IdmLngPlugin=SE,ee.IdmLoading=tn,ee.IdmThird=on,ee.InvoicePlugin=$H,ee.InvoiceReport=Cn,ee.LoadingPlugin=poe,ee.ORMPointReport=hn,ee.OpiPlanReport=cn,ee.OpiVoyageReport=gn,ee.OrmComparisonReport=On,ee.OrmInvoiceReport=Sn,ee.OrmPlanReport=Vn,ee.OrmQuoteReport=Wn,ee.OrmQuoteReport4SEOA=un,ee.OrmQuoteReport4TongLi=Mn,ee.OrmVoyageReport=bn,ee.PiLogo=fn,ee.PiLogoPlugin=FE,ee.PointReport=_n,ee.PointReportPlugin=Er,ee.PrecipitationReport=Gn,ee.PrecipitationReportPlugin=moe,ee.QuoteReportPlugin=Zee,ee.RouteReport=cn,ee.RouteReportPlugin=bE,ee.StoppageReport=Tn,ee.StoppageReportPlugin=sK,ee.TropicalReport=xn,ee.VoyageReportPlugin=dL,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function hh(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("i",dh,[(e.openBlock(),e.createElementBlock("svg",rh,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:l.fill,"fill-opacity":.6,stroke:"none"},ph,8,mh)]))])}const rn=Ce(ch,[["render",hh]]),_h={install(t){t.component("PiLogo",rn)}},MU="",IU="",yh={name:"FliVygSummary",components:{Editor:Ro},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,l;return(l=(s=this.reportData)==null?void 0:s.weather)!=null&&l.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(t).utc().format("MMMM D, HHmm[Z]"):s?K(t).utc().format(s):K(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const l=ie.LngLatHelper.lat2pretty(t).pretty,r=ie.LngLatHelper.lng2pretty(s).pretty;return`${l} ${r}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),l=this.computedTime(t.departure.utcTime,"summary"),r=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),n=this.computedTime(t.arrival.utcTime,"summary"),y=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:l,fullTime1:r,port2:a,time2:n,fullTime2:y}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return s=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):s=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${t.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${t.timeGain} hrs`),l}},computedFuleConclusion(){return function(t,s){let l=t.conclusionStatus,r={conclusion:"",className:"",cons:""};return l==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):l==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${t.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${t.saving} mt`),r}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let l=t==null?void 0:t.windScale,r="",a=0;return t!=null&&t.waveSwitch?(r+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,a++):t!=null&&t.swellSwitch?(r+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,a++):t!=null&&t.sigSwitch&&(r+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${l} or less${r}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,l){let r="";if(t==="No")return r=l?"bg-color-normal":"color-normal",r;switch(s){case"time":t==="Lost"?r="color-fail":r="color-success";break;case"fuel":t==="Over"?r="color-fail":r="color-success";break;case"pfm":t==="Under"?r="color-fail":r="color-success";break}return l&&(r="bg-"+r),r}},computedAbt4Spd(){return function(t){var s,l,r;return(s=t.timeConclusion)!=null&&s.spdPercentage?ie.LngLatHelper.roundPrecision(t.extend.cp.speed*(((l=t==null?void 0:t.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(r=t==null?void 0:t.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(t,s){var l;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(l=(s=this.reportData)==null?void 0:s.segments)==null||l.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(i=>{let p={begin:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(r.seg)){t.push(r.seg);let i=Object.assign({},r.extend.cp);i.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,i.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let y=[];r.extend.segTimes.forEach(i=>{y.push(this.computedSeg(i))}),this.segDetail.push(y),this.goodDays.push(r.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},d=t=>(e.pushScopeId("data-v-d1bfb44b"),t=t(),e.popScopeId(),t),Eh=d(()=>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)),Nh={class:"fli-main"},Vh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),fh={class:"card basics"},xh={class:"list flex"},bh={class:"item"},gh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Dh={class:"content flex"},kh={class:"item"},Ch=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),Sh={class:"content flex"},Bh={class:"item"},wh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Ah={class:"content flex"},Th={class:"list"},Fh={class:"item"},Oh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Ph={class:"content flex"},Lh={class:"content flex"},Wh={class:"item"},$h=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Hh={class:"content flex"},Mh={class:"content flex"},Ih={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Gh={class:"content flexL"},zh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Uh={class:"clause"},uh={key:0,class:"definition flex"},Yh={key:1,class:"definition flex"},Zh={class:"item"},Qh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Jh={class:"content"},Kh={key:0,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),qh={class:"content"},Xh={key:1,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),e1={class:"content"},t1={key:2,class:"item"},o1=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),l1={class:"content"},a1={key:3,class:"item"},n1=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),s1={class:"content"},i1={key:4,class:"item"},c1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],d1={key:5,class:"item"},r1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],m1={class:"definition flexM"},p1={class:"table"},h1=d(()=>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)),_1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),y1={class:"summary"},E1={key:0,class:"summary-overall"},N1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),V1={class:"summary-overall-row"},f1={class:"card"},x1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),b1={class:"main-content"},g1={key:0},D1={key:1},k1={class:"card"},C1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),S1={class:"main-content"},B1={key:0},w1={key:1},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),F1={class:"main-content"},O1={key:0},P1={key:1},L1={class:"summary-overall-row"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),H1={class:"main-content"},M1={class:"card"},I1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),R1={class:"main-content"},G1={class:"card"},z1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),U1={class:"main-content"},u1=d(()=>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)),Y1={class:"card",style:{flex:"1.5"}},Z1={class:"card-title"},Q1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),J1={class:"card-segment"},K1={class:"card-segment"},j1={class:"card-segment"},q1=d(()=>e.createElementVNode("div",null,"Applied",-1)),X1={class:"uppercase"},v1={class:"card summary-card",style:{flex:"1"}},e_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),t_={key:0,class:"main-content"},o_={key:0,class:"iconfont success"},l_={key:1,class:"iconfont error"},a_={key:1,class:"main-content"},n_={class:"card-content",style:{"justify-content":"flex-start"}},s_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),c_={key:0,class:"main-content"},d_={key:0,class:"iconfont success"},r_={key:1,class:"iconfont error"},m_={key:1,class:"main-content"},p_={class:"card-content",style:{"justify-content":"flex-start"}},h_={class:"card summary-card",style:{flex:"1"}},__=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),y_={key:0,class:"main-content"},E_={key:0,class:"iconfont success"},N_={key:1,class:"iconfont error"},V_={key:1,class:"main-content"},f_={class:"card-content",style:{"justify-content":"flex-start"}},x_={style:{"page-break-inside":"avoid"}},b_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),g_={class:"remarks"},D_={class:"item"},k_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),C_={class:"speed"},S_={class:"uppercase"},B_={class:"item"},w_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),A_={key:0,class:"remark-detail"},T_={key:1,class:"remark-detail"},F_={class:"page-avoid"},O_={class:"dashed"},P_={class:"card phase-title-card",style:{flex:"0.5"}},L_={class:"card-title"},W_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),$_={class:"card-segment"},H_={class:"card-segment"},M_={class:"card-segment"},I_=d(()=>e.createElementVNode("div",null,"Applied",-1)),R_={class:"uppercase"},G_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),z_={class:"phase-analysis"},U_={class:"card phase-card",style:{flex:"1"}},u_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),Y_={class:"main-content"},Z_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),Q_={class:"main-content"},J_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),q_={class:"card-content"},X_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),ey={class:"card-content"},ty=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),oy=d(()=>e.createElementVNode("span",null,"mt",-1)),ly={class:"card-content"},ay=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),ny=d(()=>e.createElementVNode("span",null,"mt",-1)),sy=d(()=>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)),iy={class:"card phase-card",style:{flex:"1"}},cy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),dy={class:"main-content"},ry=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),my={class:"main-content"},py={class:"card-content"},hy=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),_y=d(()=>e.createElementVNode("span",null,"mt",-1)),yy={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),Ny=d(()=>e.createElementVNode("span",null,"mt",-1)),Vy={class:"card-content"},fy=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),xy=d(()=>e.createElementVNode("span",null,"mt",-1)),by={class:"card-content"},gy=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),Dy=d(()=>e.createElementVNode("span",null,"mt",-1)),ky=d(()=>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)),Cy={class:"phase-analysis"},Sy={class:"card phase-card",style:{flex:"1"}},By=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),wy={class:"main-content"},Ay=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),Ty={class:"main-content"},Fy={class:"card-content"},Oy=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),Py=d(()=>e.createElementVNode("span",null,"nm",-1)),Ly={class:"card-content"},Wy=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"nm",-1)),Hy={class:"card-content"},My=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),Iy=d(()=>e.createElementVNode("span",null,"nm",-1)),Ry={class:"card-content"},Gy=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"nm",-1)),Uy={class:"card phase-card",style:{flex:"1"}},uy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),Yy={class:"main-content"},Zy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),Qy={class:"main-content"},Jy={class:"card-content"},Ky=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),jy=d(()=>e.createElementVNode("span",null,"hrs",-1)),qy={class:"card-content"},Xy=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),vy=d(()=>e.createElementVNode("span",null,"hrs",-1)),eE={class:"card-content"},tE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),oE=d(()=>e.createElementVNode("span",null,"hrs",-1)),lE={class:"card-content"},aE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),nE=d(()=>e.createElementVNode("span",null,"hrs",-1)),sE={class:"card phase-card",style:{flex:"1"}},iE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),cE={class:"main-content"},dE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),rE={class:"main-content"},mE={class:"card-content"},pE=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),hE=d(()=>e.createElementVNode("span",null,"kts",-1)),_E={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),EE=d(()=>e.createElementVNode("span",null,"kts",-1)),NE={class:"card-content"},VE=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),fE=d(()=>e.createElementVNode("span",null,"kts",-1)),xE={class:"card-content"},bE=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),gE=d(()=>e.createElementVNode("span",null,"kts",-1)),DE={class:"phase-analysis"},kE={class:"card phase-card",style:{flex:"1"}},CE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),SE={class:"main-content"},BE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),wE={class:"main-content"},AE={class:"card-content"},TE=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),FE=d(()=>e.createElementVNode("span",null,"mt",-1)),OE={class:"card-content"},PE=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),LE=d(()=>e.createElementVNode("span",null,"mt",-1)),WE={class:"card-content"},$E=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),HE=d(()=>e.createElementVNode("span",null,"mt",-1)),ME={class:"card-content"},IE=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),RE=d(()=>e.createElementVNode("span",null,"mt",-1)),GE={class:"card phase-card",style:{flex:"1"}},zE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),UE={class:"main-content"},uE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),YE={class:"main-content"},ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"mt",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),qE=d(()=>e.createElementVNode("span",null,"mt",-1)),XE={class:"card-content"},vE=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),eN=d(()=>e.createElementVNode("span",null,"mt",-1)),tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),lN=d(()=>e.createElementVNode("span",null,"mt",-1)),aN={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},nN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),sN={class:"main-content"},iN={class:"card-content"},cN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),dN={key:0},rN=d(()=>e.createElementVNode("span",null,"kts",-1)),mN={key:1},pN={class:"phase-card"},hN={class:"card",style:{flex:"1"}},_N=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),yN={key:0,class:"main-content"},EN={key:0,class:"iconfont success"},NN={key:1,class:"iconfont error"},VN={key:1,class:"main-content"},fN={class:"nogwd"},xN={class:"card-content",style:{"justify-content":"flex-start"}},bN={key:0},gN={class:"equation"},DN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),kN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),CN={style:{width:"8%"}},SN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),wN={style:{width:"10%"}},AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),TN={class:"equation"},FN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),ON=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),PN={style:{width:"8%"}},LN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$N={style:{width:"10%"}},HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),MN={class:"equation"},IN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),RN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),GN={style:{width:"8%"}},zN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uN={style:{width:"10%"}},YN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),ZN={class:"phase-card"},QN={class:"card",style:{flex:"1"}},JN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),KN={key:0,class:"main-content"},jN={key:0,class:"iconfont success"},qN={key:1,class:"iconfont error"},XN={key:1,class:"main-content"},vN={class:"nogwd"},eV={class:"card-content",style:{"justify-content":"flex-start"}},tV={key:0},oV={class:"equation"},lV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"8%"}},sV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),cV={style:{width:"120px"}},dV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),mV={style:{width:"10%"}},pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),hV={class:"equation"},_V=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),EV={style:{width:"8%"}},NV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),fV={style:{width:"120px"}},xV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bV=d(()=>e.createElementVNode("div",null,"24",-1)),gV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),DV={style:{width:"10%"}},kV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),CV={class:"equation"},SV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),BV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),wV={style:{width:"8%"}},AV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),FV={style:{width:"120px"}},OV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PV=d(()=>e.createElementVNode("div",null,"24",-1)),LV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WV={style:{width:"10%"}},$V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),HV={key:0,class:"phase-card"},MV={class:"card",style:{flex:"1"}},IV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),RV={key:0,class:"main-content"},GV={key:0,class:"iconfont success"},zV={key:1,class:"iconfont error"},UV={key:1,class:"main-content"},uV={class:"nogwd"},YV={class:"card-content",style:{"justify-content":"flex-start"}},ZV={key:0},QV={class:"equation"},JV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={style:{width:"8%"}},qV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),vV={style:{width:"120px"}},ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),of={style:{width:"10%"}},lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),af={class:"equation"},nf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),sf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cf={style:{width:"8%"}},df=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),mf={style:{width:"120px"}},pf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hf=d(()=>e.createElementVNode("div",null,"24",-1)),_f=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),yf={style:{width:"10%"}},Ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Nf={class:"equation"},Vf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),ff=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xf={style:{width:"8%"}},bf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Df={style:{width:"120px"}},kf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Cf=d(()=>e.createElementVNode("div",null,"24",-1)),Sf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Bf={style:{width:"10%"}},wf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Af=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Tf={class:"formular dashed",style:{"page-break-inside":"avoid"}},Ff={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Of=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Pf={class:""},Lf={class:"equation"},Wf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),$f=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"50%"},class:"fraction"},Mf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),If=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Gf={class:"equation"},zf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Uf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"50%"},class:"fraction"},Yf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Qf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),Jf={class:"equation"},Kf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),jf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),qf={style:{width:"50%"},class:"fraction"},Xf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),e0=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),t0=d(()=>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)),o0={class:"flexL formular-item",style:{"margin-left":"20px"}},l0=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),a0={class:""},n0={class:"equation"},s0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),i0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),c0={style:{width:"25%"},class:"fraction"},d0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),m0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),p0=d(()=>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)),h0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),_0={class:"equation"},y0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"25%"},class:"fraction"},V0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),x0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),b0=d(()=>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)),g0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),D0={class:"equation"},k0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),S0={style:{width:"25%"},class:"fraction"},B0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),w0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),A0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),T0=d(()=>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)),F0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),O0=d(()=>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)),P0=d(()=>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 L0(t,s,l,r,a,n){var y,i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly?"watermark":"")},[Eh,e.createElementVNode("div",Nh,[Vh,e.createElementVNode("div",fh,[e.createElementVNode("div",xh,[e.createElementVNode("div",bh,[gh,e.createElementVNode("div",Dh,e.toDisplayString((p=l.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",kh,[Ch,e.createElementVNode("div",Sh,e.toDisplayString((g=(x=l.reportData)==null?void 0:x.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",Bh,[wh,e.createElementVNode("div",Ah,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Th,[e.createElementVNode("div",Fh,[Oh,e.createElementVNode("div",Ph,e.toDisplayString(((E=(h=l.reportData)==null?void 0:h.departure)==null?void 0:E.portName)||n.computedLngLat((b=(k=l.reportData)==null?void 0:k.departure)==null?void 0:b.lat,(D=(C=l.reportData)==null?void 0:C.departure)==null?void 0:D.lng)),1),e.createElementVNode("div",Lh,e.toDisplayString(n.computedTime((F=(T=l.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Wh,[$h,e.createElementVNode("div",Hh,e.toDisplayString(((w=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=l.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(R=(I=l.reportData)==null?void 0:I.arrival)==null?void 0:R.lng)),1),e.createElementVNode("div",Mh,e.toDisplayString(n.computedTime((z=(G=l.reportData)==null?void 0:G.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ih,[Rh,e.createElementVNode("div",Gh,e.toDisplayString((L=(_=l.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),zh,e.createElementVNode("div",Uh,[(W=(H=l.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",uh," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Yh,[e.createElementVNode("div",Zh,[Qh,e.createElementVNode("div",Jh,"BF "+e.toDisplayString(((M=(P=l.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=l.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Kh,[jh,e.createElementVNode("div",qh,e.toDisplayString(((ae=(J=l.reportData)==null?void 0:J.weather)==null?void 0:ae.waveHeight)||"-")+" Meter",1)])):(o=(ne=l.reportData)==null?void 0:ne.weather)!=null&&o.swellSwitch?(e.openBlock(),e.createElementBlock("div",Xh,[vh,e.createElementVNode("div",e1,e.toDisplayString(((v=(j=l.reportData)==null?void 0:j.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=l.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",t1,[o1,e.createElementVNode("div",l1,e.toDisplayString(((le=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(re=(se=l.reportData)==null?void 0:se.weather)!=null&&re.waveSwitch||(ye=(me=l.reportData)==null?void 0:me.weather)!=null&&ye.swellHeight||(he=(q=l.reportData)==null?void 0:q.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",a1,[n1,e.createElementVNode("div",s1,e.toDisplayString((Ne=(Ee=l.reportData)==null?void 0:Ee.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(fe=(Ve=l.reportData)==null?void 0:Ve.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",i1,c1)):e.createCommentVNode("",!0),(be=(xe=l.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",d1,r1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",m1,[e.createElementVNode("table",p1,[h1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),_1,e.createElementVNode("div",y1,[((De=(ge=l.reportData)==null?void 0:ge.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",E1,[N1,e.createElementVNode("div",V1,[e.createElementVNode("div",f1,[x1,e.createElementVNode("div",b1,[(Ae=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&Ae.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString((Fe=(Te=l.reportData)==null?void 0:Te.goodWx)==null?void 0:Fe.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",D1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",k1,[C1,e.createElementVNode("div",S1,[(Pe=(Oe=l.reportData)==null?void 0:Oe.goodWx)!=null&&Pe.avgSpd?(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString((We=(Le=l.reportData)==null?void 0:Le.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",w1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,[(pe=($e=l.reportData)==null?void 0:$e.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",O1,e.toDisplayString((Je=(Qe=l.reportData)==null?void 0:Qe.goodWx)==null?void 0:Je.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",P1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",L1,[e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((A=(Ke=l.reportData)==null?void 0:Ke.allWx)==null?void 0:A.avgSpd)+" kts ",1)]),e.createElementVNode("div",M1,[I1,e.createElementVNode("div",R1,e.toDisplayString((Ie=(Se=l.reportData)==null?void 0:Se.allWx)==null?void 0:Ie.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",G1,[z1,e.createElementVNode("div",U1,e.toDisplayString((qe=(je=l.reportData)==null?void 0:je.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt ",1)])]),u1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Xe=l.reportData)==null?void 0:Xe.segments,(m,$)=>{var Be,He,Re;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:$},[e.createElementVNode("div",Y1,[e.createElementVNode("div",Z1,[Q1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(ce,ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ze,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",J1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port1),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time1),1)]),e.createElementVNode("div",K1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port2),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time2),1)])],2))),128)),e.createElementVNode("div",j1,[q1,e.createElementVNode("div",null,[e.createElementVNode("span",X1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",v1,[e_,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",t_,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",o_,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",a_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",n_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",s_,[i_,(He=m.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",c_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",d_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",m_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",p_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",h_,[__,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",y_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",E_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",N_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",V_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",f_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",x_,[b_,e.createElementVNode("div",g_,[e.createElementVNode("div",D_,[k_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=l.reportData)==null?void 0:ve.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:$},[e.createElementVNode("div",C_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",S_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",B_,[w_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",A_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",T_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=l.reportData)==null?void 0:et.segments,(m,$)=>{var Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:$},[e.createElementVNode("div",F_,[e.createElementVNode("div",O_,[e.createElementVNode("div",P_,[e.createElementVNode("div",L_,[W_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(nt,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",$_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port1),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time1),1)]),e.createElementVNode("div",H_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port2),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time2),1)])],2))),128)),e.createElementVNode("div",M_,[I_,e.createElementVNode("div",null,[e.createElementVNode("span",R_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),G_,e.createElementVNode("div",z_,[e.createElementVNode("div",U_,[u_,e.createElementVNode("div",Y_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),Z_,e.createElementVNode("div",Q_,[e.createElementVNode("span",null,e.toDisplayString(((He=m.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",J_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",q_,[X_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ce=m.goodWx)==null?void 0:ce.inEca.avgFoEcaCons)||"-"),1),v_])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.allWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),oy])]),e.createElementVNode("div",ly,[ay,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),ny])]),sy]),e.createElementVNode("div",iy,[cy,e.createElementVNode("div",dy,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),ry,e.createElementVNode("div",my,[e.createElementVNode("span",null,e.toDisplayString(((ct=m.allWx)==null?void 0:ct.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",py,[hy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=m.goodWx)==null?void 0:dt.outEca.avgDgoCons)||"-"),1),_y])]),e.createElementVNode("div",yy,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.inEca.avgDgoEcaCons)||"-"),1),Ny])]),e.createElementVNode("div",Vy,[fy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.allWx)==null?void 0:mt.outEca.avgDgoCons)||"-"),1),xy])]),e.createElementVNode("div",by,[gy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),Dy])]),ky])]),e.createElementVNode("div",Cy,[e.createElementVNode("div",Sy,[By,e.createElementVNode("div",wy,[e.createElementVNode("span",null,e.toDisplayString(((_t=m.goodWx)==null?void 0:_t.distance)||"-")+" nm",1)]),Ay,e.createElementVNode("div",Ty,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",Fy,[Oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),Py])]),e.createElementVNode("div",Ly,[Wy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),$y])]),e.createElementVNode("div",Hy,[My,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),Iy])]),e.createElementVNode("div",Ry,[Gy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.inEca.distance)||"-"),1),zy])])]),e.createElementVNode("div",Uy,[uy,e.createElementVNode("div",Yy,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.goodWx)==null?void 0:xt.time)||"-")+" hrs",1)]),Zy,e.createElementVNode("div",Qy,[e.createElementVNode("span",null,e.toDisplayString(((bt=m.allWx)==null?void 0:bt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Jy,[Ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.outEca.time)||"-"),1),jy])]),e.createElementVNode("div",qy,[Xy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),vy])]),e.createElementVNode("div",eE,[tE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.allWx)==null?void 0:kt.outEca.time)||"-"),1),oE])]),e.createElementVNode("div",lE,[aE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.inEca.time)||"-"),1),nE])])]),e.createElementVNode("div",sE,[iE,e.createElementVNode("div",cE,[e.createElementVNode("span",null,e.toDisplayString(((St=m.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),dE,e.createElementVNode("div",rE,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",mE,[pE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=m.goodWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),hE])]),e.createElementVNode("div",_E,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),EE])]),e.createElementVNode("div",NE,[VE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),fE])]),e.createElementVNode("div",xE,[bE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.inEca.avgSpd)||"-"),1),gE])])])]),e.createElementVNode("div",DE,[e.createElementVNode("div",kE,[CE,e.createElementVNode("div",SE,[e.createElementVNode("span",null,e.toDisplayString(((Ot=m.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),BE,e.createElementVNode("div",wE,[e.createElementVNode("span",null,e.toDisplayString(((io=m.allWx)==null?void 0:io.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",AE,[TE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.outEca.sumFoCons)||"-"),1),FE])]),e.createElementVNode("div",OE,[PE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),LE])]),e.createElementVNode("div",WE,[$E,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.allWx)==null?void 0:mo.outEca.sumFoCons)||"-"),1),HE])]),e.createElementVNode("div",ME,[IE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.inEca.sumFoCons)||"-"),1),RE])])]),e.createElementVNode("div",GE,[zE,e.createElementVNode("div",UE,[e.createElementVNode("span",null,e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.sumDgoCons)||"-")+" mt",1)]),uE,e.createElementVNode("div",YE,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.allWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.outEca.sumDgoCons)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.goodWx)==null?void 0:Eo.inEca.sumDgoCons)||"-"),1),qE])]),e.createElementVNode("div",XE,[vE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.outEca.sumDgoCons)||"-"),1),eN])]),e.createElementVNode("div",tN,[oN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),lN])])]),e.createElementVNode("div",aN,[nN,e.createElementVNode("div",sN,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.goodWx)==null?void 0:Me.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",iN,[cN,(lt=m.goodWx)!=null&<.distance&&!((pt=(at=l.reportData)==null?void 0:at.weather)!=null&&pt.favorableCur&&((Pt=m.goodWx)==null?void 0:Pt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",dN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Lt=m.goodWx)==null?void 0:Lt.avgCf)),1),rN])):(e.openBlock(),e.createElementBlock("b",mN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",pN,[e.createElementVNode("div",hN,[_N,(Wt=m.goodWx)!=null&&Wt.distance?(e.openBlock(),e.createElementBlock("div",yN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",EN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",NN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",VN,[e.createElementVNode("span",fN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",xN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=m.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(Ht=m.goodWx)!=null&&Ht.distance?(e.openBlock(),e.createElementBlock("div",bN,[e.createElementVNode("div",gN,[DN,kN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((It=(Mt=l.reportData)==null?void 0:Mt.weather)!=null&&It.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(Gt=m.allWx)==null?void 0:Gt.distance),1),SN,e.createElementVNode("div",null,e.toDisplayString((zt=m.goodWx)==null?void 0:zt.pfmSpd),1)]),BN,e.createElementVNode("div",wN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),AN]),e.createElementVNode("div",TN,[FN,ON,e.createElementVNode("div",PN,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=l.reportData)==null?void 0:Ut.weather)!=null&&ut.noExtrapolation?(Yt=m.goodWx)==null?void 0:Yt.distance:(Zt=m.allWx)==null?void 0:Zt.distance),1),LN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),WN,e.createElementVNode("div",$N,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),HN]),e.createElementVNode("div",MN,[IN,RN,e.createElementVNode("div",GN,[e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.reportData)==null?void 0:Qt.weather)!=null&&Jt.noExtrapolation?(Kt=m.goodWx)==null?void 0:Kt.distance:(jt=m.allWx)==null?void 0:jt.distance),1),zN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),UN,e.createElementVNode("div",uN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),YN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",ZN,[e.createElementVNode("div",QN,[JN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",KN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",jN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",qN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",XN,[e.createElementVNode("span",vN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",eV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Xt=m.goodWx)!=null&&Xt.distance?"":"analysis-none"} card analysis-card`)},[(vt=m.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",tV,[e.createElementVNode("div",oV,[lV,aV,e.createElementVNode("div",nV,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=l.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=m.goodWx)==null?void 0:oo.distance:(Vo=m.allWx)==null?void 0:Vo.distance),1),sV,e.createElementVNode("div",null,e.toDisplayString((fo=m.goodWx)==null?void 0:fo.pfmSpd),1)]),iV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((xo=m.goodWx)==null?void 0:xo.sumFoCons)+" "+e.toDisplayString(((bo=m.allWx)==null?void 0:bo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),dV,e.createElementVNode("div",null,e.toDisplayString((go=m.goodWx)==null?void 0:go.time),1)]),rV,e.createElementVNode("div",mV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),pV]),e.createElementVNode("div",hV,[_V,yV,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((ko=(Do=l.reportData)==null?void 0:Do.weather)!=null&&ko.noExtrapolation?(Co=m.goodWx)==null?void 0:Co.distance:(So=m.allWx)==null?void 0:So.distance),1),NV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),VV,e.createElementVNode("div",fV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),xV,bV]),gV,e.createElementVNode("div",DV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),kV]),e.createElementVNode("div",CV,[SV,BV,e.createElementVNode("div",wV,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=l.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(Ao=m.goodWx)==null?void 0:Ao.distance:(To=m.allWx)==null?void 0:To.distance),1),AV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),TV,e.createElementVNode("div",FV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),OV,PV]),LV,e.createElementVNode("div",WV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),$V])])):e.createCommentVNode("",!0)],2)]),((Oo=(Fo=m==null?void 0:m.extend)==null?void 0:Fo.cp)==null?void 0:Oo.dgo)>0?(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("div",MV,[IV,(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",RV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",GV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",zV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",UV,[e.createElementVNode("span",uV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",YV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lo=m.goodWx)!=null&&Lo.distance?"":"analysis-none"} card analysis-card`)},[(Wo=m.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",ZV,[e.createElementVNode("div",QV,[JV,KV,e.createElementVNode("div",jV,[e.createElementVNode("div",null,e.toDisplayString((Ho=($o=l.reportData)==null?void 0:$o.weather)!=null&&Ho.noExtrapolation?(Mo=m.goodWx)==null?void 0:Mo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),qV,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),XV,e.createElementVNode("div",vV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),ef,e.createElementVNode("div",null,e.toDisplayString((uo=m.goodWx)==null?void 0:uo.time),1)]),tf,e.createElementVNode("div",of,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),lf]),e.createElementVNode("div",af,[nf,sf,e.createElementVNode("div",cf,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.reportData)==null?void 0:Yo.weather)!=null&&Zo.noExtrapolation?(Qo=m.goodWx)==null?void 0:Qo.distance:(Jo=m.allWx)==null?void 0:Jo.distance),1),df,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),rf,e.createElementVNode("div",mf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),pf,hf]),_f,e.createElementVNode("div",yf,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),Ef]),e.createElementVNode("div",Nf,[Vf,ff,e.createElementVNode("div",xf,[e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=l.reportData)==null?void 0:Ko.weather)!=null&&jo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(Xo=m.allWx)==null?void 0:Xo.distance),1),bf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),gf,e.createElementVNode("div",Df,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),kf,Cf]),Sf,e.createElementVNode("div",Bf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),wf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Af,e.createElementVNode("div",Tf,[e.createElementVNode("div",Ff,[Of,e.createElementVNode("div",Pf,[e.createElementVNode("div",Lf,[Wf,$f,e.createElementVNode("div",Hf,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Mf,If]),Rf]),e.createElementVNode("div",Gf,[zf,Uf,e.createElementVNode("div",uf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Yf,Zf]),Qf]),e.createElementVNode("div",Jf,[Kf,jf,e.createElementVNode("div",qf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=l.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Xf,vf]),e0]),t0])]),e.createElementVNode("div",o0,[l0,e.createElementVNode("div",a0,[e.createElementVNode("div",n0,[s0,i0,e.createElementVNode("div",c0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=l.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),d0,r0]),m0,p0,h0]),e.createElementVNode("div",_0,[y0,E0,e.createElementVNode("div",N0,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=l.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),V0,f0]),x0,b0,g0]),e.createElementVNode("div",D0,[k0,C0,e.createElementVNode("div",S0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),B0,w0]),A0,T0,F0]),O0,P0])])])])])}),128))])],2)}const W0=Ce(yh,[["render",L0],["__scopeId","data-v-d1bfb44b"]]),uU="",$0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,l,r){var y;let a="";const n=((y=this.summaryTable)==null?void 0:y.length)-1;return l&&s!==n&&(a=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!r&&(a=a+" good-weather"),(t==null?void 0:t.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(t,s){var r,a;const l=((r=this.summaryTable)==null?void 0:r.length)-1;if(l>-1){if(t.isFirstSeg&&s!==l)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):K(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.LngLatHelper.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var r,a,n,y;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let t=[];(y=(n=this.reportData)==null?void 0:n.segments)==null||y.forEach((i,p)=>{let x=i.extend.cp;i.inventory.sample.hours.forEach((g,h)=>{let E=JSON.parse(JSON.stringify(g));E.cp=x,t.push(E)})}),t.sort(function(i,p){let x=i.date,g=p.date;return x-g});let s="",l="";t.forEach((i,p)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let x=i.type.charAt(0);i.abbreviation=x;const g=K(i.utc).utc().format("D-MMM");g!==l&&(i.lastdate=g,l=g),x==="A"?i.type="":x==="M"&&(i.type="*"),i.time=K(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},tn=t=>(e.pushScopeId("data-v-0a0050fb"),t=t(),e.popScopeId(),t),H0=tn(()=>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)),M0={class:"table",id:"second-table"},I0={class:"summary-table"},R0=tn(()=>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)),G0={class:"summary-tbody"},z0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-0a0050fb><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg gwd" data-v-0a0050fb></div></div> Good Weather Days </div><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg adverse" data-v-0a0050fb></div></div> Adverse Weather Days </div><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg excluded" data-v-0a0050fb></div></div> Excluded Periods </div></div>',1),U0={class:"voyage-map",style:{"page-break-inside":"avoid"}},u0=tn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),Y0=["src"],Z0=e.createStaticVNode('<div class="legend-block" data-v-0a0050fb><div style="position:relative;left:-20px;" data-v-0a0050fb><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-0a0050fb><div data-v-0a0050fb>7</div><br data-v-0a0050fb><div data-v-0a0050fb>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-0a0050fb></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-0a0050fb> LEGEND: <br data-v-0a0050fb> Wind from NE(045) <br data-v-0a0050fb> Each barb = 10 kts <br data-v-0a0050fb> 1/2 barb = 5 kts <br data-v-0a0050fb></div></div><div style="transform:scale(0.95);" data-v-0a0050fb> 7 - DAY OF THE MONTH <br data-v-0a0050fb> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-0a0050fb><div class="goodWx" data-v-0a0050fb>Date</div> Good weather days<br data-v-0a0050fb></div></div>',1);function Q0(t,s,l,r,a,n){var y,i,p,x,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly||(x=(p=l.reportData)==null?void 0:p.weather)!=null&&x.overallAsGoodWx?"watermark fli-main":"fli-main")},[H0,e.createElementVNode("div",M0,[e.createElementVNode("div",null,[e.createElementVNode("table",I0,[R0,e.createElementVNode("tbody",G0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,E)=>{var k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,E))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString((k=h.noon)==null?void 0:k.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(b=h.cp)==null?void 0:b.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((D=(C=h.meteo)==null?void 0:C.wind)==null?void 0:D.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((O=(V=(w=h.meteo)==null?void 0:w.wave)==null?void 0:V.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((G=(R=(I=h.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),z0,e.createElementVNode("div",U0,[u0,e.createElementVNode("img",{style:{width:"100%"},src:(g=l.reportData)==null?void 0:g.chartUrl,alt:""},null,8,Y0),Z0])],2)}const J0=Ce($0,[["render",Q0],["__scopeId","data-v-0a0050fb"]]),YU="",K0={components:{Summary:W0,Inventory:J0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},j0={class:"voyage-report"};function q0(t,s,l,r,a,n){const y=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",j0,[e.createVNode(y,{reportData:a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:n.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:l.isAdmin,reportData:a.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const mn=Ce(K0,[["render",q0],["__scopeId","data-v-7345a543"]]),ZU="",X0={name:"OrmVoyageSummary",components:{Lng:Ja,Lat:Ka,Editor:Ro},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let l=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(l+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(l+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(l+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?l+=" Wx Factor is ignored.":t.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,l){return l==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((l,r)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const y={time:K(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+K(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(y)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},c=t=>(e.pushScopeId("data-v-f1b0225f"),t=t(),e.popScopeId(),t),v0={class:"report-summary"},e2={class:"section voyage-section flex-space"},t2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),a2={style:{"text-transform":"uppercase"}},n2={class:"flex-space label-block",style:{width:"100%"}},s2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),i2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},c2={class:"flex-space label-block",style:{width:"100%"}},d2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),r2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},m2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},y2={key:1,class:"flex-end",style:{flex:"1"}},E2=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),x2={key:0,class:"flex-end",style:{flex:"1"}},b2={key:1,class:"flex-end",style:{flex:"1"}},g2=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),D2={class:"flex-end",style:{width:"150px"}},k2={class:"flex-space label-block",style:{width:"100%"}},C2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),S2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},B2={class:"section weather-section"},w2=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),A2={class:"definition"},T2={class:"txt"},F2={class:"section summary-section"},O2=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),P2={class:"phase-box"},L2={class:"phase-index"},W2={class:"phase-position"},$2={key:0},H2={key:1},M2=c(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),I2={class:"phase-position"},R2={key:0},G2={key:1},z2=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),U2={class:"phase-cp flex-space"},u2={class:"cp-box"},Y2=c(()=>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)),Z2={class:"flex-space"},Q2=c(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),J2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),K2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),j2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),q2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),X2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),v2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),ex=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),tx={class:"phase-conclusion flex-space"},ox={class:"item-conclusion"},lx=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),ax={class:"value flex-start"},nx=c(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),sx={key:0,class:"label flex-end"},ix={key:0},cx={key:1},dx={key:2},rx={key:1,class:"label flex-end"},mx={key:2,class:"value flex-end"},px={key:0},hx=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),_x={class:"gain"},yx=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Ex={key:1},Nx=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Vx={class:"lost"},fx=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xx={key:2},bx={class:"item-conclusion"},gx=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Dx={class:"value flex-start"},kx=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Cx={key:0,class:"label flex-end"},Sx={key:0},Bx={key:1},wx={key:2},Ax={key:1,class:"label flex-end"},Tx={key:2,class:"value flex-end"},Fx={key:0},Ox=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Px={class:"gain"},Lx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Wx={key:1},$x=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Hx={class:"lost"},Mx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ix={key:2},Rx={class:"item-conclusion"},Gx=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),zx={class:"value flex-start"},Ux=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),ux={key:0,class:"label flex-end"},Yx={key:0},Zx={key:1},Qx={key:2},Jx={key:1,class:"label flex-end"},Kx={key:2,class:"value flex-end"},jx={key:0},qx=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Xx={class:"gain"},vx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),eb={key:1},tb=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ob={class:"lost"},lb=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ab={key:2},nb=c(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),sb=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),ib={key:0,class:"exclusion-block"},cb=c(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),db=c(()=>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)),rb={style:{margin:"8px 0"}},mb={class:"remark-table"},pb=c(()=>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)),hb=["innerHTML"],_b={class:"section segment-section"},yb=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Eb={class:"segment-index flex-center"},Nb={class:"segment-position"},Vb={key:0},fb={key:1},xb=c(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),bb={class:"segment-position"},gb={key:0},Db={key:1},kb=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Cb={style:{margin:"10px 0 0"}},Sb=c(()=>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)),Bb=c(()=>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)),wb=c(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Ab={class:"good-wx"},Tb={class:"good-wx"},Fb=c(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Ob={class:"good-wx"},Pb={class:"good-wx"},Lb=c(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Wb={class:"good-wx"},$b={class:"good-wx"},Hb=c(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Mb={class:"good-wx"},Ib={class:"good-wx"},Rb=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Gb={class:"good-wx"},zb={class:"good-wx"},Ub=c(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),ub={class:"good-wx"},Yb={class:"good-wx"},Zb=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Qb={class:"good-wx"},Jb={class:"good-wx"},Kb={key:0,class:"flex-end tip"},jb={key:1,class:"segment-speed"},qb={class:"flex-center"},Xb=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),vb={class:"speed-right flex-space"},eg=c(()=>e.createElementVNode("span",null,"-",-1)),tg=c(()=>e.createElementVNode("label",null,"=",-1)),og={class:"speed"},lg={key:1,class:"speed"},ag={key:0,class:"speed"},ng=c(()=>e.createElementVNode("span",null,"-",-1)),sg=c(()=>e.createElementVNode("label",null,"=",-1)),ig={class:"speed"},cg=c(()=>e.createElementVNode("span",null,"-",-1)),dg=c(()=>e.createElementVNode("label",null,"=",-1)),rg={class:"speed"},mg=c(()=>e.createElementVNode("span",null,"-",-1)),pg=c(()=>e.createElementVNode("span",null,"-",-1)),hg=c(()=>e.createElementVNode("label",null,"=",-1)),_g={class:"speed"},yg={key:2,class:"under"},Eg={key:3,class:"over"},Ng={class:"flex-center"},Vg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),fg={class:"speed-right formula flex-space"},xg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),bg=c(()=>e.createElementVNode("label",null,"-",-1)),gg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Dg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kg=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Cg={key:0},Sg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bg=c(()=>e.createElementVNode("label",null,"-",-1)),wg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ag=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Tg=c(()=>e.createElementVNode("label",null,"-",-1)),Fg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Og=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Pg=c(()=>e.createElementVNode("label",null,"-",-1)),Lg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Wg=c(()=>e.createElementVNode("label",null,"-",-1)),$g=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Hg={key:2,class:"segment-speed"},Mg={class:"flex-center"},Ig=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Rg={class:"speed-right flex-space"},Gg=c(()=>e.createElementVNode("span",null,"-",-1)),zg=c(()=>e.createElementVNode("span",null,"-",-1)),Ug=c(()=>e.createElementVNode("label",null,"=",-1)),ug={class:"speed"},Yg=c(()=>e.createElementVNode("span",null,"-",-1)),Zg=c(()=>e.createElementVNode("label",null,"=",-1)),Qg={class:"speed"},Jg={key:2,class:"under"},Kg={key:3,class:"over"},jg={class:"flex-center"},qg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Xg={class:"speed-right formula flex-space"},vg=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),eD=c(()=>e.createElementVNode("label",null,"-",-1)),tD=c(()=>e.createElementVNode("label",null,"Current Factor",-1)),oD=c(()=>e.createElementVNode("label",null,"-",-1)),lD=c(()=>e.createElementVNode("label",null,"Weather Factor",-1)),aD=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),nD=c(()=>e.createElementVNode("label",null,"-",-1)),sD=c(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),iD=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),cD=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),dD={class:"segment-formula"},rD={class:"header-block flex-start"},mD=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),pD={class:"title"},hD={key:0,style:{"margin-left":"4px","font-weight":"300"}},_D={class:"formula-block"},yD={class:"flex-evenly"},ED=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ND={class:"formula-right flex-evenly"},VD={class:"fraction",style:{width:"240px"}},fD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),xD=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),bD=c(()=>e.createElementVNode("div",null,"(a)",-1)),gD={class:"flex-center"},DD={class:"formula-left flex-space"},kD=c(()=>e.createElementVNode("label",null,"=",-1)),CD={class:"formula-right flex-evenly"},SD={class:"fraction",style:{width:"240px"}},BD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),wD=c(()=>e.createElementVNode("div",null,"(b)",-1)),AD={class:"flex-center"},TD={class:"formula-left flex-space"},FD=c(()=>e.createElementVNode("label",null,"=",-1)),OD={class:"formula-right flex-evenly"},PD={class:"fraction",style:{width:"240px"}},LD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),WD=c(()=>e.createElementVNode("div",null,"(c)",-1)),$D=e.createStaticVNode('<div class="flex-start" data-v-f1b0225f><div class="flex-space" style="width:300px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Time Lost</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(a)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Time Gained</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(c)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(a)</div></div></div>',1),HD={class:"formula-desc"},MD={class:"flex-end"},ID=c(()=>e.createElementVNode("label",null,"Time Lost",-1)),RD={class:"flex-end"},GD=c(()=>e.createElementVNode("label",null,"Time Gained",-1)),zD={class:"flex-end"},UD=c(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),uD={key:0,class:"formula-block",style:{"font-weight":"400"}},YD={class:"flex-evenly"},ZD=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),QD={class:"formula-right flex-evenly"},JD={class:"fraction",style:{width:"240px"}},KD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),jD=c(()=>e.createElementVNode("div",null,"=",-1)),qD=c(()=>e.createElementVNode("div",null,"(a')",-1)),XD={class:"flex-center"},vD={class:"formula-left flex-space"},e3=c(()=>e.createElementVNode("label",null,"=",-1)),t3={class:"formula-right flex-evenly"},o3={class:"fraction",style:{width:"240px"}},l3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),a3=c(()=>e.createElementVNode("div",null,"=",-1)),n3=c(()=>e.createElementVNode("div",null,"(b')",-1)),s3={class:"flex-center"},i3={class:"formula-left flex-space"},c3=c(()=>e.createElementVNode("label",null,"=",-1)),d3={class:"formula-right flex-evenly"},r3={class:"fraction",style:{width:"240px"}},m3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),p3=c(()=>e.createElementVNode("div",null,"=",-1)),h3=c(()=>e.createElementVNode("div",null,"(c')",-1)),_3={class:"formula-conclusion",style:{"margin-bottom":"0"}},y3={key:0,class:"flex-evenly",style:{width:"500px"}},E3=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),N3=c(()=>e.createElementVNode("div",null,"=",-1)),V3=c(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),f3=c(()=>e.createElementVNode("div",null,"=",-1)),x3=c(()=>e.createElementVNode("div",null,"-",-1)),b3=c(()=>e.createElementVNode("div",null,"=",-1)),g3={key:1,class:"flex-evenly",style:{width:"500px"}},D3=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),k3=c(()=>e.createElementVNode("div",null,"=",-1)),C3=c(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),S3=c(()=>e.createElementVNode("div",null,"=",-1)),B3=c(()=>e.createElementVNode("div",null,"-",-1)),w3=c(()=>e.createElementVNode("div",null,"=",-1)),A3=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),T3={key:1,class:"formula-conclusion"},F3=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),O3={class:"segment-formula"},P3={class:"header-block flex-start"},L3=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),W3={class:"title"},$3={key:0,style:{"margin-left":"4px","font-weight":"300"}},H3={class:"formula-block"},M3={class:"flex-evenly"},I3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),R3={class:"formula-right flex-evenly"},G3={class:"fraction",style:{width:"240px"}},z3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),U3=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),u3=c(()=>e.createElementVNode("div",null,"x",-1)),Y3=c(()=>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)),Z3=c(()=>e.createElementVNode("div",null,"(d)",-1)),Q3={style:{"line-height":"1"}},J3=c(()=>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)),K3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},j3={class:"flex-center"},q3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),X3={class:"formula-right flex-evenly"},v3={class:"fraction",style:{width:"240px"}},ek=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),tk=c(()=>e.createElementVNode("div",null,"x",-1)),ok=c(()=>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)),lk=c(()=>e.createElementVNode("div",null,"(e)",-1)),ak={class:"flex-center"},nk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),sk={class:"formula-right flex-evenly"},ik={class:"fraction",style:{width:"240px"}},ck=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),dk=c(()=>e.createElementVNode("div",null,"x",-1)),rk=c(()=>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)),mk=c(()=>e.createElementVNode("div",null,"(f)",-1)),pk=e.createStaticVNode('<div class="flex-start" data-v-f1b0225f><div class="flex-space" style="width:300px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Fuel Over-consumption</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(d)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Fuel Saving</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(f)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(d)</div></div></div>',1),hk={class:"flex-center"},_k=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),yk={class:"formula-right flex-evenly"},Ek={class:"fraction",style:{width:"270px"}},Nk=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),Vk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),fk={class:"flex-center"},xk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),bk={class:"formula-right flex-evenly"},gk={class:"fraction",style:{width:"270px"}},Dk=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),kk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ck=c(()=>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)),Sk={class:"header-block flex-start",style:{"margin-top":"10px"}},Bk=c(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),wk={class:"title"},Ak={key:0,class:"formula-block"},Tk={key:0,class:"flex-evenly"},Fk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),Ok={class:"formula-right flex-evenly"},Pk={class:"fraction",style:{width:"60px"}},Lk=c(()=>e.createElementVNode("div",null,"-",-1)),Wk={class:"fraction",style:{width:"60px"}},$k=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hk=c(()=>e.createElementVNode("div",null,"24",-1)),Mk=c(()=>e.createElementVNode("div",null,"*",-1)),Ik=c(()=>e.createElementVNode("div",null,"=",-1)),Rk={class:"flex-evenly"},Gk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),zk={class:"formula-right flex-evenly"},Uk={class:"fraction",style:{width:"240px"}},uk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=c(()=>e.createElementVNode("div",null,"x",-1)),Zk={class:"fraction",style:{width:"240px"}},Qk={key:0},Jk=c(()=>e.createElementVNode("span",null," + ",-1)),Kk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),jk=c(()=>e.createElementVNode("div",null,"=",-1)),qk=c(()=>e.createElementVNode("div",null,"(d')",-1)),Xk={class:"flex-evenly"},vk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eC={class:"formula-right flex-evenly"},tC={class:"fraction",style:{width:"240px"}},oC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),lC=c(()=>e.createElementVNode("div",null,"x",-1)),aC={class:"fraction",style:{width:"240px"}},nC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),sC=c(()=>e.createElementVNode("div",null,"24",-1)),iC=c(()=>e.createElementVNode("div",null,"=",-1)),cC=c(()=>e.createElementVNode("div",null,"(e')",-1)),dC={class:"flex-evenly"},rC=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mC={class:"formula-right flex-evenly"},pC={class:"fraction",style:{width:"240px"}},hC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),_C=c(()=>e.createElementVNode("div",null,"x",-1)),yC={class:"fraction",style:{width:"240px"}},EC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),NC=c(()=>e.createElementVNode("div",null,"24",-1)),VC=c(()=>e.createElementVNode("div",null,"=",-1)),fC=c(()=>e.createElementVNode("div",null,"(f')",-1)),xC={class:"formula-conclusion",style:{"margin-bottom":"0"}},bC={class:"flex-evenly",style:{width:"500px"}},gC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),DC=c(()=>e.createElementVNode("div",null,"=",-1)),kC=c(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),CC=c(()=>e.createElementVNode("div",null,"=",-1)),SC=c(()=>e.createElementVNode("div",null,"-",-1)),BC=c(()=>e.createElementVNode("div",null,"=",-1)),wC={key:0,class:"flex-evenly"},AC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),TC=c(()=>e.createElementVNode("div",null,"=",-1)),FC={class:"fraction"},OC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),PC=c(()=>e.createElementVNode("div",null,"=",-1)),LC={class:"flex-evenly",style:{width:"700px"}},WC=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),$C=c(()=>e.createElementVNode("div",null,"=",-1)),HC=c(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),MC=c(()=>e.createElementVNode("div",null,"=",-1)),IC=c(()=>e.createElementVNode("div",null,"-",-1)),RC=c(()=>e.createElementVNode("div",null,"=",-1)),GC={key:0,class:"flex-evenly",style:{width:"500px"}},zC=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),UC=c(()=>e.createElementVNode("div",null,"=",-1)),uC={class:"fraction",style:{width:"140px"}},YC=c(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),ZC=c(()=>e.createElementVNode("div",null,"=",-1)),QC=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),JC={key:1,class:"formula-conclusion"},KC={class:"header-block flex-end",style:{"margin-top":"10px"}},jC=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),qC={class:"title"},XC={key:0,class:"formula-block"},vC={class:"flex-evenly"},eS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),tS={class:"formula-right flex-evenly"},oS={class:"fraction",style:{width:"240px"}},lS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),aS=c(()=>e.createElementVNode("div",null,"x",-1)),nS={class:"fraction",style:{width:"240px"}},sS={key:0},iS=c(()=>e.createElementVNode("span",null," - ",-1)),cS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),dS=c(()=>e.createElementVNode("div",null,"=",-1)),rS=c(()=>e.createElementVNode("div",null,"(d'')",-1)),mS={class:"flex-evenly"},pS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),hS={class:"formula-right flex-evenly"},_S={class:"fraction",style:{width:"240px"}},yS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),ES=c(()=>e.createElementVNode("div",null,"x",-1)),NS={class:"fraction",style:{width:"240px"}},VS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),fS=c(()=>e.createElementVNode("div",null,"24",-1)),xS=c(()=>e.createElementVNode("div",null,"=",-1)),bS=c(()=>e.createElementVNode("div",null,"(e'')",-1)),gS={class:"flex-evenly"},DS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),kS={class:"formula-right flex-evenly"},CS={class:"fraction",style:{width:"240px"}},SS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),BS=c(()=>e.createElementVNode("div",null,"x",-1)),wS={class:"fraction",style:{width:"240px"}},AS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),TS=c(()=>e.createElementVNode("div",null,"24",-1)),FS=c(()=>e.createElementVNode("div",null,"=",-1)),OS=c(()=>e.createElementVNode("div",null,"(f'')",-1)),PS={class:"formula-conclusion",style:{"margin-bottom":"0"}},LS={key:0,class:"flex-evenly",style:{width:"500px"}},WS=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),$S=c(()=>e.createElementVNode("div",null,"=",-1)),HS=c(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),MS=c(()=>e.createElementVNode("div",null,"=",-1)),IS=c(()=>e.createElementVNode("div",null,"-",-1)),RS=c(()=>e.createElementVNode("div",null,"=",-1)),GS={key:1,class:"flex-evenly",style:{width:"700px"}},zS=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),US=c(()=>e.createElementVNode("div",null,"=",-1)),uS=c(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),YS=c(()=>e.createElementVNode("div",null,"=",-1)),ZS=c(()=>e.createElementVNode("div",null,"-",-1)),QS=c(()=>e.createElementVNode("div",null,"=",-1)),JS=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),KS={key:1,class:"formula-conclusion"};function jS(t,s,l,r,a,n){var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",v0,[e.createElementVNode("div",e2,[e.createElementVNode("div",t2,[e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",n2,[s2,e.createElementVNode("span",i2,e.toDisplayString((g=(x=l.report)==null?void 0:x.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type)+")",1)]),e.createElementVNode("div",c2,[d2,e.createElementVNode("span",r2,e.toDisplayString((b=(k=l.report)==null?void 0:k.voyage)==null?void 0:b.number),1)])]),e.createElementVNode("div",m2,[e.createElementVNode("div",p2,[h2,(D=(C=l.report)==null?void 0:C.departure)!=null&&D.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",y2,[e.createVNode(y,{lat:(w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),E2,e.createVNode(i,{lng:(V=l.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((O=l.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,(R=(I=l.report)==null?void 0:I.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",x2,e.toDisplayString((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",b2,[e.createVNode(y,{lat:(L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),g2,e.createVNode(i,{lng:(W=(H=l.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",D2,e.toDisplayString(n.computeUTCTime((M=(P=l.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",k2,[C2,e.createElementVNode("span",S2,e.toDisplayString((U=(Q=l.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",B2,[w2,e.createElementVNode("div",A2,[e.createElementVNode("div",T2,e.toDisplayString(n.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",F2,[O2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=l.report)==null?void 0:J.segments,(o,j)=>{var v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",P2,[e.createElementVNode("div",L2,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,($,Be)=>{var He,Re,ce,ze,tt,ot,ct,dt,rt,mt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Be},[e.createElementVNode("div",W2,[(He=$==null?void 0:$.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",$2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",H2,e.toDisplayString(n.computeLat((ce=$==null?void 0:$.departure)==null?void 0:ce.lat).pretty)+", "+e.toDisplayString(n.computeLng((ze=$==null?void 0:$.departure)==null?void 0:ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=$==null?void 0:$.departure)==null?void 0:tt.utcTime))+")",1)]),M2,e.createElementVNode("div",I2,[(ot=$==null?void 0:$.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",R2,e.toDisplayString((ct=$==null?void 0:$.arrival)==null?void 0:ct.portName),1)):(e.openBlock(),e.createElementBlock("span",G2,e.toDisplayString(n.computeLat((dt=$==null?void 0:$.arrival)==null?void 0:dt.lat).pretty)+", "+e.toDisplayString(n.computeLng((rt=$==null?void 0:$.arrival)==null?void 0:rt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((mt=$==null?void 0:$.arrival)==null?void 0:mt.utcTime))+")",1)])])}),128)),z2,e.createElementVNode("div",U2,[e.createElementVNode("div",u2,[Y2,e.createElementVNode("div",Z2,[Q2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=o==null?void 0:o.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(le=(oe=o==null?void 0:o.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[K2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(re=(se=o==null?void 0:o.extend)==null?void 0:se.cp)==null?void 0:re.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(me=o==null?void 0:o.extend)==null?void 0:me.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[j2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(q=o==null?void 0:o.extend)==null?void 0:q.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[X2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[v2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])])])])]),ex,e.createElementVNode("div",tx,[e.createElementVNode("div",ox,[lx,e.createElementVNode("div",ax,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.time),1),nx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",sx,[((Ee=o==null?void 0:o.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",ix," Time Gained ")):((Ne=o==null?void 0:o.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",cx," Time Lost ")):(e.openBlock(),e.createElementBlock("div",dx,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",rx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",mx,[((Ve=o==null?void 0:o.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",px,[hx,e.createElementVNode("span",_x,e.toDisplayString((fe=o==null?void 0:o.timeConclusion)==null?void 0:fe.timeGain),1),yx])):((xe=o==null?void 0:o.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Ex,[Nx,e.createElementVNode("span",Vx,e.toDisplayString((be=o==null?void 0:o.timeConclusion)==null?void 0:be.timeLost),1),fx])):(e.openBlock(),e.createElementBlock("div",xx,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",bx,[gx,e.createElementVNode("div",Dx,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumFoCons),1),kx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Cx,[((De=(ge=o==null?void 0:o.fuelConclusion)==null?void 0:ge.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Sx," FO Saving ")):((Ae=(ke=o==null?void 0:o.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Bx," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",wx,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Ax,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Tx,[((Fe=(Te=o==null?void 0:o.fuelConclusion)==null?void 0:Te.fo)==null?void 0:Fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Fx,[Ox,e.createElementVNode("span",Px,e.toDisplayString((Pe=(Oe=o==null?void 0:o.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.saving),1),Lx])):((We=(Le=o==null?void 0:o.fuelConclusion)==null?void 0:Le.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Wx,[$x,e.createElementVNode("span",Hx,e.toDisplayString((pe=($e=o==null?void 0:o.fuelConclusion)==null?void 0:$e.fo)==null?void 0:pe.overCons),1),Mx])):(e.openBlock(),e.createElementBlock("div",Ix,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Rx,[Gx,e.createElementVNode("div",zx,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumDgoCons),1),Ux]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ux,[((Je=(Qe=o==null?void 0:o.fuelConclusion)==null?void 0:Qe.dgo)==null?void 0:Je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yx," DO/GO Saving ")):((A=(Ke=o==null?void 0:o.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Zx," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Qx,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Jx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Kx,[((Ie=(Se=o==null?void 0:o.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ie.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",jx,[qx,e.createElementVNode("span",Xx,e.toDisplayString((qe=(je=o==null?void 0:o.fuelConclusion)==null?void 0:je.dgo)==null?void 0:qe.saving),1),vx])):((ve=(Xe=o==null?void 0:o.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",eb,[tb,e.createElementVNode("span",ob,e.toDisplayString((m=(et=o==null?void 0:o.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),lb])):(e.openBlock(),e.createElementBlock("div",ab,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),nb]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ae=l.report)==null?void 0:ae.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[sb,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",ib,[cb,db,e.createElementVNode("div",rb,[e.createElementVNode("table",mb,[pb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(o,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(o.time),1),e.createElementVNode("td",null,e.toDisplayString(o.duration),1),e.createElementVNode("td",null,e.toDisplayString(o.distance),1),e.createElementVNode("td",null,e.toDisplayString(o.fo),1),e.createElementVNode("td",null,e.toDisplayString(o.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=o=>a.remarks=o),class:"editor",height:"120px",onBlur:s[1]||(s[1]=o=>n.handleCommit(o))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...o)=>n.handleEdit&&n.handleEdit(...o)),innerHTML:a.remarks},null,40,hb))],2)],2),e.createElementVNode("div",_b,[yb,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(o,j)=>{var v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,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$i,Hi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:CU},[e.createElementVNode("div",Nb,[(wi=we==null?void 0:we.departure)!=null&&wi.portName?(e.openBlock(),e.createElementBlock("span",Vb,e.toDisplayString((Ai=we==null?void 0:we.departure)==null?void 0:Ai.portName),1)):(e.openBlock(),e.createElementBlock("span",fb,e.toDisplayString(n.computeLat((Ti=we==null?void 0:we.departure)==null?void 0:Ti.lat).pretty)+", "+e.toDisplayString(n.computeLng((Fi=we==null?void 0:we.departure)==null?void 0:Fi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Oi=we==null?void 0:we.departure)==null?void 0:Oi.utcTime))+")",1)]),xb,e.createElementVNode("div",bb,[(Pi=we==null?void 0:we.arrival)!=null&&Pi.portName?(e.openBlock(),e.createElementBlock("span",gb,e.toDisplayString((Li=we==null?void 0:we.arrival)==null?void 0:Li.portName),1)):(e.openBlock(),e.createElementBlock("span",Db,e.toDisplayString(n.computeLat((Wi=we==null?void 0:we.arrival)==null?void 0:Wi.lat).pretty)+", "+e.toDisplayString(n.computeLng(($i=we==null?void 0:we.arrival)==null?void 0:$i.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Hi=we==null?void 0:we.arrival)==null?void 0:Hi.utcTime))+")",1)])])}),128)),kb,e.createElementVNode("div",Cb,[e.createElementVNode("table",null,[Sb,Bb,e.createElementVNode("tr",null,[wb,e.createElementVNode("td",Ab,e.toDisplayString((te=(ee=o==null?void 0:o.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Tb,e.toDisplayString((le=(oe=o==null?void 0:o.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(se=o==null?void 0:o.allWx)==null?void 0:se.outEca)==null?void 0:re.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(me=o==null?void 0:o.allWx)==null?void 0:me.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[Fb,e.createElementVNode("td",Ob,e.toDisplayString((he=(q=o==null?void 0:o.goodWx)==null?void 0:q.outEca)==null?void 0:he.time),1),e.createElementVNode("td",Pb,e.toDisplayString((Ne=(Ee=o==null?void 0:o.goodWx)==null?void 0:Ee.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=o==null?void 0:o.allWx)==null?void 0:Ve.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=o==null?void 0:o.allWx)==null?void 0:xe.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Lb,e.createElementVNode("td",Wb,e.toDisplayString(((De=(ge=o==null?void 0:o.goodWx)==null?void 0:ge.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",$b,e.toDisplayString(((Ae=(ke=o==null?void 0:o.goodWx)==null?void 0:ke.inEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(Te=o==null?void 0:o.allWx)==null?void 0:Te.outEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=o==null?void 0:o.allWx)==null?void 0:Oe.inEca)==null?void 0:Pe.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Hb,e.createElementVNode("td",Mb,e.toDisplayString(((We=(Le=o==null?void 0:o.goodWx)==null?void 0:Le.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Ib,e.toDisplayString(((pe=($e=o==null?void 0:o.goodWx)==null?void 0:$e.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=o==null?void 0:o.allWx)==null?void 0:Qe.outEca)==null?void 0:Je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(Ke=o==null?void 0:o.allWx)==null?void 0:Ke.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Rb,e.createElementVNode("td",Gb,e.toDisplayString(((Ie=(Se=o==null?void 0:o.goodWx)==null?void 0:Se.outEca)==null?void 0:Ie.avgFoCons)||"--"),1),e.createElementVNode("td",zb,e.toDisplayString(((qe=(je=o==null?void 0:o.goodWx)==null?void 0:je.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=o==null?void 0:o.allWx)==null?void 0:Xe.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=o==null?void 0:o.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Ub,e.createElementVNode("td",ub,e.toDisplayString(((Be=($=o==null?void 0:o.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Yb,e.toDisplayString(((Re=(He=o==null?void 0:o.goodWx)==null?void 0:He.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(ce=o==null?void 0:o.allWx)==null?void 0:ce.outEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=o==null?void 0:o.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Zb,e.createElementVNode("td",Qb,e.toDisplayString(((dt=(ct=o==null?void 0:o.goodWx)==null?void 0:ct.outEca)==null?void 0:dt.avgDgoCons)||"--"),1),e.createElementVNode("td",Jb,e.toDisplayString(((mt=(rt=o==null?void 0:o.goodWx)==null?void 0:rt.inEca)==null?void 0:mt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(ht=o==null?void 0:o.allWx)==null?void 0:ht.outEca)==null?void 0:_t.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(yt=o==null?void 0:o.allWx)==null?void 0:yt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(Nt=a.exclusion[j])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Kb," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=o==null?void 0:o.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",jb,[e.createElementVNode("div",qb,[Xb,e.createElementVNode("div",vb,[(xt=(ft=l.report)==null?void 0:ft.weather)!=null&&xt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ft=(Tt=l.report)==null?void 0:Tt.weather)!=null&&Ft.disableWxFactor&&((io=(Ot=l.report)==null?void 0:Ot.weather)!=null&&io.disableCFactor)?(e.openBlock(),e.createElementBlock("span",ag,e.toDisplayString((co=o==null?void 0:o.goodWx)==null?void 0:co.pfmSpd)+" (kts)",1)):(mo=(ro=l.report)==null?void 0:ro.weather)!=null&&mo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((po=o==null?void 0:o.goodWx)==null?void 0:po.avgSpd),1),ng,e.createElementVNode("span",null,e.toDisplayString(((ho=o==null?void 0:o.goodWx)==null?void 0:ho.avgCf)>0?(_o=o==null?void 0:o.goodWx)==null?void 0:_o.avgCf:`(${(yo=o==null?void 0:o.goodWx)==null?void 0:yo.avgCf})`),1),sg,e.createElementVNode("span",ig,e.toDisplayString((Eo=o==null?void 0:o.goodWx)==null?void 0:Eo.pfmSpd)+" (kts)",1)],64)):(S=(No=l.report)==null?void 0:No.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Me=o==null?void 0:o.goodWx)==null?void 0:Me.avgSpd),1),cg,e.createElementVNode("span",null,e.toDisplayString(((lt=o==null?void 0:o.goodWx)==null?void 0:lt.avgWf)>0?(at=o==null?void 0:o.goodWx)==null?void 0:at.avgWf:`(${(pt=o==null?void 0:o.goodWx)==null?void 0:pt.avgWf})`),1),dg,e.createElementVNode("span",rg,e.toDisplayString((Pt=o==null?void 0:o.goodWx)==null?void 0:Pt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Lt=o==null?void 0:o.goodWx)==null?void 0:Lt.avgSpd),1),mg,e.createElementVNode("span",null,e.toDisplayString(((Wt=o==null?void 0:o.goodWx)==null?void 0:Wt.avgWf)>0?($t=o==null?void 0:o.goodWx)==null?void 0:$t.avgWf:`(${(Ht=o==null?void 0:o.goodWx)==null?void 0:Ht.avgWf})`),1),pg,e.createElementVNode("span",null,e.toDisplayString(((Mt=o==null?void 0:o.goodWx)==null?void 0:Mt.avgCf)>0?(It=o==null?void 0:o.goodWx)==null?void 0:It.avgCf:`(${(Rt=o==null?void 0:o.goodWx)==null?void 0:Rt.avgCf})`),1),hg,e.createElementVNode("span",_g,e.toDisplayString((Gt=o==null?void 0:o.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(bt=l.report)==null?void 0:bt.weather)!=null&>.favorableCur&&((Dt=o==null?void 0:o.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",lg,e.toDisplayString((At=o==null?void 0:o.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((kt=o==null?void 0:o.goodWx)==null?void 0:kt.avgSpd),1),eg,e.createElementVNode("span",null,e.toDisplayString(((Ct=o==null?void 0:o.goodWx)==null?void 0:Ct.avgCf)>0?(St=o==null?void 0:o.goodWx)==null?void 0:St.avgCf:`(${(Bt=o==null?void 0:o.goodWx)==null?void 0:Bt.avgCf})`),1),tg,e.createElementVNode("span",og,e.toDisplayString((wt=o==null?void 0:o.goodWx)==null?void 0:wt.pfmSpd)+" (kts)",1)],64))],64)),((zt=o==null?void 0:o.goodWx)==null?void 0:zt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",yg,"(Under-performance)")):e.createCommentVNode("",!0),((Ut=o==null?void 0:o.goodWx)==null?void 0:Ut.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Eg,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ng,[Vg,e.createElementVNode("div",fg,[(Yt=(ut=l.report)==null?void 0:ut.weather)!=null&&Yt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(jt=(Kt=l.report)==null?void 0:Kt.weather)!=null&&jt.disableWxFactor&&((Xt=(qt=l.report)==null?void 0:qt.weather)!=null&&Xt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",Cg,"GW Average Speed")):(eo=(vt=l.report)==null?void 0:vt.weather)!=null&&eo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Sg,Bg,wg],64)):(oo=(to=l.report)==null?void 0:to.weather)!=null&&oo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Ag,Tg,Fg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Og,Pg,Lg,Wg,$g],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Qt=(Zt=l.report)==null?void 0:Zt.weather)!=null&&Qt.favorableCur&&((Jt=o==null?void 0:o.goodWx)==null?void 0:Jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Dg,kg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[xg,bg,gg],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Hg,[e.createElementVNode("div",Mg,[Ig,e.createElementVNode("div",Rg,[(fo=(Vo=l.report)==null?void 0:Vo.weather)!=null&&fo.favorableCur&&((xo=o==null?void 0:o.allWx)==null?void 0:xo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Ao=o==null?void 0:o.allWx)==null?void 0:Ao.avgSpd),1),Yg,e.createElementVNode("span",null,e.toDisplayString(((To=o==null?void 0:o.allWx)==null?void 0:To.avgWf)>0?(Fo=o==null?void 0:o.allWx)==null?void 0:Fo.avgWf:`(${(Oo=o==null?void 0:o.allWx)==null?void 0:Oo.avgWf})`),1),Zg,e.createElementVNode("span",Qg,e.toDisplayString((Po=o==null?void 0:o.allWx)==null?void 0:Po.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bo=o==null?void 0:o.allWx)==null?void 0:bo.avgSpd),1),Gg,e.createElementVNode("span",null,e.toDisplayString(((go=o==null?void 0:o.allWx)==null?void 0:go.avgCf)>0?(Do=o==null?void 0:o.allWx)==null?void 0:Do.avgCf:`(${(ko=o==null?void 0:o.allWx)==null?void 0:ko.avgCf})`),1),zg,e.createElementVNode("span",null,e.toDisplayString(((Co=o==null?void 0:o.allWx)==null?void 0:Co.avgWf)>0?(So=o==null?void 0:o.allWx)==null?void 0:So.avgWf:`(${(Bo=o==null?void 0:o.allWx)==null?void 0:Bo.avgWf})`),1),Ug,e.createElementVNode("span",ug,e.toDisplayString((wo=o==null?void 0:o.allWx)==null?void 0:wo.pfmSpd)+" (kts)",1)],64)),((Lo=o==null?void 0:o.allWx)==null?void 0:Lo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Jg,"(Under-performance)")):e.createCommentVNode("",!0),((Wo=o==null?void 0:o.allWx)==null?void 0:Wo.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Kg,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jg,[qg,e.createElementVNode("div",Xg,[(Ho=($o=l.report)==null?void 0:$o.weather)!=null&&Ho.favorableCur&&((Mo=o==null?void 0:o.allWx)==null?void 0:Mo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[aD,nD,sD,iD],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[vg,eD,tD,oD,lD],64))])])])),cD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,e.createElementVNode("div",pD,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Go=(Io=l.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",hD,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_D,[e.createElementVNode("div",yD,[ED,e.createElementVNode("div",ND,[e.createElementVNode("div",VD,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=l.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),fD,xD]),bD])]),e.createElementVNode("div",gD,[e.createElementVNode("div",DD,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Yo=(uo=o==null?void 0:o.extend)==null?void 0:uo.cp)==null?void 0:Yo.speed,"Under"))+"kts)",1),kD]),e.createElementVNode("div",CD,[e.createElementVNode("div",SD,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.report)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),BD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Ko=(Jo=o==null?void 0:o.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),wD])]),e.createElementVNode("div",AD,[e.createElementVNode("div",TD,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(qo=(jo=o==null?void 0:o.extend)==null?void 0:jo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),FD]),e.createElementVNode("div",OD,[e.createElementVNode("div",PD,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=l.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LD,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(tl=(el=o==null?void 0:o.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),WD])]),$D]),e.createElementVNode("div",HD,[e.createElementVNode("div",MD,[ID,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ll=(ol=o==null?void 0:o.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",RD,[GD,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(nl=(al=o==null?void 0:o.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",zD,[UD,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(il=(sl=o==null?void 0:o.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(dl=(cl=o==null?void 0:o.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Under"))+" kts)",1)])]),(rl=o==null?void 0:o.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",uD,[e.createElementVNode("div",YD,[ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",JD,[e.createElementVNode("div",null,e.toDisplayString((pl=(nt=l.report)==null?void 0:nt.weather)!=null&&pl.noExtrapolation?(yl=o==null?void 0:o.goodWx)==null?void 0:yl.distance:(El=o==null?void 0:o.allWx)==null?void 0:El.distance),1),KD,e.createElementVNode("div",null,e.toDisplayString((Nl=o==null?void 0:o.goodWx)==null?void 0:Nl.pfmSpd),1)]),jD,e.createElementVNode("div",null,e.toDisplayString((Vl=o==null?void 0:o.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),qD])]),e.createElementVNode("div",XD,[e.createElementVNode("div",vD,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(xl=(fl=o==null?void 0:o.extend)==null?void 0:fl.cp)==null?void 0:xl.speed,"Under"))+"kts)",1),e3]),e.createElementVNode("div",t3,[e.createElementVNode("div",o3,[e.createElementVNode("div",null,e.toDisplayString((gl=(bl=l.report)==null?void 0:bl.weather)!=null&&gl.noExtrapolation?(Dl=o==null?void 0:o.goodWx)==null?void 0:Dl.distance:(kl=o==null?void 0:o.allWx)==null?void 0:kl.distance),1),l3,e.createElementVNode("div",null,e.toDisplayString((Cl=o==null?void 0:o.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),a3,e.createElementVNode("div",null,e.toDisplayString((Sl=o==null?void 0:o.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),n3])]),e.createElementVNode("div",s3,[e.createElementVNode("div",i3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(wl=(Bl=o==null?void 0:o.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),c3]),e.createElementVNode("div",d3,[e.createElementVNode("div",r3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=l.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=o==null?void 0:o.goodWx)==null?void 0:Fl.distance:(Ol=o==null?void 0:o.allWx)==null?void 0:Ol.distance),1),m3,e.createElementVNode("div",null,e.toDisplayString((Pl=o==null?void 0:o.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),p3,e.createElementVNode("div",null,e.toDisplayString((Ll=o==null?void 0:o.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),h3])]),e.createElementVNode("div",_3,[((Wl=o==null?void 0:o.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",y3,[E3,N3,V3,f3,e.createElementVNode("div",null,e.toDisplayString(($l=o==null?void 0:o.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((Hl=o==null?void 0:o.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),b3,e.createElementVNode("div",null,e.toDisplayString((Ml=o==null?void 0:o.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=o==null?void 0:o.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",g3,[D3,k3,C3,S3,e.createElementVNode("div",null,e.toDisplayString((Rl=o==null?void 0:o.timeConclusion)==null?void 0:Rl.timeAtPlusAbtSpd),1),B3,e.createElementVNode("div",null,e.toDisplayString((Gl=o==null?void 0:o.timeConclusion)==null?void 0:Gl.timeAtPfmSpd),1),w3,e.createElementVNode("div",null,e.toDisplayString((zl=o==null?void 0:o.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=o==null?void 0:o.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((ul=o==null?void 0:o.timeConclusion)==null?void 0:ul.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[A3,e.createElementVNode("div",null,e.toDisplayString(((Yl=o==null?void 0:o.timeConclusion)==null?void 0:Yl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",T3,e.toDisplayString(a.noGoodWxDay),1))]),F3,e.createElementVNode("div",O3,[e.createElementVNode("div",P3,[L3,e.createElementVNode("div",W3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ql=(Zl=l.report)==null?void 0:Zl.weather)!=null&&Ql.noExtrapolation?(e.openBlock(),e.createElementBlock("span",$3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",H3,[e.createElementVNode("div",M3,[I3,e.createElementVNode("div",R3,[e.createElementVNode("div",G3,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=l.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),z3,U3]),u3,Y3,Z3])]),e.createElementVNode("div",Q3,[J3,((ql=(jl=o.extend)==null?void 0:jl.cp)==null?void 0:ql.dgo)>0?(e.openBlock(),e.createElementBlock("div",K3,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",j3,[q3,e.createElementVNode("div",X3,[e.createElementVNode("div",v3,[e.createElementVNode("div",null,e.toDisplayString((vl=(Xl=l.report)==null?void 0:Xl.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ek,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ta=(ea=o==null?void 0:o.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),tk,ok,lk])]),e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("div",ik,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=l.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ck,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(na=(aa=o==null?void 0:o.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),dk,rk,mk])]),pk,((ia=(sa=o.extend)==null?void 0:sa.cp)==null?void 0:ia.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",hk,[_k,e.createElementVNode("div",yk,[e.createElementVNode("div",Ek,[Nk,Vk,e.createElementVNode("div",null,e.toDisplayString((da=(ca=l.report)==null?void 0:ca.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",fk,[xk,e.createElementVNode("div",bk,[e.createElementVNode("div",gk,[Dk,kk,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=l.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),Ck,e.createElementVNode("div",Sk,[Bk,e.createElementVNode("div",wk,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=o==null?void 0:o.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",Ak,[((_a=(ha=o==null?void 0:o.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",Tk,[Fk,e.createElementVNode("div",Ok,[e.createElementVNode("div",Pk,[e.createElementVNode("div",null,e.toDisplayString((Ea=(ya=o==null?void 0:o.goodWx)==null?void 0:ya.inEca)==null?void 0:Ea.sumDgoCons),1)]),Lk,e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o==null?void 0:o.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),$k,Hk]),Mk,e.createElementVNode("div",null,e.toDisplayString((xa=(fa=o==null?void 0:o.goodWx)==null?void 0:fa.inEca)==null?void 0:xa.time),1),Ik,e.createElementVNode("div",null,e.toDisplayString((ga=(ba=o==null?void 0:o.fuelConclusion)==null?void 0:ba.fo)==null?void 0:ga.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Rk,[Gk,e.createElementVNode("div",zk,[e.createElementVNode("div",Uk,[e.createElementVNode("div",null,e.toDisplayString((ka=(Da=l.report)==null?void 0:Da.weather)!=null&&ka.noExtrapolation?(Ca=o==null?void 0:o.goodWx)==null?void 0:Ca.distance:(Sa=o==null?void 0:o.allWx)==null?void 0:Sa.distance),1),uk,e.createElementVNode("div",null,e.toDisplayString((Ba=o==null?void 0:o.goodWx)==null?void 0:Ba.pfmSpd),1)]),Yk,e.createElementVNode("div",Zk,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((wa=o==null?void 0:o.goodWx)==null?void 0:wa.sumFoCons),1),((Ta=(Aa=o==null?void 0:o.goodWx)==null?void 0:Aa.inEca)==null?void 0:Ta.distance)>0?(e.openBlock(),e.createElementBlock("span",Qk,[Jk,e.createElementVNode("span",null,e.toDisplayString((Oa=(Fa=o==null?void 0:o.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Oa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Kk,e.createElementVNode("div",null,e.toDisplayString((Pa=o==null?void 0:o.goodWx)==null?void 0:Pa.time),1)]),jk,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=o.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.entireCons)+" (mt)",1),qk])]),e.createElementVNode("div",Xk,[vk,e.createElementVNode("div",eC,[e.createElementVNode("div",tC,[e.createElementVNode("div",null,e.toDisplayString((Ha=($a=l.report)==null?void 0:$a.weather)!=null&&Ha.noExtrapolation?(Y=o==null?void 0:o.goodWx)==null?void 0:Y.distance:(lo=o==null?void 0:o.allWx)==null?void 0:lo.distance),1),oC,e.createElementVNode("div",null,e.toDisplayString((Ma=o==null?void 0:o.timeConclusion)==null?void 0:Ma.minusAbtSpd),1)]),lC,e.createElementVNode("div",aC,[e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=o==null?void 0:o.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overTolerance),1),nC,sC]),iC,e.createElementVNode("div",null,e.toDisplayString((ao=(Z=o.fuelConclusion)==null?void 0:Z.fo)==null?void 0:ao.maxCons)+" (mt)",1),cC])]),e.createElementVNode("div",dC,[rC,e.createElementVNode("div",mC,[e.createElementVNode("div",pC,[e.createElementVNode("div",null,e.toDisplayString((za=(Ga=l.report)==null?void 0:Ga.weather)!=null&&za.noExtrapolation?(Ua=o==null?void 0:o.goodWx)==null?void 0:Ua.distance:(Ye=o==null?void 0:o.allWx)==null?void 0:Ye.distance),1),hC,e.createElementVNode("div",null,e.toDisplayString((ja=o==null?void 0:o.timeConclusion)==null?void 0:ja.minusAbtSpd),1)]),_C,e.createElementVNode("div",yC,[e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=o==null?void 0:o.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.underTolerance),1),EC,NC]),VC,e.createElementVNode("div",null,e.toDisplayString((st=(va=o.fuelConclusion)==null?void 0:va.fo)==null?void 0:st.minCons)+" (mt)",1),fC])]),e.createElementVNode("div",xC,[((Fn=(Tn=o==null?void 0:o.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",bC,[gC,DC,kC,CC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=o==null?void 0:o.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.entireCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=o==null?void 0:o.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.maxCons),1),BC,e.createElementVNode("div",null,e.toDisplayString((Hn=($n=o==null?void 0:o.fuelConclusion)==null?void 0:$n.fo)==null?void 0:Hn.overCons),1)]),(In=(Mn=o==null?void 0:o.goodWx)==null?void 0:Mn.inEca)!=null&&In.distance?(e.openBlock(),e.createElementBlock("div",wC,[AC,TC,e.createElementVNode("div",FC,[e.createElementVNode("div",null,e.toDisplayString((Gn=(Rn=o==null?void 0:o.goodWx)==null?void 0:Rn.inEca)==null?void 0:Gn.distance)+" * "+e.toDisplayString((Un=(zn=o==null?void 0:o.fuelConclusion)==null?void 0:zn.fo)==null?void 0:Un.overCons),1),OC,e.createElementVNode("div",null,e.toDisplayString((Yn=(un=l.report)==null?void 0:un.weather)!=null&&Yn.noExtrapolation?(Zn=o==null?void 0:o.goodWx)==null?void 0:Zn.distance:(Qn=o==null?void 0:o.allWx)==null?void 0:Qn.distance),1)]),PC,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=o==null?void 0:o.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((qn=(jn=o==null?void 0:o.fuelConclusion)==null?void 0:jn.fo)==null?void 0:qn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",LC,[WC,$C,HC,MC,e.createElementVNode("div",null,e.toDisplayString((vn=(Xn=o==null?void 0:o.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.minCons),1),IC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o==null?void 0:o.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.entireCons),1),RC,e.createElementVNode("div",null,e.toDisplayString((ls=(os=o==null?void 0:o.fuelConclusion)==null?void 0:os.fo)==null?void 0:ls.saving)+" (mt)",1)]),(ns=(as=o==null?void 0:o.goodWx)==null?void 0:as.inEca)!=null&&ns.distance?(e.openBlock(),e.createElementBlock("div",GC,[zC,UC,e.createElementVNode("div",uC,[e.createElementVNode("div",null,e.toDisplayString((is=(ss=l.report)==null?void 0:ss.weather)!=null&&is.noExtrapolation?(ds=(cs=o==null?void 0:o.goodWx)==null?void 0:cs.inEca)==null?void 0:ds.distance:(ms=(rs=o==null?void 0:o.allWx)==null?void 0:rs.inEca)==null?void 0:ms.distance)+" * "+e.toDisplayString((hs=(ps=o==null?void 0:o.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.saving),1),YC,e.createElementVNode("div",null,e.toDisplayString((ys=(_s=l.report)==null?void 0:_s.weather)!=null&&ys.noExtrapolation?(Es=o==null?void 0:o.goodWx)==null?void 0:Es.distance:(Ns=o==null?void 0:o.allWx)==null?void 0:Ns.distance),1)]),ZC,e.createElementVNode("div",null,e.toDisplayString((fs=(Vs=o==null?void 0:o.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((bs=(xs=o==null?void 0:o.fuelConclusion)==null?void 0:xs.fo)==null?void 0:bs.conclusionStatus)==="Over"?"flex-center lost":((Ds=(gs=o==null?void 0:o.fuelConclusion)==null?void 0:gs.fo)==null?void 0:Ds.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[QC,e.createElementVNode("div",null,e.toDisplayString(((Cs=(ks=o==null?void 0:o.fuelConclusion)==null?void 0:ks.fo)==null?void 0:Cs.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",JC,e.toDisplayString(a.noGoodWxDay),1)),((Bs=(Ss=o==null?void 0:o.extend)==null?void 0:Ss.cp)==null?void 0:Bs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",KC,[jC,e.createElementVNode("div",qC,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(ws=o==null?void 0:o.goodWx)!=null&&ws.distance?(e.openBlock(),e.createElementBlock("div",XC,[e.createElementVNode("div",vC,[eS,e.createElementVNode("div",tS,[e.createElementVNode("div",oS,[e.createElementVNode("div",null,e.toDisplayString((Ts=(As=l.report)==null?void 0:As.weather)!=null&&Ts.noExtrapolation?(Fs=o==null?void 0:o.goodWx)==null?void 0:Fs.distance:(Os=o==null?void 0:o.allWx)==null?void 0:Os.distance),1),lS,e.createElementVNode("div",null,e.toDisplayString((Ps=o==null?void 0:o.goodWx)==null?void 0:Ps.pfmSpd),1)]),aS,e.createElementVNode("div",nS,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Ls=o==null?void 0:o.goodWx)==null?void 0:Ls.sumDgoCons),1),(($s=(Ws=o==null?void 0:o.goodWx)==null?void 0:Ws.inEca)==null?void 0:$s.distance)>0?(e.openBlock(),e.createElementBlock("span",sS,[iS,e.createElementVNode("span",null,e.toDisplayString((Ms=(Hs=o==null?void 0:o.fuelConclusion)==null?void 0:Hs.fo)==null?void 0:Ms.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),cS,e.createElementVNode("div",null,e.toDisplayString((Is=o==null?void 0:o.goodWx)==null?void 0:Is.time),1)]),dS,e.createElementVNode("div",null,e.toDisplayString((Gs=(Rs=o.fuelConclusion)==null?void 0:Rs.dgo)==null?void 0:Gs.entireCons)+" (mt)",1),rS])]),e.createElementVNode("div",mS,[pS,e.createElementVNode("div",hS,[e.createElementVNode("div",_S,[e.createElementVNode("div",null,e.toDisplayString((Us=(zs=l.report)==null?void 0:zs.weather)!=null&&Us.noExtrapolation?(us=o==null?void 0:o.goodWx)==null?void 0:us.distance:(Ys=o==null?void 0:o.allWx)==null?void 0:Ys.distance),1),yS,e.createElementVNode("div",null,e.toDisplayString((Zs=o==null?void 0:o.timeConclusion)==null?void 0:Zs.minusAbtSpd),1)]),ES,e.createElementVNode("div",NS,[e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=o==null?void 0:o.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.overTolerance),1),VS,fS]),xS,e.createElementVNode("div",null,e.toDisplayString((js=(Ks=o.fuelConclusion)==null?void 0:Ks.dgo)==null?void 0:js.maxCons)+" (mt)",1),bS])]),e.createElementVNode("div",gS,[DS,e.createElementVNode("div",kS,[e.createElementVNode("div",CS,[e.createElementVNode("div",null,e.toDisplayString((Xs=(qs=l.report)==null?void 0:qs.weather)!=null&&Xs.noExtrapolation?(vs=o==null?void 0:o.goodWx)==null?void 0:vs.distance:(ei=o==null?void 0:o.allWx)==null?void 0:ei.distance),1),SS,e.createElementVNode("div",null,e.toDisplayString((ti=o==null?void 0:o.timeConclusion)==null?void 0:ti.minusAbtSpd),1)]),BS,e.createElementVNode("div",wS,[e.createElementVNode("div",null,e.toDisplayString((li=(oi=o==null?void 0:o.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.underTolerance),1),AS,TS]),FS,e.createElementVNode("div",null,e.toDisplayString((ni=(ai=o.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.minCons)+" (mt)",1),OS])]),e.createElementVNode("div",PS,[((ii=(si=o==null?void 0:o.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",LS,[WS,$S,HS,MS,e.createElementVNode("div",null,e.toDisplayString((di=(ci=o==null?void 0:o.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:di.entireCons),1),IS,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=o==null?void 0:o.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.maxCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((hi=(pi=o==null?void 0:o.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.overCons),1)])):((yi=(_i=o==null?void 0:o.fuelConclusion)==null?void 0:_i.fo)==null?void 0:yi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",GS,[zS,US,uS,YS,e.createElementVNode("div",null,e.toDisplayString((Ni=(Ei=o==null?void 0:o.fuelConclusion)==null?void 0:Ei.dgo)==null?void 0:Ni.minCons),1),ZS,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=o==null?void 0:o.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.entireCons),1),QS,e.createElementVNode("div",null,e.toDisplayString((bi=(xi=o==null?void 0:o.fuelConclusion)==null?void 0:xi.dgo)==null?void 0:bi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Di=(gi=o==null?void 0:o.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusionStatus)==="Over"?"flex-center lost":((Ci=(ki=o==null?void 0:o.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Ci.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[JS,e.createElementVNode("div",null,e.toDisplayString(((Bi=(Si=o==null?void 0:o.fuelConclusion)==null?void 0:Si.dgo)==null?void 0:Bi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",KS,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const qS=Ce(X0,[["render",jS],["__scopeId","data-v-f1b0225f"]]),QU="",XS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,l="0.0"){return t?ie.LngLatHelper.roundPrecision(t,s):l}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,l,r,a,n,y,i,p,x,g,h;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(l=this.report)==null?void 0:l.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((i=(y=this.report)==null?void 0:y.weather)==null?void 0:i.showSwell)??!0,this.showWave=((x=(p=this.report)==null?void 0:p.weather)==null?void 0:x.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},X=t=>(e.pushScopeId("data-v-d9a0628b"),t=t(),e.popScopeId(),t),vS={class:"report-inventory"},e5={class:"section summary-section"},t5=X(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),o5={class:"summary-block"},l5=X(()=>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)),a5={class:"label",rowspan:"4"},n5=X(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),s5=X(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),i5=X(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),c5=X(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),d5={class:"section inventory-section"},r5=e.createStaticVNode('<div class="legends flex-space" data-v-d9a0628b><div class="flex-start" style="flex:1.2;" data-v-d9a0628b><div class="legend good-wx" data-v-d9a0628b></div><div class="label flex-end" data-v-d9a0628b>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-d9a0628b><div class="legend adverse-wx" data-v-d9a0628b></div><div class="label" data-v-d9a0628b>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-d9a0628b><div class="legend excluded" data-v-d9a0628b></div><div class="label" data-v-d9a0628b>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-d9a0628b><div data-v-d9a0628b><label data-v-d9a0628b>B</label><span data-v-d9a0628b>BOSP</span></div><div data-v-d9a0628b><label data-v-d9a0628b>N</label><span data-v-d9a0628b>NOON</span></div><div data-v-d9a0628b><label data-v-d9a0628b>E</label><span data-v-d9a0628b>EOSP</span></div><div data-v-d9a0628b><label data-v-d9a0628b>*</label><span data-v-d9a0628b>Ship Reported Position</span></div></div></div>',1),m5={class:"inventory-block flex-center"},p5={style:{"font-size":"12px"}},h5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),_5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),y5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),E5=X(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),N5=["colspan"],V5={key:0,class:"label",colspan:"2"},f5=X(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),x5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),b5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),g5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),D5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),k5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),C5={key:0,class:"label",rowspan:"2"},S5=X(()=>e.createElementVNode("br",null,null,-1)),B5={key:1,class:"label",rowspan:"2"},w5=X(()=>e.createElementVNode("br",null,null,-1)),A5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),T5={key:2,class:"label",rowspan:"2"},F5=X(()=>e.createElementVNode("br",null,null,-1)),O5={key:3,class:"label",colspan:"2"},P5={key:4,class:"label",rowspan:"2"},L5=X(()=>e.createElementVNode("br",null,null,-1)),W5={key:5,class:"label",colspan:"2"},$5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),H5={key:6,class:"label",rowspan:"2"},M5={key:7,class:"label",rowspan:"2"},I5={key:8,class:"label",rowspan:"2"},R5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),G5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),z5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),U5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),u5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),Y5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),Z5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),Q5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),J5=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),K5=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),j5=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),q5=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),X5={key:0,class:"label"},v5={key:1,class:"label"},e4={key:2,class:"label"},t4={key:3,class:"label"},o4=X(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),l4=X(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),a4=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),n4=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),s4=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),i4=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),c4=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),d4=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),r4={class:"summary-tbody"};function m4(t,s,l,r,a,n){var y;return e.openBlock(),e.createElementBlock("div",vS,[e.createElementVNode("div",e5,[t5,e.createElementVNode("div",o5,[e.createElementVNode("table",null,[l5,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=l.report)==null?void 0:y.segments,(i,p)=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",a5,e.toDisplayString(p+1),1),n5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((E=i==null?void 0:i.allWx)==null?void 0:E.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=i==null?void 0:i.allWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[s5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=i==null?void 0:i.goodWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=i==null?void 0:i.goodWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=i==null?void 0:i.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[i5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=i==null?void 0:i.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((V=i==null?void 0:i.badWx)==null?void 0:V.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=i==null?void 0:i.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[c5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=i==null?void 0:i.excluded)==null?void 0:G.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=i==null?void 0:i.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=i==null?void 0:i.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",d5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("table",p5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[h5,_5,y5,E5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,N5),l.showFactor?(e.openBlock(),e.createElementBlock("th",V5,"Factor")):e.createCommentVNode("",!0),f5,x5]),e.createElementVNode("tr",null,[b5,g5,D5,k5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",C5,[e.createTextVNode("Spd"),S5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Dis"),w5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),A5,a.showWave?(e.openBlock(),e.createElementBlock("th",T5,[e.createTextVNode("Sea HT"),F5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",O5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",P5,[e.createTextVNode("Sig Wave"),L5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",W5,"Current")):e.createCommentVNode("",!0),$5,l.showFactor?(e.openBlock(),e.createElementBlock("th",H5,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",M5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",I5,"Water Temp.")):e.createCommentVNode("",!0),R5,G5,z5,U5,u5,Y5,Z5,Q5]),e.createElementVNode("tr",null,[J5,K5,j5,q5,a.showSwell?(e.openBlock(),e.createElementBlock("th",X5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",v5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",e4,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",t4,"CF(kts)")):e.createCommentVNode("",!0),o4,l4,a4,n4,s4,i4,c4,d4])]),e.createElementVNode("tbody",r4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(i,p)=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((x=i.noon)!=null&&x.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=i.noon)==null?void 0:g.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(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((E=(h=i.meteo)==null?void 0:h.wind)==null?void 0:E.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((b=(k=i.meteo)==null?void 0:k.wind)==null?void 0:b.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(D=(C=i.meteo)==null?void 0:C.wave)==null?void 0:D.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=i.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(V=i.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((z=(G=(R=i.meteo)==null?void 0:R.wave)==null?void 0:G.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=i.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=i.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=i.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const p4=Ce(XS,[["render",m4],["__scopeId","data-v-d9a0628b"]]),JU="",h4={name:"OrmVoyageChart",components:{Lng:Ja,Lat:Ka},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Za.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Za.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Za.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,x,g,h,E,k;const t=[],s=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(b=>b.noonLength)||[];n.unshift(n[0]),n.forEach((b,C)=>{var T,F,B,w,V,O,I,R,G,z,_,L,H,W;const D=this.computeUTCTime(C===0?b.utc:b.noonUtc,"MM-DD/HHmm[Z]");if(t.push(D),r=Math.ceil(((T=b.noon)==null?void 0:T.foCons)>r?(F=b.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=b.cp)==null?void 0:B.fo)>r?(w=b.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=b.noon)==null?void 0:V.dgoCons)>a?(O=b.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=b.cp)==null?void 0:I.dgo)>a?(R=b.cp)==null?void 0:R.dgo:a),s.push([D,(G=b.noon)==null?void 0:G.avgSpd,(z=b.noon)==null?void 0:z.foCons,(_=b.noon)==null?void 0:_.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([D,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:l.dateTime,y:l.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(x=(p=this.report)==null?void 0:p.weather)!=null&&x.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(y);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:l.dateTime,y:l.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(E=(h=this.report)==null?void 0:h.weather)!=null&&E.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(k=this.spdDgoConsChart)==null||k.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,x)=>{var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(x===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(g),r=Math.ceil(((k=(E=(h=p.meteo)==null?void 0:h.wave)==null?void 0:E.sig)==null?void 0:k.height)>r?(D=(C=(b=p.meteo)==null?void 0:b.wave)==null?void 0:C.sig)==null?void 0:D.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(V=(w=p.meteo)==null?void 0:w.wind)==null?void 0:V.direction,(O=p.noon)==null?void 0:O.seasHt,(G=(R=(I=p.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),x<n.length-1){const J=n[x+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const y={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(y)}}},ml=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),_4={class:"report-summary"},y4={class:"section chart-section"},E4=ml(()=>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)),N4={class:"chart-block"},V4={ref:"spdFoConsChart",class:"chart"},f4={ref:"spdDgoConsChart",class:"chart"},x4={ref:"currChart",class:"chart"},b4={class:"section map-section"},g4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),D4={class:"map-block"},k4={class:"flex-space"},C4={class:"voyage-block",style:{height:"197px"}},S4={class:"flex-space label-block",style:{width:"100%"}},B4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),w4={style:{"text-transform":"uppercase"}},A4={class:"flex-space label-block",style:{width:"100%"}},T4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),F4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},O4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},P4={class:"flex-space label-block",style:{width:"100%"}},L4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),W4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},$4={class:"flex-space label-block",style:{width:"100%"}},H4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},R4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),G4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),u4={key:0,class:"flex-end",style:{flex:"1"}},Y4={key:1,class:"flex-end",style:{flex:"1"}},Z4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q4={class:"flex-end",style:{width:"160px"}},J4={class:"flex-space label-block",style:{width:"100%"}},K4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),j4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},q4=e.createStaticVNode('<div class="legend-block" data-v-24e80f66><div style="position:absolute;margin-top:-8px;" data-v-24e80f66>LEGEND</div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>0812</div><div data-v-24e80f66><div data-v-24e80f66>08 - Day of the month</div><div data-v-24e80f66>12 - Hours of the day</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-24e80f66></i></div><div data-v-24e80f66><div data-v-24e80f66>Wind from N (000)</div><div data-v-24e80f66>Each bard = 10 kts</div><div data-v-24e80f66>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>W 4</div><div data-v-24e80f66> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-24e80f66><div class="good-wx" data-v-24e80f66>Date</div><div data-v-24e80f66>Good weather days</div></div></div>',1),X4=["src"],v4=e.createStaticVNode('<div class="section method-section" data-v-24e80f66><div class="header-block flex-center" data-v-24e80f66><i class="iconfont" data-v-24e80f66></i><div class="title" data-v-24e80f66>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>1. Good Weather Method</div><div class="method-body" data-v-24e80f66> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-24e80f66> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>4. “About”</div><div class="method-body" data-v-24e80f66> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-24e80f66> 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-24e80f66> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>6. Further reference materials</div><div class="method-body" data-v-24e80f66>Please send mail to <a href="mailto:op@ormwx.com" data-v-24e80f66>op@ormwx.com</a>.</div></div></div></div>',1);function eB(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",_4,[e.createElementVNode("div",y4,[E4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,null,512),e.createElementVNode("div",f4,null,512),e.createElementVNode("div",x4,null,512)])]),e.createElementVNode("div",b4,[g4,e.createElementVNode("div",D4,[e.createElementVNode("div",k4,[e.createElementVNode("div",C4,[e.createElementVNode("div",S4,[B4,e.createElementVNode("span",w4,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",A4,[T4,e.createElementVNode("span",F4,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1),e.createElementVNode("span",O4,"("+e.toDisplayString((h=(g=l.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",P4,[L4,e.createElementVNode("span",W4,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",$4,[H4,(C=(b=l.report)==null?void 0:b.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(y,{lat:(B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),R4,e.createVNode(i,{lng:(w=l.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",G4,e.toDisplayString(n.computeUTCTime((V=l.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,(I=(O=l.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",u4,e.toDisplayString((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",Y4,[e.createVNode(y,{lat:(_=(z=l.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Z4,e.createVNode(i,{lng:(H=(L=l.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Q4,e.toDisplayString(n.computeUTCTime((P=(W=l.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",J4,[K4,e.createElementVNode("span",j4,e.toDisplayString((Q=(M=l.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),q4]),e.createElementVNode("img",{src:(U=l.report)==null?void 0:U.chartUrl,alt:""},null,8,X4)])]),v4])}const tB=Ce(h4,[["render",eB],["__scopeId","data-v-24e80f66"]]),KU="",oB={name:"OrmVoyageIndex",components:{Brand:no,VoySummary:qS,Inventory:p4,Chart:tB,Loading:Qa},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,l;const t=[];(l=(s=this.report)==null?void 0:s.segments)==null||l.forEach(r=>{const a=r.extend.cp;let n,y,i=!1;r.inventory.sample.hours.forEach((p,x)=>{n||(n=p),(!y||i)&&(y=p,i=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),y.noonLength=(y.noonLength||0)+1;let g=p.type.charAt(0);["N","M","E"].includes(g)&&(i=!0,y.dailyAvgCf=p.dailyAvgCf,y.avgSpdCalc=p.avgSpdCalc,y.distanceCalc=p.distanceCalc,y.noonUtc=p.utc),p.abbrev=g,g=g==="M"?"*":g==="A"?"":g,p.time=`${g} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ie.LngLatHelper.lng2pretty(p.lng),p._lat=ie.LngLatHelper.lat2pretty(p.lat),p.cp=a,t.push(p)})}),t.sort((r,a)=>r.date-a.date),this.inventory=t}}};function lB(t,s,l,r,a,n){var h,E;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),x=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((E=(h=l.report)==null?void 0:h.weather)!=null&&E.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(y,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=k=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:l.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(x,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(g,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const pn=Ce(oB,[["render",lB],["__scopeId","data-v-894b875a"]]),aB={install(t){t.component("FliVoyageReport",mn),t.component("OrmVoyageReport",pn)}},jU="",qU="",XU="",nB={name:"IdmTropical",components:{TropicalReport:Ii.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},sB={class:"typhoon-report-container"};function iB(t,s,l,r,a,n){const y=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",sB,[l.report?(e.openBlock(),e.createBlock(y,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const hn=Ce(nB,[["render",iB],["__scopeId","data-v-a14ce9ba"]]),cB={install(t){t.component("TropicalReport",hn)}},vU="",dB={name:"OrmInvoice",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Ze=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),rB={class:"invoice-report"},mB={class:"section items-section"},pB={class:"flex-start"},hB=Ze(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),_B=["innerHTML"],yB={class:"flex-space"},EB={class:"invoice-item"},NB={key:0,class:"invoice-item"},VB=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),fB=Ze(()=>e.createElementVNode("td",null,"NO.",-1)),xB=["colspan"],bB=Ze(()=>e.createElementVNode("td",null,"Amounts",-1)),gB=["colspan"],DB=["colspan"],kB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],CB={class:"total"},SB=["colspan"],BB=[Ze(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],wB={class:"total"},AB=["colspan"],TB={class:"total"},FB={key:1},OB=["colspan"],PB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],LB={class:"total"},WB={key:0,class:"memo-block"},$B=Ze(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),HB=["innerHTML"],MB={class:"section company-section"},IB=Ze(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),RB={class:"company-item"},GB=Ze(()=>e.createElementVNode("label",null,"Bank",-1)),zB={class:"company-item"},UB=Ze(()=>e.createElementVNode("label",null,"Account",-1)),uB={class:"company-item"},YB=Ze(()=>e.createElementVNode("label",null,"Title",-1)),ZB={class:"company-item"},QB=Ze(()=>e.createElementVNode("label",null,"Addr",-1)),JB={class:"company-item"},KB=Ze(()=>e.createElementVNode("label",null,"Tel",-1)),jB={class:"company-item"},qB=Ze(()=>e.createElementVNode("label",null,"Tax ID",-1)),XB={class:"company-item"},vB=Ze(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),ew={class:"company-item"},tw=Ze(()=>e.createElementVNode("label",null,"Bank Name",-1)),ow={class:"company-item"},lw=Ze(()=>e.createElementVNode("label",null,"Bank Address",-1)),aw={class:"company-item"},nw=Ze(()=>e.createElementVNode("label",null,"Account No.",-1)),sw={class:"company-item"},iw=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),cw={class:"company-item"},dw=Ze(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),rw={class:"company-item"},mw=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),pw={class:"company-item"},hw=Ze(()=>e.createElementVNode("label",null,"ABA NO.",-1)),_w=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function yw(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",rB,[e.createVNode(y,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",mB,[e.createElementVNode("div",pB,[hB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(x=(p=(i=l.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:x.replace(`
|
|
42
|
+
`,"<br/>")},null,8,_B)]),e.createElementVNode("div",yB,[e.createElementVNode("div",EB,"Invoice No. "+e.toDisplayString(l.report.number),1),(g=l.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",NB,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[VB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(q,he)=>{var Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((Ve=(Ne=(Ee=q.props)==null?void 0:Ee[0])==null?void 0:Ne.voyage)==null?void 0:Ve.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(xe=(fe=q.props)==null?void 0:fe[0])==null?void 0:xe.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((ke=(De=(ge=q.props)==null?void 0:ge[0])==null?void 0:De.vessel)==null?void 0:ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(Te=(Ae=q.props)==null?void 0:Ae[0])==null?void 0:Te.voyage)==null?void 0:Fe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Le=(Pe=(Oe=q.props)==null?void 0:Oe[0])==null?void 0:Pe.departure)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString((pe=($e=(We=q.props)==null?void 0:We[0])==null?void 0:$e.departure)==null?void 0:pe.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=(Qe=q.props)==null?void 0:Qe[0])==null?void 0:Je.destination)==null?void 0:Ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Ie=(Se=(A=q.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ie.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(E=a.reservations4Point)!=null&&E.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[fB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,xB),bB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(q,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(q.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(q.items),9,gB),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((k=l.report)==null?void 0:k.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},kB,8,DB),e.createElementVNode("td",CB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},BB,8,SB),e.createElementVNode("td",wB,[e.createElementVNode("span",null,e.toDisplayString((b=l.report)==null?void 0:b.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,AB),e.createElementVNode("td",TB,"¥"+e.toDisplayString((C=l.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",FB,[e.createElementVNode("td",{colspan:a.maxColspans},PB,8,OB),e.createElementVNode("td",LB,[e.createElementVNode("span",null,e.toDisplayString(`$${(D=l.report)==null?void 0:D.paymentAmount}`),1)])]))])]),(T=l.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",WB,[$B,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=l.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
43
|
+
`,"<br/>")},null,8,HB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",MB,[IB,((w=l.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",RB,[GB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(V=l.report)==null?void 0:V.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",zB,[UB,e.createElementVNode("span",null,e.toDisplayString((R=a.account[(I=l.report)==null?void 0:I.paymentType])==null?void 0:R.number),1)]),e.createElementVNode("div",uB,[YB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(G=l.report)==null?void 0:G.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=l.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",JB,[KB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=l.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",jB,[qB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=l.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",XB,[vB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=l.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",ew,[tw,e.createElementVNode("span",null,e.toDisplayString((ae=a.account[(J=l.report)==null?void 0:J.paymentType])==null?void 0:ae.bank),1)]),e.createElementVNode("div",ow,[lw,e.createElementVNode("span",null,e.toDisplayString((o=a.account[(ne=l.report)==null?void 0:ne.paymentType])==null?void 0:o.bankAddr),1)]),e.createElementVNode("div",aw,[nw,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=l.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",sw,[iw,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=l.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",cw,[dw,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=l.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",rw,[mw,e.createElementVNode("span",null,e.toDisplayString((re=a.account[(se=l.report)==null?void 0:se.paymentType])==null?void 0:re.intermediaryBankSwift),1)]),e.createElementVNode("div",pw,[hw,e.createElementVNode("span",null,e.toDisplayString((ye=a.account[(me=l.report)==null?void 0:me.paymentType])==null?void 0:ye.intermediaryBankAbaNo),1)])],64))]),_w])}const _n=Ce(dB,[["render",yw],["__scopeId","data-v-95c80c22"]]),lu="",Ew={components:{IdmBrand:no},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},_l=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),Nw={class:"invoice-report"},Vw={class:"section items-section"},fw={class:"flex-start"},xw=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),bw=["innerHTML"],gw={class:"flex-space"},Dw={class:"invoice-item"},kw={key:0,class:"invoice-item"},Cw=_l(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),Sw=_l(()=>e.createElementVNode("td",null,"NO.",-1)),Bw=["colspan"],ww=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),Aw=["colspan"],Tw=["colspan"],Fw=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],Ow={class:"total"},Pw=["colspan"],Lw=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],Ww={class:"total"},$w=["colspan"],Hw={class:"total"},Mw={key:1},Iw=["colspan"],Rw=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],Gw={class:"total"},zw={key:0,class:"memo-block"},Uw=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),uw=["innerHTML"];function Yw(t,s,l,r,a,n){var y,i,p,x,g,h,E,k,b,C,D,T,F;return e.openBlock(),e.createElementBlock("div",Nw,[e.createElementVNode("div",Vw,[e.createElementVNode("div",fw,[xw,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(y=l.report)==null?void 0:y.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
|
|
44
|
+
`,"<br/>")},null,8,bw)]),e.createElementVNode("div",gw,[e.createElementVNode("div",Dw,"Invoice No. "+e.toDisplayString(l.report.number),1),(x=l.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",kw,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Cw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(V=B.props)==null?void 0:V[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(G=(R=B.props)==null?void 0:R[0])==null?void 0:G.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((o=(ne=(ae=B.props)==null?void 0:ae[0])==null?void 0:ne.departure)==null?void 0:o.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(j=B.props)==null?void 0:j[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Sw,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,Bw),ww])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,Aw),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((E=l.report)==null?void 0:E.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},Fw,8,Tw),e.createElementVNode("td",Ow,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},Lw,8,Pw),e.createElementVNode("td",Ww,[e.createElementVNode("span",null,e.toDisplayString((k=l.report)==null?void 0:k.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,$w),e.createElementVNode("td",Hw,"¥"+e.toDisplayString((b=l.report)==null?void 0:b.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",Mw,[e.createElementVNode("td",{colspan:a.maxColspans},Rw,8,Iw),e.createElementVNode("td",Gw,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=l.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(D=l.report)!=null&&D.memo?(e.openBlock(),e.createElementBlock("div",zw,[Uw,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=l.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|
|
45
|
+
`,"<br/>")},null,8,uw)])):e.createCommentVNode("",!0)])])}const yn=Ce(Ew,[["render",Yw],["__scopeId","data-v-744130ab"]]),Zw={install(t){t.component("OrmInvoiceReport",_n),t.component("FliInvoiceReport",yn)}},Qw=t=>((typeof t=="string"||typeof t=="number")&&(t=K(t)),t),Jw=(t,s="MMM-DD,YYYY/HHmm[Z]")=>Kw(t,s),Kw=(t,s="MMM-DD/HHmm[Z]")=>(t=Qw(t),t?`${t.utc().format(s)}`:"-"),iu="",jw={name:"IdmEditableItem",components:{Edit:Ya.Edit,Close:Ya.Close,IdmEditor:Ro},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return Jw(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},qw={class:"idm-editable-item"},Xw=["innerHTML"],vw={key:3,class:"buttons"};function e8(t,s,l,r,a,n){const y=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),x=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),E=e.resolveComponent("ElSelect"),k=e.resolveComponent("ElRadio"),b=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),D=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",qw,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:l.align})},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:l.width+"px"})},e.toDisplayString(l.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=V=>a.model=V),size:l.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),l.type==="number"?(e.openBlock(),e.createBlock(x,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),size:l.size,controls:l.controls,min:l.min,max:l.max,step:l.step,precision:l.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),l.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),size:l.size,type:"datetime",class:"datetime",format:l.format,"value-format":l.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),l.type==="select"?(e.openBlock(),e.createBlock(E,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=V=>a.model=V),size:l.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="remoteSelect"?(e.openBlock(),e.createBlock(E,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="remotePortSelect"?(e.openBlock(),e.createBlock(E,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="radio"?(e.openBlock(),e.createBlock(b,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:l.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.radios,V=>(e.openBlock(),e.createBlock(k,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="checkbox"?(e.openBlock(),e.createBlock(D,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=V=>a.model=V),size:l.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.checkboxs,V=>(e.openBlock(),e.createBlock(C,{label:V.value,key:V.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.raw?(e.openBlock(),e.createBlock(y,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(y,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(l.value,l.format)),33)):l.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l.value||""},null,8,Xw)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[typeof l.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value||"-"),1)],64))],32))],64))],64)),!l.disabled&&l.iconable&&typeof l.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",vw,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:l.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:l.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const En=Ce(jw,[["render",e8]]),cu="",t8={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:En,Editor:Ro,IdmBrand:no},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,l,r;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(l=this.report)!=null&&l.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.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 l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(y=this.report)==null?void 0:y.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,l,r){var y,i,p,x,g;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.report)!=null&&x.comments?(g=this.report)==null?void 0:g.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=t=>(e.pushScopeId("data-v-c2e105cd"),t=t(),e.popScopeId(),t),o8={class:"deviation-report"},l8={class:"section vessel-section"},a8={class:"report-summary"},n8={class:"summary-item"},s8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),i8={class:"flexL gray"},c8={class:"summary-item"},d8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),r8={class:"flexL gray"},m8={class:"summary-item"},p8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),h8={class:"flexL gray"},_8={class:"summary-item"},y8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),E8={class:"flexL gray"},N8={class:"summary-item"},V8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),f8={class:"flexL gray",style:{display:"flex"}},x8={class:"flex"},b8={class:"flexM"},g8={class:"summary-item"},D8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),k8={class:"flexL gray",style:{display:"flex"}},C8={class:"flex"},S8={class:"flexM"},B8={class:"section summary-section"},w8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),A8={class:"report-summary"},T8={class:"summary-item"},F8=f(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),O8={class:"summary-item"},P8=f(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),L8={class:"summary-item"},W8=f(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),$8={class:"summary-item"},H8=f(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),M8={class:"section map-section"},I8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),R8={class:"report-map"},G8=["src"],z8=e.createStaticVNode('<div class="legend" data-v-c2e105cd><div class="legend-item" data-v-c2e105cd><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c2e105cd></div><div data-v-c2e105cd>Actual Route</div></div><div class="legend-item" data-v-c2e105cd><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c2e105cd></div><div data-v-c2e105cd>Route prior to deviation</div></div></div>',1),U8={key:0,class:"section deviation-section"},u8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),Y8={class:"report-summary"},Z8=e.createStaticVNode('<div class="summary-item" data-v-c2e105cd><div class="blue center" style="width:17%;" data-v-c2e105cd>Deviation</div><div class="blue center" style="width:20%;" data-v-c2e105cd>Position</div><div class="blue center" style="width:17%;" data-v-c2e105cd>Date Time</div><div class="flex blue center" data-v-c2e105cd>FO BROB<br data-v-c2e105cd>(mt)</div><div class="flex blue center" data-v-c2e105cd>DO/GO<br data-v-c2e105cd>BROB (mt)</div><div class="flex blue center" data-v-c2e105cd>Bunkering<br data-v-c2e105cd>FO (mt)</div><div class="flex blue center" data-v-c2e105cd>Bunkering<br data-v-c2e105cd>DO/GO (mt)</div></div>',1),Q8={class:"summary-item"},J8=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),K8={class:"blue center",style:{width:"20%"}},j8={class:"blue center",style:{width:"17%"}},q8={class:"flex blue center"},X8={class:"flex blue center"},v8=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),e6=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),t6={class:"summary-item"},o6=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),l6={class:"blue center",style:{width:"20%"}},a6={class:"blue center",style:{width:"17%"}},n6={class:"flex blue center"},s6={class:"flex blue center"},i6={class:"flex blue center"},c6={class:"flex blue center"},d6={class:"summary-item"},r6=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),m6=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),p6={class:"blue center",style:{width:"17%"}},h6={class:"flex blue center"},_6={class:"flex blue center"},y6=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),E6=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),N6={class:"section cp-section"},V6=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),f6={class:"report-summary"},x6={class:"summary-item"},b6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),g6={class:"flexL blue center"},D6={class:"summary-item"},k6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),C6={class:"flexL blue center"},S6={class:"summary-item"},B6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),w6={class:"flexL blue center"},A6={class:"section port-section"},T6={class:"subtitle port"},F6=f(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),O6={class:"print-hidden"},P6={class:"report-port"},L6=f(()=>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)),W6={rowspan:2},$6=f(()=>e.createElementVNode("td",null,"Arrival",-1)),H6=f(()=>e.createElementVNode("td",null,null,-1)),M6=f(()=>e.createElementVNode("td",null,null,-1)),I6={rowspan:2,class:"print-hidden"},R6=f(()=>e.createElementVNode("td",null,"Departure",-1)),G6=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),z6=f(()=>e.createElementVNode("td",null,null,-1)),U6=f(()=>e.createElementVNode("td",null,null,-1)),u6=f(()=>e.createElementVNode("td",null,null,-1)),Y6=f(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),Z6={class:"section distance-section"},Q6=f(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),J6={class:"report-summary"},K6=f(()=>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)),j6={class:"summary-item"},q6=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),X6={class:"flex blue center"},v6={class:"flex blue center"},e9={class:"summary-item"},t9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),o9={class:"flex blue center"},l9={class:"section time-section"},a9=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),n9={key:0,class:"report-formular"},s9={class:"equation"},i9=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-c2e105cd>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-c2e105cd>=</div><div class="function" style="width:20%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:5%;" data-v-c2e105cd>=</div>',4),c9={class:"function",style:{width:"20%"}},d9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),m9={style:{width:"10%"}},p9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),h9={class:"equation"},_9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:28%;" data-v-c2e105cd>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>+</div><div style="width:23%;" data-v-c2e105cd>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',6),y9={style:{width:"5%"}},E9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),N9={style:{width:"8%"}},V9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),f9={style:{width:"4%"}},x9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),b9={key:1,class:"report-formular"},g9={class:"equation"},D9=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-c2e105cd>=</div><div class="function" style="width:20%;" data-v-c2e105cd><div data-v-c2e105cd>Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:5%;" data-v-c2e105cd>=</div>',4),k9={class:"function",style:{width:"20%"}},C9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),S9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),B9={style:{width:"10%"}},w9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),A9={key:0,class:"equation"},T9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:24%;" data-v-c2e105cd>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:30%;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',6),F9={style:{width:"5%"}},O9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),P9={style:{width:"5%"}},L9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),W9={style:{width:"5%"}},$9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),H9={key:1,class:"equation"},M9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:24%;" data-v-c2e105cd>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>Time spent in port (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',8),I9={style:{width:"5%"}},R9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),G9={style:{width:"5%"}},z9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),U9={style:{width:"5%"}},u9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),Y9={style:{width:"5%"}},Z9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),Q9={key:2,class:"report-summary"},J9={class:"summary-item"},K9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),j9={class:"flex blue center"},q9={class:"summary-item"},X9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),v9={class:"flex blue center"},eA={class:"summary-item"},tA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),oA={class:"flex blue center"},lA={key:3,class:"report-summary"},aA={class:"summary-item"},nA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),sA={class:"flex blue center"},iA={class:"summary-item"},cA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),dA={class:"flex blue center"},rA={key:0,class:"summary-item"},mA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),pA={class:"flex blue center"},hA={class:"summary-item"},_A=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),yA={class:"flex blue center"},EA={class:"section consumption-section"},NA=f(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),VA={key:0,class:"report-formular"},fA={class:"equation"},xA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>Daily FO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),bA={class:"function",style:{width:"5%"}},gA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),kA={class:"function",style:{width:"5%"}},CA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=f(()=>e.createElementVNode("div",null,"24",-1)),BA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),wA={style:{width:"5%"}},AA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TA={class:"equation"},FA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-c2e105cd>+</div><div style="width:23%;" data-v-c2e105cd>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),OA={style:{width:"5%"}},PA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),LA={style:{width:"5%"}},WA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$A={style:{width:"5%"}},HA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MA={class:"equation"},IA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>Daily DO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),RA={class:"function",style:{width:"5%"}},GA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),UA={class:"function",style:{width:"5%"}},uA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),YA=f(()=>e.createElementVNode("div",null,"24",-1)),ZA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QA={style:{width:"5%"}},JA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KA={class:"equation"},jA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),qA={style:{width:"5%"}},XA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vA={style:{width:"5%"}},e7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),t7={style:{width:"5%"}},o7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),l7={key:1,class:"report-formular"},a7={class:"equation"},n7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Route prior to deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>CP Daily FO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),s7={class:"function",style:{width:"5%"}},i7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),d7={class:"function",style:{width:"5%"}},r7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),m7=f(()=>e.createElementVNode("div",null,"24",-1)),p7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),h7={style:{width:"5%"}},_7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),y7={class:"equation"},E7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Route prior to deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>CP Daily DO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),N7={class:"function",style:{width:"5%"}},V7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),x7={class:"function",style:{width:"5%"}},b7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g7=f(()=>e.createElementVNode("div",null,"24",-1)),D7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),k7={style:{width:"5%"}},C7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),S7={key:0,class:"equation"},B7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>FO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),w7={style:{width:"5%"}},A7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),T7={style:{width:"5%"}},F7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),O7={style:{width:"5%"}},P7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),L7={key:1,class:"equation"},W7=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:15%;" data-v-c2e105cd>FO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>FO Consumption in port</div><div style="width:3%;" data-v-c2e105cd>=</div>',8),$7={style:{width:"5%"}},H7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),M7={style:{width:"5%"}},I7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),R7={style:{width:"5%"}},G7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),z7={style:{width:"5%"}},U7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),u7={key:2,class:"equation"},Y7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),Z7={style:{width:"5%"}},Q7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),J7={style:{width:"5%"}},K7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),j7={style:{width:"5%"}},q7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),X7={key:3,class:"equation"},v7=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:15%;" data-v-c2e105cd>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>DO/GO Consumption in port</div><div style="width:3%;" data-v-c2e105cd>=</div>',8),eT={style:{width:"5%"}},tT=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),oT={style:{width:"5%"}},lT=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),aT={style:{width:"5%"}},nT=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sT={style:{width:"5%"}},iT=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),cT={key:2,class:"report-summary"},dT=f(()=>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)),rT={class:"summary-item"},mT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),pT={class:"flex blue center"},hT={class:"flex blue center"},_T={class:"summary-item"},yT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),ET={class:"flex blue center"},NT={class:"flex blue center"},VT={class:"summary-item"},fT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),xT={key:3,class:"report-summary"},bT=f(()=>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)),gT={class:"summary-item"},DT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),kT={class:"flex blue center"},CT={class:"flex blue center"},ST={class:"summary-item"},BT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),wT={class:"flex blue center"},AT={class:"flex blue center"},TT={key:0,class:"summary-item"},FT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),OT={class:"flex blue center"},PT={class:"flex blue center"},LT={class:"summary-item"},WT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),$T={class:"section comment-section"},HT=["innerHTML"];function MT(t,s,l,r,a,n){var E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Y,lo,Ma,Ia,Ra;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),p=e.resolveComponent("CirclePlus"),x=e.resolveComponent("el-icon"),g=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",o8,[e.createVNode(y,{name:"Voyage Deviation Report"}),e.createElementVNode("div",l8,[e.createElementVNode("div",a8,[e.createElementVNode("div",n8,[s8,e.createElementVNode("div",i8,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",c8,[d8,e.createElementVNode("div",r8,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",m8,[p8,e.createElementVNode("div",h8,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",_8,[y8,e.createElementVNode("div",E8,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",N8,[V8,e.createElementVNode("div",f8,[e.createElementVNode("span",x8,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",b8,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",g8,[D8,e.createElementVNode("div",k8,[e.createElementVNode("span",C8,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",S8,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])])]),e.createElementVNode("div",B8,[w8,e.createElementVNode("div",A8,[e.createElementVNode("div",T8,[F8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",O8,[P8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ae=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ae.totalExtraTime)??"—"),3)]),e.createElementVNode("div",L8,[W8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(ne=a.extraData)==null?void 0:ne.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",$8,[H8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((se=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:se.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",M8,[I8,e.createElementVNode("div",R8,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,G8),z8])]),((he=l.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",U8,[u8,e.createElementVNode("div",Y8,[Z8,e.createElementVNode("div",Q8,[J8,e.createElementVNode("div",K8,e.toDisplayString(n.computedLngLat((Ee=a.extraData)==null?void 0:Ee.startLat,(Ne=a.extraData)==null?void 0:Ne.startLng)),1),e.createElementVNode("div",j8,e.toDisplayString(n.computeUTCTime((Ve=a.extraData)==null?void 0:Ve.startTime)),1),e.createElementVNode("div",q8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",X8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(xe=a.extraData)==null?void 0:xe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),v8,e6]),e.createElementVNode("div",t6,[o6,e.createElementVNode("div",l6,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLat,(ge=a.extraData)==null?void 0:ge.endLng)),1),e.createElementVNode("div",a6,e.toDisplayString(n.computeUTCTime((De=a.extraData)==null?void 0:De.endTime)),1),e.createElementVNode("div",n6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",s6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",i6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("div",c6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("div",d6,[r6,m6,e.createElementVNode("div",p6,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",h6,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",_6,e.toDisplayString(((Je=(Qe=(pe=a.extraData)==null?void 0:pe.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Je.actualCons)??"—"),1),y6,E6])])])):e.createCommentVNode("",!0),e.createElementVNode("div",N6,[V6,e.createElementVNode("div",f6,[e.createElementVNode("div",x6,[b6,e.createElementVNode("div",g6,e.toDisplayString(((A=(Ke=a.extraData)==null?void 0:Ke.cp)==null?void 0:A.speed)??"—"),1)]),e.createElementVNode("div",D6,[k6,e.createElementVNode("div",C6,e.toDisplayString(((Ie=(Se=a.extraData)==null?void 0:Se.cp)==null?void 0:Ie.fo)??"—"),1)]),e.createElementVNode("div",S6,[B6,e.createElementVNode("div",w6,e.toDisplayString(((qe=(je=a.extraData)==null?void 0:je.cp)==null?void 0:qe.dgo)??"—"),1)])])]),e.createElementVNode("div",A6,[e.createElementVNode("div",T6,[F6,e.createElementVNode("div",O6,[e.createVNode(x,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["onClick"])])]),e.createElementVNode("div",P6,[e.createElementVNode("table",null,[L6,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var Ga,za,Ua,Ye,ja,qa,Xa,va;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",W6,[e.createVNode(i,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:st=>n.handleCommit("port","name",st,ao)},null,8,["value","options","onSelect","onCommit"])]),$6,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ga=Z==null?void 0:Z.arrival)==null?void 0:Ga.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","arrival.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(za=Z==null?void 0:Z.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ua=Z==null?void 0:Z.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.dgoBrob",st,ao)},null,8,["value","onCommit"])]),H6,M6,e.createElementVNode("td",I6,[e.createVNode(x,{size:20,onClick:st=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[R6,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ye=Z==null?void 0:Z.departure)==null?void 0:Ye.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","departure.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ja=Z==null?void 0:Z.departure)==null?void 0:ja.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=Z==null?void 0:Z.departure)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.dgoBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=Z==null?void 0:Z.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringFo",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(va=Z==null?void 0:Z.departure)==null?void 0:va.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringDgo",st,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[G6,z6,e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=a.extraData)==null?void 0:Xe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString((($=(m=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:m.fo)==null?void 0:$.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=(He=(Be=a.extraData)==null?void 0:Be.consAnalysis)==null?void 0:He.dgo)==null?void 0:Re.portCons)??"—"),1),U6,u6,Y6])])])])]),e.createElementVNode("div",Z6,[Q6,e.createElementVNode("div",J6,[K6,e.createElementVNode("div",j6,[q6,e.createElementVNode("div",X6,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(ce=a.extraData)==null?void 0:ce.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extraData","actualDist",Z,t.index))},null,8,["value"])]),e.createElementVNode("div",v6,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(ze=a.extraData)==null?void 0:ze.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extraData","priorDist",Z,t.index))},null,8,["value"])])]),e.createElementVNode("div",e9,[t9,e.createElementVNode("div",o9,e.toDisplayString(((tt=a.extraData)==null?void 0:tt.extraDist)??"—"),1)])])]),e.createElementVNode("div",l9,[a9,((ot=l.report)==null?void 0:ot.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",n9,[e.createElementVNode("div",s9,[i9,e.createElementVNode("div",c9,[e.createElementVNode("div",null,e.toDisplayString((ct=a.extraData)==null?void 0:ct.extraDist),1),d9,e.createElementVNode("div",null,e.toDisplayString((rt=(dt=a.extraData)==null?void 0:dt.cp)==null?void 0:rt.speed),1)]),r9,e.createElementVNode("div",m9,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),p9]),e.createElementVNode("div",h9,[_9,e.createElementVNode("div",y9,e.toDisplayString((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.sailingTime),1),E9,e.createElementVNode("div",N9,e.toDisplayString(n.computeNum((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.portTime)),1),V9,e.createElementVNode("div",f9,e.toDisplayString((ft=(Vt=a.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:ft.totalExtraTime),1),x9])])):(e.openBlock(),e.createElementBlock("div",b9,[e.createElementVNode("div",g9,[D9,e.createElementVNode("div",k9,[e.createElementVNode("div",null,e.toDisplayString((xt=a.extraData)==null?void 0:xt.priorDist),1),C9,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),S9,e.createElementVNode("div",B9,e.toDisplayString((kt=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:kt.sailingTime),1),w9]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",A9,[T9,e.createElementVNode("div",F9,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),O9,e.createElementVNode("div",P9,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.sailingTime),1),L9,e.createElementVNode("div",W9,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.totalExtraTime),1),$9])):(e.openBlock(),e.createElementBlock("div",H9,[M9,e.createElementVNode("div",I9,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.actualTime),1),R9,e.createElementVNode("div",G9,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.sailingTime),1),z9,e.createElementVNode("div",U9,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.portTime),1),u9,e.createElementVNode("div",Y9,e.toDisplayString((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.totalExtraTime),1),Z9]))])),((_o=l.report)==null?void 0:_o.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Q9,[e.createElementVNode("div",J9,[K9,e.createElementVNode("div",j9,e.toDisplayString(((Eo=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:Eo.sailingTime)??"—"),1)]),e.createElementVNode("div",q9,[X9,e.createElementVNode("div",v9,e.toDisplayString(((S=(No=a.extraData)==null?void 0:No.timeAnalysis)==null?void 0:S.portTime)??"—"),1)]),e.createElementVNode("div",eA,[tA,e.createElementVNode("div",oA,e.toDisplayString(((lt=(Me=a.extraData)==null?void 0:Me.timeAnalysis)==null?void 0:lt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",lA,[e.createElementVNode("div",aA,[nA,e.createElementVNode("div",sA,e.toDisplayString((pt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:pt.sailingTime),1)]),e.createElementVNode("div",iA,[cA,e.createElementVNode("div",dA,e.toDisplayString((Lt=(Pt=a.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Lt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",rA,[mA,e.createElementVNode("div",pA,e.toDisplayString((($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",hA,[_A,e.createElementVNode("div",yA,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:Mt.totalExtraTime),1)])]))]),e.createElementVNode("div",EA,[NA,((It=l.report)==null?void 0:It.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",VA,[e.createElementVNode("div",fA,[xA,e.createElementVNode("div",bA,[e.createElementVNode("div",null,e.toDisplayString((Rt=a.extraData)==null?void 0:Rt.extraDist),1),gA,e.createElementVNode("div",null,e.toDisplayString((zt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:zt.speed),1)]),DA,e.createElementVNode("div",kA,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=a.extraData)==null?void 0:Ut.cp)==null?void 0:ut.fo),1),CA,SA]),BA,e.createElementVNode("div",wA,e.toDisplayString((Qt=(Zt=(Yt=a.extraData)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.sailingCons),1),AA]),e.createElementVNode("div",TA,[FA,e.createElementVNode("div",OA,e.toDisplayString((jt=(Kt=(Jt=a.extraData)==null?void 0:Jt.consAnalysis)==null?void 0:Kt.fo)==null?void 0:jt.sailingCons),1),PA,e.createElementVNode("div",LA,e.toDisplayString(n.computeNum((vt=(Xt=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.portCons)),1),WA,e.createElementVNode("div",$A,e.toDisplayString((oo=(to=(eo=a.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.totalExtraCons),1),HA]),e.createElementVNode("div",MA,[IA,e.createElementVNode("div",RA,[e.createElementVNode("div",null,e.toDisplayString((Vo=a.extraData)==null?void 0:Vo.extraDist),1),GA,e.createElementVNode("div",null,e.toDisplayString((xo=(fo=a.extraData)==null?void 0:fo.cp)==null?void 0:xo.speed),1)]),zA,e.createElementVNode("div",UA,[e.createElementVNode("div",null,e.toDisplayString((go=(bo=a.extraData)==null?void 0:bo.cp)==null?void 0:go.dgo),1),uA,YA]),ZA,e.createElementVNode("div",QA,e.toDisplayString((Co=(ko=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Co.sailingCons),1),JA]),e.createElementVNode("div",KA,[jA,e.createElementVNode("div",qA,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),XA,e.createElementVNode("div",vA,e.toDisplayString(n.computeNum((Fo=(To=(Ao=a.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:To.dgo)==null?void 0:Fo.portCons)),1),e7,e.createElementVNode("div",t7,e.toDisplayString((Lo=(Po=(Oo=a.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),o7])])):(e.openBlock(),e.createElementBlock("div",l7,[e.createElementVNode("div",a7,[n7,e.createElementVNode("div",s7,[e.createElementVNode("div",null,e.toDisplayString((Wo=a.extraData)==null?void 0:Wo.priorDist),1),i7,e.createElementVNode("div",null,e.toDisplayString((Ho=($o=a.extraData)==null?void 0:$o.cp)==null?void 0:Ho.speed),1)]),c7,e.createElementVNode("div",d7,[e.createElementVNode("div",null,e.toDisplayString((Io=(Mo=a.extraData)==null?void 0:Mo.cp)==null?void 0:Io.fo),1),r7,m7]),p7,e.createElementVNode("div",h7,e.toDisplayString((Uo=(zo=(Go=a.extraData)==null?void 0:Go.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),_7]),e.createElementVNode("div",y7,[E7,e.createElementVNode("div",N7,[e.createElementVNode("div",null,e.toDisplayString((uo=a.extraData)==null?void 0:uo.priorDist),1),V7,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=a.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),f7,e.createElementVNode("div",x7,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=a.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.dgo),1),b7,g7]),D7,e.createElementVNode("div",k7,e.toDisplayString((qo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.dgo)==null?void 0:qo.sailingCons),1),C7]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",S7,[B7,e.createElementVNode("div",w7,e.toDisplayString((el=(vo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:vo.fo)==null?void 0:el.actualCons),1),A7,e.createElementVNode("div",T7,e.toDisplayString(n.computeNum((ll=(ol=(tl=a.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.sailingCons)),1),F7,e.createElementVNode("div",O7,e.toDisplayString((sl=(nl=(al=a.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.totalExtraCons),1),P7])):(e.openBlock(),e.createElementBlock("div",L7,[W7,e.createElementVNode("div",$7,e.toDisplayString((dl=(cl=(il=a.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.actualCons),1),H7,e.createElementVNode("div",M7,e.toDisplayString(n.computeNum((pl=(nt=(rl=a.extraData)==null?void 0:rl.consAnalysis)==null?void 0:nt.fo)==null?void 0:pl.sailingCons)),1),I7,e.createElementVNode("div",R7,e.toDisplayString(n.computeNum((Nl=(El=(yl=a.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:Nl.portCons)),1),G7,e.createElementVNode("div",z7,e.toDisplayString((xl=(fl=(Vl=a.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:fl.fo)==null?void 0:xl.totalExtraCons),1),U7])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",u7,[Y7,e.createElementVNode("div",Z7,e.toDisplayString((Dl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:Dl.actualCons),1),Q7,e.createElementVNode("div",J7,e.toDisplayString((Sl=(Cl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Cl.dgo)==null?void 0:Sl.sailingCons),1),K7,e.createElementVNode("div",j7,e.toDisplayString((Al=(wl=(Bl=a.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Al.totalExtraCons),1),q7])):(e.openBlock(),e.createElementBlock("div",X7,[v7,e.createElementVNode("div",eT,e.toDisplayString((Ol=(Fl=(Tl=a.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.actualCons),1),tT,e.createElementVNode("div",oT,e.toDisplayString(n.computeNum((Wl=(Ll=(Pl=a.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons)),1),lT,e.createElementVNode("div",aT,e.toDisplayString(n.computeNum((Ml=(Hl=($l=a.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),nT,e.createElementVNode("div",sT,e.toDisplayString((Gl=(Rl=(Il=a.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:Gl.totalExtraCons),1),iT]))])),((zl=l.report)==null?void 0:zl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",cT,[dT,e.createElementVNode("div",rT,[mT,e.createElementVNode("div",pT,e.toDisplayString(((Yl=(ul=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:ul.fo)==null?void 0:Yl.sailingCons)??"—"),1),e.createElementVNode("div",hT,e.toDisplayString(((Jl=(Ql=(Zl=a.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.sailingCons)??"—"),1)]),e.createElementVNode("div",_T,[yT,e.createElementVNode("div",ET,e.toDisplayString(((ql=(jl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:ql.portCons)??"—"),1),e.createElementVNode("div",NT,e.toDisplayString(((ea=(vl=(Xl=a.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:vl.dgo)==null?void 0:ea.portCons)??"—"),1)]),e.createElementVNode("div",VT,[fT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((la=(oa=(ta=a.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.fo)==null?void 0:la.totalExtraCons)} flex blue center`)},e.toDisplayString(((sa=(na=(aa=a.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((da=(ca=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ca.dgo)==null?void 0:da.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ma=(ra=a.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",xT,[bT,e.createElementVNode("div",gT,[DT,e.createElementVNode("div",kT,e.toDisplayString((ya=(_a=(ha=a.extraData)==null?void 0:ha.consAnalysis)==null?void 0:_a.fo)==null?void 0:ya.sailingCons),1),e.createElementVNode("div",CT,e.toDisplayString((Va=(Na=(Ea=a.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1)]),e.createElementVNode("div",ST,[BT,e.createElementVNode("div",wT,e.toDisplayString((ba=(xa=(fa=a.extraData)==null?void 0:fa.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",AT,e.toDisplayString((ka=(Da=(ga=a.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.dgo)==null?void 0:ka.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",TT,[FT,e.createElementVNode("div",OT,e.toDisplayString((Ba=(Sa=(Ca=a.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.fo)==null?void 0:Ba.portCons),1),e.createElementVNode("div",PT,e.toDisplayString((Ta=(Aa=(wa=a.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ta.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",LT,[WT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Oa=(Fa=a.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Oa.fo)==null?void 0:Pa.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Wa=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:$a.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((lo=(Y=(Ha=a.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Y.dgo)==null?void 0:lo.totalExtraCons)} flex blue center`)},e.toDisplayString((Ra=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons),3)])]))]),e.createElementVNode("div",$T,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Z=>a.advisory=Z),height:"320px",onBlur:s[9]||(s[9]=Z=>n.handleCommit("comments","comments",Z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Z)=>n.decideDisable&&n.decideDisable(...Z)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,HT))],2)])])}const Nn=Ce(t8,[["render",MT],["__scopeId","data-v-c2e105cd"]]),du="",IT={name:"FliDvtRpt",components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:En,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/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJ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jhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const l=ie.LngLatHelper.lat2pretty(t).pretty,r=ie.LngLatHelper.lng2pretty(s).pretty;return`${l} / ${r}`}},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:{fetchData(){var t,s,l,r;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(l=this.data)!=null&&l.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.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 l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(y=this.data)==null?void 0:y.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,l,r){var y,i,p,x,g;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.data)!=null&&x.comments?(g=this.data)==null?void 0:g.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=t=>(e.pushScopeId("data-v-eba493df"),t=t(),e.popScopeId(),t),RT={class:"deviation-report"},GT=N(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),zT={class:"report-header"},UT={class:"header-title",style:{position:"relative !important"}},uT={class:"header-title-content"},YT=N(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),ZT={class:"title-date"},QT={class:"report-summary"},JT={class:"summary-item"},KT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),jT={class:"flexL gray"},qT={class:"summary-item"},XT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),vT={class:"flexL gray"},eF={class:"summary-item"},tF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),oF={class:"flexL gray"},lF={class:"summary-item"},aF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),nF={class:"flexL gray"},sF={class:"summary-item"},iF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),cF={class:"flexL gray",style:{display:"flex"}},dF={class:"flex"},rF={class:"flexM"},mF={class:"summary-item"},pF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),hF={class:"flexL gray",style:{display:"flex"}},_F={class:"flex"},yF={class:"flexM"},EF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),NF={class:"report-summary"},VF={class:"summary-item"},fF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),xF={class:"summary-item"},bF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),gF={class:"summary-item"},DF=N(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),kF={class:"summary-item"},CF=N(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),SF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),BF={class:"report-map"},wF=["src"],AF=e.createStaticVNode('<div class="legend" data-v-eba493df><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-eba493df></div><div data-v-eba493df>Actual Route</div></div><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-eba493df></div><div data-v-eba493df>Route prior to deviation</div></div></div>',1),TF=N(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),FF={key:0,class:"subtitle"},OF={key:1,class:"report-summary"},PF=e.createStaticVNode('<div class="summary-item" data-v-eba493df><div class="blue center" style="width:16%;" data-v-eba493df>Diversion</div><div class="blue center" style="width:20%;" data-v-eba493df>Position</div><div class="blue center" style="width:17%;" data-v-eba493df>Date Time</div><div class="flex blue center" data-v-eba493df>FO BROB<br data-v-eba493df>(mt)</div><div class="flex blue center" data-v-eba493df>DO/GO<br data-v-eba493df>BROB (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>FO (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>DO/GO (mt)</div></div>',1),LF={class:"summary-item"},WF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),$F={class:"blue center",style:{width:"20%"}},HF={class:"blue center",style:{width:"17%"}},MF={class:"flex blue center"},IF={class:"flex blue center"},RF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),GF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),zF={class:"summary-item"},UF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),uF={class:"blue center",style:{width:"20%"}},YF={class:"blue center",style:{width:"17%"}},ZF={class:"flex blue center"},QF={class:"flex blue center"},JF={class:"flex blue center"},KF={class:"flex blue center"},jF={class:"summary-item"},qF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),XF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),vF={class:"blue center",style:{width:"17%"}},eO={class:"flex blue center"},tO={class:"flex blue center"},oO=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),lO=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aO=N(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),nO={class:"report-summary"},sO={class:"summary-item"},iO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),cO={class:"flexL blue center"},dO={class:"summary-item"},rO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),mO={class:"flexL blue center"},pO={class:"summary-item"},hO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),_O={class:"flexL blue center"},yO={class:"subtitle port"},EO=N(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),NO={class:"print-hidden"},VO={class:"report-port"},fO=N(()=>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)),xO={rowspan:2},bO=N(()=>e.createElementVNode("td",null,"Arrival",-1)),gO=N(()=>e.createElementVNode("td",null,null,-1)),DO=N(()=>e.createElementVNode("td",null,null,-1)),kO={rowspan:2,class:"print-hidden"},CO=N(()=>e.createElementVNode("td",null,"Departure",-1)),SO=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),BO=N(()=>e.createElementVNode("td",null,null,-1)),wO=N(()=>e.createElementVNode("td",null,null,-1)),AO=N(()=>e.createElementVNode("td",null,null,-1)),TO=N(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),FO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),OO={class:"report-summary"},PO=N(()=>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)),LO={class:"summary-item"},WO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),$O={class:"flex blue center"},HO={class:"flex blue center"},MO={class:"summary-item"},IO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),RO={class:"flex blue center"},GO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),zO={key:2,class:"report-formular"},UO={class:"equation"},uO=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),YO={class:"function",style:{width:"20%"}},ZO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),JO={style:{width:"10%"}},KO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),jO={class:"equation"},qO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:28%;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),XO={style:{width:"5%"}},vO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),eP={style:{width:"8%"}},tP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),oP={style:{width:"4%"}},lP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),aP={key:3,class:"report-formular"},nP={class:"equation"},sP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),iP={class:"function",style:{width:"20%"}},cP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rP={style:{width:"10%"}},mP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),pP={key:0,class:"equation"},hP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:30%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),_P={style:{width:"5%"}},yP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),EP={style:{width:"5%"}},NP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),VP={style:{width:"5%"}},fP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),xP={key:1,class:"equation"},bP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>Time spent in port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',8),gP={style:{width:"5%"}},DP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),kP={style:{width:"5%"}},CP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),SP={style:{width:"5%"}},BP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),wP={style:{width:"5%"}},AP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),TP={key:4,class:"report-summary"},FP={class:"summary-item"},OP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),PP={class:"flex blue center"},LP={class:"summary-item"},WP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),$P={class:"flex blue center"},HP={class:"summary-item"},MP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),IP={class:"flex blue center"},RP={key:5,class:"report-summary"},GP={class:"summary-item"},zP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),UP={class:"flex blue center"},uP={class:"summary-item"},YP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),ZP={class:"flex blue center"},QP={key:0,class:"summary-item"},JP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),KP={class:"flex blue center"},jP={class:"summary-item"},qP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),XP={class:"flex blue center"},vP=N(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),eL={key:6,class:"report-formular"},tL={class:"equation"},oL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),lL={class:"function",style:{width:"5%"}},aL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sL={class:"function",style:{width:"5%"}},iL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cL=N(()=>e.createElementVNode("div",null,"24",-1)),dL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rL={style:{width:"5%"}},mL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),pL={class:"equation"},hL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),_L={style:{width:"5%"}},yL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),EL={style:{width:"5%"}},NL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VL={style:{width:"5%"}},fL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xL={class:"equation"},bL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),gL={class:"function",style:{width:"5%"}},DL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),CL={class:"function",style:{width:"5%"}},SL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BL=N(()=>e.createElementVNode("div",null,"24",-1)),wL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),AL={style:{width:"5%"}},TL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),FL={class:"equation"},OL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),PL={style:{width:"5%"}},LL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),WL={style:{width:"5%"}},$L=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HL={style:{width:"5%"}},ML=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),IL={key:7,class:"report-formular"},RL={class:"equation"},GL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),zL={class:"function",style:{width:"5%"}},UL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),YL={class:"function",style:{width:"5%"}},ZL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QL=N(()=>e.createElementVNode("div",null,"24",-1)),JL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KL={style:{width:"5%"}},jL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qL={class:"equation"},XL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),vL={class:"function",style:{width:"5%"}},eW=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),oW={class:"function",style:{width:"5%"}},lW=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aW=N(()=>e.createElementVNode("div",null,"24",-1)),nW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),sW={style:{width:"5%"}},iW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),cW={key:0,class:"equation"},dW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),rW={style:{width:"5%"}},mW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),pW={style:{width:"5%"}},hW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_W={style:{width:"5%"}},yW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EW={key:1,class:"equation"},NW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>FO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),VW={style:{width:"5%"}},fW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),xW={style:{width:"5%"}},bW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),gW={style:{width:"5%"}},DW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),kW={style:{width:"5%"}},CW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SW={key:2,class:"equation"},BW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),wW={style:{width:"5%"}},AW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TW={style:{width:"5%"}},FW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OW={style:{width:"5%"}},PW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),LW={key:3,class:"equation"},WW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>DO/GO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),$W={style:{width:"5%"}},HW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),MW={style:{width:"5%"}},IW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),RW={style:{width:"5%"}},GW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zW={style:{width:"5%"}},UW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uW={key:8,class:"report-summary"},YW=N(()=>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)),ZW={class:"summary-item"},QW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),JW={class:"flex blue center"},KW={class:"flex blue center"},jW={class:"summary-item"},qW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),XW={class:"flex blue center"},vW={class:"flex blue center"},e$={class:"summary-item"},t$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),o$={key:9,class:"report-summary"},l$=N(()=>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)),a$={class:"summary-item"},n$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),s$={class:"flex blue center"},i$={class:"flex blue center"},c$={class:"summary-item"},d$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),r$={class:"flex blue center"},m$={class:"flex blue center"},p$={key:0,class:"summary-item"},h$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),_$={class:"flex blue center"},y$={class:"flex blue center"},E$={class:"summary-item"},N$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),V$=["innerHTML"];function f$(t,s,l,r,a,n){var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha;const y=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),x=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",RT,[GT,e.createElementVNode("div",zT,[e.createElementVNode("div",UT,[e.createElementVNode("div",uT,[YT,e.createElementVNode("div",ZT,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",QT,[e.createElementVNode("div",JT,[KT,e.createElementVNode("div",jT,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",vT,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",lF,[aF,e.createElementVNode("div",nF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",sF,[iF,e.createElementVNode("div",cF,[e.createElementVNode("span",dF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",rF,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",mF,[pF,e.createElementVNode("div",hF,[e.createElementVNode("span",_F,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",yF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),EF,e.createElementVNode("div",NF,[e.createElementVNode("div",VF,[fF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",xF,[bF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ae=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ae.totalExtraTime)??"—"),3)]),e.createElementVNode("div",gF,[DF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(ne=a.extraData)==null?void 0:ne.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",kF,[CF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((se=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:se.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),SF,e.createElementVNode("div",BF,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,wF),AF]),TF,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",FF,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",OF,[PF,e.createElementVNode("div",LF,[WF,e.createElementVNode("div",$F,e.toDisplayString(n.computedLngLat((he=a.extraData)==null?void 0:he.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",HF,e.toDisplayString(n.computeUTCTime((Ne=a.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",MF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ve=a.extraData)==null?void 0:Ve.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Y=>n.handleCommit("extra","startFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",IF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Y=>n.handleCommit("extra","startDgoBrob",Y))},null,8,["value"])]),RF,GF]),e.createElementVNode("div",zF,[UF,e.createElementVNode("div",uF,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(be=a.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",YF,e.toDisplayString(n.computeUTCTime((ge=a.extraData)==null?void 0:ge.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",ZF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Y=>n.handleCommit("extra","endFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",QF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Y=>n.handleCommit("extra","endDgoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",JF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Y=>n.handleCommit("extra","endFoBunkering",Y))},null,8,["value"])]),e.createElementVNode("div",KF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Y=>n.handleCommit("extra","endDgoBunkering",Y))},null,8,["value"])])]),e.createElementVNode("div",jF,[qF,XF,e.createElementVNode("div",vF,e.toDisplayString(((Oe=(Fe=a.extraData)==null?void 0:Fe.timeAnalysis)==null?void 0:Oe.actualTime)??"—"),1),e.createElementVNode("div",eO,e.toDisplayString(((We=(Le=(Pe=a.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",tO,e.toDisplayString(((Qe=(pe=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:pe.dgo)==null?void 0:Qe.actualCons)??"—"),1),oO,lO])])),aO,e.createElementVNode("div",nO,[e.createElementVNode("div",sO,[iO,e.createElementVNode("div",cO,e.toDisplayString(((Ke=(Je=a.extraData)==null?void 0:Je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",dO,[rO,e.createElementVNode("div",mO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",pO,[hO,e.createElementVNode("div",_O,e.toDisplayString(((je=(Ie=a.extraData)==null?void 0:Ie.cp)==null?void 0:je.dgo)??"—"),1)])]),e.createElementVNode("div",yO,[EO,e.createElementVNode("div",NO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",VO,[e.createElementVNode("table",null,[fO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Y,lo)=>{var Ma,Ia,Ra,Z,ao,Ga,za,Ua;return e.openBlock(),e.createElementBlock(e.Fragment,{key:lo},[e.createElementVNode("tr",null,[e.createElementVNode("td",xO,[e.createVNode(y,{class:"editable-item",value:Y==null?void 0:Y.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Ye=>n.handleCommit("port","name",Ye,lo)},null,8,["value","options","onSelect","onCommit"])]),bO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Ma=Y==null?void 0:Y.arrival)==null?void 0:Ma.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ia=Y==null?void 0:Y.arrival)==null?void 0:Ia.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ra=Y==null?void 0:Y.arrival)==null?void 0:Ra.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),gO,DO,e.createElementVNode("td",kO,[e.createVNode(p,{size:20,onClick:Ye=>n.handleRemove(lo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[CO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Z=Y==null?void 0:Y.departure)==null?void 0:Z.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","departure.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(ao=Y==null?void 0:Y.departure)==null?void 0:ao.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ga=Y==null?void 0:Y.departure)==null?void 0:Ga.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(za=Y==null?void 0:Y.departure)==null?void 0:za.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringFo",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ua=Y==null?void 0:Y.departure)==null?void 0:Ua.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringDgo",Ye,lo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[SO,BO,e.createElementVNode("td",null,e.toDisplayString(((Xe=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:Xe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:He.portCons)??"—"),1),wO,AO,TO])])])]),FO,e.createElementVNode("div",OO,[PO,e.createElementVNode("div",LO,[WO,e.createElementVNode("div",$O,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Y=>n.handleCommit("extraData","actualDist",Y,t.index))},null,8,["value"])]),e.createElementVNode("div",HO,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(ce=a.extraData)==null?void 0:ce.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Y=>n.handleCommit("extraData","priorDist",Y,t.index))},null,8,["value"])])]),e.createElementVNode("div",MO,[IO,e.createElementVNode("div",RO,e.toDisplayString(((ze=a.extraData)==null?void 0:ze.extraDist)??"—"),1)])]),GO,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",zO,[e.createElementVNode("div",UO,[uO,e.createElementVNode("div",YO,[e.createElementVNode("div",null,e.toDisplayString((tt=a.extraData)==null?void 0:tt.extraDist),1),ZO,e.createElementVNode("div",null,e.toDisplayString((ct=(ot=a.extraData)==null?void 0:ot.cp)==null?void 0:ct.speed),1)]),QO,e.createElementVNode("div",JO,e.toDisplayString((rt=(dt=a.extraData)==null?void 0:dt.timeAnalysis)==null?void 0:rt.sailingTime),1),KO]),e.createElementVNode("div",jO,[qO,e.createElementVNode("div",XO,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),vO,e.createElementVNode("div",eP,e.toDisplayString(n.computeNum((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.portTime)),1),tP,e.createElementVNode("div",oP,e.toDisplayString((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),lP])])):(e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",iP,[e.createElementVNode("div",null,e.toDisplayString((Vt=a.extraData)==null?void 0:Vt.priorDist),1),cP,e.createElementVNode("div",null,e.toDisplayString((xt=(ft=a.extraData)==null?void 0:ft.cp)==null?void 0:xt.speed),1)]),dP,e.createElementVNode("div",rP,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:gt.sailingTime),1),mP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",pP,[hP,e.createElementVNode("div",_P,e.toDisplayString((kt=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:kt.actualTime),1),yP,e.createElementVNode("div",EP,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),NP,e.createElementVNode("div",VP,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.totalExtraTime),1),fP])):(e.openBlock(),e.createElementBlock("div",xP,[bP,e.createElementVNode("div",gP,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.actualTime),1),DP,e.createElementVNode("div",kP,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.sailingTime),1),CP,e.createElementVNode("div",SP,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.portTime),1),BP,e.createElementVNode("div",wP,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.totalExtraTime),1),AP]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",TP,[e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.sailingTime)??"—"),1)]),e.createElementVNode("div",LP,[WP,e.createElementVNode("div",$P,e.toDisplayString(((yo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:yo.portTime)??"—"),1)]),e.createElementVNode("div",HP,[MP,e.createElementVNode("div",IP,e.toDisplayString(((No=(Eo=a.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:No.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",RP,[e.createElementVNode("div",GP,[zP,e.createElementVNode("div",UP,e.toDisplayString((Me=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Me.sailingTime),1)]),e.createElementVNode("div",uP,[YP,e.createElementVNode("div",ZP,e.toDisplayString((at=(lt=a.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",QP,[JP,e.createElementVNode("div",KP,e.toDisplayString(((Pt=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:Pt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",jP,[qP,e.createElementVNode("div",XP,e.toDisplayString((Wt=(Lt=a.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:Wt.totalExtraTime),1)])])),vP,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",eL,[e.createElementVNode("div",tL,[oL,e.createElementVNode("div",lL,[e.createElementVNode("div",null,e.toDisplayString(($t=a.extraData)==null?void 0:$t.extraDist),1),aL,e.createElementVNode("div",null,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.cp)==null?void 0:Mt.speed),1)]),nL,e.createElementVNode("div",sL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(It=a.extraData)==null?void 0:It.cp)==null?void 0:Rt.fo),1),iL,cL]),dL,e.createElementVNode("div",rL,e.toDisplayString((Ut=(zt=(Gt=a.extraData)==null?void 0:Gt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.sailingCons),1),mL]),e.createElementVNode("div",pL,[hL,e.createElementVNode("div",_L,e.toDisplayString((Zt=(Yt=(ut=a.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Yt.fo)==null?void 0:Zt.sailingCons),1),yL,e.createElementVNode("div",EL,e.toDisplayString(n.computeNum((Kt=(Jt=(Qt=a.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:Kt.portCons)),1),NL,e.createElementVNode("div",VL,e.toDisplayString((Xt=(qt=(jt=a.extraData)==null?void 0:jt.consAnalysis)==null?void 0:qt.fo)==null?void 0:Xt.totalExtraCons),1),fL]),e.createElementVNode("div",xL,[bL,e.createElementVNode("div",gL,[e.createElementVNode("div",null,e.toDisplayString((vt=a.extraData)==null?void 0:vt.extraDist),1),DL,e.createElementVNode("div",null,e.toDisplayString((to=(eo=a.extraData)==null?void 0:eo.cp)==null?void 0:to.speed),1)]),kL,e.createElementVNode("div",CL,[e.createElementVNode("div",null,e.toDisplayString((Vo=(oo=a.extraData)==null?void 0:oo.cp)==null?void 0:Vo.dgo),1),SL,BL]),wL,e.createElementVNode("div",AL,e.toDisplayString((bo=(xo=(fo=a.extraData)==null?void 0:fo.consAnalysis)==null?void 0:xo.dgo)==null?void 0:bo.sailingCons),1),TL]),e.createElementVNode("div",FL,[OL,e.createElementVNode("div",PL,e.toDisplayString((ko=(Do=(go=a.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.dgo)==null?void 0:ko.sailingCons),1),LL,e.createElementVNode("div",WL,e.toDisplayString(n.computeNum((Bo=(So=(Co=a.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:Bo.portCons)),1),$L,e.createElementVNode("div",HL,e.toDisplayString((To=(Ao=(wo=a.extraData)==null?void 0:wo.consAnalysis)==null?void 0:Ao.dgo)==null?void 0:To.totalExtraCons),1),ML])])):(e.openBlock(),e.createElementBlock("div",IL,[e.createElementVNode("div",RL,[GL,e.createElementVNode("div",zL,[e.createElementVNode("div",null,e.toDisplayString((Fo=a.extraData)==null?void 0:Fo.priorDist),1),UL,e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.speed),1)]),uL,e.createElementVNode("div",YL,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=a.extraData)==null?void 0:Lo.cp)==null?void 0:Wo.fo),1),ZL,QL]),JL,e.createElementVNode("div",KL,e.toDisplayString((Mo=(Ho=($o=a.extraData)==null?void 0:$o.consAnalysis)==null?void 0:Ho.fo)==null?void 0:Mo.sailingCons),1),jL]),e.createElementVNode("div",qL,[XL,e.createElementVNode("div",vL,[e.createElementVNode("div",null,e.toDisplayString((Io=a.extraData)==null?void 0:Io.priorDist),1),eW,e.createElementVNode("div",null,e.toDisplayString((zo=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:zo.speed),1)]),tW,e.createElementVNode("div",oW,[e.createElementVNode("div",null,e.toDisplayString((uo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:uo.dgo),1),lW,aW]),nW,e.createElementVNode("div",sW,e.toDisplayString((Qo=(Zo=(Yo=a.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.dgo)==null?void 0:Qo.sailingCons),1),iW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",cW,[dW,e.createElementVNode("div",rW,e.toDisplayString((jo=(Ko=(Jo=a.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:jo.actualCons),1),mW,e.createElementVNode("div",pW,e.toDisplayString(n.computeNum((vo=(Xo=(qo=a.extraData)==null?void 0:qo.consAnalysis)==null?void 0:Xo.fo)==null?void 0:vo.sailingCons)),1),hW,e.createElementVNode("div",_W,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),yW])):(e.openBlock(),e.createElementBlock("div",EW,[NW,e.createElementVNode("div",VW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),fW,e.createElementVNode("div",xW,e.toDisplayString(n.computeNum((cl=(il=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.sailingCons)),1),bW,e.createElementVNode("div",gW,e.toDisplayString(n.computeNum((nt=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:nt.portCons)),1),DW,e.createElementVNode("div",kW,e.toDisplayString((El=(yl=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.totalExtraCons),1),CW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",SW,[BW,e.createElementVNode("div",wW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),AW,e.createElementVNode("div",TW,e.toDisplayString((gl=(bl=(xl=a.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.dgo)==null?void 0:gl.sailingCons),1),FW,e.createElementVNode("div",OW,e.toDisplayString((Cl=(kl=(Dl=a.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Cl.totalExtraCons),1),PW])):(e.openBlock(),e.createElementBlock("div",LW,[WW,e.createElementVNode("div",$W,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),HW,e.createElementVNode("div",MW,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),IW,e.createElementVNode("div",RW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),GW,e.createElementVNode("div",zW,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),UW]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",uW,[YW,e.createElementVNode("div",ZW,[QW,e.createElementVNode("div",JW,e.toDisplayString(((Rl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Rl.sailingCons)??"—"),1),e.createElementVNode("div",KW,e.toDisplayString(((Ul=(zl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",jW,[qW,e.createElementVNode("div",XW,e.toDisplayString(((Zl=(Yl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Yl.fo)==null?void 0:Zl.portCons)??"—"),1),e.createElementVNode("div",vW,e.toDisplayString(((Kl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.portCons)??"—"),1)]),e.createElementVNode("div",e$,[t$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Xl=(ql=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:ql.fo)==null?void 0:Xl.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ia=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",o$,[l$,e.createElementVNode("div",a$,[n$,e.createElementVNode("div",s$,e.toDisplayString((ra=(da=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",i$,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",c$,[d$,e.createElementVNode("div",r$,e.toDisplayString((Ea=(ya=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:ya.fo)==null?void 0:Ea.actualCons),1),e.createElementVNode("div",m$,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",p$,[h$,e.createElementVNode("div",_$,e.toDisplayString((ga=(ba=(xa=a.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:ga.portCons),1),e.createElementVNode("div",y$,e.toDisplayString((Ca=(ka=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Ca.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",E$,[N$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Fa=(Ta=(Aa=a.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Fa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((La=(Pa=(Oa=a.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ha=($a=(Wa=a.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ha.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Y=>a.advisory=Y),height:"320px",onBlur:s[9]||(s[9]=Y=>n.handleCommit("comments","comments",Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Y)=>n.decideDisable&&n.decideDisable(...Y)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,V$))],2)])}const Vn=Ce(IT,[["render",f$],["__scopeId","data-v-eba493df"]]),x$={install(t){t.component("DeviationReport",Nn),t.component("FliDeviationReport",Vn)}},ru="",b$={name:"OrmStoppage",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA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viAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:""}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ie.LngLatHelper.roundPrecision(t,s)}}}},so=t=>(e.pushScopeId("data-v-3114937f"),t=t(),e.popScopeId(),t),g$={class:"stoppage-report"},D$={class:"report-summary"},k$={class:"summary-item"},C$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),S$={class:"flexL gray"},B$={class:"summary-item"},w$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),A$={class:"flexL gray"},T$={class:"summary-item"},F$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),O$={class:"flexL gray"},P$={class:"summary-item"},L$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),W$={class:"flexL gray"},$$={class:"summary-item"},H$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),M$={class:"flexL gray",style:{display:"flex"}},I$={class:"flex"},R$={class:"flexM"},G$={class:"summary-item"},z$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),U$={class:"flexL gray",style:{display:"flex"}},u$={class:"flex"},Y$={class:"flexM"},Z$=so(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Q$={class:"report-summary"},J$={class:"summary-item"},K$=so(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),j$={class:"summary-item"},q$=so(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),X$={class:"summary-item"},v$=so(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),eH=so(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),tH={class:"report-table"},oH=so(()=>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)),lH=so(()=>e.createElementVNode("td",null,"Stopped",-1)),aH={rowspan:2},nH={rowspan:2},sH={rowspan:2},iH=so(()=>e.createElementVNode("td",null,"Resumed",-1)),cH={class:"report-map flex-center"},dH=["src"];function rH(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",g$,[e.createVNode(y,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",D$,[e.createElementVNode("div",k$,[C$,e.createElementVNode("div",S$,e.toDisplayString((p=(i=l.report)==null?void 0:i.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",A$,e.toDisplayString((x=l.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",T$,[F$,e.createElementVNode("div",O$,e.toDisplayString((h=(g=l.report)==null?void 0:g.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",P$,[L$,e.createElementVNode("div",W$,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",$$,[H$,e.createElementVNode("div",M$,[e.createElementVNode("span",I$,e.toDisplayString((C=(b=l.report)==null?void 0:b.departure)==null?void 0:C.name),1),e.createElementVNode("span",R$,e.toDisplayString(n.computeUTCTime(((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.atd)||((B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.etd))),1)])]),e.createElementVNode("div",G$,[z$,e.createElementVNode("div",U$,[e.createElementVNode("span",u$,e.toDisplayString((V=(w=l.report)==null?void 0:w.arrival)==null?void 0:V.name),1),e.createElementVNode("span",Y$,e.toDisplayString(n.computeUTCTime(((I=(O=l.report)==null?void 0:O.arrival)==null?void 0:I.ata)||((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.eta))),1)])])]),Z$,e.createElementVNode("div",Q$,[e.createElementVNode("div",J$,[K$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((z=l.report)==null?void 0:z.totalTime))},e.toDisplayString(((_=l.report)==null?void 0:_.totalTime)??"—"),5)]),e.createElementVNode("div",j$,[q$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((L=l.report)==null?void 0:L.totalFoCons))},e.toDisplayString(((H=l.report)==null?void 0:H.totalFoCons)??"—"),5)]),e.createElementVNode("div",X$,[v$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((W=l.report)==null?void 0:W.totalDgoCons))},e.toDisplayString(((P=l.report)==null?void 0:P.totalDgoCons)??"—"),5)])]),eH,e.createElementVNode("div",tH,[e.createElementVNode("table",null,[oH,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[lH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((M=l.report)==null?void 0:M.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((Q=l.report)==null?void 0:Q.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((U=l.report)==null?void 0:U.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((J=l.report)==null?void 0:J.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ae=l.report)==null?void 0:ae.stopDgoBrob)??"-")),1),e.createElementVNode("td",aH,e.toDisplayString(n.computeRoundPrecision(((ne=l.report)==null?void 0:ne.totalTime)??"-")),1),e.createElementVNode("td",nH,e.toDisplayString(n.computeRoundPrecision(((o=l.report)==null?void 0:o.totalFoCons)??"-")),1),e.createElementVNode("td",sH,e.toDisplayString(n.computeRoundPrecision(((j=l.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[iH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((v=l.report)==null?void 0:v.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((ee=l.report)==null?void 0:ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((te=l.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=l.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=l.report)==null?void 0:le.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",cH,[e.createElementVNode("img",{src:(se=l.report)==null?void 0:se.chartUrl,alt:""},null,8,dH)])])}const fn=Ce(b$,[["render",rH],["__scopeId","data-v-3114937f"]]),mH={install(t){t.component("StoppageReport",fn)}},mu="",pH={name:"OrmComparison",components:{Editor:Ro,IdmBrand:no},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},_e=t=>(e.pushScopeId("data-v-99108259"),t=t(),e.popScopeId(),t),hH={class:"comparison-report"},_H={class:"report-summary"},yH={class:"summary-item"},EH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),NH={class:"flexL gray"},VH={class:"summary-item"},fH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),xH={class:"flexL gray"},bH={class:"summary-item"},gH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),DH={class:"flexL gray"},kH={class:"summary-item"},CH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),SH={class:"flexL gray"},BH={class:"summary-item"},wH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AH={class:"flexL gray"},TH={class:"summary-item"},FH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OH={class:"flexL gray",style:{display:"flex"}},PH={class:"flex"},LH={class:"flexM"},WH={class:"summary-item"},$H=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),HH={class:"flexL gray",style:{display:"flex"}},MH={class:"flex"},IH={class:"flexM"},RH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),GH={class:"report-summary"},zH={class:"summary-item"},UH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),uH={class:"summary-item"},YH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),ZH={class:"summary-item"},QH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),JH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KH={class:"report-map"},jH=["src"],qH=e.createStaticVNode('<div class="legend" data-v-99108259><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-99108259></div><div data-v-99108259>Actual Route</div></div><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-99108259></div><div data-v-99108259>Recommended Route</div></div></div>',1),XH={key:0,class:"subtitle"},vH={key:1,class:"report-summary"},eM={class:"summary-item"},tM=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),oM={class:"flexL blue center"},lM={class:"summary-item"},aM=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),nM={class:"flexL blue center"},sM={class:"summary-item"},iM=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),cM={class:"flexL blue center"},dM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),rM={class:"report-summary"},mM=_e(()=>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)),pM={class:"summary-item"},hM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),_M={class:"flex blue-light center"},yM={class:"flex blue-light center"},EM={class:"summary-item"},NM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),VM={class:"flex blue-light center"},fM={class:"flex blue-light center"},xM={class:"summary-item"},bM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),gM={class:"flex blue-light center"},DM={class:"flex blue-light center"},kM={class:"summary-item"},CM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),SM={class:"flex blue-light center"},BM={class:"flex blue-light center"},wM={class:"summary-item"},AM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),TM={class:"flex blue-light center"},FM={class:"flex blue-light center"},OM={class:"summary-item"},PM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),LM={class:"flex blue-light center"},WM={class:"flex blue-light center"},$M={class:"summary-item"},HM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),MM={class:"flex blue-light center italic"},IM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),RM={class:"report-summary"},GM=_e(()=>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)),zM={class:"summary-item"},UM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),uM={class:"flex blue-light center"},YM={class:"flex blue-light center"},ZM={class:"summary-item"},QM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),JM={class:"flex blue-light center"},KM={class:"flex blue-light center"},jM={class:"summary-item"},qM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),XM={class:"flex blue-light center"},vM={class:"flex blue-light center"},eI={class:"summary-item"},tI=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),oI={class:"flex blue-light center"},lI={class:"flex blue-light center"},aI={class:"summary-item"},nI=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),sI={class:"flex blue-light center italic"},iI={class:"summary-item"},cI=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),dI={class:"flex blue-light center italic"},rI=["innerHTML"];function mI(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hH,[e.createVNode(y,{name:"Voyage Comparison Report"}),e.createElementVNode("div",_H,[e.createElementVNode("div",yH,[EH,e.createElementVNode("div",NH,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",xH,e.toDisplayString((g=l.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",bH,[gH,e.createElementVNode("div",DH,e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",kH,[CH,e.createElementVNode("div",SH,e.toDisplayString((b=(k=l.report)==null?void 0:k.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",BH,[wH,e.createElementVNode("div",AH,e.toDisplayString((D=(C=l.report)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",TH,[FH,e.createElementVNode("div",OH,[e.createElementVNode("span",PH,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",LH,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=l.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",WH,[$H,e.createElementVNode("div",HH,[e.createElementVNode("span",MH,e.toDisplayString((R=(I=l.report)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",IH,e.toDisplayString(n.computeUTCTime(((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),RH,e.createElementVNode("div",GH,[e.createElementVNode("div",zH,[UH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=l.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=l.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",uH,[YH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=l.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",ZH,[QH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=l.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=l.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),JH,e.createElementVNode("div",KH,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.report)==null?void 0:J.chartUrl,alt:""},null,8,jH),qH]),(ae=l.report)!=null&&ae.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",XH,"CP Terms")),(ne=l.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",vH,[e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString(((j=(o=l.report)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",lM,[aM,e.createElementVNode("div",nM,e.toDisplayString(((ee=(v=l.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",sM,[iM,e.createElementVNode("div",cM,e.toDisplayString(((oe=(te=l.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),dM,e.createElementVNode("div",rM,[mM,e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,e.toDisplayString(((le=l.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",yM,e.toDisplayString(((se=l.report)==null?void 0:se.recmdDist)??"—"),1)]),e.createElementVNode("div",EM,[NM,e.createElementVNode("div",VM,e.toDisplayString(((re=l.report)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",fM,e.toDisplayString(((me=l.report)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",xM,[bM,e.createElementVNode("div",gM,e.toDisplayString(((ye=l.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",DM,e.toDisplayString(((q=l.report)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",kM,[CM,e.createElementVNode("div",SM,e.toDisplayString(((he=l.report)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",BM,e.toDisplayString(((Ee=l.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",wM,[AM,e.createElementVNode("div",TM,e.toDisplayString(((Ne=l.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",FM,e.toDisplayString(((Ve=l.report)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",OM,[PM,e.createElementVNode("div",LM,e.toDisplayString(((fe=l.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",WM,e.toDisplayString(((xe=l.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",$M,[HM,e.createElementVNode("div",MM,e.toDisplayString(n.compareTime((be=l.report)==null?void 0:be.actualTime,(ge=l.report)==null?void 0:ge.recmdTime)),1)])]),IM,e.createElementVNode("div",RM,[GM,e.createElementVNode("div",zM,[UM,e.createElementVNode("div",uM,e.toDisplayString(((De=l.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",YM,e.toDisplayString(((ke=l.report)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",ZM,[QM,e.createElementVNode("div",JM,e.toDisplayString(((Ae=l.report)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",KM,e.toDisplayString(((Te=l.report)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",jM,[qM,e.createElementVNode("div",XM,e.toDisplayString(((Fe=l.report)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",vM,e.toDisplayString(((Oe=l.report)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",eI,[tI,e.createElementVNode("div",oI,e.toDisplayString(((Pe=l.report)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",lI,e.toDisplayString(((Le=l.report)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",aI,[nI,e.createElementVNode("div",sI,e.toDisplayString(((We=l.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",iI,[cI,e.createElementVNode("div",dI,e.toDisplayString((($e=l.report)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,rI))],2)])}const xn=Ce(pH,[["render",mI],["__scopeId","data-v-99108259"]]),pu="",pI={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:{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Ptw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const l={[t]:s};await ua.put(`${this.gateway}/api/als/comparisons/${this.id}`,l,{headers:{Authorization:this.token}}),this.advisory=s}}},de=t=>(e.pushScopeId("data-v-f319bda0"),t=t(),e.popScopeId(),t),hI={class:"comparison-report"},_I=de(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),yI={class:"report-header"},EI={class:"header-title",style:{position:"relative !important"}},NI={class:"header-title-content"},VI=de(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),fI={class:"title-date"},xI={class:"report-summary"},bI={class:"summary-item"},gI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),DI={class:"flexL gray"},kI={class:"summary-item"},CI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),SI={class:"flexL gray"},BI={class:"summary-item"},wI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),AI={class:"flexL gray"},TI={class:"summary-item"},FI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),OI={class:"flexL gray"},PI={class:"summary-item"},LI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),WI={class:"flexL gray"},$I={class:"summary-item"},HI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),MI={class:"flexL gray",style:{display:"flex"}},II={class:"flex"},RI={class:"flexM"},GI={class:"summary-item"},zI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),UI={class:"flexL gray",style:{display:"flex"}},uI={class:"flex"},YI={class:"flexM"},ZI=de(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),QI={class:"report-summary"},JI={class:"summary-item"},KI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),jI={class:"summary-item"},qI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),XI={class:"summary-item"},vI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),eR=de(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),tR={class:"report-map"},oR=["src"],lR=e.createStaticVNode('<div class="legend" data-v-f319bda0><div class="legend-item" data-v-f319bda0><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-f319bda0></div><div data-v-f319bda0>Actual Route</div></div><div class="legend-item" data-v-f319bda0><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-f319bda0></div><div data-v-f319bda0>Ocean π Recommended Route</div></div></div>',1),aR=de(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),nR={key:0,class:"subtitle"},sR={key:1,class:"report-summary"},iR={class:"summary-item"},cR=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),dR={class:"flexL blue center"},rR={class:"summary-item"},mR=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),pR={class:"flexL blue center"},hR={class:"summary-item"},_R=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),yR={class:"flexL blue center"},ER=de(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),NR={class:"report-summary"},VR=de(()=>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)),fR={class:"summary-item"},xR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),bR={class:"flex blue-light center"},gR={class:"flex blue-light center"},DR={class:"summary-item"},kR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),CR={class:"flex blue-light center"},SR={class:"flex blue-light center"},BR={class:"summary-item"},wR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),AR={class:"flex blue-light center"},TR={class:"flex blue-light center"},FR={class:"summary-item"},OR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),PR={class:"flex blue-light center"},LR={class:"flex blue-light center"},WR={class:"summary-item"},$R=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),HR={class:"flex blue-light center"},MR={class:"flex blue-light center"},IR={class:"summary-item"},RR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),GR={class:"flex blue-light center"},zR={class:"flex blue-light center"},UR={class:"summary-item"},uR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),YR={class:"flex blue-light center italic"},ZR=de(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),QR={class:"report-summary"},JR=de(()=>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)),KR={class:"summary-item"},jR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),qR={class:"flex blue-light center"},XR={class:"flex blue-light center"},vR={class:"summary-item"},eG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),tG={class:"flex blue-light center"},oG={class:"flex blue-light center"},lG={class:"summary-item"},aG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),nG={class:"flex blue-light center"},sG={class:"flex blue-light center"},iG={class:"summary-item"},cG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),dG={class:"flex blue-light center"},rG={class:"flex blue-light center"},mG={class:"summary-item"},pG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),hG={class:"flex blue-light center italic"},_G={class:"summary-item"},yG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),EG={class:"flex blue-light center italic"},NG=["innerHTML"];function VG(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hI,[_I,e.createElementVNode("div",yI,[e.createElementVNode("div",EI,[e.createElementVNode("div",NI,[VI,e.createElementVNode("div",fI,e.toDisplayString(n.computeUTCTime(((i=a.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",xI,[e.createElementVNode("div",bI,[gI,e.createElementVNode("div",DI,e.toDisplayString((x=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",kI,[CI,e.createElementVNode("div",SI,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString((E=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",TI,[FI,e.createElementVNode("div",OI,e.toDisplayString((b=(k=a.comparisonData)==null?void 0:k.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",PI,[LI,e.createElementVNode("div",WI,e.toDisplayString((D=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",$I,[HI,e.createElementVNode("div",MI,[e.createElementVNode("span",II,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",RI,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=a.comparisonData)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",GI,[zI,e.createElementVNode("div",UI,[e.createElementVNode("span",uI,e.toDisplayString((R=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",YI,e.toDisplayString(n.computeUTCTime(((z=(G=a.comparisonData)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),ZI,e.createElementVNode("div",QI,[e.createElementVNode("div",JI,[KI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",jI,[qI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",XI,[vI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),eR,e.createElementVNode("div",tR,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,oR),lR]),aR,(ae=a.comparisonData)!=null&&ae.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nR,"CP Terms")),(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sR,[e.createElementVNode("div",iR,[cR,e.createElementVNode("div",dR,e.toDisplayString(((j=(o=a.comparisonData)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",hR,[_R,e.createElementVNode("div",yR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),ER,e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,[xR,e.createElementVNode("div",bR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",gR,e.toDisplayString(((se=a.comparisonData)==null?void 0:se.recmdDist)??"—"),1)]),e.createElementVNode("div",DR,[kR,e.createElementVNode("div",CR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",SR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",BR,[wR,e.createElementVNode("div",AR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((q=a.comparisonData)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",FR,[OR,e.createElementVNode("div",PR,e.toDisplayString(((he=a.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",LR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",WR,[$R,e.createElementVNode("div",HR,e.toDisplayString(((Ne=a.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",MR,e.toDisplayString(((Ve=a.comparisonData)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",IR,[RR,e.createElementVNode("div",GR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",zR,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",UR,[uR,e.createElementVNode("div",YR,e.toDisplayString(n.compareTime((be=a.comparisonData)==null?void 0:be.actualTime,(ge=a.comparisonData)==null?void 0:ge.recmdTime)),1)])]),ZR,e.createElementVNode("div",QR,[JR,e.createElementVNode("div",KR,[jR,e.createElementVNode("div",qR,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",XR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",vR,[eG,e.createElementVNode("div",tG,e.toDisplayString(((Ae=a.comparisonData)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",oG,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",lG,[aG,e.createElementVNode("div",nG,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",sG,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",iG,[cG,e.createElementVNode("div",dG,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",rG,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",_G,[yG,e.createElementVNode("div",EG,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>n.decideDisable&&n.decideDisable(...pe)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,NG))],2)])}const bn=Ce(pI,[["render",VG],["__scopeId","data-v-f319bda0"]]),fG={install(t){t.component("OrmComparisonReport",xn),t.component("FliComparisonReport",bn)}},hu="",xG={props:{name:{type:String,default:""}}},bG={class:"section brand-section flex-space"},gG=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),DG={class:"report-box flex-space"},kG={class:"name flex-start"},CG=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 & Consulting Center</div></div></div>',1);function SG(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",bG,[gG,e.createElementVNode("div",DG,[e.createElementVNode("div",kG,e.toDisplayString(l.name),1),CG])])}const gn=Ce(xG,[["render",SG],["__scopeId","data-v-602c94e3"]]),BG={install(t){t.component("IdmBrand",no),t.component("IdmThird",gn)}},_u="",yu="",wG={name:"QuotaReport",components:{Brand:no},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(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},Dn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),AG={class:"quota-report"},TG=Dn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),FG={class:"section quota-section"},OG=Dn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),PG={class:"label"},LG={class:"label"},WG=["innerHTML"],$G=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 HG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",AG,[e.createVNode(y,{name:"Quotation Sheet"}),TG,e.createElementVNode("div",FG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[OG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.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(a.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(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",PG,e.toDisplayString(i.rank),1),e.createElementVNode("td",LG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,WG))),128))]))),128))])]),$G])])}const kn=Ce(wG,[["render",HG],["__scopeId","data-v-f3647134"]]),Eu="",MG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},Cn=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),IG={class:"quota-report"},RG=Cn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),GG={class:"section quota-section"},zG=Cn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),UG={class:"label"},uG={class:"label"},YG=["innerHTML"],ZG=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function QG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",IG,[e.createVNode(y,{name:"Quotation Sheet"}),RG,e.createElementVNode("div",GG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[zG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.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(a.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(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",UG,e.toDisplayString(i.rank),1),e.createElementVNode("td",uG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,YG))),128))]))),128))])]),ZG])])}const Sn=Ce(MG,[["render",QG],["__scopeId","data-v-e3ab3a93"]]),Nu="",JG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.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}})}}},Bn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),KG={class:"quota-report"},jG=Bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),qG={class:"section quota-section"},XG=Bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),vG={class:"label"},ez={class:"label"},tz=["innerHTML"],oz=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function lz(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",KG,[e.createVNode(y,{name:"Quotation Sheet for TONGLI"}),jG,e.createElementVNode("div",qG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[XG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.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(a.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(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",vG,e.toDisplayString(i.rank),1),e.createElementVNode("td",ez,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,tz))),128))]))),128))])]),oz])])}const wn=Ce(JG,[["render",lz],["__scopeId","data-v-fecdf217"]]),az={install(t){t.component("OrmQuoteReport",kn),t.component("OrmQuoteReport4SEOA",Sn),t.component("OrmQuoteReport4TongLi",wn)}},Vu="",nz={name:"PrecipitationReport",components:{IdmBrand:no,IdmLoading:Qa},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,l;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(l=this.report)==null?void 0:l.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var a,n,y,i,p,x,g;const s=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const l={};for(let h=0;h<((a=t==null?void 0:t.extend)==null?void 0:a.length);h++){const E=t==null?void 0:t.extend[h];if(h===0)E.precip.pacc=0;else{const k=K(E.utc).utcOffset(s),b=(n=E.precip)==null?void 0:n.acc;if(E.precip.pacc=b,b>0){const C=l[k.format("MMM-DD")],D=Math.floor(k.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+b,1),C[`${D}`]?C[`${D}`]+=b:(C[`${D}`]=b,C.colspan+=1)):(l[k.format("MMM-DD")]={pacc:b,colspan:1},l[k.format("MMM-DD")][`${D}`]=b)}}}t.paccInDays=l;let r=0;for(const h of Object.keys(l))r+=(y=l[h])==null?void 0:y.colspan,l[h].level=((i=l[h])==null?void 0:i.pacc)<10?"Light":((p=l[h])==null?void 0:p.pacc)<24.9?"Moderate":((x=l[h])==null?void 0:x.pacc)<49.9?"Heavy":((g=l[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=r,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const l=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O;const p=K(i.utc).utcOffset((x=this.form)==null?void 0:x.localTZ).format("MMM-DD/HHmm[LT]");l.push(p),n=((h=(g=i.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(k=(E=i.wave)==null?void 0:E.sig)==null?void 0:k.height:n,r.push([p,(b=i.wind)==null?void 0:b.kts,(C=i.gusts)==null?void 0:C.kts,(T=(D=i.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=i.wind)==null?void 0:F.direction,(B=i.wind)==null?void 0:B.degree,(w=i.wind)==null?void 0:w.scale,(V=i.current)==null?void 0:V.kts,(O=i.precip)==null?void 0:O.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const y={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:l}],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:n,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:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,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:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(y)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const l={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(l)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},it=t=>(e.pushScopeId("data-v-3c978159"),t=t(),e.popScopeId(),t),sz={class:"precipitation-report"},iz={class:"section area-section"},cz={class:"area-block"},dz={class:"area-header flex-space"},rz={class:"flex-start"},mz=["onClick"],pz={class:"flex-end"},hz={class:"area-body"},_z=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-3c978159>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-3c978159><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-3c978159>Heavy Rainstorm (>100mm)</div></div>',2),yz={class:"flex-evenly"},Ez={key:0},Nz=["colspan"],Vz=["colspan"],fz={style:{"font-size":"10px"}},xz={key:0},bz={key:1},gz={key:2},Dz={key:3},kz={key:0},Cz={key:1,style:{"font-size":"14px"}},Sz=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Bz={class:"section echart-section"},wz={ref:"echart",class:"echart"},Az={class:"section sample-section"},Tz=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Fz=["colspan"],Oz=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Pz=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Lz=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Wz=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),$z=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Hz=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Mz={key:0},Iz={key:1},Rz=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Gz=it(()=>e.createElementVNode("th",null,"Dir",-1)),zz=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Uz=it(()=>e.createElementVNode("th",null,"BF",-1)),uz=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Yz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Zz=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Qz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Kz=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),jz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qz=it(()=>e.createElementVNode("th",null,"°C",-1)),Xz={width:"120px"},vz={key:0},eU={key:1},tU={key:0,class:"degree-box"},oU={key:1},lU={key:0,class:"degree-box"},aU={key:1},nU={key:0,class:"degree-box"},sU={key:1},iU={class:"section area-section"},cU={class:"area-block"},dU={class:"area-header flex-end"},rU={class:"flex-end"},mU={class:"area-body"},pU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-3c978159>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-3c978159><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-3c978159>Heavy Rainstorm (>100mm)</div></div>',2),hU=["colspan"],_U=["colspan"],yU={style:{"font-size":"10px"}},EU={key:0},NU={key:1},VU={key:2},fU={key:3},xU={key:1,style:{"font-size":"14px"}},bU={key:0};function gU(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",sz,[e.createVNode(y,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",iz,[e.createElementVNode("div",cz,[e.createElementVNode("div",dz,[e.createElementVNode("div",rz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=l.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;return a.index=L,a.form=(W=l.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,mz))),128))]),e.createElementVNode("div",pz,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",hz,[_z,e.createElementVNode("div",yz,[a.form?(e.openBlock(),e.createElementBlock("table",Ez,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((x=a.form)==null?void 0:x.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((g=a.form)==null?void 0:g.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((E=a.form)==null?void 0:E.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((b=(k=a.form)==null?void 0:k.extend)==null?void 0:b[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(D=a.form)==null?void 0:D.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,Nz)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+") ",11,Vz)}),128))]),e.createElementVNode("tr",fz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",xz,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",bz,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",gz,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",Dz,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((R=a.form)==null?void 0:R.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",kz,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",Cz,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),Sz,e.createElementVNode("div",Bz,[e.createElementVNode("div",wz,null,512)]),e.createElementVNode("div",Az,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Tz,e.createElementVNode("th",{colspan:l.showPrate?2:1},"Precip",8,Fz),Oz,Pz,Lz,Wz,$z,Hz]),e.createElementVNode("tr",null,[l.showPrate?(e.openBlock(),e.createElementBlock("th",Mz,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Iz,"Acc (mm)")):e.createCommentVNode("",!0),Rz,Gz,zz,Uz,uz,Yz,Zz,Qz,Jz,Kz,jz,qz])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((G=a.form)==null?void 0:G.extend,(_,L)=>{var H,W,P,M,Q,U,J,ae,ne,o,j,v,ee,te,oe,le,se,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",Xz,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",vz,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",eU,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",tU,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",oU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ae=_.wind)==null?void 0:ae.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ne=_.gusts)==null?void 0:ne.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=_.wave)==null?void 0:o.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",lU,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(le=_.wave)==null?void 0:le.swell)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",aU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((me=(re=_.wave)==null?void 0:re.swell)==null?void 0:me.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(ye=_.wave)==null?void 0:ye.swell)==null?void 0:q.period,1)),1),e.createElementVNode("td",null,[(Ee=(he=_.wave)==null?void 0:he.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",nU,[e.createTextVNode(e.toDisplayString((Ve=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:Ve.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ge=(be=_.wave)==null?void 0:be.sig)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(De=_.wave)==null?void 0:De.sig)==null?void 0:ke.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",iU,[e.createElementVNode("div",cU,[e.createElementVNode("div",dU,[e.createElementVNode("div",rU,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",mU,[pU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,hU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+") ",11,_U)}),128))]),e.createElementVNode("tr",yU,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",EU,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",NU,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",VU,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",fU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",xU,"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(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",bU,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const An=Ce(nz,[["render",gU],["__scopeId","data-v-3c978159"]]),DU={install(t){t.component("PrecipitationReport",An)}},kU={install(t){t.component("IdmLoading",Qa)}};u.BrandPlugin=BG,u.ComparisonPlugin=fG,u.DeviationPlugin=x$,u.DeviationReport=Nn,u.FliComparisonReport=bn,u.FliDeviationReport=Vn,u.FliInvoiceReport=yn,u.FliPlanReport=dn,u.FliVoyageReport=mn,u.HurricanePlugin=cB,u.IdmBrand=no,u.IdmEditor=Ro,u.IdmEditorPlugin=nh,u.IdmLat=Ka,u.IdmLatPlugin=sh,u.IdmLng=Ja,u.IdmLngPlugin=ih,u.IdmLoading=Qa,u.IdmThird=gn,u.InvoicePlugin=Zw,u.LoadingPlugin=kU,u.ORMPointReport=nn,u.OrmComparisonReport=xn,u.OrmInvoiceReport=_n,u.OrmPlanReport=en,u.OrmQuoteReport=kn,u.OrmQuoteReport4SEOA=Sn,u.OrmQuoteReport4TongLi=wn,u.OrmVoyageReport=pn,u.PiLogo=rn,u.PiLogoPlugin=_h,u.PointReportPlugin=od,u.PrecipitationReport=An,u.PrecipitationReportPlugin=DU,u.QuoteReportPlugin=az,u.RouteReport=en,u.RouteReportPlugin=ah,u.StoppageReport=fn,u.StoppageReportPlugin=mH,u.TropicalReport=hn,u.VoyageReportPlugin=aB,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|