@idmwx/idmui-report 3.7.4 → 3.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3022 -3021
- package/dist/index.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(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"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y["element-plus"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,K,e,$c,Xa,Hc,Oa,qa,Fa,hl){"use strict";function Mc(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const Pa=Mc($c),TY="",Se=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Ic={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?K(o):K()).utc().format(s)}`}}}},va=o=>(e.pushScopeId("data-v-b7008706"),o=o(),e.popScopeId(),o),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-b7008706><div class="logo" data-v-b7008706><a href="https://fmp.idmwx.com" target="_blank" data-v-b7008706><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-b7008706></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-b7008706><div class="brand" data-v-b7008706><span style="text-decoration:underline;" data-v-b7008706>Weather Routing</span><div class="company" data-v-b7008706>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=va(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Kc={class:"flex-end",style:{flex:"2"}},jc=va(()=>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 uc(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Gc,[Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,e.toDisplayString(t.name),1),e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",Kc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),jc])])])}const Qo=Se(Ic,[["render",uc],["__scopeId","data-v-b7008706"]]),Xc={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}}},qc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",qc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Se(Xc,[["render",ei]]),FY="",ti={name:"ORMPointReport",components:{IdmLoading:La,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${K(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var r,a,n,E,c,p,b,g,h,N;const s={};for(let D=0;D<((a=(r=o==null?void 0:o.extend)==null?void 0:r.data)==null?void 0:a.length);D++){const x=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)x.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=K(x.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(T,"h"),w=this.roundPrecision(F*B,1);if(x.precip.pacc=w,w>0){const f=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);f?(f.pacc=this.roundPrecision(f.pacc+w,1),f[`${O}`]?f[`${O}`]+=w:(f[`${O}`]=w,f.colspan+=1)):(s[k.format("MMM-DD")]={pacc:w,colspan:1},s[k.format("MMM-DD")][`${O}`]=w)}}}o.paccInDays=s;let t=0;for(const D of Object.keys(s))t+=(p=s[D])==null?void 0:p.colspan,s[D].level=((b=s[D])==null?void 0:b.pacc)<10?"Light":((g=s[D])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[D])==null?void 0:h.pacc)<49.9?"Heavy":((N=s[D])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=t,o}}},watch:{report:{handler(){var o,s,t,r;(s=(o=this.report)==null?void 0:o.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((t=this.report)==null?void 0:t.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,c;this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const o=[],s=[],t={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;(c=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||c.forEach(p=>{var g,h,N,D,x,C,k,T,F,B,w,f,O;const b=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(b),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([b,(x=p.wind)==null?void 0:x.kts,(C=p.gusts)==null?void 0:C.kts,(T=(k=p.wave)==null?void 0:k.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,(f=p.current)==null?void 0:f.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: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: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:t.dateTime,y:t.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},Ue=o=>(e.pushScopeId("data-v-84da66b8"),o=o(),e.popScopeId(),o),oi={class:"point-report"},li={class:"section info-section"},ai={class:"flex-evenly"},ni={class:"flex-space label-block",style:{width:"100%"}},si=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ci={class:"flex-space label-block",style:{width:"100%"}},ii=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),di={class:"flex-evenly"},ri={class:"flex-space label-block",style:{width:"100%"}},mi=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pi={class:"flex-space label-block",style:{width:"100%"}},hi={class:"flex-end",style:{width:"180px"}},_i={class:"section echart-section"},Ei={ref:"echart",class:"echart"},yi={class:"section sample-section"},Ni=Ue(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vi=Ue(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fi=Ue(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=Ue(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gi=Ue(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xi=Ue(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),ki=["colspan"],Di=Ue(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ci=Ue(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Si=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Bi=Ue(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wi=Ue(()=>e.createElementVNode("th",null,"BF",-1)),Ai=Ue(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ti=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Fi=Ue(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oi=Ue(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pi=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Li=Ue(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wi=Ue(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Hi=Ue(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mi={key:0},Ii={key:1},Gi=Ue(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ri=Ue(()=>e.createElementVNode("th",null,"°C",-1)),zi={width:"120px"},Ui={key:0,class:"degree-box"},Yi={key:1},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},Ki={key:1},ji={key:0,class:"degree-box"},ui={key:1},Xi={key:0},qi={key:1};function vi(o,s,t,r,a,n){var p,b,g,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((b=t.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",di,[e.createElementVNode("div",ri,[mi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pi,[e.createElementVNode("label",hi,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ei,null,512)]),e.createElementVNode("div",yi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ni,Vi,fi,bi,gi,xi,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,ki),Di,Ci]),e.createElementVNode("tr",null,[Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi,$i,Hi,t.showPrate?(e.openBlock(),e.createElementBlock("th",Mi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ii,"Acc (mm)")):e.createCommentVNode("",!0),Gi,Ri])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=t.report)==null?void 0:g.extend)==null?void 0:h.data,(N,D)=>{var x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",zi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(x=N.wind)!=null&&x.kts?(e.openBlock(),e.createElementBlock("span",Ui,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=N.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=N.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((f=(w=N.wave)==null?void 0:w.wd)==null?void 0:f.height,1)),1),e.createElementVNode("td",null,[(I=(O=N.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zi,[e.createTextVNode(e.toDisplayString((R=(G=N.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=N.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=N.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=N.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=N.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((J=(U=N.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=N.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ki,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(l=N.wave)==null?void 0:l.sig)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=N.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=N.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ji,[e.createTextVNode(e.toDisplayString((oe=N.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=N.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",Xi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",qi,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.temp,1)),1)])}),128))])])])])}const en=Se(ti,[["render",vi],["__scopeId","data-v-84da66b8"]]),ed={install(o){o.component("ORMPointReport",en)}},OY="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const o=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[t.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Wa=Se(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),PY="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},cd={key:0};function id(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[t.label?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const $a=Se(nd,[["render",id],["__scopeId","data-v-3d953d12"]]),LY="",dd={name:"IdmEditor",components:{Editor:Xa.Editor,Toolbar:Xa.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(o){var s,t;o?(s=this.editor)==null||s.disable():(t=this.editor)==null||t.enable()}},modelValue:{handler(){var o;this.valueHtml=this.modelValue,(o=this.editor)==null||o.setHtml(this.valueHtml)}}},methods:{handleCreated(o){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(o),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(o){this.$emit("update:modelValue",this.valueHtml)},handleBlur(o){this.$emit("blur",this.valueHtml)},beforeDestroy(){var o;(o=this.editor)==null||o.destroy()}}},rd={class:"editor-box"};function md(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!t.disabled]]),e.createVNode(c,{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:t.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Jo=Se(dd,[["render",md],["__scopeId","data-v-e3eb0d7a"]]),WY="",pd={name:"OrmRouteReport",components:{Lng:Wa,Lat:$a,Editor:Jo,Brand:Qo,Loading:La},props:{plan:{type:Object,default:()=>({})},weatherPrinciple:{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(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${K(o).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(o,s){var t,r,a,n,E;if(s===0)return"-";{const c=K((a=(r=(t=o==null?void 0:o.speeds)==null?void 0:t[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((E=(n=o==null?void 0:o.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(c*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMemo(){return function(o){return(o==null?void 0:o.memo)??"-"}},computeMajorPoints(){return function(o,s){const t=[];if(s.length)return s.forEach(r=>{t.push(r),r.suspend&&(o!=null&&o.useRouteParam)&&t.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),t}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o,s=0){var n,E,c,p;const t=(p=(c=(E=(n=o==null?void 0:o.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:c.sample)==null?void 0:p.hours,r=t[0],a=t[t.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,b,g,h,N,D,x;const o=[],s=[],t={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,k)=>{r[C]=Math.PI/8*k});const n=18;let E=4;(D=(N=(h=(g=(b=(p=this.plan)==null?void 0:p.speeds)==null?void 0:b[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var T,F,B,w,f,O,I,G,R,z;const k=C.meteo;if(k){const _=K(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(T=k.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(f=k.wind)==null?void 0:f.kts,(I=(O=k.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=k.wind)==null?void 0:G.direction,(R=k.wind)==null?void 0:R.degree,(z=k.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const c={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:o,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(t.dateTime),k.value(t.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[k.value(t.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:t.dateTime,y:t.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:t.dateTime,y:t.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:t.dateTime,y:t.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(x=this.echart)==null||x.setOption(c)}}},Ve=o=>(e.pushScopeId("data-v-f169b170"),o=o(),e.popScopeId(),o),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},gd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),xd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},kd={class:"flex-start label-block",style:{width:"100%"}},Dd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ve(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-f169b170><label style="background-color:var(--idm-dangerous);" data-v-f169b170></label><span data-v-f169b170>Dangerous</span></div><div class="legend" data-v-f169b170><label style="background-color:var(--idm-severe);" data-v-f169b170></label><span data-v-f169b170>Severe</span></div><div class="legend" data-v-f169b170><label style="background-color:var(--idm-heavy);" data-v-f169b170></label><span data-v-f169b170>Heavy</span></div>',3),Kd={class:"legend"},jd=Ve(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},Xd=Ve(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ve(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ve(()=>e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route",-1)),ar=Ve(()=>e.createElementVNode("th",null,"SPD (kts)",-1)),nr=Ve(()=>e.createElementVNode("th",{rowspan:"2"},"DTG (nm)",-1)),sr=Ve(()=>e.createElementVNode("th",null,"ETA (LT)",-1)),cr=Ve(()=>e.createElementVNode("th",{rowspan:"2"},"Diff (h)",-1)),ir=Ve(()=>e.createElementVNode("th",{colspan:"2"},"Cons (mt)",-1)),dr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Dangerous",-1)),rr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Severe",-1)),mr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Heavy",-1)),pr=Ve(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),hr=Ve(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),_r=Ve(()=>e.createElementVNode("th",null,"*FO",-1)),Er=Ve(()=>e.createElementVNode("th",null,"*DO",-1)),yr={colspan:"3"},Nr={rowspan:"2"},Vr={rowspan:"2"},fr={rowspan:"2"},br={rowspan:"2"},gr={rowspan:"2"},xr={rowspan:"2"},kr={rowspan:"2"},Dr={rowspan:"2"},Cr={rowspan:"2"},Sr=Ve(()=>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)),Br={class:"section waypoint-section"},wr={class:"header-block flex-start"},Ar=Ve(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Tr={class:"title"},Fr={key:0,class:"flex-end",style:{flex:"1"}},Or=["onClick"],Pr={class:"advisory"},Lr=["innerHTML"],Wr={class:"major-waypoint"},$r=e.createStaticVNode('<div class="major-header" data-v-f169b170><div class="cell-item flex" style="flex:1.5;" data-v-f169b170>Major waypoint</div><div class="cell-item flex" data-v-f169b170>Time</div><div class="cell-item flex" data-v-f169b170>Nav</div><div class="cell-item flex" data-v-f169b170>Dist</div><div class="cell-item flex" data-v-f169b170>SOG/COG</div><div class="cell-item flex" data-v-f169b170>Memo</div></div>',1),Hr={class:"major-body"},Mr={class:"cell-item flex",style:{flex:"1.5"}},Ir={key:0,class:"flex-center"},Gr={key:1,class:"flex-center"},Rr=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),zr={key:0},Ur={class:"cell-item flex"},Yr={key:0,class:"cell-item flex offset"},Zr={key:1,class:"cell-item flex nbsp"},Qr={key:2,class:"cell-item flex offset"},Jr={key:3,class:"cell-item flex nbsp"},Kr={key:4,class:"cell-item flex offset"},jr={key:5,class:"cell-item flex nbsp"},ur={key:6,class:"cell-item flex offset"},Xr={key:7,class:"cell-item flex nbsp"},qr={class:"section forecast-section"},vr={class:"header-block flex-start"},em=Ve(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tm={class:"title"},om={key:0,class:"flex-end",style:{flex:"1"}},lm=["onClick"],am={class:"echart-block"},nm={ref:"echart",class:"echart"},sm=Ve(()=>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)),cm={class:"flex-center"},im=Ve(()=>e.createElementVNode("span",null,"/",-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},Em={key:0,class:"degree-box"},ym={key:1},Nm=Ve(()=>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 Vm(o,s,t,r,a,n){var N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),g=e.resolveComponent("ElTooltip"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(N=t.plan)==null?void 0:N.updatedAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((C=(x=(D=t.plan)==null?void 0:D.voyage)==null?void 0:x.company)==null?void 0:C.name),1)]),e.createElementVNode("div",bd,[gd,e.createElementVNode("span",xd,e.toDisplayString((F=(T=(k=t.plan)==null?void 0:k.voyage)==null?void 0:T.vessel)==null?void 0:F.name)+" ("+e.toDisplayString((O=(f=(w=(B=t.plan)==null?void 0:B.voyage)==null?void 0:w.vessel)==null?void 0:f.vesselType)==null?void 0:O.name)+")",1)]),e.createElementVNode("div",kd,[Dd,e.createElementVNode("span",Cd,e.toDisplayString((G=(I=t.plan)==null?void 0:I.voyage)==null?void 0:G.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(_=(z=(R=t.plan)==null?void 0:R.leg)==null?void 0:z.departure)!=null&&_.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((H=(L=t.plan)==null?void 0:L.leg)==null?void 0:H.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(M=(P=(W=t.plan)==null?void 0:W.leg)==null?void 0:P.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),Fd,e.createVNode(b,{lng:(J=(U=(Q=t.plan)==null?void 0:Q.leg)==null?void 0:U.departure)==null?void 0:J.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((l=(se=(ne=t.plan)==null?void 0:ne.leg)==null?void 0:se.departure)==null?void 0:l.atd)||((ee=(v=(u=t.plan)==null?void 0:u.leg)==null?void 0:v.departure)==null?void 0:ee.etd)||((ce=(le=(oe=(te=t.plan)==null?void 0:te.speeds)==null?void 0:oe[a.speedIndex])==null?void 0:le.speed)==null?void 0:ce.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(_e=(de=(ie=t.plan)==null?void 0:ie.leg)==null?void 0:de.destination)!=null&&_e.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((Ee=(me=(X=t.plan)==null?void 0:X.leg)==null?void 0:me.destination)==null?void 0:Ee.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(be=(re=(ye=t.plan)==null?void 0:ye.leg)==null?void 0:re.destination)==null?void 0:be.lat,label:""},null,8,["lat"]),Hd,e.createVNode(b,{lng:(ke=(xe=(ge=t.plan)==null?void 0:ge.leg)==null?void 0:xe.destination)==null?void 0:ke.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Oe=(Fe=(Ce=(De=t.plan)==null?void 0:De.speeds)==null?void 0:Ce[a.speedIndex])==null?void 0:Fe.speed)==null?void 0:Oe.ata)||(($e=(We=(Le=(Pe=t.plan)==null?void 0:Pe.speeds)==null?void 0:Le[a.speedIndex])==null?void 0:We.speed)==null?void 0:$e.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString((Me=(He=t.plan)==null?void 0:He.voyage)==null?void 0:Me.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,(Ne=t.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((Be=(A=(ue=(je=(Ke=t.plan)==null?void 0:Ke.speeds)==null?void 0:je[0])==null?void 0:ue.speed)==null?void 0:A.lane)==null?void 0:Be.name),1)]),((Xe=(Re=t.plan)==null?void 0:Re.speeds)==null?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((m=(tt=(et=(ve=(qe=t.plan)==null?void 0:qe.speeds)==null?void 0:ve[1])==null?void 0:et.speed)==null?void 0:tt.lane)==null?void 0:m.name),1)])):e.createCommentVNode("",!0),((we=($=t.plan)==null?void 0:$.speeds)==null?void 0:we.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((ot=(Ye=(pe=(ze=(Ge=t.plan)==null?void 0:Ge.speeds)==null?void 0:ze[2])==null?void 0:pe.speed)==null?void 0:Ye.lane)==null?void 0:ot.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[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",tr,[(dt=(lt=t.plan)==null?void 0:lt.speeds)!=null&&dt.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lr,ar,nr,sr,cr,ir,e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(mt=(rt=t.weatherPrinciple)==null?void 0:rt.dangerous)==null?void 0:mt.pretty},{default:e.withCtx(()=>[dr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(_t=(pt=t.weatherPrinciple)==null?void 0:pt.severe)==null?void 0:_t.pretty},{default:e.withCtx(()=>[rr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(yt=(Et=t.weatherPrinciple)==null?void 0:Et.heavy)==null?void 0:yt.pretty},{default:e.withCtx(()=>[mr]),_:1},8,["content"])])]),e.createElementVNode("tr",null,[pr,hr,_r,Er,e.createElementVNode("th",yr,"*days (with in the next "+e.toDisplayString(n.computeDay(t.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=t.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",Nr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",Vr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",fr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=t.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=t.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",br,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",gr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",kr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Cr,e.toDisplayString(n.roundPrecision(((ut=S.speed)==null?void 0:ut.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Sr]),e.createElementVNode("div",Br,[e.createElementVNode("div",wr,[Ar,e.createElementVNode("div",Tr,"Advisory & Major Waypoint of Route "+e.toDisplayString((gt=(bt=(ft=(Vt=t.plan.speeds)==null?void 0:Vt[a.speedIndex])==null?void 0:ft.speed)==null?void 0:bt.lane)==null?void 0:gt.name),1),((kt=(xt=t.plan)==null?void 0:xt.speeds)==null?void 0:kt.length)>1?(e.openBlock(),e.createElementBlock("div",Fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Dt=t.plan)==null?void 0:Dt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Or)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Pr,[a.editable?(e.openBlock(),e.createBlock(h,{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,Lr))]),e.createElementVNode("div",Wr,[$r,e.createElementVNode("div",Hr,[(St=(Ct=t.plan)==null?void 0:Ct.speeds)!=null&&St.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Tt=(At=(wt=(Bt=t.plan)==null?void 0:Bt.speeds)==null?void 0:wt[a.speedIndex])==null?void 0:At.speed)==null?void 0:Tt.argv,(so=(no=(Pt=(Ot=(Ft=t.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.sample)==null?void 0:so.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Mr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Ir,"Resume")):(e.openBlock(),e.createElementBlock("div",Gr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Rr,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",zr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Ur,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",Yr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Zr)),Ie?(e.openBlock(),e.createElementBlock("div",Qr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Jr)),Ie?(e.openBlock(),e.createElementBlock("div",Kr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,2))+" / "+e.toDisplayString(n.roundPrecision(S.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",jr)),Ie?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Xr))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",qr,[(io=(co=t.plan)==null?void 0:co.speeds)!=null&&io.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",vr,[em,e.createElementVNode("div",tm," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((_o=(ho=(po=(mo=(ro=t.plan)==null?void 0:ro.speeds)==null?void 0:mo[a.speedIndex])==null?void 0:po.speed)==null?void 0:ho.lane)==null?void 0:_o.name),1),((yo=(Eo=t.plan)==null?void 0:Eo.speeds)==null?void 0:yo.length)>1?(e.openBlock(),e.createElementBlock("div",om,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((No=t.plan)==null?void 0:No.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,lm)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",am,[e.createElementVNode("div",nm,null,512)]),e.createElementVNode("table",null,[sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((xo=(go=(bo=(fo=(Vo=t.plan)==null?void 0:Vo.speeds)==null?void 0:fo[a.speedIndex])==null?void 0:bo.speed)==null?void 0:go.sample)==null?void 0:xo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo;return e.openBlock(),e.createElementBlock("tr",{key:Ie,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",cm,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),im,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",dm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree(($t=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",mm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(Do=(ko=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:ko.sig)!=null&&Do.height?(e.openBlock(),e.createElementBlock("span",hm,[e.createTextVNode(e.toDisplayString((Bo=(So=(Co=S.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:Bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((To=(Ao=(wo=S.meteo)==null?void 0:wo.wave)==null?void 0:Ao.sig)==null?void 0:To.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Po=(Oo=(Fo=S.meteo)==null?void 0:Fo.wave)==null?void 0:Oo.sig)==null?void 0:Po.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($o=(Wo=(Lo=S.meteo)==null?void 0:Lo.wave)==null?void 0:Wo.sig)==null?void 0:$o.period,1)),1),e.createElementVNode("td",null,[(Mo=(Ho=S.meteo)==null?void 0:Ho.current)!=null&&Mo.kts?(e.openBlock(),e.createElementBlock("span",Em,[e.createTextVNode(e.toDisplayString((Go=(Io=S.meteo)==null?void 0:Io.current)==null?void 0:Go.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((zo=(Ro=S.meteo)==null?void 0:Ro.current)==null?void 0:zo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ym,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Yo=(Uo=S.meteo)==null?void 0:Uo.current)==null?void 0:Yo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),Nm])])])}const ja=Se(pd,[["render",Vm],["__scopeId","data-v-f169b170"]]),$Y="",fm={name:"RouteReport",components:{Lng:Wa,Lat:$a,Editor:Jo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=K(o);return t.utcOffset(s),`${t.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var o,s,t,r,a;return(a=(r=(t=(s=(o=this.plan)==null?void 0:o.leg)==null?void 0:s.destination)==null?void 0:t.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(o,s){var t,r,a;if(s===0)return"-";{const n=K((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(K((a=o==null?void 0:o.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMapChart(){var o;return((o=this.plan)==null?void 0:o.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o){var a,n,E;const s=(E=(n=(a=o==null?void 0:o.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,t=s[0],r=s[s.length-1];return K(r.eta).diff(K(t.eta),"day")}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},Ze=o=>(e.pushScopeId("data-v-9a939466"),o=o(),e.popScopeId(),o),bm={class:"route-report"},gm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),xm={class:"section"},km=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Dm={class:"section-body basics"},Cm={class:"flex-space section-row"},Sm={class:"flex-start"},Bm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),wm={class:"flex-start"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Fm={class:"flex-start flex"},Om={key:0,class:"flex"},Pm={key:1,class:"flex-space flex"},Lm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Wm={class:"time flex"},$m={class:"flex-space section-row"},Hm={class:"flex-start"},Mm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Im={class:"flex-start"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),zm={class:"flex-start flex"},Um={key:0,class:"flex"},Ym={key:1,class:"flex-space"},Zm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Qm={class:"time flex"},Jm={class:"flex-space section-row"},Km={class:"flex-start"},jm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),um={class:"flex-start"},Xm={class:"flex-start"},qm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),vm={class:"flex-start flex"},ep={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},tp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),op={class:"section-body detail"},lp={class:"flex-space",style:{"align-items":"stretch"}},ap={class:"chart"},np=["src"],sp={key:1,class:"empty flex-center"},cp={class:"route flex",style:{"justify-content":"space-between"}},ip=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),dp={class:"suggestion"},rp=["innerHTML"],mp={class:"flex-start legends"},pp=e.createStaticVNode('<div class="legend" data-v-9a939466><label style="background-color:var(--idm-severe);" data-v-9a939466></label><span data-v-9a939466>Dangerous</span></div><div class="legend" data-v-9a939466><label style="background-color:var(--idm-heavy);" data-v-9a939466></label><span data-v-9a939466>Severe</span></div><div class="legend" data-v-9a939466><b class="route1" data-v-9a939466></b><span data-v-9a939466>Route 1</span></div>',3),hp={key:0,class:"legend"},_p=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],Ep={key:1,class:"legend"},yp=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],Np={class:"section"},Vp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),fp={class:"section-body comparison"},bp={class:"container"},gp={key:0},xp=Ze(()=>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)),kp={class:"section",style:{"page-break-inside":"avoid"}},Dp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Cp={class:"section-body sample"},Sp={class:"major-waypoints"},Bp={class:"container"},wp=e.createStaticVNode('<div class="header" data-v-9a939466><div class="cell-item flexM" data-v-9a939466>Major waypoint</div><div class="cell-item flexL" data-v-9a939466>Name</div><div class="cell-item flex" data-v-9a939466>Time</div><div class="cell-item flex" data-v-9a939466>Nav</div><div class="cell-item flex" data-v-9a939466>Dist</div><div class="cell-item flex" data-v-9a939466>SOG</div></div>',1),Ap={class:"body"},Tp={class:"cell-item flexM"},Fp={class:"flex-center"},Op=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Pp={class:"cell-item flexL"},Lp={key:0,class:"flex-center"},Wp={key:1},$p={class:"cell-item flex"},Hp={key:0,class:"cell-item flex offset"},Mp={key:1,class:"cell-item flex nbsp"},Ip={key:2,class:"cell-item flex offset"},Gp={key:3,class:"cell-item flex nbsp"},Rp={key:4,class:"cell-item flex offset"},zp={key:5,class:"cell-item flex nbsp"},Up={class:"section"},Yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Zp={class:"section-body sample"},Qp={key:0},Jp=Ze(()=>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)),Kp={class:"flex-center"},jp=Ze(()=>e.createElementVNode("span",null,"/",-1)),up={key:0,class:"degree-box"},Xp={key:1},qp={key:0,class:"degree-box"},vp={key:1},eh={key:0,class:"degree-box"},th={key:1},oh={key:0,class:"degree-box"},lh={key:1},ah=Ze(()=>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 nh(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",bm,[gm,e.createElementVNode("div",xm,[km,e.createElementVNode("div",Dm,[e.createElementVNode("div",Cm,[e.createElementVNode("div",Sm,[Bm,e.createElementVNode("div",wm,e.toDisplayString((h=(g=(b=t.plan)==null?void 0:b.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,[(x=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&x.name?(e.openBlock(),e.createElementBlock("div",Om,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Pm,[e.createVNode(E,{lat:(B=(F=(T=t.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Lm,e.createVNode(c,{lng:(O=(f=(w=t.plan)==null?void 0:w.leg)==null?void 0:f.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Wm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=t.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=t.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",$m,[e.createElementVNode("div",Hm,[Mm,e.createElementVNode("div",Im,e.toDisplayString((P=(W=(H=t.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,[(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Um,e.toDisplayString((ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Ym,[e.createVNode(E,{lat:(u=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:u.lat,label:""},null,8,["lat"]),Zm,e.createVNode(c,{lng:(te=(ee=(v=t.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Qm,e.toDisplayString(n.computeUTCTime(((ce=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ce.speed.ata)||((de=(ie=t.plan)==null?void 0:ie.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Jm,[e.createElementVNode("div",Km,[jm,e.createElementVNode("div",um,e.toDisplayString(n.computeUTCTime((_e=t.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Xm,[qm,e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((me=(X=t.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",ep,[tp,e.createElementVNode("div",op,[e.createElementVNode("div",lp,[e.createElementVNode("div",ap,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.plan)==null?void 0:ye.chartUrl},null,8,np)):(e.openBlock(),e.createElementBlock("div",sp,[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",cp,[e.createElementVNode("div",null,[ip,e.createElementVNode("div",dp,[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,rp))])]),e.createElementVNode("div",mp,[pp,((be=(re=t.plan)==null?void 0:re.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",hp,_p)):e.createCommentVNode("",!0),((xe=(ge=t.plan)==null?void 0:ge.speeds)==null?void 0:xe.length)>2?(e.openBlock(),e.createElementBlock("div",Ep,yp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,[e.createElementVNode("div",bp,[(De=(ke=t.plan)==null?void 0:ke.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",gp,[xp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ce=t.plan)==null?void 0:Ce.speeds,(A,Be)=>{var Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Be},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Be+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((we=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:we.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ge=A.speed)==null?void 0:Ge.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ze=A.speed)==null?void 0:ze.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ye=A.speed)==null?void 0:Ye.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",kp,[Dp,e.createElementVNode("div",Cp,[e.createElementVNode("div",Sp,[e.createElementVNode("div",Bp,[wp,e.createElementVNode("div",Ap,[(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(($e=(We=(Le=(Pe=t.plan)==null?void 0:Pe.speeds[0])==null?void 0:Le.speed)==null?void 0:We.sample)==null?void 0:$e.wps,(A,Be)=>(e.openBlock(),e.createElementBlock("div",{key:Be,class:"cell-row"},[e.createElementVNode("div",Tp,[e.createElementVNode("div",Fp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Op,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Pp,[A.name?(e.openBlock(),e.createElementBlock("span",Lp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Wp,"-"))]),e.createElementVNode("div",$p,e.toDisplayString(n.computeUTCTime(A.eta)),1),Be?(e.openBlock(),e.createElementBlock("div",Hp,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Mp)),Be?(e.openBlock(),e.createElementBlock("div",Ip,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Gp)),Be?(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",zp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Up,[Yp,e.createElementVNode("div",Zp,[(Me=(He=t.plan)==null?void 0:He.speeds)!=null&&Me.length?(e.openBlock(),e.createElementBlock("table",Qp,[Jp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:ue.hours,(A,Be)=>{var Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Be,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",Kp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),jp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Re=A.meteo)==null?void 0:Re.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Xp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((we=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:we.height,1)),1),e.createElementVNode("td",null,[(pe=(ze=(Ge=A.meteo)==null?void 0:Ge.wave)==null?void 0:ze.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",qp,e.toDisplayString((lt=(ot=(Ye=A.meteo)==null?void 0:Ye.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString((gt=(bt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:bt.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",th,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(kt=(xt=A.meteo)==null?void 0:xt.wave)==null?void 0:kt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",oh,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",lh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),ah])}const tn=Se(fm,[["render",nh],["__scopeId","data-v-9a939466"]]),sh={install(o){o.component("RouteReport",ja),o.component("FliPlanReport",tn),o.component("OrmPlanReport",ja)}},ch={install(o){o.component("IdmEditor",Jo)}},ih={install(o){o.component("IdmLat",$a)}},dh={install(o){o.component("IdmLng",Wa)}},rh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},mh={class:"logo"},ph={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},hh=["fill","fill-opacity"],_h=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
1
|
+
(function(Y,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("element-plus"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","element-plus","@idmui/tropical","@element-plus/icons-vue","axios","mapbox-gl"],ae):(Y=typeof globalThis<"u"?globalThis:Y||self,ae(Y["idmui-report"]={},Y["@idm-plugin/geo"],Y.moment,Y.Vue,Y.echarts,Y["@wangeditor/editor-for-vue"],Y["element-plus"],Y["@idmui/tropical"],Y["@element-plus/icons-vue"],Y.axios,Y["mapbox-gl"]))})(this,function(Y,ae,K,e,$c,qa,ua,Hc,Oa,Fa,hl){"use strict";function Mc(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const Pa=Mc($c),TY="",Se=(o,s)=>{const t=o.__vccOpts||o;for(const[r,a]of s)t[r]=a;return t},Ic={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?K(o):K()).utc().format(s)}`}}}},va=o=>(e.pushScopeId("data-v-b7008706"),o=o(),e.popScopeId(),o),Gc={class:"section brand-section flex-space"},Rc=e.createStaticVNode('<div class="logo-box flex-center" data-v-b7008706><div class="logo" data-v-b7008706><a href="https://fmp.idmwx.com" target="_blank" data-v-b7008706><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-b7008706></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-b7008706><div class="brand" data-v-b7008706><span style="text-decoration:underline;" data-v-b7008706>Weather Routing</span><div class="company" data-v-b7008706>Ocean Right Marine Service</div></div></a></div></div>',1),zc={class:"report-box flex-space"},Uc={class:"name flex-start"},Yc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Zc={class:"flex-start",style:{width:"100%"}},Qc={class:"label-block flex-evenly",style:{flex:"1"}},Jc=va(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Kc={class:"flex-end",style:{flex:"2"}},jc=va(()=>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 uc(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Gc,[Rc,e.createElementVNode("div",zc,[e.createElementVNode("div",Uc,e.toDisplayString(t.name),1),e.createElementVNode("div",Yc,[e.createElementVNode("div",Zc,[e.createElementVNode("div",Qc,[Jc,e.createElementVNode("span",Kc,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),jc])])])}const Qo=Se(Ic,[["render",uc],["__scopeId","data-v-b7008706"]]),Xc={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}}},qc={key:0,class:"loading"},vc=e.createElementVNode("i",{class:"iconfont"},"",-1);function ei(o,s,t,r,a,n){return t.loading?(e.openBlock(),e.createElementBlock("div",qc,[vc,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const La=Se(Xc,[["render",ei]]),FY="",ti={name:"ORMPointReport",components:{IdmLoading:La,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${K(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var r,a,n,E,c,p,b,g,h,N;const s={};for(let D=0;D<((a=(r=o==null?void 0:o.extend)==null?void 0:r.data)==null?void 0:a.length);D++){const x=(n=o==null?void 0:o.extend)==null?void 0:n.data[D];if(D===0)x.precip.pacc=0;else{const C=(E=o==null?void 0:o.extend)==null?void 0:E.data[D-1],k=K(x.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(c=C==null?void 0:C.precip)==null?void 0:c.prate,B=k.diff(T,"h"),w=this.roundPrecision(F*B,1);if(x.precip.pacc=w,w>0){const f=s[k.format("MMM-DD")],O=Math.floor(k.get("hour")/6);f?(f.pacc=this.roundPrecision(f.pacc+w,1),f[`${O}`]?f[`${O}`]+=w:(f[`${O}`]=w,f.colspan+=1)):(s[k.format("MMM-DD")]={pacc:w,colspan:1},s[k.format("MMM-DD")][`${O}`]=w)}}}o.paccInDays=s;let t=0;for(const D of Object.keys(s))t+=(p=s[D])==null?void 0:p.colspan,s[D].level=((b=s[D])==null?void 0:b.pacc)<10?"Light":((g=s[D])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[D])==null?void 0:h.pacc)<49.9?"Heavy":((N=s[D])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=t,o}}},watch:{report:{handler(){var o,s,t,r;(s=(o=this.report)==null?void 0:o.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((t=this.report)==null?void 0:t.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,c;this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const o=[],s=[],t={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;(c=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||c.forEach(p=>{var g,h,N,D,x,C,k,T,F,B,w,f,O;const b=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(b),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(D=(N=p.wave)==null?void 0:N.sig)==null?void 0:D.height:r,s.push([b,(x=p.wind)==null?void 0:x.kts,(C=p.gusts)==null?void 0:C.kts,(T=(k=p.wave)==null?void 0:k.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,(f=p.current)==null?void 0:f.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: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: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:t.dateTime,y:t.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:t.dateTime,y:t.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},Ue=o=>(e.pushScopeId("data-v-84da66b8"),o=o(),e.popScopeId(),o),oi={class:"point-report"},li={class:"section info-section"},ai={class:"flex-evenly"},ni={class:"flex-space label-block",style:{width:"100%"}},si=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ci={class:"flex-space label-block",style:{width:"100%"}},ii=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),di={class:"flex-evenly"},ri={class:"flex-space label-block",style:{width:"100%"}},mi=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pi={class:"flex-space label-block",style:{width:"100%"}},hi={class:"flex-end",style:{width:"180px"}},_i={class:"section echart-section"},Ei={ref:"echart",class:"echart"},yi={class:"section sample-section"},Ni=Ue(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vi=Ue(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fi=Ue(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bi=Ue(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gi=Ue(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xi=Ue(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),ki=["colspan"],Di=Ue(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ci=Ue(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Si=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Bi=Ue(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wi=Ue(()=>e.createElementVNode("th",null,"BF",-1)),Ai=Ue(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ti=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Fi=Ue(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oi=Ue(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pi=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Li=Ue(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wi=Ue(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$i=Ue(()=>e.createElementVNode("th",null,"Dir",-1)),Hi=Ue(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mi={key:0},Ii={key:1},Gi=Ue(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ri=Ue(()=>e.createElementVNode("th",null,"°C",-1)),zi={width:"120px"},Ui={key:0,class:"degree-box"},Yi={key:1},Zi={key:0,class:"degree-box"},Qi={key:1},Ji={key:0,class:"degree-box"},Ki={key:1},ji={key:0,class:"degree-box"},ui={key:1},Xi={key:0},qi={key:1};function vi(o,s,t,r,a,n){var p,b,g,h;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oi,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(c,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((b=t.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",ci,[ii,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",di,[e.createElementVNode("div",ri,[mi,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(a.localTZ)),1)]),e.createElementVNode("div",pi,[e.createElementVNode("label",hi,"("+e.toDisplayString(n.computeTZ(a.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,a.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ei,null,512)]),e.createElementVNode("div",yi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ni,Vi,fi,bi,gi,xi,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,ki),Di,Ci]),e.createElementVNode("tr",null,[Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi,$i,Hi,t.showPrate?(e.openBlock(),e.createElementBlock("th",Mi,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Ii,"Acc (mm)")):e.createCommentVNode("",!0),Gi,Ri])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=t.report)==null?void 0:g.extend)==null?void 0:h.data,(N,D)=>{var x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",zi,e.toDisplayString(n.computeLTime(N.utc,a.localTZ)),1),e.createElementVNode("td",null,[(x=N.wind)!=null&&x.kts?(e.openBlock(),e.createElementBlock("span",Ui,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=N.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=N.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=N.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((f=(w=N.wave)==null?void 0:w.wd)==null?void 0:f.height,1)),1),e.createElementVNode("td",null,[(I=(O=N.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Zi,[e.createTextVNode(e.toDisplayString((R=(G=N.wave)==null?void 0:G.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=N.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qi,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=N.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=N.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=N.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Ji,[e.createTextVNode(e.toDisplayString((J=(U=N.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=N.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ki,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(l=N.wave)==null?void 0:l.sig)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=N.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=N.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ji,[e.createTextVNode(e.toDisplayString((oe=N.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=N.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ui,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=N.current)==null?void 0:ce.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",Xi,e.toDisplayString(n.roundPrecision((ie=N.precip)==null?void 0:ie.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",qi,e.toDisplayString(n.roundPrecision((de=N.precip)==null?void 0:de.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(N.temp,1)),1)])}),128))])])])])}const en=Se(ti,[["render",vi],["__scopeId","data-v-84da66b8"]]),ed={install(o){o.component("ORMPointReport",en)}},OY="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const o=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[t.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Wa=Se(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),PY="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},cd={key:0};function id(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[t.label?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const $a=Se(nd,[["render",id],["__scopeId","data-v-3d953d12"]]),LY="",dd={name:"IdmEditor",components:{Editor:qa.Editor,Toolbar:qa.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(o){var s,t;o?(s=this.editor)==null||s.disable():(t=this.editor)==null||t.enable()}},modelValue:{handler(){var o;this.valueHtml=this.modelValue,(o=this.editor)==null||o.setHtml(this.valueHtml)}}},methods:{handleCreated(o){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(o),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(o){this.$emit("update:modelValue",this.valueHtml)},handleBlur(o){this.$emit("blur",this.valueHtml)},beforeDestroy(){var o;(o=this.editor)==null||o.destroy()}}},rd={class:"editor-box"};function md(o,s,t,r,a,n){const E=e.resolveComponent("Toolbar"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(E,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!t.disabled]]),e.createVNode(c,{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:t.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Jo=Se(dd,[["render",md],["__scopeId","data-v-e3eb0d7a"]]),WY="",pd={name:"OrmRouteReport",components:{Lng:Wa,Lat:$a,Editor:Jo,Brand:Qo,Loading:La,ElTooltip:ua.ElTooltip},props:{plan:{type:Object,default:()=>({})},weatherPrinciple:{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(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let r=0;return t&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,t)),`${K(o).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(o,s){var t,r,a,n,E;if(s===0)return"-";{const c=K((a=(r=(t=o==null?void 0:o.speeds)==null?void 0:t[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((E=(n=o==null?void 0:o.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(c*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMemo(){return function(o){return(o==null?void 0:o.memo)??"-"}},computeMajorPoints(){return function(o,s){const t=[];if(s.length)return s.forEach(r=>{t.push(r),r.suspend&&(o!=null&&o.useRouteParam)&&t.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),t}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o,s=0){var n,E,c,p;const t=(p=(c=(E=(n=o==null?void 0:o.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:c.sample)==null?void 0:p.hours,r=t[0],a=t[t.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,b,g,h,N,D,x;const o=[],s=[],t={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,k)=>{r[C]=Math.PI/8*k});const n=18;let E=4;(D=(N=(h=(g=(b=(p=this.plan)==null?void 0:p.speeds)==null?void 0:b[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var T,F,B,w,f,O,I,G,R,z;const k=C.meteo;if(k){const _=K(k.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((F=(T=k.wave)==null?void 0:T.sig)==null?void 0:F.height)>E?(w=(B=k.wave)==null?void 0:B.sig)==null?void 0:w.height:E),s.push([_,(f=k.wind)==null?void 0:f.kts,(I=(O=k.wave)==null?void 0:O.sig)==null?void 0:I.height,(G=k.wind)==null?void 0:G.direction,(R=k.wind)==null?void 0:R.degree,(z=k.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const c={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:o,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:E,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:t.dateTime,y:t.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:t.dateTime,y:t.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(t.dateTime),k.value(t.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[k.value(t.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:t.dateTime,y:t.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:t.dateTime,y:t.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:t.dateTime,y:t.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(x=this.echart)==null||x.setOption(c)}}},Ve=o=>(e.pushScopeId("data-v-7d56124f"),o=o(),e.popScopeId(),o),hd={class:"voyage-plan"},_d={class:"plan-report"},Ed={class:"section voyage-section flex-space"},yd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},bd={class:"flex-start label-block",style:{width:"100%"}},gd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),xd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},kd={class:"flex-start label-block",style:{width:"100%"}},Dd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Gd=Ve(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Rd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ve(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Yd={class:"flex-center"},Zd=["src"],Qd={class:"legends"},Jd=e.createStaticVNode('<div class="legend" data-v-7d56124f><label style="background-color:var(--idm-dangerous);" data-v-7d56124f></label><span data-v-7d56124f>Dangerous</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-severe);" data-v-7d56124f></label><span data-v-7d56124f>Severe</span></div><div class="legend" data-v-7d56124f><label style="background-color:var(--idm-heavy);" data-v-7d56124f></label><span data-v-7d56124f>Heavy</span></div>',3),Kd={class:"legend"},jd=Ve(()=>e.createElementVNode("b",{class:"route1"},null,-1)),ud={key:0,class:"legend"},Xd=Ve(()=>e.createElementVNode("b",{class:"route2"},null,-1)),qd={key:1,class:"legend"},vd=Ve(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ve(()=>e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route",-1)),ar=Ve(()=>e.createElementVNode("th",null,"SPD (kts)",-1)),nr=Ve(()=>e.createElementVNode("th",{rowspan:"2"},"DTG (nm)",-1)),sr=Ve(()=>e.createElementVNode("th",null,"ETA (LT)",-1)),cr=Ve(()=>e.createElementVNode("th",{rowspan:"2"},"Diff (h)",-1)),ir=Ve(()=>e.createElementVNode("th",{colspan:"2"},"Cons (mt)",-1)),dr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Dangerous",-1)),rr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Severe",-1)),mr=Ve(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Heavy",-1)),pr=Ve(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),hr=Ve(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),_r=Ve(()=>e.createElementVNode("th",null,"*FO",-1)),Er=Ve(()=>e.createElementVNode("th",null,"*DO",-1)),yr={colspan:"3"},Nr={rowspan:"2"},Vr={rowspan:"2"},fr={rowspan:"2"},br={rowspan:"2"},gr={rowspan:"2"},xr={rowspan:"2"},kr={rowspan:"2"},Dr={rowspan:"2"},Cr={rowspan:"2"},Sr=Ve(()=>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)),Br={class:"section waypoint-section"},wr={class:"header-block flex-start"},Ar=Ve(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Tr={class:"title"},Fr={key:0,class:"flex-end",style:{flex:"1"}},Or=["onClick"],Pr={class:"advisory"},Lr=["innerHTML"],Wr={class:"major-waypoint"},$r=e.createStaticVNode('<div class="major-header" data-v-7d56124f><div class="cell-item flex" style="flex:1.5;" data-v-7d56124f>Major waypoint</div><div class="cell-item flex" data-v-7d56124f>Time</div><div class="cell-item flex" data-v-7d56124f>Nav</div><div class="cell-item flex" data-v-7d56124f>Dist</div><div class="cell-item flex" data-v-7d56124f>SOG/COG</div><div class="cell-item flex" data-v-7d56124f>Memo</div></div>',1),Hr={class:"major-body"},Mr={class:"cell-item flex",style:{flex:"1.5"}},Ir={key:0,class:"flex-center"},Gr={key:1,class:"flex-center"},Rr=Ve(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),zr={key:0},Ur={class:"cell-item flex"},Yr={key:0,class:"cell-item flex offset"},Zr={key:1,class:"cell-item flex nbsp"},Qr={key:2,class:"cell-item flex offset"},Jr={key:3,class:"cell-item flex nbsp"},Kr={key:4,class:"cell-item flex offset"},jr={key:5,class:"cell-item flex nbsp"},ur={key:6,class:"cell-item flex offset"},Xr={key:7,class:"cell-item flex nbsp"},qr={class:"section forecast-section"},vr={class:"header-block flex-start"},em=Ve(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tm={class:"title"},om={key:0,class:"flex-end",style:{flex:"1"}},lm=["onClick"],am={class:"echart-block"},nm={ref:"echart",class:"echart"},sm=Ve(()=>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)),cm={class:"flex-center"},im=Ve(()=>e.createElementVNode("span",null,"/",-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},Em={key:0,class:"degree-box"},ym={key:1},Nm=Ve(()=>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 Vm(o,s,t,r,a,n){var N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),g=e.resolveComponent("ElTooltip"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(E,{name:"Voyage Planning",issued:(N=t.plan)==null?void 0:N.updatedAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((C=(x=(D=t.plan)==null?void 0:D.voyage)==null?void 0:x.company)==null?void 0:C.name),1)]),e.createElementVNode("div",bd,[gd,e.createElementVNode("span",xd,e.toDisplayString((F=(T=(k=t.plan)==null?void 0:k.voyage)==null?void 0:T.vessel)==null?void 0:F.name)+" ("+e.toDisplayString((O=(f=(w=(B=t.plan)==null?void 0:B.voyage)==null?void 0:w.vessel)==null?void 0:f.vesselType)==null?void 0:O.name)+")",1)]),e.createElementVNode("div",kd,[Dd,e.createElementVNode("span",Cd,e.toDisplayString((G=(I=t.plan)==null?void 0:I.voyage)==null?void 0:G.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(_=(z=(R=t.plan)==null?void 0:R.leg)==null?void 0:z.departure)!=null&&_.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((H=(L=t.plan)==null?void 0:L.leg)==null?void 0:H.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(M=(P=(W=t.plan)==null?void 0:W.leg)==null?void 0:P.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),Fd,e.createVNode(b,{lng:(J=(U=(Q=t.plan)==null?void 0:Q.leg)==null?void 0:U.departure)==null?void 0:J.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((l=(se=(ne=t.plan)==null?void 0:ne.leg)==null?void 0:se.departure)==null?void 0:l.atd)||((ee=(v=(u=t.plan)==null?void 0:u.leg)==null?void 0:v.departure)==null?void 0:ee.etd)||((ce=(le=(oe=(te=t.plan)==null?void 0:te.speeds)==null?void 0:oe[a.speedIndex])==null?void 0:le.speed)==null?void 0:ce.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(_e=(de=(ie=t.plan)==null?void 0:ie.leg)==null?void 0:de.destination)!=null&&_e.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((Ee=(me=(X=t.plan)==null?void 0:X.leg)==null?void 0:me.destination)==null?void 0:Ee.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(be=(re=(ye=t.plan)==null?void 0:ye.leg)==null?void 0:re.destination)==null?void 0:be.lat,label:""},null,8,["lat"]),Hd,e.createVNode(b,{lng:(ke=(xe=(ge=t.plan)==null?void 0:ge.leg)==null?void 0:xe.destination)==null?void 0:ke.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Oe=(Fe=(Ce=(De=t.plan)==null?void 0:De.speeds)==null?void 0:Ce[a.speedIndex])==null?void 0:Fe.speed)==null?void 0:Oe.ata)||(($e=(We=(Le=(Pe=t.plan)==null?void 0:Pe.speeds)==null?void 0:Le[a.speedIndex])==null?void 0:We.speed)==null?void 0:$e.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Gd,e.createElementVNode("span",Rd,e.toDisplayString((Me=(He=t.plan)==null?void 0:He.voyage)==null?void 0:Me.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,(Ne=t.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yd,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Zd)]),e.createElementVNode("div",Qd,[Jd,e.createElementVNode("div",Kd,[jd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>{a.speedIndex=0,n.renderEchart()})},e.toDisplayString((Be=(A=(ue=(je=(Ke=t.plan)==null?void 0:Ke.speeds)==null?void 0:je[0])==null?void 0:ue.speed)==null?void 0:A.lane)==null?void 0:Be.name),1)]),((Xe=(Re=t.plan)==null?void 0:Re.speeds)==null?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("div",ud,[Xd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>{a.speedIndex=1,n.renderEchart()})},e.toDisplayString((m=(tt=(et=(ve=(qe=t.plan)==null?void 0:qe.speeds)==null?void 0:ve[1])==null?void 0:et.speed)==null?void 0:tt.lane)==null?void 0:m.name),1)])):e.createCommentVNode("",!0),((we=($=t.plan)==null?void 0:$.speeds)==null?void 0:we.length)>2?(e.openBlock(),e.createElementBlock("div",qd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>{a.speedIndex=2,n.renderEchart()})},e.toDisplayString((ot=(Ye=(pe=(ze=(Ge=t.plan)==null?void 0:Ge.speeds)==null?void 0:ze[2])==null?void 0:pe.speed)==null?void 0:Ye.lane)==null?void 0:ot.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[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",tr,[(dt=(lt=t.plan)==null?void 0:lt.speeds)!=null&&dt.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lr,ar,nr,sr,cr,ir,e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(mt=(rt=t.weatherPrinciple)==null?void 0:rt.dangerous)==null?void 0:mt.pretty},{default:e.withCtx(()=>[dr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(_t=(pt=t.weatherPrinciple)==null?void 0:pt.severe)==null?void 0:_t.pretty},{default:e.withCtx(()=>[rr]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(g,{effect:"light",placement:"top",trigger:"hover",width:300,content:(yt=(Et=t.weatherPrinciple)==null?void 0:Et.heavy)==null?void 0:yt.pretty},{default:e.withCtx(()=>[mr]),_:1},8,["content"])])]),e.createElementVNode("tr",null,[pr,hr,_r,Er,e.createElementVNode("th",yr,"*days (with in the next "+e.toDisplayString(n.computeDay(t.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Nt=t.plan)==null?void 0:Nt.speeds,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ie},[e.createElementVNode("tr",null,[e.createElementVNode("td",Nr,e.toDisplayString(Ie+1),1),e.createElementVNode("td",Vr,e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((ht=S.speed)==null?void 0:ht.label)??"CP"} ${((Lt=S.speed)==null?void 0:Lt.v0)??(($t=(Wt=S.speed)==null?void 0:Wt.cpCopy)==null?void 0:$t.speed)}`),1),e.createElementVNode("td",fr,e.toDisplayString(n.roundPrecision((Ht=S.speed)==null?void 0:Ht.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Mt=S.speed)==null?void 0:Mt.eta,(Rt=(Gt=(It=t.plan)==null?void 0:It.leg)==null?void 0:Gt.destination)==null?void 0:Rt.lng,(Yt=(Ut=(zt=t.plan)==null?void 0:zt.leg)==null?void 0:Ut.destination)==null?void 0:Yt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Zt=S.speed)==null?void 0:Zt.eta))+"] ",1)]),e.createElementVNode("td",br,e.toDisplayString(n.computeTimeDiff(t.plan,Ie)),1),e.createElementVNode("td",gr,e.toDisplayString(n.roundPrecision((Qt=S.speed)==null?void 0:Qt.totalFoCons,3)),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((Jt=S.speed)==null?void 0:Jt.totalDgoCons,3)),1),e.createElementVNode("td",kr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.dangerous)/24,1)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.roundPrecision(((jt=S.speed)==null?void 0:jt.severe)/24,1)),1),e.createElementVNode("td",Cr,e.toDisplayString(n.roundPrecision(((ut=S.speed)==null?void 0:ut.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((eo=(vt=S.speed)==null?void 0:vt.cpCopy)==null?void 0:eo.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((lo=S.speed)==null?void 0:lo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Sr]),e.createElementVNode("div",Br,[e.createElementVNode("div",wr,[Ar,e.createElementVNode("div",Tr,"Advisory & Major Waypoint of Route "+e.toDisplayString((gt=(bt=(ft=(Vt=t.plan.speeds)==null?void 0:Vt[a.speedIndex])==null?void 0:ft.speed)==null?void 0:bt.lane)==null?void 0:gt.name),1),((kt=(xt=t.plan)==null?void 0:xt.speeds)==null?void 0:kt.length)>1?(e.openBlock(),e.createElementBlock("div",Fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Dt=t.plan)==null?void 0:Dt.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,Or)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Pr,[a.editable?(e.openBlock(),e.createBlock(h,{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,Lr))]),e.createElementVNode("div",Wr,[$r,e.createElementVNode("div",Hr,[(St=(Ct=t.plan)==null?void 0:Ct.speeds)!=null&&St.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Tt=(At=(wt=(Bt=t.plan)==null?void 0:Bt.speeds)==null?void 0:wt[a.speedIndex])==null?void 0:At.speed)==null?void 0:Tt.argv,(so=(no=(Pt=(Ot=(Ft=t.plan)==null?void 0:Ft.speeds)==null?void 0:Ot[a.speedIndex])==null?void 0:Pt.speed)==null?void 0:no.sample)==null?void 0:so.wps),(S,Ie)=>(e.openBlock(),e.createElementBlock("div",{key:Ie,class:"cell-row"},[e.createElementVNode("div",Mr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Ir,"Resume")):(e.openBlock(),e.createElementBlock("div",Gr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Rr,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",zr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Ur,e.toDisplayString(n.computeUTCTime(S.eta)),1),Ie?(e.openBlock(),e.createElementBlock("div",Yr,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Zr)),Ie?(e.openBlock(),e.createElementBlock("div",Qr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Jr)),Ie?(e.openBlock(),e.createElementBlock("div",Kr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,2))+" / "+e.toDisplayString(n.roundPrecision(S.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",jr)),Ie?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Xr))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",qr,[(io=(co=t.plan)==null?void 0:co.speeds)!=null&&io.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",vr,[em,e.createElementVNode("div",tm," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((_o=(ho=(po=(mo=(ro=t.plan)==null?void 0:ro.speeds)==null?void 0:mo[a.speedIndex])==null?void 0:po.speed)==null?void 0:ho.lane)==null?void 0:_o.name),1),((yo=(Eo=t.plan)==null?void 0:Eo.speeds)==null?void 0:yo.length)>1?(e.openBlock(),e.createElementBlock("div",om,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((No=t.plan)==null?void 0:No.speeds,(S,Ie)=>{var at,nt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ie,onClick:ht=>{a.speedIndex=Ie,n.renderEchart()}},e.toDisplayString((nt=(at=S==null?void 0:S.speed)==null?void 0:at.lane)==null?void 0:nt.name),9,lm)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",am,[e.createElementVNode("div",nm,null,512)]),e.createElementVNode("table",null,[sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((xo=(go=(bo=(fo=(Vo=t.plan)==null?void 0:Vo.speeds)==null?void 0:fo[a.speedIndex])==null?void 0:bo.speed)==null?void 0:go.sample)==null?void 0:xo.hours,(S,Ie)=>{var at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo;return e.openBlock(),e.createElementBlock("tr",{key:Ie,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",cm,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),im,e.createVNode(b,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(nt=(at=S.meteo)==null?void 0:at.wind)!=null&&nt.kts?(e.openBlock(),e.createElementBlock("span",dm,[e.createTextVNode(e.toDisplayString((Lt=(ht=S.meteo)==null?void 0:ht.wind)==null?void 0:Lt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree(($t=(Wt=S.meteo)==null?void 0:Wt.wind)==null?void 0:$t.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Mt=(Ht=S.meteo)==null?void 0:Ht.wind)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(Gt=(It=S.meteo)==null?void 0:It.wave)==null?void 0:Gt.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Yt=(Ut=(zt=S.meteo)==null?void 0:zt.wave)==null?void 0:Ut.swell)!=null&&Yt.height?(e.openBlock(),e.createElementBlock("span",mm,[e.createTextVNode(e.toDisplayString((Jt=(Qt=(Zt=S.meteo)==null?void 0:Zt.wave)==null?void 0:Qt.swell)==null?void 0:Jt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ut=(jt=(Kt=S.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:ut.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((vt=(qt=(Xt=S.meteo)==null?void 0:Xt.wave)==null?void 0:qt.swell)==null?void 0:vt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((oo=(to=(eo=S.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.period,1)),1),e.createElementVNode("td",null,[(Do=(ko=(lo=S.meteo)==null?void 0:lo.wave)==null?void 0:ko.sig)!=null&&Do.height?(e.openBlock(),e.createElementBlock("span",hm,[e.createTextVNode(e.toDisplayString((Bo=(So=(Co=S.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:Bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((To=(Ao=(wo=S.meteo)==null?void 0:wo.wave)==null?void 0:Ao.sig)==null?void 0:To.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_m,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Po=(Oo=(Fo=S.meteo)==null?void 0:Fo.wave)==null?void 0:Oo.sig)==null?void 0:Po.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($o=(Wo=(Lo=S.meteo)==null?void 0:Lo.wave)==null?void 0:Wo.sig)==null?void 0:$o.period,1)),1),e.createElementVNode("td",null,[(Mo=(Ho=S.meteo)==null?void 0:Ho.current)!=null&&Mo.kts?(e.openBlock(),e.createElementBlock("span",Em,[e.createTextVNode(e.toDisplayString((Go=(Io=S.meteo)==null?void 0:Io.current)==null?void 0:Go.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((zo=(Ro=S.meteo)==null?void 0:Ro.current)==null?void 0:zo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ym,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Yo=(Uo=S.meteo)==null?void 0:Uo.current)==null?void 0:Yo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),Nm])])])}const ja=Se(pd,[["render",Vm],["__scopeId","data-v-7d56124f"]]),$Y="",fm={name:"RouteReport",components:{Lng:Wa,Lat:$a,Editor:Jo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=K(o);return t.utcOffset(s),`${t.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var o,s,t,r,a;return(a=(r=(t=(s=(o=this.plan)==null?void 0:o.leg)==null?void 0:s.destination)==null?void 0:t.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(o,s){var t,r,a;if(s===0)return"-";{const n=K((r=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:r.eta).diff(K((a=o==null?void 0:o.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(o){return o.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeMapChart(){var o;return((o=this.plan)==null?void 0:o.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(o){var a,n,E;const s=(E=(n=(a=o==null?void 0:o.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:E.hours,t=s[0],r=s[s.length-1];return K(r.eta).diff(K(t.eta),"day")}}},watch:{plan:{handler(){var o,s;(o=this.plan)!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},Ze=o=>(e.pushScopeId("data-v-9a939466"),o=o(),e.popScopeId(),o),bm={class:"route-report"},gm=Ze(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),xm={class:"section"},km=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Dm={class:"section-body basics"},Cm={class:"flex-space section-row"},Sm={class:"flex-start"},Bm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),wm={class:"flex-start"},Am={class:"flex-start"},Tm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Fm={class:"flex-start flex"},Om={key:0,class:"flex"},Pm={key:1,class:"flex-space flex"},Lm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Wm={class:"time flex"},$m={class:"flex-space section-row"},Hm={class:"flex-start"},Mm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Im={class:"flex-start"},Gm={class:"flex-start"},Rm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),zm={class:"flex-start flex"},Um={key:0,class:"flex"},Ym={key:1,class:"flex-space"},Zm=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Qm={class:"time flex"},Jm={class:"flex-space section-row"},Km={class:"flex-start"},jm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),um={class:"flex-start"},Xm={class:"flex-start"},qm=Ze(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),vm={class:"flex-start flex"},ep={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},tp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),op={class:"section-body detail"},lp={class:"flex-space",style:{"align-items":"stretch"}},ap={class:"chart"},np=["src"],sp={key:1,class:"empty flex-center"},cp={class:"route flex",style:{"justify-content":"space-between"}},ip=Ze(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),dp={class:"suggestion"},rp=["innerHTML"],mp={class:"flex-start legends"},pp=e.createStaticVNode('<div class="legend" data-v-9a939466><label style="background-color:var(--idm-severe);" data-v-9a939466></label><span data-v-9a939466>Dangerous</span></div><div class="legend" data-v-9a939466><label style="background-color:var(--idm-heavy);" data-v-9a939466></label><span data-v-9a939466>Severe</span></div><div class="legend" data-v-9a939466><b class="route1" data-v-9a939466></b><span data-v-9a939466>Route 1</span></div>',3),hp={key:0,class:"legend"},_p=[Ze(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 2",-1))],Ep={key:1,class:"legend"},yp=[Ze(()=>e.createElementVNode("b",{class:"route3"},null,-1)),Ze(()=>e.createElementVNode("span",null,"Route 3",-1))],Np={class:"section"},Vp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),fp={class:"section-body comparison"},bp={class:"container"},gp={key:0},xp=Ze(()=>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)),kp={class:"section",style:{"page-break-inside":"avoid"}},Dp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Cp={class:"section-body sample"},Sp={class:"major-waypoints"},Bp={class:"container"},wp=e.createStaticVNode('<div class="header" data-v-9a939466><div class="cell-item flexM" data-v-9a939466>Major waypoint</div><div class="cell-item flexL" data-v-9a939466>Name</div><div class="cell-item flex" data-v-9a939466>Time</div><div class="cell-item flex" data-v-9a939466>Nav</div><div class="cell-item flex" data-v-9a939466>Dist</div><div class="cell-item flex" data-v-9a939466>SOG</div></div>',1),Ap={class:"body"},Tp={class:"cell-item flexM"},Fp={class:"flex-center"},Op=Ze(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Pp={class:"cell-item flexL"},Lp={key:0,class:"flex-center"},Wp={key:1},$p={class:"cell-item flex"},Hp={key:0,class:"cell-item flex offset"},Mp={key:1,class:"cell-item flex nbsp"},Ip={key:2,class:"cell-item flex offset"},Gp={key:3,class:"cell-item flex nbsp"},Rp={key:4,class:"cell-item flex offset"},zp={key:5,class:"cell-item flex nbsp"},Up={class:"section"},Yp=Ze(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Zp={class:"section-body sample"},Qp={key:0},Jp=Ze(()=>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)),Kp={class:"flex-center"},jp=Ze(()=>e.createElementVNode("span",null,"/",-1)),up={key:0,class:"degree-box"},Xp={key:1},qp={key:0,class:"degree-box"},vp={key:1},eh={key:0,class:"degree-box"},th={key:1},oh={key:0,class:"degree-box"},lh={key:1},ah=Ze(()=>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 nh(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",bm,[gm,e.createElementVNode("div",xm,[km,e.createElementVNode("div",Dm,[e.createElementVNode("div",Cm,[e.createElementVNode("div",Sm,[Bm,e.createElementVNode("div",wm,e.toDisplayString((h=(g=(b=t.plan)==null?void 0:b.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,[(x=(D=(N=t.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&x.name?(e.openBlock(),e.createElementBlock("div",Om,e.toDisplayString((k=(C=t.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Pm,[e.createVNode(E,{lat:(B=(F=(T=t.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Lm,e.createVNode(c,{lng:(O=(f=(w=t.plan)==null?void 0:w.leg)==null?void 0:f.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Wm,e.toDisplayString(n.computeUTCTime(((R=(G=(I=t.plan)==null?void 0:I.leg)==null?void 0:G.departure)==null?void 0:R.atd)||((L=(_=(z=t.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",$m,[e.createElementVNode("div",Hm,[Mm,e.createElementVNode("div",Im,e.toDisplayString((P=(W=(H=t.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Gm,[Rm,e.createElementVNode("div",zm,[(U=(Q=(M=t.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Um,e.toDisplayString((ne=(J=t.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Ym,[e.createVNode(E,{lat:(u=(l=(se=t.plan)==null?void 0:se.leg)==null?void 0:l.destination)==null?void 0:u.lat,label:""},null,8,["lat"]),Zm,e.createVNode(c,{lng:(te=(ee=(v=t.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Qm,e.toDisplayString(n.computeUTCTime(((ce=(le=(oe=t.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ce.speed.ata)||((de=(ie=t.plan)==null?void 0:ie.speeds)==null?void 0:de[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Jm,[e.createElementVNode("div",Km,[jm,e.createElementVNode("div",um,e.toDisplayString(n.computeUTCTime((_e=t.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Xm,[qm,e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((me=(X=t.plan)==null?void 0:X.voyage)==null?void 0:me.loadCondition),1)])])])])]),e.createElementVNode("div",ep,[tp,e.createElementVNode("div",op,[e.createElementVNode("div",lp,[e.createElementVNode("div",ap,[(Ee=t.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=t.plan)==null?void 0:ye.chartUrl},null,8,np)):(e.openBlock(),e.createElementBlock("div",sp,[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",cp,[e.createElementVNode("div",null,[ip,e.createElementVNode("div",dp,[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,rp))])]),e.createElementVNode("div",mp,[pp,((be=(re=t.plan)==null?void 0:re.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",hp,_p)):e.createCommentVNode("",!0),((xe=(ge=t.plan)==null?void 0:ge.speeds)==null?void 0:xe.length)>2?(e.openBlock(),e.createElementBlock("div",Ep,yp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,[e.createElementVNode("div",bp,[(De=(ke=t.plan)==null?void 0:ke.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",gp,[xp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ce=t.plan)==null?void 0:Ce.speeds,(A,Be)=>{var Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt;return e.openBlock(),e.createElementBlock("tr",{key:Be},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Be+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=A.speed)==null?void 0:Xe.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((et=(ve=A.speed)==null?void 0:ve.cpCopy)==null?void 0:et.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(tt=A.speed)==null?void 0:tt.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((we=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:we.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ge=A.speed)==null?void 0:Ge.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ze=A.speed)==null?void 0:ze.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((pe=A.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((Ye=A.speed)==null?void 0:Ye.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((lt=A.speed)==null?void 0:lt.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",kp,[Dp,e.createElementVNode("div",Cp,[e.createElementVNode("div",Sp,[e.createElementVNode("div",Bp,[wp,e.createElementVNode("div",Ap,[(Oe=(Fe=t.plan)==null?void 0:Fe.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(($e=(We=(Le=(Pe=t.plan)==null?void 0:Pe.speeds[0])==null?void 0:Le.speed)==null?void 0:We.sample)==null?void 0:$e.wps,(A,Be)=>(e.openBlock(),e.createElementBlock("div",{key:Be,class:"cell-row"},[e.createElementVNode("div",Tp,[e.createElementVNode("div",Fp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),Op,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Pp,[A.name?(e.openBlock(),e.createElementBlock("span",Lp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Wp,"-"))]),e.createElementVNode("div",$p,e.toDisplayString(n.computeUTCTime(A.eta)),1),Be?(e.openBlock(),e.createElementBlock("div",Hp,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Mp)),Be?(e.openBlock(),e.createElementBlock("div",Ip,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Gp)),Be?(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",zp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Up,[Yp,e.createElementVNode("div",Zp,[(Me=(He=t.plan)==null?void 0:He.speeds)!=null&&Me.length?(e.openBlock(),e.createElementBlock("table",Qp,[Jp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=(je=(Ke=(Ne=t.plan)==null?void 0:Ne.speeds[0])==null?void 0:Ke.speed)==null?void 0:je.sample)==null?void 0:ue.hours,(A,Be)=>{var Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Be,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",Kp,[e.createVNode(E,{lat:A.lat,label:""},null,8,["lat"]),jp,e.createVNode(c,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Re=A.meteo)==null?void 0:Re.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ve=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Xp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=(et=A.meteo)==null?void 0:et.wind)==null?void 0:tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((we=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:we.height,1)),1),e.createElementVNode("td",null,[(pe=(ze=(Ge=A.meteo)==null?void 0:Ge.wave)==null?void 0:ze.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",qp,e.toDisplayString((lt=(ot=(Ye=A.meteo)==null?void 0:Ye.wave)==null?void 0:ot.swell)==null?void 0:lt.direction),1)):(e.openBlock(),e.createElementBlock("span",vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((mt=(rt=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:rt.swell)==null?void 0:mt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Et=(_t=(pt=A.meteo)==null?void 0:pt.wave)==null?void 0:_t.swell)==null?void 0:Et.period,1)),1),e.createElementVNode("td",null,[(Vt=(Nt=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)!=null&&Vt.height?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString((gt=(bt=(ft=A.meteo)==null?void 0:ft.wave)==null?void 0:bt.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",th,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(kt=(xt=A.meteo)==null?void 0:xt.wave)==null?void 0:kt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Bt=(St=(Ct=A.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:Bt.period,1)),1),e.createElementVNode("td",null,[(At=(wt=A.meteo)==null?void 0:wt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",oh,e.toDisplayString((Ft=(Tt=A.meteo)==null?void 0:Tt.current)==null?void 0:Ft.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",lh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ot=A.meteo)==null?void 0:Ot.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),ah])}const tn=Se(fm,[["render",nh],["__scopeId","data-v-9a939466"]]),sh={install(o){o.component("RouteReport",ja),o.component("FliPlanReport",tn),o.component("OrmPlanReport",ja)}},ch={install(o){o.component("IdmEditor",Jo)}},ih={install(o){o.component("IdmLat",$a)}},dh={install(o){o.component("IdmLng",Wa)}},rh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},mh={class:"logo"},ph={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},hh=["fill","fill-opacity"],_h=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
|
|
2
2
|
-408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
|
|
3
3
|
-82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
|
|
4
4
|
-225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function Eh(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",mh,[(e.openBlock(),e.createElementBlock("svg",ph,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},_h,8,hh)]))])}const on=Se(rh,[["render",Eh]]),yh={install(o){o.component("PiLogo",on)}},zY="",UY="",Nh={name:"FliVygSummary",components:{Editor:Jo},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(o){var s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?K(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(o).utc().format("MMMM D, HHmm[Z]"):s?K(o).utc().format(s):K(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-d80f1a42"),o=o(),e.popScopeId(),o),Vh=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)),fh={class:"fli-main"},bh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),gh={class:"card basics"},xh={class:"list flex"},kh={class:"item"},Dh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Ch={class:"content flex"},Sh={class:"item"},Bh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Fh={class:"content flex"},Oh={class:"list"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Wh={class:"content flex"},$h={class:"content flex"},Hh={class:"item"},Mh=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Ih={class:"content flex"},Gh={class:"content flex"},Rh={class:"item"},zh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Uh={class:"content flexL"},Yh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Zh={class:"clause"},Qh={key:0,class:"definition flex"},Jh={key:1,class:"definition flex"},Kh={class:"item"},jh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),uh={class:"content"},Xh={key:0,class:"item"},qh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),vh={class:"content"},e1={key:1,class:"item"},t1=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),o1={class:"content"},l1={key:2,class:"item"},a1=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),n1={class:"content"},s1={key:3,class:"item"},c1=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),i1={class:"content"},d1={key:4,class:"item"},r1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],m1={key:5,class:"item"},p1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],h1={class:"definition flexM"},_1={class:"table"},E1=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)),y1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),N1={class:"summary"},V1={key:0,class:"summary-overall"},f1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),b1={class:"summary-overall-row"},g1={class:"card"},x1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),k1={class:"main-content"},D1={key:0},C1={key:1},S1={class:"card"},B1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),w1={class:"main-content"},A1={key:0},T1={key:1},F1={class:"card"},O1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),P1={class:"main-content"},L1={key:0},W1={key:1},$1={class:"summary-overall-row"},H1={class:"card"},M1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),I1={class:"main-content"},G1={class:"card"},R1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),z1={class:"main-content"},U1={class:"card"},Y1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Z1={class:"main-content"},Q1=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)),J1={class:"card",style:{flex:"1.5"}},K1={class:"card-title"},j1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"card-segment"},X1={class:"card-segment"},q1={class:"card-segment"},v1=d(()=>e.createElementVNode("div",null,"Applied",-1)),e_={class:"uppercase"},t_={class:"card summary-card",style:{flex:"1"}},o_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),l_={key:0,class:"main-content"},a_={key:0,class:"iconfont success"},n_={key:1,class:"iconfont error"},s_={key:1,class:"main-content"},c_={class:"card-content",style:{"justify-content":"flex-start"}},i_={class:"card summary-card",style:{flex:"1"}},d_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),r_={key:0,class:"main-content"},m_={key:0,class:"iconfont success"},p_={key:1,class:"iconfont error"},h_={key:1,class:"main-content"},__={class:"card-content",style:{"justify-content":"flex-start"}},E_={class:"card summary-card",style:{flex:"1"}},y_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),N_={key:0,class:"main-content"},V_={key:0,class:"iconfont success"},f_={key:1,class:"iconfont error"},b_={key:1,class:"main-content"},g_={class:"card-content",style:{"justify-content":"flex-start"}},x_={style:{"page-break-inside":"avoid"}},k_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),D_={class:"remarks"},C_={class:"item"},S_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),B_={class:"speed"},w_={class:"uppercase"},A_={class:"item"},T_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),F_={key:0,class:"remark-detail"},O_={key:1,class:"remark-detail"},P_={class:"page-avoid"},L_={class:"dashed"},W_={class:"card phase-title-card",style:{flex:"0.5"}},$_={class:"card-title"},H_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),M_={class:"card-segment"},I_={class:"card-segment"},G_={class:"card-segment"},R_=d(()=>e.createElementVNode("div",null,"Applied",-1)),z_={class:"uppercase"},U_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Y_={class:"phase-analysis"},Z_={class:"card phase-card",style:{flex:"1"}},Q_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),J_={class:"main-content"},K_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),j_={class:"main-content"},u_={class:"card-content"},X_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),q_=d(()=>e.createElementVNode("span",null,"mt",-1)),v_={class:"card-content"},eE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),tE=d(()=>e.createElementVNode("span",null,"mt",-1)),oE={class:"card-content"},lE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),aE=d(()=>e.createElementVNode("span",null,"mt",-1)),nE={class:"card-content"},sE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),cE=d(()=>e.createElementVNode("span",null,"mt",-1)),iE=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)),dE={class:"card phase-card",style:{flex:"1"}},rE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),mE={class:"main-content"},pE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),hE={class:"main-content"},_E={class:"card-content"},EE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),yE=d(()=>e.createElementVNode("span",null,"mt",-1)),NE={class:"card-content"},VE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),fE=d(()=>e.createElementVNode("span",null,"mt",-1)),bE={class:"card-content"},gE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),xE=d(()=>e.createElementVNode("span",null,"mt",-1)),kE={class:"card-content"},DE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),CE=d(()=>e.createElementVNode("span",null,"mt",-1)),SE=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)),BE={class:"phase-analysis"},wE={class:"card phase-card",style:{flex:"1"}},AE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),TE={class:"main-content"},FE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),OE={class:"main-content"},PE={class:"card-content"},LE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),WE=d(()=>e.createElementVNode("span",null,"nm",-1)),$E={class:"card-content"},HE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),ME=d(()=>e.createElementVNode("span",null,"nm",-1)),IE={class:"card-content"},GE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),RE=d(()=>e.createElementVNode("span",null,"nm",-1)),zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"nm",-1)),ZE={class:"card phase-card",style:{flex:"1"}},QE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),JE={class:"main-content"},KE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),jE={class:"main-content"},uE={class:"card-content"},XE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),qE=d(()=>e.createElementVNode("span",null,"hrs",-1)),vE={class:"card-content"},ey=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),ty=d(()=>e.createElementVNode("span",null,"hrs",-1)),oy={class:"card-content"},ly=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),ay=d(()=>e.createElementVNode("span",null,"hrs",-1)),ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"hrs",-1)),iy={class:"card phase-card",style:{flex:"1"}},dy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),ry={class:"main-content"},my=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),py={class:"main-content"},hy={class:"card-content"},_y=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),Ey=d(()=>e.createElementVNode("span",null,"kts",-1)),yy={class:"card-content"},Ny=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),Vy=d(()=>e.createElementVNode("span",null,"kts",-1)),fy={class:"card-content"},by=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),gy=d(()=>e.createElementVNode("span",null,"kts",-1)),xy={class:"card-content"},ky=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),Dy=d(()=>e.createElementVNode("span",null,"kts",-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 Cons. FO")],-1)),wy={class:"main-content"},Ay=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),Ty={class:"main-content"},Fy={class:"card-content"},Oy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Py=d(()=>e.createElementVNode("span",null,"mt",-1)),Ly={class:"card-content"},Wy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"mt",-1)),Hy={class:"card-content"},My=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Iy=d(()=>e.createElementVNode("span",null,"mt",-1)),Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card phase-card",style:{flex:"1"}},Yy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Zy={class:"main-content"},Qy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Jy={class:"main-content"},Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Xy={class:"card-content"},qy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),vy=d(()=>e.createElementVNode("span",null,"mt",-1)),eN={class:"card-content"},tN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),oN=d(()=>e.createElementVNode("span",null,"mt",-1)),lN={class:"card-content"},aN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),nN=d(()=>e.createElementVNode("span",null,"mt",-1)),sN={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},cN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),iN={class:"main-content"},dN={class:"card-content"},rN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),mN={key:0},pN=d(()=>e.createElementVNode("span",null,"kts",-1)),hN={key:1},_N={class:"phase-card"},EN={class:"card",style:{flex:"1"}},yN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),NN={key:0,class:"main-content"},VN={key:0,class:"iconfont success"},fN={key:1,class:"iconfont error"},bN={key:1,class:"main-content"},gN={class:"nogwd"},xN={class:"card-content",style:{"justify-content":"flex-start"}},kN={key:0},DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),GN={class:"equation"},RN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),zN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),UN={style:{width:"8%"}},YN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),QN={style:{width:"10%"}},JN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),KN={class:"phase-card"},jN={class:"card",style:{flex:"1"}},uN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),XN={key:0,class:"main-content"},qN={key:0,class:"iconfont success"},vN={key:1,class:"iconfont error"},eV={key:1,class:"main-content"},tV={class:"nogwd"},oV={class:"card-content",style:{"justify-content":"flex-start"}},lV={key:0},aV={class:"equation"},nV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cV={style:{width:"8%"}},iV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),rV={style:{width:"120px"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hV={style:{width:"10%"}},_V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),EV={class:"equation"},yV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),NV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),VV={style:{width:"8%"}},fV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),gV={style:{width:"120px"}},xV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=d(()=>e.createElementVNode("div",null,"24",-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),CV={style:{width:"10%"}},SV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),BV={class:"equation"},wV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),AV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TV={style:{width:"8%"}},FV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),PV={style:{width:"120px"}},LV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=d(()=>e.createElementVNode("div",null,"24",-1)),$V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),HV={style:{width:"10%"}},MV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),IV={key:0,class:"phase-card"},GV={class:"card",style:{flex:"1"}},RV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),zV={key:0,class:"main-content"},UV={key:0,class:"iconfont success"},YV={key:1,class:"iconfont error"},ZV={key:1,class:"main-content"},QV={class:"nogwd"},JV={class:"card-content",style:{"justify-content":"flex-start"}},KV={key:0},jV={class:"equation"},uV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),qV={style:{width:"8%"}},vV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),tf={style:{width:"120px"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),af={style:{width:"10%"}},nf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),sf={class:"equation"},cf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),df=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rf={style:{width:"8%"}},mf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hf={style:{width:"120px"}},_f=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ef=d(()=>e.createElementVNode("div",null,"24",-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Nf={style:{width:"10%"}},Vf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),ff={class:"equation"},bf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xf={style:{width:"8%"}},kf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Df=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Cf={style:{width:"120px"}},Sf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=d(()=>e.createElementVNode("div",null,"24",-1)),wf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Af={style:{width:"10%"}},Tf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Ff=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Of={class:"formular dashed",style:{"page-break-inside":"avoid"}},Pf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Lf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Wf={class:""},$f={class:"equation"},Hf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Mf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),If={style:{width:"50%"},class:"fraction"},Gf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),zf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Uf={class:"equation"},Yf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Zf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"50%"},class:"fraction"},Jf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),jf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),uf={class:"equation"},Xf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),qf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vf={style:{width:"50%"},class:"fraction"},e0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),t0=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),o0=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),l0=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)),a0={class:"flexL formular-item",style:{"margin-left":"20px"}},n0=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)),s0={class:""},c0={class:"equation"},i0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),d0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"25%"},class:"fraction"},m0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),h0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),_0=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)),E0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),y0={class:"equation"},N0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),V0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),f0={style:{width:"25%"},class:"fraction"},b0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),x0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=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)),D0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),C0={class:"equation"},S0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),B0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"25%"},class:"fraction"},A0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),T0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),F0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),O0=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)),P0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),L0=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)),W0=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 $0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[Vh,e.createElementVNode("div",fh,[bh,e.createElementVNode("div",gh,[e.createElementVNode("div",xh,[e.createElementVNode("div",kh,[Dh,e.createElementVNode("div",Ch,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Sh,[Bh,e.createElementVNode("div",wh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Oh,[e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",$h,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Hh,[Mh,e.createElementVNode("div",Ih,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Gh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Rh,[zh,e.createElementVNode("div",Uh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),Yh,e.createElementVNode("div",Zh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Qh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Jh,[e.createElementVNode("div",Kh,[jh,e.createElementVNode("div",uh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Xh,[qh,e.createElementVNode("div",vh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",e1,[t1,e.createElementVNode("div",o1,e.toDisplayString(((v=(u=t.reportData)==null?void 0:u.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",l1,[a1,e.createElementVNode("div",n1,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",s1,[c1,e.createElementVNode("div",i1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(be=(re=t.reportData)==null?void 0:re.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",d1,r1)):e.createCommentVNode("",!0),(xe=(ge=t.reportData)==null?void 0:ge.weather)!=null&&xe.noExtrapolation?(e.openBlock(),e.createElementBlock("div",m1,p1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",h1,[e.createElementVNode("table",_1,[E1,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))])])])]),y1,e.createElementVNode("div",N1,[((De=(ke=t.reportData)==null?void 0:ke.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",V1,[f1,e.createElementVNode("div",b1,[e.createElementVNode("div",g1,[x1,e.createElementVNode("div",k1,[(Fe=(Ce=t.reportData)==null?void 0:Ce.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",D1,e.toDisplayString((Pe=(Oe=t.reportData)==null?void 0:Oe.goodWx)==null?void 0:Pe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",C1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",S1,[B1,e.createElementVNode("div",w1,[(We=(Le=t.reportData)==null?void 0:Le.goodWx)!=null&&We.avgSpd?(e.openBlock(),e.createElementBlock("div",A1,e.toDisplayString((He=($e=t.reportData)==null?void 0:$e.goodWx)==null?void 0:He.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",T1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",F1,[O1,e.createElementVNode("div",P1,[(Ne=(Me=t.reportData)==null?void 0:Me.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",L1,e.toDisplayString((je=(Ke=t.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",W1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",$1,[e.createElementVNode("div",H1,[M1,e.createElementVNode("div",I1,e.toDisplayString((A=(ue=t.reportData)==null?void 0:ue.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",G1,[R1,e.createElementVNode("div",z1,e.toDisplayString((Re=(Be=t.reportData)==null?void 0:Be.allWx)==null?void 0:Re.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",U1,[Y1,e.createElementVNode("div",Z1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),Q1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var we,Ge,ze;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",J1,[e.createElementVNode("div",K1,[j1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ye)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ye,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",X1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",q1,[v1,e.createElementVNode("div",null,[e.createElementVNode("span",e_,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",t_,[o_,(we=m.goodWx)!=null&&we.distance?(e.openBlock(),e.createElementBlock("div",l_,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",n_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",s_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",c_,[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",i_,[d_,(Ge=m.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",r_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",p_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",h_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",__,[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",E_,[y_,(ze=m.goodWx)!=null&&ze.distance?(e.openBlock(),e.createElementBlock("div",N_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",V_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",f_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",g_,[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_,[k_,e.createElementVNode("div",D_,[e.createElementVNode("div",C_,[S_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",B_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",w_,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[$],(we,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ge},e.toDisplayString(`${we.port1} (${we.fullTime1}) to ${we.port2} (${we.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",A_,[T_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",F_,[(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",O_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",P_,[e.createElementVNode("div",L_,[e.createElementVNode("div",W_,[e.createElementVNode("div",$_,[H_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",M_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",I_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",G_,[R_,e.createElementVNode("div",null,[e.createElementVNode("span",z_,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)])])])]),U_,e.createElementVNode("div",Y_,[e.createElementVNode("div",Z_,[Q_,e.createElementVNode("div",J_,[e.createElementVNode("span",null,e.toDisplayString(((we=m.goodWx)==null?void 0:we.avgFoEcaCons)||"-")+" mt",1)]),K_,e.createElementVNode("div",j_,[e.createElementVNode("span",null,e.toDisplayString(((Ge=m.allWx)==null?void 0:Ge.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u_,[X_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.goodWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),q_])]),e.createElementVNode("div",v_,[eE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),tE])]),e.createElementVNode("div",oE,[lE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ye=m.allWx)==null?void 0:Ye.outEca.avgFoCons)||"-"),1),aE])]),e.createElementVNode("div",nE,[sE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),cE])]),iE]),e.createElementVNode("div",dE,[rE,e.createElementVNode("div",mE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),pE,e.createElementVNode("div",hE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",_E,[EE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),yE])]),e.createElementVNode("div",NE,[VE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),fE])]),e.createElementVNode("div",bE,[gE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),xE])]),e.createElementVNode("div",kE,[DE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),CE])]),SE])]),e.createElementVNode("div",BE,[e.createElementVNode("div",wE,[AE,e.createElementVNode("div",TE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),FE,e.createElementVNode("div",OE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",PE,[LE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),WE])]),e.createElementVNode("div",$E,[HE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),ME])]),e.createElementVNode("div",IE,[GE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),RE])]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),YE])])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("div",JE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),KE,e.createElementVNode("div",jE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",uE,[XE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),qE])]),e.createElementVNode("div",vE,[ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),ty])]),e.createElementVNode("div",oy,[ly,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),ay])]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),cy])])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("div",ry,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),my,e.createElementVNode("div",py,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",hy,[_y,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),Ey])]),e.createElementVNode("div",yy,[Ny,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),Vy])]),e.createElementVNode("div",fy,[by,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),gy])]),e.createElementVNode("div",xy,[ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),Dy])])])]),e.createElementVNode("div",Cy,[e.createElementVNode("div",Sy,[By,e.createElementVNode("div",wy,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),Ay,e.createElementVNode("div",Ty,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Fy,[Oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Py])]),e.createElementVNode("div",Ly,[Wy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),$y])]),e.createElementVNode("div",Hy,[My,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Iy])]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),zy])])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("div",Zy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),Qy,e.createElementVNode("div",Jy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Ky,[jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",Xy,[qy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),vy])]),e.createElementVNode("div",eN,[tN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),oN])]),e.createElementVNode("div",lN,[aN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.allWx)==null?void 0:yo.inEca.sumDgoCons)||"-"),1),nN])])]),e.createElementVNode("div",sN,[cN,e.createElementVNode("div",iN,[e.createElementVNode("span",null,e.toDisplayString(((No=m.goodWx)==null?void 0:No.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",dN,[rN,(Vo=m.goodWx)!=null&&Vo.distance&&!((bo=(fo=t.reportData)==null?void 0:fo.weather)!=null&&bo.favorableCur&&((go=m.goodWx)==null?void 0:go.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",mN,[e.createTextVNode(e.toDisplayString(n.computedPositive((xo=m.goodWx)==null?void 0:xo.avgCf)),1),pN])):(e.openBlock(),e.createElementBlock("b",hN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",_N,[e.createElementVNode("div",EN,[yN,(S=m.goodWx)!=null&&S.distance?(e.openBlock(),e.createElementBlock("div",NN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",VN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",fN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",bN,[e.createElementVNode("span",gN,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(`${(Ie=m.goodWx)!=null&&Ie.distance?"":"analysis-none"} card analysis-card`)},[(at=m.goodWx)!=null&&at.distance?(e.openBlock(),e.createElementBlock("div",kN,[e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.noExtrapolation?(Lt=m.goodWx)==null?void 0:Lt.distance:(Wt=m.allWx)==null?void 0:Wt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(($t=m.goodWx)==null?void 0:$t.pfmSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Mt=(Ht=t.reportData)==null?void 0:Ht.weather)!=null&&Mt.noExtrapolation?(It=m.goodWx)==null?void 0:It.distance:(Gt=m.allWx)==null?void 0:Gt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),IN]),e.createElementVNode("div",GN,[RN,zN,e.createElementVNode("div",UN,[e.createElementVNode("div",null,e.toDisplayString((zt=(Rt=t.reportData)==null?void 0:Rt.weather)!=null&&zt.noExtrapolation?(Ut=m.goodWx)==null?void 0:Ut.distance:(Yt=m.allWx)==null?void 0:Yt.distance),1),YN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),ZN,e.createElementVNode("div",QN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),JN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",KN,[e.createElementVNode("div",jN,[uN,(Zt=m.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",XN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",qN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",vN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",eV,[e.createElementVNode("span",tV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",oV,[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(`${(Qt=m.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=m.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",lV,[e.createElementVNode("div",aV,[nV,sV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=t.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),iV,e.createElementVNode("div",null,e.toDisplayString((qt=m.goodWx)==null?void 0:qt.pfmSpd),1)]),dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((vt=m.goodWx)==null?void 0:vt.sumFoCons)+" "+e.toDisplayString(((eo=m.allWx)==null?void 0:eo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),mV,e.createElementVNode("div",null,e.toDisplayString((to=m.goodWx)==null?void 0:to.time),1)]),pV,e.createElementVNode("div",hV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),_V]),e.createElementVNode("div",EV,[yV,NV,e.createElementVNode("div",VV,[e.createElementVNode("div",null,e.toDisplayString((lo=(oo=t.reportData)==null?void 0:oo.weather)!=null&&lo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),fV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),bV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),xV,kV]),DV,e.createElementVNode("div",CV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),SV]),e.createElementVNode("div",BV,[wV,AV,e.createElementVNode("div",TV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),FV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),OV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),LV,WV]),$V,e.createElementVNode("div",HV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),MV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",IV,[e.createElementVNode("div",GV,[RV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",zV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",UV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",YV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",ZV,[e.createElementVNode("span",QV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",JV,[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(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",KV,[e.createElementVNode("div",jV,[uV,XV,e.createElementVNode("div",qV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString((Mo=m.goodWx)==null?void 0:Mo.pfmSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Io=m.goodWx)==null?void 0:Io.sumDgoCons)+" "+e.toDisplayString(((Go=m.allWx)==null?void 0:Go.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),of,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.time),1)]),lf,e.createElementVNode("div",af,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),nf]),e.createElementVNode("div",sf,[cf,df,e.createElementVNode("div",rf,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.reportData)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?(Yo=m.goodWx)==null?void 0:Yo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),mf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",hf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),_f,Ef]),yf,e.createElementVNode("div",Nf,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),Vf]),e.createElementVNode("div",ff,[bf,gf,e.createElementVNode("div",xf,[e.createElementVNode("div",null,e.toDisplayString((uo=(jo=t.reportData)==null?void 0:jo.weather)!=null&&uo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),kf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Df,e.createElementVNode("div",Cf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Sf,Bf]),wf,e.createElementVNode("div",Af,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),Tf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Ff,e.createElementVNode("div",Of,[e.createElementVNode("div",Pf,[Lf,e.createElementVNode("div",Wf,[e.createElementVNode("div",$f,[Hf,Mf,e.createElementVNode("div",If,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Gf,Rf]),zf]),e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Jf,Kf]),jf]),e.createElementVNode("div",uf,[Xf,qf,e.createElementVNode("div",vf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),e0,t0]),o0]),l0])]),e.createElementVNode("div",a0,[n0,e.createElementVNode("div",s0,[e.createElementVNode("div",c0,[i0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),m0,p0]),h0,_0,E0]),e.createElementVNode("div",y0,[N0,V0,e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,g0]),x0,k0,D0]),e.createElementVNode("div",C0,[S0,B0,e.createElementVNode("div",w0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),A0,T0]),F0,O0,P0]),L0,W0])])])])])}),128))])],2)}const H0=Se(Nh,[["render",$0],["__scopeId","data-v-d80f1a42"]]),KY="",M0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?K(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(o).utc().format("MMMM-DD/HHmm[Z]"):K(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=K(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=K(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},ua=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),I0=ua(()=>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)),G0={id:"second-table",class:"table"},R0={class:"summary-table"},z0=ua(()=>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)),U0={class:"summary-tbody"},Y0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),Z0={class:"voyage-map",style:{"page-break-inside":"avoid"}},Q0=ua(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),J0=["src"],K0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>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-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function j0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[I0,e.createElementVNode("div",G0,[e.createElementVNode("div",null,[e.createElementVNode("table",R0,[z0,e.createElementVNode("tbody",U0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},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,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},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,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},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,N,!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,N,!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,N))},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,N))},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,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),Y0,e.createElementVNode("div",Z0,[Q0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,J0),K0])],2)}const u0=Se(M0,[["render",j0],["__scopeId","data-v-c9bf3740"]]),jY="",X0={components:{Summary:H0,Inventory:u0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},q0={class:"voyage-report"};function v0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",q0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Se(X0,[["render",v0],["__scopeId","data-v-e76f9905"]]),uY="",e2={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Jo},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={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(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),t2={class:"report-summary"},o2={class:"section voyage-section flex-space"},l2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},a2={class:"flex-space label-block",style:{width:"100%"}},n2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),s2={style:{"text-transform":"uppercase"}},c2={class:"flex-space label-block",style:{width:"100%"}},i2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),d2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},r2={class:"flex-space label-block",style:{width:"100%"}},m2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),p2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},h2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},_2={class:"flex-space label-block",style:{width:"100%"}},E2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),y2={key:0,class:"flex-end",style:{flex:"1"}},N2={key:1,class:"flex-end",style:{flex:"1"}},V2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),f2={class:"flex-end",style:{width:"150px"}},b2={class:"flex-space label-block",style:{width:"100%"}},g2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),x2={key:0,class:"flex-end",style:{flex:"1"}},k2={key:1,class:"flex-end",style:{flex:"1"}},D2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),C2={class:"flex-end",style:{width:"150px"}},S2={class:"flex-space label-block",style:{width:"100%"}},B2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),w2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},A2={class:"section weather-section"},T2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),F2={class:"definition"},O2={class:"txt"},P2={class:"section summary-section"},L2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),W2={class:"phase-box"},$2={class:"phase-index"},H2={class:"phase-position"},M2={key:0},I2={key:1},G2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),R2={class:"phase-position"},z2={key:0},U2={key:1},Y2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Z2={class:"phase-cp flex-space"},Q2={class:"cp-box"},J2=i(()=>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)),K2={class:"flex-space"},j2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),u2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),X2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),v2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),eb=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),tb=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),ob=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),lb={class:"phase-conclusion flex-space"},ab={class:"item-conclusion"},nb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),sb={class:"value flex-start"},cb=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),ib={key:0,class:"label flex-end"},db={key:0},rb={key:1},mb={key:2},pb={key:1,class:"label flex-end"},hb={key:2,class:"value flex-end"},_b={key:0},Eb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),yb={class:"gain"},Nb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Vb={key:1},fb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),bb={class:"lost"},gb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xb={key:2},kb={class:"item-conclusion"},Db=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Cb={class:"value flex-start"},Sb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Bb={key:0,class:"label flex-end"},wb={key:0},Ab={key:1},Tb={key:2},Fb={key:1,class:"label flex-end"},Ob={key:2,class:"value flex-end"},Pb={key:0},Lb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Wb={class:"gain"},$b=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Hb={key:1},Mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Ib={class:"lost"},Gb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Rb={key:2},zb={class:"item-conclusion"},Ub=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Yb={class:"value flex-start"},Zb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Qb={key:0,class:"label flex-end"},Jb={key:0},Kb={key:1},jb={key:2},ub={key:1,class:"label flex-end"},Xb={key:2,class:"value flex-end"},qb={key:0},vb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),eg={class:"gain"},tg=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),og={key:1},lg=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ag={class:"lost"},ng=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),sg={key:2},cg=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),ig=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),dg={key:0,class:"exclusion-block"},rg=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),mg=i(()=>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)),pg={style:{margin:"8px 0"}},hg={class:"remark-table"},_g=i(()=>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)),Eg=["innerHTML"],yg={class:"section segment-section"},Ng=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Vg={class:"segment-index flex-center"},fg={class:"segment-position"},bg={key:0},gg={key:1},xg=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),kg={class:"segment-position"},Dg={key:0},Cg={key:1},Sg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Bg={style:{margin:"10px 0 0"}},wg=i(()=>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)),Ag=i(()=>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)),Tg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Fg={class:"good-wx"},Og={class:"good-wx"},Pg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Lg={class:"good-wx"},Wg={class:"good-wx"},$g=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Hg={class:"good-wx"},Mg={class:"good-wx"},Ig=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Gg={class:"good-wx"},Rg={class:"good-wx"},zg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Ug={class:"good-wx"},Yg={class:"good-wx"},Zg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Qg={class:"good-wx"},Jg={class:"good-wx"},Kg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),jg={class:"good-wx"},ug={class:"good-wx"},Xg={key:0,class:"flex-end tip"},qg={key:1,class:"segment-speed"},vg={class:"flex-center"},ex=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),tx={class:"speed-right flex-space"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx={key:1,class:"speed"},sx={key:0,class:"speed"},cx=i(()=>e.createElementVNode("span",null,"-",-1)),ix=i(()=>e.createElementVNode("label",null,"=",-1)),dx={class:"speed"},rx=i(()=>e.createElementVNode("span",null,"-",-1)),mx=i(()=>e.createElementVNode("label",null,"=",-1)),px={class:"speed"},hx=i(()=>e.createElementVNode("span",null,"-",-1)),_x=i(()=>e.createElementVNode("span",null,"-",-1)),Ex=i(()=>e.createElementVNode("label",null,"=",-1)),yx={class:"speed"},Nx={key:2,class:"under"},Vx={key:3,class:"over"},fx={class:"flex-center"},bx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),gx={class:"speed-right formula flex-space"},xx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kx=i(()=>e.createElementVNode("label",null,"-",-1)),Dx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Sx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Bx={key:0},wx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ox=i(()=>e.createElementVNode("label",null,"-",-1)),Px=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Lx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Wx=i(()=>e.createElementVNode("label",null,"-",-1)),$x=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Hx=i(()=>e.createElementVNode("label",null,"-",-1)),Mx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ix={key:2,class:"segment-speed"},Gx={class:"flex-center"},Rx=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),zx={class:"speed-right flex-space"},Ux=i(()=>e.createElementVNode("span",null,"-",-1)),Yx=i(()=>e.createElementVNode("span",null,"-",-1)),Zx=i(()=>e.createElementVNode("label",null,"=",-1)),Qx={class:"speed"},Jx=i(()=>e.createElementVNode("span",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"=",-1)),jx={class:"speed"},ux={key:2,class:"under"},Xx={key:3,class:"over"},qx={class:"flex-center"},vx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ek={class:"speed-right formula flex-space"},tk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ok=i(()=>e.createElementVNode("label",null,"-",-1)),lk=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),ak=i(()=>e.createElementVNode("label",null,"-",-1)),nk=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),sk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ck=i(()=>e.createElementVNode("label",null,"-",-1)),ik=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),dk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),rk=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),mk={class:"segment-formula"},pk={class:"header-block flex-start"},hk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),_k={class:"title"},Ek={key:0,style:{"margin-left":"4px","font-weight":"300"}},yk={class:"formula-block"},Nk={class:"flex-evenly"},Vk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),kk=i(()=>e.createElementVNode("div",null,"(a)",-1)),Dk={class:"flex-center"},Ck={class:"formula-left flex-space"},Sk=i(()=>e.createElementVNode("label",null,"=",-1)),Bk={class:"formula-right flex-evenly"},wk={class:"fraction",style:{width:"240px"}},Ak=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Tk=i(()=>e.createElementVNode("div",null,"(b)",-1)),Fk={class:"flex-center"},Ok={class:"formula-left flex-space"},Pk=i(()=>e.createElementVNode("label",null,"=",-1)),Lk={class:"formula-right flex-evenly"},Wk={class:"fraction",style:{width:"240px"}},$k=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hk=i(()=>e.createElementVNode("div",null,"(c)",-1)),Mk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Ik={class:"formula-desc"},Gk={class:"flex-end"},Rk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),zk={class:"flex-end"},Uk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),Yk={class:"flex-end"},Zk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Qk={key:0,class:"formula-block",style:{"font-weight":"400"}},Jk={class:"flex-evenly"},Kk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),jk={class:"formula-right flex-evenly"},uk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(a')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(b')",-1)),i3={class:"flex-center"},d3={class:"formula-left flex-space"},r3=i(()=>e.createElementVNode("label",null,"=",-1)),m3={class:"formula-right flex-evenly"},p3={class:"fraction",style:{width:"240px"}},h3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_3=i(()=>e.createElementVNode("div",null,"=",-1)),E3=i(()=>e.createElementVNode("div",null,"(c')",-1)),y3={class:"formula-conclusion",style:{"margin-bottom":"0"}},N3={key:0,class:"flex-evenly",style:{width:"500px"}},V3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),f3=i(()=>e.createElementVNode("div",null,"=",-1)),b3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),g3=i(()=>e.createElementVNode("div",null,"=",-1)),x3=i(()=>e.createElementVNode("div",null,"-",-1)),k3=i(()=>e.createElementVNode("div",null,"=",-1)),D3={key:1,class:"flex-evenly",style:{width:"500px"}},C3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),S3=i(()=>e.createElementVNode("div",null,"=",-1)),B3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),w3=i(()=>e.createElementVNode("div",null,"=",-1)),A3=i(()=>e.createElementVNode("div",null,"-",-1)),T3=i(()=>e.createElementVNode("div",null,"=",-1)),F3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),O3={key:1,class:"formula-conclusion"},P3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),L3={class:"segment-formula"},W3={class:"header-block flex-start"},$3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),H3={class:"title"},M3={key:0,style:{"margin-left":"4px","font-weight":"300"}},I3={class:"formula-block"},G3={class:"flex-evenly"},R3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),z3={class:"formula-right flex-evenly"},U3={class:"fraction",style:{width:"240px"}},Y3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q3=i(()=>e.createElementVNode("div",null,"x",-1)),J3=i(()=>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)),K3=i(()=>e.createElementVNode("div",null,"(d)",-1)),j3={style:{"line-height":"1"}},u3=i(()=>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)),X3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},q3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>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)),nD=i(()=>e.createElementVNode("div",null,"(e)",-1)),sD={class:"flex-center"},cD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),iD={class:"formula-right flex-evenly"},dD={class:"fraction",style:{width:"240px"}},rD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mD=i(()=>e.createElementVNode("div",null,"x",-1)),pD=i(()=>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)),hD=i(()=>e.createElementVNode("div",null,"(f)",-1)),_D=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),ED={class:"flex-center"},yD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),ND={class:"formula-right flex-evenly"},VD={class:"fraction",style:{width:"270px"}},fD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),bD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gD={class:"flex-center"},xD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),kD={class:"formula-right flex-evenly"},DD={class:"fraction",style:{width:"270px"}},CD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),SD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BD=i(()=>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)),wD={class:"header-block flex-start",style:{"margin-top":"10px"}},AD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),TD={class:"title"},FD={key:0,class:"formula-block"},OD={key:0,class:"flex-evenly"},PD=i(()=>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)),LD={class:"formula-right flex-evenly"},WD={class:"fraction",style:{width:"60px"}},$D=i(()=>e.createElementVNode("div",null,"-",-1)),HD={class:"fraction",style:{width:"60px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"24",-1)),GD=i(()=>e.createElementVNode("div",null,"*",-1)),RD=i(()=>e.createElementVNode("div",null,"=",-1)),zD={class:"flex-evenly"},UD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),YD={class:"formula-right flex-evenly"},ZD={class:"fraction",style:{width:"240px"}},QD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),JD=i(()=>e.createElementVNode("div",null,"x",-1)),KD={class:"fraction",style:{width:"240px"}},jD={key:0},uD=i(()=>e.createElementVNode("span",null," + ",-1)),XD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qD=i(()=>e.createElementVNode("div",null,"=",-1)),vD=i(()=>e.createElementVNode("div",null,"(d')",-1)),eC={class:"flex-evenly"},tC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),oC={class:"formula-right flex-evenly"},lC={class:"fraction",style:{width:"240px"}},aC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),nC=i(()=>e.createElementVNode("div",null,"x",-1)),sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"24",-1)),dC=i(()=>e.createElementVNode("div",null,"=",-1)),rC=i(()=>e.createElementVNode("div",null,"(e')",-1)),mC={class:"flex-evenly"},pC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),hC={class:"formula-right flex-evenly"},_C={class:"fraction",style:{width:"240px"}},EC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),yC=i(()=>e.createElementVNode("div",null,"x",-1)),NC={class:"fraction",style:{width:"240px"}},VC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fC=i(()=>e.createElementVNode("div",null,"24",-1)),bC=i(()=>e.createElementVNode("div",null,"=",-1)),gC=i(()=>e.createElementVNode("div",null,"(f')",-1)),xC={class:"formula-conclusion",style:{"margin-bottom":"0"}},kC={class:"flex-evenly",style:{width:"500px"}},DC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),CC=i(()=>e.createElementVNode("div",null,"=",-1)),SC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC=i(()=>e.createElementVNode("div",null,"-",-1)),AC=i(()=>e.createElementVNode("div",null,"=",-1)),TC={key:0,class:"flex-evenly"},FC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC={class:"fraction"},LC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),WC=i(()=>e.createElementVNode("div",null,"=",-1)),$C={class:"flex-evenly",style:{width:"700px"}},HC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),MC=i(()=>e.createElementVNode("div",null,"=",-1)),IC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("div",null,"-",-1)),zC=i(()=>e.createElementVNode("div",null,"=",-1)),UC={key:0,class:"flex-evenly",style:{width:"500px"}},YC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),ZC=i(()=>e.createElementVNode("div",null,"=",-1)),QC={class:"fraction",style:{width:"140px"}},JC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),KC=i(()=>e.createElementVNode("div",null,"=",-1)),jC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),uC={key:1,class:"formula-conclusion"},XC={class:"header-block flex-end",style:{"margin-top":"10px"}},qC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),vC={class:"title"},eS={key:0,class:"formula-block"},tS={class:"flex-evenly"},oS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),lS={class:"formula-right flex-evenly"},aS={class:"fraction",style:{width:"240px"}},nS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),sS=i(()=>e.createElementVNode("div",null,"x",-1)),cS={class:"fraction",style:{width:"240px"}},iS={key:0},dS=i(()=>e.createElementVNode("span",null," - ",-1)),rS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mS=i(()=>e.createElementVNode("div",null,"=",-1)),pS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),hS={class:"flex-evenly"},_S=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),ES={class:"formula-right flex-evenly"},yS={class:"fraction",style:{width:"240px"}},NS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),VS=i(()=>e.createElementVNode("div",null,"x",-1)),fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"24",-1)),xS=i(()=>e.createElementVNode("div",null,"=",-1)),kS=i(()=>e.createElementVNode("div",null,"(e'')",-1)),DS={class:"flex-evenly"},CS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),SS={class:"formula-right flex-evenly"},BS={class:"fraction",style:{width:"240px"}},wS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),AS=i(()=>e.createElementVNode("div",null,"x",-1)),TS={class:"fraction",style:{width:"240px"}},FS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),OS=i(()=>e.createElementVNode("div",null,"24",-1)),PS=i(()=>e.createElementVNode("div",null,"=",-1)),LS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),WS={class:"formula-conclusion",style:{"margin-bottom":"0"}},$S={key:0,class:"flex-evenly",style:{width:"500px"}},HS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),MS=i(()=>e.createElementVNode("div",null,"=",-1)),IS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),GS=i(()=>e.createElementVNode("div",null,"=",-1)),RS=i(()=>e.createElementVNode("div",null,"-",-1)),zS=i(()=>e.createElementVNode("div",null,"=",-1)),US={key:1,class:"flex-evenly",style:{width:"700px"}},YS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),ZS=i(()=>e.createElementVNode("div",null,"=",-1)),QS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),JS=i(()=>e.createElementVNode("div",null,"=",-1)),KS=i(()=>e.createElementVNode("div",null,"-",-1)),jS=i(()=>e.createElementVNode("div",null,"=",-1)),uS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),XS={key:1,class:"formula-conclusion"};function qS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",t2,[e.createElementVNode("div",o2,[e.createElementVNode("div",l2,[e.createElementVNode("div",a2,[n2,e.createElementVNode("span",s2,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",c2,[i2,e.createElementVNode("span",d2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",r2,[m2,e.createElementVNode("span",p2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",h2,[e.createElementVNode("div",_2,[E2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",y2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",N2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),V2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",f2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",b2,[g2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",x2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",k2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),D2,e.createVNode(c,{lng:(W=(H=t.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",C2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",S2,[B2,e.createElementVNode("span",w2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",A2,[T2,e.createElementVNode("div",F2,[e.createElementVNode("div",O2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",P2,[L2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+u,class:"segment-box flex-space"},[e.createElementVNode("div",W2,[e.createElementVNode("div",$2,"Seg."+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,we)=>{var Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:we,class:"phase-row flex-space"},[e.createElementVNode("div",H2,[(Ge=$==null?void 0:$.departure)!=null&&Ge.portName?(e.openBlock(),e.createElementBlock("span",M2,e.toDisplayString((ze=$==null?void 0:$.departure)==null?void 0:ze.portName),1)):(e.openBlock(),e.createElementBlock("span",I2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ye=$==null?void 0:$.departure)==null?void 0:Ye.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),G2,e.createElementVNode("div",R2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",z2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",U2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),Y2,e.createElementVNode("div",Z2,[e.createElementVNode("div",Q2,[J2,e.createElementVNode("div",K2,[j2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[u2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[X2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[v2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[eb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[tb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),ob,e.createElementVNode("div",lb,[e.createElementVNode("div",ab,[nb,e.createElementVNode("div",sb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),cb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ib,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",db,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,"Time Lost")):(e.openBlock(),e.createElementBlock("div",mb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",pb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",_b,[Eb,e.createElementVNode("span",yb,e.toDisplayString((be=l==null?void 0:l.timeConclusion)==null?void 0:be.timeGain),1),Nb])):((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Vb,[fb,e.createElementVNode("span",bb,e.toDisplayString((xe=l==null?void 0:l.timeConclusion)==null?void 0:xe.timeLost),1),gb])):(e.openBlock(),e.createElementBlock("div",xb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",kb,[Db,e.createElementVNode("div",Cb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Sb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Bb,[((De=(ke=l==null?void 0:l.fuelConclusion)==null?void 0:ke.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",wb,"FO Saving")):((Fe=(Ce=l==null?void 0:l.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Tb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Fb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ob,[((Pe=(Oe=l==null?void 0:l.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Pb,[Lb,e.createElementVNode("span",Wb,e.toDisplayString((We=(Le=l==null?void 0:l.fuelConclusion)==null?void 0:Le.fo)==null?void 0:We.saving),1),$b])):((He=($e=l==null?void 0:l.fuelConclusion)==null?void 0:$e.fo)==null?void 0:He.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Hb,[Mb,e.createElementVNode("span",Ib,e.toDisplayString((Ne=(Me=l==null?void 0:l.fuelConclusion)==null?void 0:Me.fo)==null?void 0:Ne.overCons),1),Gb])):(e.openBlock(),e.createElementBlock("div",Rb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",zb,[Ub,e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Zb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Qb,[((je=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Jb,"DO/GO Saving")):((A=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Kb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",jb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ub,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Xb,[((Re=(Be=l==null?void 0:l.fuelConclusion)==null?void 0:Be.dgo)==null?void 0:Re.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",qb,[vb,e.createElementVNode("span",eg,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),tg])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",og,[lg,e.createElementVNode("span",ag,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),ng])):(e.openBlock(),e.createElementBlock("div",sg,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),cg]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[ig,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",dg,[rg,mg,e.createElementVNode("div",pg,[e.createElementVNode("table",hg,[_g,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u},[e.createElementVNode("td",null,e.toDisplayString(u+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.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]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,Eg))],2)],2),e.createElementVNode("div",yg,[Ng,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,T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String(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(Ae,AY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:AY,class:"segment-row flex-space"},[e.createElementVNode("div",fg,[(Sc=Ae==null?void 0:Ae.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",bg,e.toDisplayString((Bc=Ae==null?void 0:Ae.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",gg,e.toDisplayString(n.computeLat((wc=Ae==null?void 0:Ae.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=Ae==null?void 0:Ae.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=Ae==null?void 0:Ae.departure)==null?void 0:Tc.utcTime))+")",1)]),xg,e.createElementVNode("div",kg,[(Fc=Ae==null?void 0:Ae.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",Dg,e.toDisplayString((Oc=Ae==null?void 0:Ae.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Cg,e.toDisplayString(n.computeLat((Pc=Ae==null?void 0:Ae.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=Ae==null?void 0:Ae.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=Ae==null?void 0:Ae.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Sg,e.createElementVNode("div",Bg,[e.createElementVNode("table",null,[wg,Ag,e.createElementVNode("tr",null,[Tg,e.createElementVNode("td",Fg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Og,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Pg,e.createElementVNode("td",Lg,e.toDisplayString((me=(X=l==null?void 0:l.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Wg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((xe=(ge=l==null?void 0:l.allWx)==null?void 0:ge.inEca)==null?void 0:xe.time),1)]),e.createElementVNode("tr",null,[$g,e.createElementVNode("td",Hg,e.toDisplayString(((De=(ke=l==null?void 0:l.goodWx)==null?void 0:ke.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Mg,e.toDisplayString(((Fe=(Ce=l==null?void 0:l.goodWx)==null?void 0:Ce.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=l==null?void 0:l.allWx)==null?void 0:Oe.outEca)==null?void 0:Pe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((We=(Le=l==null?void 0:l.allWx)==null?void 0:Le.inEca)==null?void 0:We.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",Gg,e.toDisplayString(((He=($e=l==null?void 0:l.goodWx)==null?void 0:$e.outEca)==null?void 0:He.sumFoCons)||"--"),1),e.createElementVNode("td",Rg,e.toDisplayString(((Ne=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(ue=l==null?void 0:l.allWx)==null?void 0:ue.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[zg,e.createElementVNode("td",Ug,e.toDisplayString(((Re=(Be=l==null?void 0:l.goodWx)==null?void 0:Be.outEca)==null?void 0:Re.avgFoCons)||"--"),1),e.createElementVNode("td",Yg,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Zg,e.createElementVNode("td",Qg,e.toDisplayString(((we=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:we.sumDgoCons)||"--"),1),e.createElementVNode("td",Jg,e.toDisplayString(((ze=(Ge=l==null?void 0:l.goodWx)==null?void 0:Ge.inEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ye.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Kg,e.createElementVNode("td",jg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",ug,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[u])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Xg,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",vg,[ex,e.createElementVNode("div",tx,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",sx,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),cx,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ix,e.createElementVNode("span",dx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(yo=(Eo=t.report)==null?void 0:Eo.weather)!=null&&yo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((No=l==null?void 0:l.goodWx)==null?void 0:No.avgSpd),1),rx,e.createElementVNode("span",null,e.toDisplayString(((Vo=l==null?void 0:l.goodWx)==null?void 0:Vo.avgWf)>0?(fo=l==null?void 0:l.goodWx)==null?void 0:fo.avgWf:`(${(bo=l==null?void 0:l.goodWx)==null?void 0:bo.avgWf})`),1),mx,e.createElementVNode("span",px,e.toDisplayString((go=l==null?void 0:l.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((xo=l==null?void 0:l.goodWx)==null?void 0:xo.avgSpd),1),hx,e.createElementVNode("span",null,e.toDisplayString(((S=l==null?void 0:l.goodWx)==null?void 0:S.avgWf)>0?(Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgWf:`(${(at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf})`),1),_x,e.createElementVNode("span",null,e.toDisplayString(((nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgCf)>0?(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgCf:`(${(Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.avgCf})`),1),Ex,e.createElementVNode("span",yx,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",nx,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),(($t=l==null?void 0:l.goodWx)==null?void 0:$t.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Nx,"(Under-performance)")):e.createCommentVNode("",!0),((Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Vx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",fx,[bx,e.createElementVNode("div",gx,[(It=(Mt=t.report)==null?void 0:Mt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Yt=(Ut=t.report)==null?void 0:Ut.weather)!=null&&Yt.disableWxFactor&&((Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",Bx,"GW Average Speed")):(Kt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&Kt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[wx,Ax,Tx],64)):(ut=(jt=t.report)==null?void 0:jt.weather)!=null&&ut.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Fx,Ox,Px],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Lx,Wx,$x,Hx,Mx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Rt=(Gt=t.report)==null?void 0:Gt.weather)!=null&&Rt.favorableCur&&((zt=l==null?void 0:l.goodWx)==null?void 0:zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Cx,Sx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[xx,kx,Dx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Ix,[e.createElementVNode("div",Gx,[Rx,e.createElementVNode("div",zx,[(qt=(Xt=t.report)==null?void 0:Xt.weather)!=null&&qt.favorableCur&&((vt=l==null?void 0:l.allWx)==null?void 0:vt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Jx,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Kx,e.createElementVNode("span",jx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((eo=l==null?void 0:l.allWx)==null?void 0:eo.avgSpd),1),Ux,e.createElementVNode("span",null,e.toDisplayString(((to=l==null?void 0:l.allWx)==null?void 0:to.avgCf)>0?(oo=l==null?void 0:l.allWx)==null?void 0:oo.avgCf:`(${(lo=l==null?void 0:l.allWx)==null?void 0:lo.avgCf})`),1),Yx,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Zx,e.createElementVNode("span",Qx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",ux,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Xx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",qx,[vx,e.createElementVNode("div",ek,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[sk,ck,ik,dk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[tk,ok,lk,ak,nk],64))])])])),rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[hk,e.createElementVNode("div",_k,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Time Analysis",1),(Mo=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Mo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Ek,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[Vk,e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,xk]),kk])]),e.createElementVNode("div",Dk,[e.createElementVNode("div",Ck,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(zo=(Ro=l==null?void 0:l.extend)==null?void 0:Ro.cp)==null?void 0:zo.speed,"Under"))+"kts)",1),Sk]),e.createElementVNode("div",Bk,[e.createElementVNode("div",wk,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=t.report)==null?void 0:Uo.weather)!=null&&Yo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Ak,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(jo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),Tk])]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Pk]),e.createElementVNode("div",Lk,[e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$k,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Hk])]),Mk]),e.createElementVNode("div",Ik,[e.createElementVNode("div",Gk,[Rk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",zk,[Uk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Yk,[Zk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Qk,[e.createElementVNode("div",Jk,[Kk,e.createElementVNode("div",jk,[e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Xk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),qk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[e.createElementVNode("div",d3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),r3]),e.createElementVNode("div",m3,[e.createElementVNode("div",p3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),h3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),_3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),E3])]),e.createElementVNode("div",y3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",N3,[V3,f3,b3,g3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),k3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",D3,[C3,S3,B3,w3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),A3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),T3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[F3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",O3,e.toDisplayString(a.noGoodWxDay),1))]),P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[$3,e.createElementVNode("div",H3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",M3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",I3,[e.createElementVNode("div",G3,[R3,e.createElementVNode("div",z3,[e.createElementVNode("div",U3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=t.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Y3,Z3]),Q3,J3,K3])]),e.createElementVNode("div",j3,[u3,((Xl=(ul=l.extend)==null?void 0:ul.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",X3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",q3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),lD,aD,nD])]),e.createElementVNode("div",sD,[cD,e.createElementVNode("div",iD,[e.createElementVNode("div",dD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),mD,pD,hD])]),_D,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ED,[yD,e.createElementVNode("div",ND,[e.createElementVNode("div",VD,[fD,bD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",gD,[xD,e.createElementVNode("div",kD,[e.createElementVNode("div",DD,[CD,SD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),BD,e.createElementVNode("div",wD,[AD,e.createElementVNode("div",TD,"Seg. "+e.toDisplayString(u+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",FD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",OD,[PD,e.createElementVNode("div",LD,[e.createElementVNode("div",WD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),$D,e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),MD,ID]),GD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),RD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",zD,[UD,e.createElementVNode("div",YD,[e.createElementVNode("div",ZD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),QD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),JD,e.createElementVNode("div",KD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",jD,[uD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),XD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),qD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),vD])]),e.createElementVNode("div",eC,[tC,e.createElementVNode("div",oC,[e.createElementVNode("div",lC,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(j=l==null?void 0:l.goodWx)==null?void 0:j.distance:(Zo=l==null?void 0:l.allWx)==null?void 0:Zo.distance),1),aC,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),nC,e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),cC,iC]),dC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),rC])]),e.createElementVNode("div",mC,[pC,e.createElementVNode("div",hC,[e.createElementVNode("div",_C,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(Ka=l==null?void 0:l.goodWx)==null?void 0:Ka.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),EC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),yC,e.createElementVNode("div",NC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),VC,fC]),bC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),gC])]),e.createElementVNode("div",xC,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",kC,[DC,CC,SC,BC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),wC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),AC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",TC,[FC,OC,e.createElementVNode("div",PC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),WC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((jn=(Kn=l==null?void 0:l.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:jn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",$C,[HC,MC,IC,GC,e.createElementVNode("div",null,e.toDisplayString((Xn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Xn.minCons),1),RC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),zC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",UC,[YC,ZC,e.createElementVNode("div",QC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),JC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),KC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[jC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",uC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",XC,[qC,e.createElementVNode("div",vC,"Seg. "+e.toDisplayString(u+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",eS,[e.createElementVNode("div",tS,[oS,e.createElementVNode("div",lS,[e.createElementVNode("div",aS,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),nS,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),sS,e.createElementVNode("div",cS,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",iS,[dS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),rS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),mS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),pS])]),e.createElementVNode("div",hS,[_S,e.createElementVNode("div",ES,[e.createElementVNode("div",yS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),NS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),VS,e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),bS,gS]),xS,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),kS])]),e.createElementVNode("div",DS,[CS,e.createElementVNode("div",SS,[e.createElementVNode("div",BS,[e.createElementVNode("div",null,e.toDisplayString((us=(js=t.report)==null?void 0:js.weather)!=null&&us.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.distance),1),wS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),AS,e.createElementVNode("div",TS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),FS,OS]),PS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),LS])]),e.createElementVNode("div",WS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$S,[HS,MS,IS,GS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),zS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",US,[YS,ZS,QS,JS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),KS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),jS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[uS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",XS,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const vS=Se(e2,[["render",qS],["__scopeId","data-v-44fbbd8a"]]),XY="",e4={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(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.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=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),t4={class:"report-inventory"},o4={class:"section summary-section"},l4=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),a4={class:"summary-block"},n4=q(()=>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)),s4={class:"label",rowspan:"4"},c4=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),i4=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),d4=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),r4=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),m4={class:"section inventory-section"},p4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),h4={class:"inventory-block flex-center"},_4={style:{"font-size":"12px"}},E4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),N4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),V4=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),f4=["colspan"],b4={key:0,class:"label",colspan:"2"},g4=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),x4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),k4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),D4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),C4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),S4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),B4={key:0,class:"label",rowspan:"2"},w4=q(()=>e.createElementVNode("br",null,null,-1)),A4={key:1,class:"label",rowspan:"2"},T4=q(()=>e.createElementVNode("br",null,null,-1)),F4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),O4={key:2,class:"label",rowspan:"2"},P4=q(()=>e.createElementVNode("br",null,null,-1)),L4={key:3,class:"label",colspan:"2"},W4={key:4,class:"label",rowspan:"2"},$4=q(()=>e.createElementVNode("br",null,null,-1)),H4={key:5,class:"label",colspan:"2"},M4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),I4={key:6,class:"label",rowspan:"2"},G4={key:7,class:"label",rowspan:"2"},R4={key:8,class:"label",rowspan:"2"},z4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),U4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),Z4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),Q4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),J4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),K4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),j4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),u4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),X4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),q4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),v4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),e5={key:0,class:"label"},t5={key:1,class:"label"},o5={key:2,class:"label"},l5={key:3,class:"label"},a5=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),n5=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),s5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),c5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),i5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),d5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),r5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),m5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),p5={class:"summary-tbody"};function h5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",t4,[e.createElementVNode("div",o4,[l4,e.createElementVNode("div",a4,[e.createElementVNode("table",null,[n4,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",s4,e.toDisplayString(p+1),1),c4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[i4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[d4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[r4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",m4,[p4,e.createElementVNode("div",h4,[e.createElementVNode("table",_4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[E4,y4,N4,V4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,f4),t.showFactor?(e.openBlock(),e.createElementBlock("th",b4,"Factor")):e.createCommentVNode("",!0),g4,x4]),e.createElementVNode("tr",null,[k4,D4,C4,S4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Spd"),w4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",A4,[e.createTextVNode("Dis"),T4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),F4,a.showWave?(e.openBlock(),e.createElementBlock("th",O4,[e.createTextVNode("Sea HT"),P4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",L4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",W4,[e.createTextVNode("Sig Wave"),$4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",H4,"Current")):e.createCommentVNode("",!0),M4,t.showFactor?(e.openBlock(),e.createElementBlock("th",I4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",G4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",R4,"Water Temp.")):e.createCommentVNode("",!0),z4,U4,Y4,Z4,Q4,J4,K4,j4]),e.createElementVNode("tr",null,[u4,X4,q4,v4,a.showSwell?(e.openBlock(),e.createElementBlock("th",e5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",t5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",o5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",l5,"CF(kts)")):e.createCommentVNode("",!0),a5,n5,s5,c5,i5,d5,r5,m5])]),e.createElementVNode("tbody",p5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const _5=Se(e4,[["render",h5],["__scopeId","data-v-a18f941f"]]),qY="",E5={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},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(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={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(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(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 E={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:o,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:t.dateTime,y:t.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:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.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:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.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(E);const c={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:o,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:t.dateTime,y:t.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:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.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:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={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,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.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,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+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 E={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:o,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:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),y5={class:"report-summary"},N5={class:"section chart-section"},V5=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)),f5={class:"chart-block"},b5={ref:"spdFoConsChart",class:"chart"},g5={ref:"spdDgoConsChart",class:"chart"},x5={ref:"currChart",class:"chart"},k5={class:"section map-section"},D5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),C5={class:"map-block"},S5={class:"flex-space"},B5={class:"voyage-block",style:{height:"197px"}},w5={class:"flex-space label-block",style:{width:"100%"}},A5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),T5={style:{"text-transform":"uppercase"}},F5={class:"flex-space label-block",style:{width:"100%"}},O5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},L5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},W5={class:"flex-space label-block",style:{width:"100%"}},$5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),H5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},M5={class:"flex-space label-block",style:{width:"100%"}},I5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),G5={key:0,class:"flex-end",style:{flex:"1"}},R5={key:1,class:"flex-end",style:{flex:"1"}},z5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),U5={class:"flex-end",style:{width:"160px"}},Y5={class:"flex-space label-block",style:{width:"100%"}},Z5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Q5={key:0,class:"flex-end",style:{flex:"1"}},J5={key:1,class:"flex-end",style:{flex:"1"}},K5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),j5={class:"flex-end",style:{width:"160px"}},u5={class:"flex-space label-block",style:{width:"100%"}},X5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),q5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},v5=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),eB=["src"],tB=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 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-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function oB(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",y5,[e.createElementVNode("div",N5,[V5,e.createElementVNode("div",f5,[e.createElementVNode("div",b5,null,512),e.createElementVNode("div",g5,null,512),e.createElementVNode("div",x5,null,512)])]),e.createElementVNode("div",k5,[D5,e.createElementVNode("div",C5,[e.createElementVNode("div",S5,[e.createElementVNode("div",B5,[e.createElementVNode("div",w5,[A5,e.createElementVNode("span",T5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",F5,[O5,e.createElementVNode("span",P5,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",L5,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",W5,[$5,e.createElementVNode("span",H5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",M5,[I5,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",G5,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",R5,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),z5,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",U5,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Y5,[Z5,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",Q5,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",J5,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),K5,e.createVNode(c,{lng:(H=(L=t.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",j5,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",u5,[X5,e.createElementVNode("span",q5,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),v5]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,eB)])]),tB])}const lB=Se(E5,[["render",oB],["__scopeId","data-v-92ed3e90"]]),vY="",eZ="",aB={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function Eh(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",mh,[(e.openBlock(),e.createElementBlock("svg",ph,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},_h,8,hh)]))])}const on=Se(rh,[["render",Eh]]),yh={install(o){o.component("PiLogo",on)}},zY="",UY="",Nh={name:"FliVygSummary",components:{Editor:Jo},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(o){var s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?K(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(o).utc().format("MMMM D, HHmm[Z]"):s?K(o).utc().format(s):K(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-d80f1a42"),o=o(),e.popScopeId(),o),Vh=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)),fh={class:"fli-main"},bh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),gh={class:"card basics"},xh={class:"list flex"},kh={class:"item"},Dh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Ch={class:"content flex"},Sh={class:"item"},Bh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Fh={class:"content flex"},Oh={class:"list"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Wh={class:"content flex"},$h={class:"content flex"},Hh={class:"item"},Mh=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Ih={class:"content flex"},Gh={class:"content flex"},Rh={class:"item"},zh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Uh={class:"content flexL"},Yh=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Zh={class:"clause"},Qh={key:0,class:"definition flex"},Jh={key:1,class:"definition flex"},Kh={class:"item"},jh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),uh={class:"content"},Xh={key:0,class:"item"},qh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),vh={class:"content"},e1={key:1,class:"item"},t1=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),o1={class:"content"},l1={key:2,class:"item"},a1=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),n1={class:"content"},s1={key:3,class:"item"},c1=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),i1={class:"content"},d1={key:4,class:"item"},r1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],m1={key:5,class:"item"},p1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],h1={class:"definition flexM"},_1={class:"table"},E1=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)),y1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),N1={class:"summary"},V1={key:0,class:"summary-overall"},f1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),b1={class:"summary-overall-row"},g1={class:"card"},x1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),k1={class:"main-content"},D1={key:0},C1={key:1},S1={class:"card"},B1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),w1={class:"main-content"},A1={key:0},T1={key:1},F1={class:"card"},O1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),P1={class:"main-content"},L1={key:0},W1={key:1},$1={class:"summary-overall-row"},H1={class:"card"},M1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),I1={class:"main-content"},G1={class:"card"},R1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),z1={class:"main-content"},U1={class:"card"},Y1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Z1={class:"main-content"},Q1=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)),J1={class:"card",style:{flex:"1.5"}},K1={class:"card-title"},j1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"card-segment"},X1={class:"card-segment"},q1={class:"card-segment"},v1=d(()=>e.createElementVNode("div",null,"Applied",-1)),e_={class:"uppercase"},t_={class:"card summary-card",style:{flex:"1"}},o_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),l_={key:0,class:"main-content"},a_={key:0,class:"iconfont success"},n_={key:1,class:"iconfont error"},s_={key:1,class:"main-content"},c_={class:"card-content",style:{"justify-content":"flex-start"}},i_={class:"card summary-card",style:{flex:"1"}},d_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),r_={key:0,class:"main-content"},m_={key:0,class:"iconfont success"},p_={key:1,class:"iconfont error"},h_={key:1,class:"main-content"},__={class:"card-content",style:{"justify-content":"flex-start"}},E_={class:"card summary-card",style:{flex:"1"}},y_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),N_={key:0,class:"main-content"},V_={key:0,class:"iconfont success"},f_={key:1,class:"iconfont error"},b_={key:1,class:"main-content"},g_={class:"card-content",style:{"justify-content":"flex-start"}},x_={style:{"page-break-inside":"avoid"}},k_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),D_={class:"remarks"},C_={class:"item"},S_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),B_={class:"speed"},w_={class:"uppercase"},A_={class:"item"},T_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),F_={key:0,class:"remark-detail"},O_={key:1,class:"remark-detail"},P_={class:"page-avoid"},L_={class:"dashed"},W_={class:"card phase-title-card",style:{flex:"0.5"}},$_={class:"card-title"},H_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),M_={class:"card-segment"},I_={class:"card-segment"},G_={class:"card-segment"},R_=d(()=>e.createElementVNode("div",null,"Applied",-1)),z_={class:"uppercase"},U_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Y_={class:"phase-analysis"},Z_={class:"card phase-card",style:{flex:"1"}},Q_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),J_={class:"main-content"},K_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),j_={class:"main-content"},u_={class:"card-content"},X_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),q_=d(()=>e.createElementVNode("span",null,"mt",-1)),v_={class:"card-content"},eE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),tE=d(()=>e.createElementVNode("span",null,"mt",-1)),oE={class:"card-content"},lE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),aE=d(()=>e.createElementVNode("span",null,"mt",-1)),nE={class:"card-content"},sE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),cE=d(()=>e.createElementVNode("span",null,"mt",-1)),iE=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)),dE={class:"card phase-card",style:{flex:"1"}},rE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),mE={class:"main-content"},pE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),hE={class:"main-content"},_E={class:"card-content"},EE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),yE=d(()=>e.createElementVNode("span",null,"mt",-1)),NE={class:"card-content"},VE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),fE=d(()=>e.createElementVNode("span",null,"mt",-1)),bE={class:"card-content"},gE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),xE=d(()=>e.createElementVNode("span",null,"mt",-1)),kE={class:"card-content"},DE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),CE=d(()=>e.createElementVNode("span",null,"mt",-1)),SE=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)),BE={class:"phase-analysis"},wE={class:"card phase-card",style:{flex:"1"}},AE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),TE={class:"main-content"},FE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),OE={class:"main-content"},PE={class:"card-content"},LE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),WE=d(()=>e.createElementVNode("span",null,"nm",-1)),$E={class:"card-content"},HE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),ME=d(()=>e.createElementVNode("span",null,"nm",-1)),IE={class:"card-content"},GE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),RE=d(()=>e.createElementVNode("span",null,"nm",-1)),zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"nm",-1)),ZE={class:"card phase-card",style:{flex:"1"}},QE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),JE={class:"main-content"},KE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),jE={class:"main-content"},uE={class:"card-content"},XE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),qE=d(()=>e.createElementVNode("span",null,"hrs",-1)),vE={class:"card-content"},ey=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),ty=d(()=>e.createElementVNode("span",null,"hrs",-1)),oy={class:"card-content"},ly=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),ay=d(()=>e.createElementVNode("span",null,"hrs",-1)),ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"hrs",-1)),iy={class:"card phase-card",style:{flex:"1"}},dy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),ry={class:"main-content"},my=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),py={class:"main-content"},hy={class:"card-content"},_y=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),Ey=d(()=>e.createElementVNode("span",null,"kts",-1)),yy={class:"card-content"},Ny=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),Vy=d(()=>e.createElementVNode("span",null,"kts",-1)),fy={class:"card-content"},by=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),gy=d(()=>e.createElementVNode("span",null,"kts",-1)),xy={class:"card-content"},ky=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),Dy=d(()=>e.createElementVNode("span",null,"kts",-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 Cons. FO")],-1)),wy={class:"main-content"},Ay=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),Ty={class:"main-content"},Fy={class:"card-content"},Oy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Py=d(()=>e.createElementVNode("span",null,"mt",-1)),Ly={class:"card-content"},Wy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"mt",-1)),Hy={class:"card-content"},My=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Iy=d(()=>e.createElementVNode("span",null,"mt",-1)),Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card phase-card",style:{flex:"1"}},Yy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Zy={class:"main-content"},Qy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Jy={class:"main-content"},Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Xy={class:"card-content"},qy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),vy=d(()=>e.createElementVNode("span",null,"mt",-1)),eN={class:"card-content"},tN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),oN=d(()=>e.createElementVNode("span",null,"mt",-1)),lN={class:"card-content"},aN=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),nN=d(()=>e.createElementVNode("span",null,"mt",-1)),sN={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},cN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),iN={class:"main-content"},dN={class:"card-content"},rN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),mN={key:0},pN=d(()=>e.createElementVNode("span",null,"kts",-1)),hN={key:1},_N={class:"phase-card"},EN={class:"card",style:{flex:"1"}},yN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),NN={key:0,class:"main-content"},VN={key:0,class:"iconfont success"},fN={key:1,class:"iconfont error"},bN={key:1,class:"main-content"},gN={class:"nogwd"},xN={class:"card-content",style:{"justify-content":"flex-start"}},kN={key:0},DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),GN={class:"equation"},RN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),zN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),UN={style:{width:"8%"}},YN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),QN={style:{width:"10%"}},JN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),KN={class:"phase-card"},jN={class:"card",style:{flex:"1"}},uN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),XN={key:0,class:"main-content"},qN={key:0,class:"iconfont success"},vN={key:1,class:"iconfont error"},eV={key:1,class:"main-content"},tV={class:"nogwd"},oV={class:"card-content",style:{"justify-content":"flex-start"}},lV={key:0},aV={class:"equation"},nV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cV={style:{width:"8%"}},iV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),rV={style:{width:"120px"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hV={style:{width:"10%"}},_V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),EV={class:"equation"},yV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),NV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),VV={style:{width:"8%"}},fV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),gV={style:{width:"120px"}},xV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=d(()=>e.createElementVNode("div",null,"24",-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),CV={style:{width:"10%"}},SV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),BV={class:"equation"},wV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),AV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TV={style:{width:"8%"}},FV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),PV={style:{width:"120px"}},LV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=d(()=>e.createElementVNode("div",null,"24",-1)),$V=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),HV={style:{width:"10%"}},MV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),IV={key:0,class:"phase-card"},GV={class:"card",style:{flex:"1"}},RV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),zV={key:0,class:"main-content"},UV={key:0,class:"iconfont success"},YV={key:1,class:"iconfont error"},ZV={key:1,class:"main-content"},QV={class:"nogwd"},JV={class:"card-content",style:{"justify-content":"flex-start"}},KV={key:0},jV={class:"equation"},uV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),qV={style:{width:"8%"}},vV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),tf={style:{width:"120px"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),af={style:{width:"10%"}},nf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),sf={class:"equation"},cf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),df=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rf={style:{width:"8%"}},mf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hf={style:{width:"120px"}},_f=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ef=d(()=>e.createElementVNode("div",null,"24",-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Nf={style:{width:"10%"}},Vf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),ff={class:"equation"},bf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xf={style:{width:"8%"}},kf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Df=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Cf={style:{width:"120px"}},Sf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=d(()=>e.createElementVNode("div",null,"24",-1)),wf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Af={style:{width:"10%"}},Tf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Ff=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Of={class:"formular dashed",style:{"page-break-inside":"avoid"}},Pf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Lf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Wf={class:""},$f={class:"equation"},Hf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Mf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),If={style:{width:"50%"},class:"fraction"},Gf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),zf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Uf={class:"equation"},Yf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Zf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"50%"},class:"fraction"},Jf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),jf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),uf={class:"equation"},Xf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),qf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vf={style:{width:"50%"},class:"fraction"},e0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),t0=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),o0=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),l0=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)),a0={class:"flexL formular-item",style:{"margin-left":"20px"}},n0=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)),s0={class:""},c0={class:"equation"},i0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),d0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"25%"},class:"fraction"},m0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),h0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),_0=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)),E0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),y0={class:"equation"},N0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),V0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),f0={style:{width:"25%"},class:"fraction"},b0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),x0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=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)),D0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),C0={class:"equation"},S0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),B0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"25%"},class:"fraction"},A0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),T0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),F0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),O0=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)),P0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),L0=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)),W0=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 $0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[Vh,e.createElementVNode("div",fh,[bh,e.createElementVNode("div",gh,[e.createElementVNode("div",xh,[e.createElementVNode("div",kh,[Dh,e.createElementVNode("div",Ch,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Sh,[Bh,e.createElementVNode("div",wh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Oh,[e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",$h,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Hh,[Mh,e.createElementVNode("div",Ih,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Gh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Rh,[zh,e.createElementVNode("div",Uh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),Yh,e.createElementVNode("div",Zh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Qh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Jh,[e.createElementVNode("div",Kh,[jh,e.createElementVNode("div",uh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Xh,[qh,e.createElementVNode("div",vh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",e1,[t1,e.createElementVNode("div",o1,e.toDisplayString(((v=(u=t.reportData)==null?void 0:u.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",l1,[a1,e.createElementVNode("div",n1,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",s1,[c1,e.createElementVNode("div",i1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(be=(re=t.reportData)==null?void 0:re.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",d1,r1)):e.createCommentVNode("",!0),(xe=(ge=t.reportData)==null?void 0:ge.weather)!=null&&xe.noExtrapolation?(e.openBlock(),e.createElementBlock("div",m1,p1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",h1,[e.createElementVNode("table",_1,[E1,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))])])])]),y1,e.createElementVNode("div",N1,[((De=(ke=t.reportData)==null?void 0:ke.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",V1,[f1,e.createElementVNode("div",b1,[e.createElementVNode("div",g1,[x1,e.createElementVNode("div",k1,[(Fe=(Ce=t.reportData)==null?void 0:Ce.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",D1,e.toDisplayString((Pe=(Oe=t.reportData)==null?void 0:Oe.goodWx)==null?void 0:Pe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",C1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",S1,[B1,e.createElementVNode("div",w1,[(We=(Le=t.reportData)==null?void 0:Le.goodWx)!=null&&We.avgSpd?(e.openBlock(),e.createElementBlock("div",A1,e.toDisplayString((He=($e=t.reportData)==null?void 0:$e.goodWx)==null?void 0:He.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",T1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",F1,[O1,e.createElementVNode("div",P1,[(Ne=(Me=t.reportData)==null?void 0:Me.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",L1,e.toDisplayString((je=(Ke=t.reportData)==null?void 0:Ke.goodWx)==null?void 0:je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",W1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",$1,[e.createElementVNode("div",H1,[M1,e.createElementVNode("div",I1,e.toDisplayString((A=(ue=t.reportData)==null?void 0:ue.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",G1,[R1,e.createElementVNode("div",z1,e.toDisplayString((Re=(Be=t.reportData)==null?void 0:Be.allWx)==null?void 0:Re.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",U1,[Y1,e.createElementVNode("div",Z1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),Q1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var we,Ge,ze;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",J1,[e.createElementVNode("div",K1,[j1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ye)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ye,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",X1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",q1,[v1,e.createElementVNode("div",null,[e.createElementVNode("span",e_,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",t_,[o_,(we=m.goodWx)!=null&&we.distance?(e.openBlock(),e.createElementBlock("div",l_,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",n_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",s_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",c_,[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",i_,[d_,(Ge=m.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",r_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",p_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",h_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",__,[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",E_,[y_,(ze=m.goodWx)!=null&&ze.distance?(e.openBlock(),e.createElementBlock("div",N_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",V_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",f_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",g_,[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_,[k_,e.createElementVNode("div",D_,[e.createElementVNode("div",C_,[S_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",B_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",w_,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[$],(we,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ge},e.toDisplayString(`${we.port1} (${we.fullTime1}) to ${we.port2} (${we.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",A_,[T_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",F_,[(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",O_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",P_,[e.createElementVNode("div",L_,[e.createElementVNode("div",W_,[e.createElementVNode("div",$_,[H_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",M_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",I_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",G_,[R_,e.createElementVNode("div",null,[e.createElementVNode("span",z_,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)])])])]),U_,e.createElementVNode("div",Y_,[e.createElementVNode("div",Z_,[Q_,e.createElementVNode("div",J_,[e.createElementVNode("span",null,e.toDisplayString(((we=m.goodWx)==null?void 0:we.avgFoEcaCons)||"-")+" mt",1)]),K_,e.createElementVNode("div",j_,[e.createElementVNode("span",null,e.toDisplayString(((Ge=m.allWx)==null?void 0:Ge.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u_,[X_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.goodWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),q_])]),e.createElementVNode("div",v_,[eE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),tE])]),e.createElementVNode("div",oE,[lE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ye=m.allWx)==null?void 0:Ye.outEca.avgFoCons)||"-"),1),aE])]),e.createElementVNode("div",nE,[sE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),cE])]),iE]),e.createElementVNode("div",dE,[rE,e.createElementVNode("div",mE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),pE,e.createElementVNode("div",hE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",_E,[EE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),yE])]),e.createElementVNode("div",NE,[VE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),fE])]),e.createElementVNode("div",bE,[gE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),xE])]),e.createElementVNode("div",kE,[DE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),CE])]),SE])]),e.createElementVNode("div",BE,[e.createElementVNode("div",wE,[AE,e.createElementVNode("div",TE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),FE,e.createElementVNode("div",OE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",PE,[LE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),WE])]),e.createElementVNode("div",$E,[HE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),ME])]),e.createElementVNode("div",IE,[GE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),RE])]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),YE])])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("div",JE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),KE,e.createElementVNode("div",jE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",uE,[XE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),qE])]),e.createElementVNode("div",vE,[ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),ty])]),e.createElementVNode("div",oy,[ly,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),ay])]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),cy])])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("div",ry,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),my,e.createElementVNode("div",py,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",hy,[_y,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),Ey])]),e.createElementVNode("div",yy,[Ny,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),Vy])]),e.createElementVNode("div",fy,[by,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),gy])]),e.createElementVNode("div",xy,[ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),Dy])])])]),e.createElementVNode("div",Cy,[e.createElementVNode("div",Sy,[By,e.createElementVNode("div",wy,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),Ay,e.createElementVNode("div",Ty,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Fy,[Oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Py])]),e.createElementVNode("div",Ly,[Wy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),$y])]),e.createElementVNode("div",Hy,[My,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Iy])]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),zy])])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("div",Zy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),Qy,e.createElementVNode("div",Jy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Ky,[jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",Xy,[qy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),vy])]),e.createElementVNode("div",eN,[tN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),oN])]),e.createElementVNode("div",lN,[aN,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.allWx)==null?void 0:yo.inEca.sumDgoCons)||"-"),1),nN])])]),e.createElementVNode("div",sN,[cN,e.createElementVNode("div",iN,[e.createElementVNode("span",null,e.toDisplayString(((No=m.goodWx)==null?void 0:No.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",dN,[rN,(Vo=m.goodWx)!=null&&Vo.distance&&!((bo=(fo=t.reportData)==null?void 0:fo.weather)!=null&&bo.favorableCur&&((go=m.goodWx)==null?void 0:go.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",mN,[e.createTextVNode(e.toDisplayString(n.computedPositive((xo=m.goodWx)==null?void 0:xo.avgCf)),1),pN])):(e.openBlock(),e.createElementBlock("b",hN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",_N,[e.createElementVNode("div",EN,[yN,(S=m.goodWx)!=null&&S.distance?(e.openBlock(),e.createElementBlock("div",NN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",VN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",fN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",bN,[e.createElementVNode("span",gN,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(`${(Ie=m.goodWx)!=null&&Ie.distance?"":"analysis-none"} card analysis-card`)},[(at=m.goodWx)!=null&&at.distance?(e.openBlock(),e.createElementBlock("div",kN,[e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.noExtrapolation?(Lt=m.goodWx)==null?void 0:Lt.distance:(Wt=m.allWx)==null?void 0:Wt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(($t=m.goodWx)==null?void 0:$t.pfmSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Mt=(Ht=t.reportData)==null?void 0:Ht.weather)!=null&&Mt.noExtrapolation?(It=m.goodWx)==null?void 0:It.distance:(Gt=m.allWx)==null?void 0:Gt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),IN]),e.createElementVNode("div",GN,[RN,zN,e.createElementVNode("div",UN,[e.createElementVNode("div",null,e.toDisplayString((zt=(Rt=t.reportData)==null?void 0:Rt.weather)!=null&&zt.noExtrapolation?(Ut=m.goodWx)==null?void 0:Ut.distance:(Yt=m.allWx)==null?void 0:Yt.distance),1),YN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),ZN,e.createElementVNode("div",QN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),JN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",KN,[e.createElementVNode("div",jN,[uN,(Zt=m.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",XN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",qN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",vN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",eV,[e.createElementVNode("span",tV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",oV,[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(`${(Qt=m.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=m.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",lV,[e.createElementVNode("div",aV,[nV,sV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=t.reportData)==null?void 0:Kt.weather)!=null&&jt.noExtrapolation?(ut=m.goodWx)==null?void 0:ut.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),iV,e.createElementVNode("div",null,e.toDisplayString((qt=m.goodWx)==null?void 0:qt.pfmSpd),1)]),dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((vt=m.goodWx)==null?void 0:vt.sumFoCons)+" "+e.toDisplayString(((eo=m.allWx)==null?void 0:eo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),mV,e.createElementVNode("div",null,e.toDisplayString((to=m.goodWx)==null?void 0:to.time),1)]),pV,e.createElementVNode("div",hV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),_V]),e.createElementVNode("div",EV,[yV,NV,e.createElementVNode("div",VV,[e.createElementVNode("div",null,e.toDisplayString((lo=(oo=t.reportData)==null?void 0:oo.weather)!=null&&lo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),fV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),bV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),xV,kV]),DV,e.createElementVNode("div",CV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),SV]),e.createElementVNode("div",BV,[wV,AV,e.createElementVNode("div",TV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),FV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),OV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),LV,WV]),$V,e.createElementVNode("div",HV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),MV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",IV,[e.createElementVNode("div",GV,[RV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",zV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",UV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",YV,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",ZV,[e.createElementVNode("span",QV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",JV,[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(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",KV,[e.createElementVNode("div",jV,[uV,XV,e.createElementVNode("div",qV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString((Mo=m.goodWx)==null?void 0:Mo.pfmSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Io=m.goodWx)==null?void 0:Io.sumDgoCons)+" "+e.toDisplayString(((Go=m.allWx)==null?void 0:Go.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),of,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.time),1)]),lf,e.createElementVNode("div",af,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),nf]),e.createElementVNode("div",sf,[cf,df,e.createElementVNode("div",rf,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.reportData)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?(Yo=m.goodWx)==null?void 0:Yo.distance:(Ko=m.allWx)==null?void 0:Ko.distance),1),mf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",hf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),_f,Ef]),yf,e.createElementVNode("div",Nf,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),Vf]),e.createElementVNode("div",ff,[bf,gf,e.createElementVNode("div",xf,[e.createElementVNode("div",null,e.toDisplayString((uo=(jo=t.reportData)==null?void 0:jo.weather)!=null&&uo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),kf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Df,e.createElementVNode("div",Cf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Sf,Bf]),wf,e.createElementVNode("div",Af,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),Tf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Ff,e.createElementVNode("div",Of,[e.createElementVNode("div",Pf,[Lf,e.createElementVNode("div",Wf,[e.createElementVNode("div",$f,[Hf,Mf,e.createElementVNode("div",If,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Gf,Rf]),zf]),e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Jf,Kf]),jf]),e.createElementVNode("div",uf,[Xf,qf,e.createElementVNode("div",vf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),e0,t0]),o0]),l0])]),e.createElementVNode("div",a0,[n0,e.createElementVNode("div",s0,[e.createElementVNode("div",c0,[i0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),m0,p0]),h0,_0,E0]),e.createElementVNode("div",y0,[N0,V0,e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,g0]),x0,k0,D0]),e.createElementVNode("div",C0,[S0,B0,e.createElementVNode("div",w0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),A0,T0]),F0,O0,P0]),L0,W0])])])])])}),128))])],2)}const H0=Se(Nh,[["render",$0],["__scopeId","data-v-d80f1a42"]]),KY="",M0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?K(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(o).utc().format("MMMM-DD/HHmm[Z]"):K(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=K(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=K(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},Xa=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),I0=Xa(()=>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)),G0={id:"second-table",class:"table"},R0={class:"summary-table"},z0=Xa(()=>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)),U0={class:"summary-tbody"},Y0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),Z0={class:"voyage-map",style:{"page-break-inside":"avoid"}},Q0=Xa(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),J0=["src"],K0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>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-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function j0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[I0,e.createElementVNode("div",G0,[e.createElementVNode("div",null,[e.createElementVNode("table",R0,[z0,e.createElementVNode("tbody",U0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},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,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},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,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},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,N,!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,N,!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,N))},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,N))},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,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),Y0,e.createElementVNode("div",Z0,[Q0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,J0),K0])],2)}const u0=Se(M0,[["render",j0],["__scopeId","data-v-c9bf3740"]]),jY="",X0={components:{Summary:H0,Inventory:u0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},q0={class:"voyage-report"};function v0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",q0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Se(X0,[["render",v0],["__scopeId","data-v-e76f9905"]]),uY="",e2={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Jo},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={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(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),t2={class:"report-summary"},o2={class:"section voyage-section flex-space"},l2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},a2={class:"flex-space label-block",style:{width:"100%"}},n2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),s2={style:{"text-transform":"uppercase"}},c2={class:"flex-space label-block",style:{width:"100%"}},i2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),d2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},r2={class:"flex-space label-block",style:{width:"100%"}},m2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),p2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},h2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},_2={class:"flex-space label-block",style:{width:"100%"}},E2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),y2={key:0,class:"flex-end",style:{flex:"1"}},N2={key:1,class:"flex-end",style:{flex:"1"}},V2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),f2={class:"flex-end",style:{width:"150px"}},b2={class:"flex-space label-block",style:{width:"100%"}},g2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),x2={key:0,class:"flex-end",style:{flex:"1"}},k2={key:1,class:"flex-end",style:{flex:"1"}},D2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),C2={class:"flex-end",style:{width:"150px"}},S2={class:"flex-space label-block",style:{width:"100%"}},B2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),w2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},A2={class:"section weather-section"},T2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),F2={class:"definition"},O2={class:"txt"},P2={class:"section summary-section"},L2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),W2={class:"phase-box"},$2={class:"phase-index"},H2={class:"phase-position"},M2={key:0},I2={key:1},G2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),R2={class:"phase-position"},z2={key:0},U2={key:1},Y2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Z2={class:"phase-cp flex-space"},Q2={class:"cp-box"},J2=i(()=>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)),K2={class:"flex-space"},j2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),u2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),X2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),v2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),eb=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),tb=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),ob=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),lb={class:"phase-conclusion flex-space"},ab={class:"item-conclusion"},nb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),sb={class:"value flex-start"},cb=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),ib={key:0,class:"label flex-end"},db={key:0},rb={key:1},mb={key:2},pb={key:1,class:"label flex-end"},hb={key:2,class:"value flex-end"},_b={key:0},Eb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),yb={class:"gain"},Nb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Vb={key:1},fb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),bb={class:"lost"},gb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xb={key:2},kb={class:"item-conclusion"},Db=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Cb={class:"value flex-start"},Sb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Bb={key:0,class:"label flex-end"},wb={key:0},Ab={key:1},Tb={key:2},Fb={key:1,class:"label flex-end"},Ob={key:2,class:"value flex-end"},Pb={key:0},Lb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Wb={class:"gain"},$b=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Hb={key:1},Mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Ib={class:"lost"},Gb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Rb={key:2},zb={class:"item-conclusion"},Ub=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Yb={class:"value flex-start"},Zb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Qb={key:0,class:"label flex-end"},Jb={key:0},Kb={key:1},jb={key:2},ub={key:1,class:"label flex-end"},Xb={key:2,class:"value flex-end"},qb={key:0},vb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),eg={class:"gain"},tg=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),og={key:1},lg=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ag={class:"lost"},ng=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),sg={key:2},cg=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),ig=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),dg={key:0,class:"exclusion-block"},rg=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),mg=i(()=>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)),pg={style:{margin:"8px 0"}},hg={class:"remark-table"},_g=i(()=>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)),Eg=["innerHTML"],yg={class:"section segment-section"},Ng=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Vg={class:"segment-index flex-center"},fg={class:"segment-position"},bg={key:0},gg={key:1},xg=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),kg={class:"segment-position"},Dg={key:0},Cg={key:1},Sg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Bg={style:{margin:"10px 0 0"}},wg=i(()=>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)),Ag=i(()=>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)),Tg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Fg={class:"good-wx"},Og={class:"good-wx"},Pg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Lg={class:"good-wx"},Wg={class:"good-wx"},$g=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Hg={class:"good-wx"},Mg={class:"good-wx"},Ig=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Gg={class:"good-wx"},Rg={class:"good-wx"},zg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Ug={class:"good-wx"},Yg={class:"good-wx"},Zg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Qg={class:"good-wx"},Jg={class:"good-wx"},Kg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),jg={class:"good-wx"},ug={class:"good-wx"},Xg={key:0,class:"flex-end tip"},qg={key:1,class:"segment-speed"},vg={class:"flex-center"},ex=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),tx={class:"speed-right flex-space"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx={key:1,class:"speed"},sx={key:0,class:"speed"},cx=i(()=>e.createElementVNode("span",null,"-",-1)),ix=i(()=>e.createElementVNode("label",null,"=",-1)),dx={class:"speed"},rx=i(()=>e.createElementVNode("span",null,"-",-1)),mx=i(()=>e.createElementVNode("label",null,"=",-1)),px={class:"speed"},hx=i(()=>e.createElementVNode("span",null,"-",-1)),_x=i(()=>e.createElementVNode("span",null,"-",-1)),Ex=i(()=>e.createElementVNode("label",null,"=",-1)),yx={class:"speed"},Nx={key:2,class:"under"},Vx={key:3,class:"over"},fx={class:"flex-center"},bx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),gx={class:"speed-right formula flex-space"},xx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kx=i(()=>e.createElementVNode("label",null,"-",-1)),Dx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Sx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),Bx={key:0},wx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ox=i(()=>e.createElementVNode("label",null,"-",-1)),Px=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Lx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Wx=i(()=>e.createElementVNode("label",null,"-",-1)),$x=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Hx=i(()=>e.createElementVNode("label",null,"-",-1)),Mx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ix={key:2,class:"segment-speed"},Gx={class:"flex-center"},Rx=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),zx={class:"speed-right flex-space"},Ux=i(()=>e.createElementVNode("span",null,"-",-1)),Yx=i(()=>e.createElementVNode("span",null,"-",-1)),Zx=i(()=>e.createElementVNode("label",null,"=",-1)),Qx={class:"speed"},Jx=i(()=>e.createElementVNode("span",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"=",-1)),jx={class:"speed"},ux={key:2,class:"under"},Xx={key:3,class:"over"},qx={class:"flex-center"},vx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ek={class:"speed-right formula flex-space"},tk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ok=i(()=>e.createElementVNode("label",null,"-",-1)),lk=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),ak=i(()=>e.createElementVNode("label",null,"-",-1)),nk=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),sk=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ck=i(()=>e.createElementVNode("label",null,"-",-1)),ik=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),dk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),rk=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),mk={class:"segment-formula"},pk={class:"header-block flex-start"},hk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),_k={class:"title"},Ek={key:0,style:{"margin-left":"4px","font-weight":"300"}},yk={class:"formula-block"},Nk={class:"flex-evenly"},Vk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),kk=i(()=>e.createElementVNode("div",null,"(a)",-1)),Dk={class:"flex-center"},Ck={class:"formula-left flex-space"},Sk=i(()=>e.createElementVNode("label",null,"=",-1)),Bk={class:"formula-right flex-evenly"},wk={class:"fraction",style:{width:"240px"}},Ak=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Tk=i(()=>e.createElementVNode("div",null,"(b)",-1)),Fk={class:"flex-center"},Ok={class:"formula-left flex-space"},Pk=i(()=>e.createElementVNode("label",null,"=",-1)),Lk={class:"formula-right flex-evenly"},Wk={class:"fraction",style:{width:"240px"}},$k=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hk=i(()=>e.createElementVNode("div",null,"(c)",-1)),Mk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Ik={class:"formula-desc"},Gk={class:"flex-end"},Rk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),zk={class:"flex-end"},Uk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),Yk={class:"flex-end"},Zk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Qk={key:0,class:"formula-block",style:{"font-weight":"400"}},Jk={class:"flex-evenly"},Kk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),jk={class:"formula-right flex-evenly"},uk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(a')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(b')",-1)),i3={class:"flex-center"},d3={class:"formula-left flex-space"},r3=i(()=>e.createElementVNode("label",null,"=",-1)),m3={class:"formula-right flex-evenly"},p3={class:"fraction",style:{width:"240px"}},h3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_3=i(()=>e.createElementVNode("div",null,"=",-1)),E3=i(()=>e.createElementVNode("div",null,"(c')",-1)),y3={class:"formula-conclusion",style:{"margin-bottom":"0"}},N3={key:0,class:"flex-evenly",style:{width:"500px"}},V3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),f3=i(()=>e.createElementVNode("div",null,"=",-1)),b3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),g3=i(()=>e.createElementVNode("div",null,"=",-1)),x3=i(()=>e.createElementVNode("div",null,"-",-1)),k3=i(()=>e.createElementVNode("div",null,"=",-1)),D3={key:1,class:"flex-evenly",style:{width:"500px"}},C3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),S3=i(()=>e.createElementVNode("div",null,"=",-1)),B3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),w3=i(()=>e.createElementVNode("div",null,"=",-1)),A3=i(()=>e.createElementVNode("div",null,"-",-1)),T3=i(()=>e.createElementVNode("div",null,"=",-1)),F3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),O3={key:1,class:"formula-conclusion"},P3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),L3={class:"segment-formula"},W3={class:"header-block flex-start"},$3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),H3={class:"title"},M3={key:0,style:{"margin-left":"4px","font-weight":"300"}},I3={class:"formula-block"},G3={class:"flex-evenly"},R3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),z3={class:"formula-right flex-evenly"},U3={class:"fraction",style:{width:"240px"}},Y3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Z3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q3=i(()=>e.createElementVNode("div",null,"x",-1)),J3=i(()=>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)),K3=i(()=>e.createElementVNode("div",null,"(d)",-1)),j3={style:{"line-height":"1"}},u3=i(()=>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)),X3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},q3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>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)),nD=i(()=>e.createElementVNode("div",null,"(e)",-1)),sD={class:"flex-center"},cD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),iD={class:"formula-right flex-evenly"},dD={class:"fraction",style:{width:"240px"}},rD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mD=i(()=>e.createElementVNode("div",null,"x",-1)),pD=i(()=>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)),hD=i(()=>e.createElementVNode("div",null,"(f)",-1)),_D=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),ED={class:"flex-center"},yD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),ND={class:"formula-right flex-evenly"},VD={class:"fraction",style:{width:"270px"}},fD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),bD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gD={class:"flex-center"},xD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),kD={class:"formula-right flex-evenly"},DD={class:"fraction",style:{width:"270px"}},CD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),SD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BD=i(()=>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)),wD={class:"header-block flex-start",style:{"margin-top":"10px"}},AD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),TD={class:"title"},FD={key:0,class:"formula-block"},OD={key:0,class:"flex-evenly"},PD=i(()=>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)),LD={class:"formula-right flex-evenly"},WD={class:"fraction",style:{width:"60px"}},$D=i(()=>e.createElementVNode("div",null,"-",-1)),HD={class:"fraction",style:{width:"60px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"24",-1)),GD=i(()=>e.createElementVNode("div",null,"*",-1)),RD=i(()=>e.createElementVNode("div",null,"=",-1)),zD={class:"flex-evenly"},UD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),YD={class:"formula-right flex-evenly"},ZD={class:"fraction",style:{width:"240px"}},QD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),JD=i(()=>e.createElementVNode("div",null,"x",-1)),KD={class:"fraction",style:{width:"240px"}},jD={key:0},uD=i(()=>e.createElementVNode("span",null," + ",-1)),XD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qD=i(()=>e.createElementVNode("div",null,"=",-1)),vD=i(()=>e.createElementVNode("div",null,"(d')",-1)),eC={class:"flex-evenly"},tC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),oC={class:"formula-right flex-evenly"},lC={class:"fraction",style:{width:"240px"}},aC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),nC=i(()=>e.createElementVNode("div",null,"x",-1)),sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"24",-1)),dC=i(()=>e.createElementVNode("div",null,"=",-1)),rC=i(()=>e.createElementVNode("div",null,"(e')",-1)),mC={class:"flex-evenly"},pC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),hC={class:"formula-right flex-evenly"},_C={class:"fraction",style:{width:"240px"}},EC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),yC=i(()=>e.createElementVNode("div",null,"x",-1)),NC={class:"fraction",style:{width:"240px"}},VC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fC=i(()=>e.createElementVNode("div",null,"24",-1)),bC=i(()=>e.createElementVNode("div",null,"=",-1)),gC=i(()=>e.createElementVNode("div",null,"(f')",-1)),xC={class:"formula-conclusion",style:{"margin-bottom":"0"}},kC={class:"flex-evenly",style:{width:"500px"}},DC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),CC=i(()=>e.createElementVNode("div",null,"=",-1)),SC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC=i(()=>e.createElementVNode("div",null,"-",-1)),AC=i(()=>e.createElementVNode("div",null,"=",-1)),TC={key:0,class:"flex-evenly"},FC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC={class:"fraction"},LC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),WC=i(()=>e.createElementVNode("div",null,"=",-1)),$C={class:"flex-evenly",style:{width:"700px"}},HC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),MC=i(()=>e.createElementVNode("div",null,"=",-1)),IC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("div",null,"-",-1)),zC=i(()=>e.createElementVNode("div",null,"=",-1)),UC={key:0,class:"flex-evenly",style:{width:"500px"}},YC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),ZC=i(()=>e.createElementVNode("div",null,"=",-1)),QC={class:"fraction",style:{width:"140px"}},JC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),KC=i(()=>e.createElementVNode("div",null,"=",-1)),jC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),uC={key:1,class:"formula-conclusion"},XC={class:"header-block flex-end",style:{"margin-top":"10px"}},qC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),vC={class:"title"},eS={key:0,class:"formula-block"},tS={class:"flex-evenly"},oS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),lS={class:"formula-right flex-evenly"},aS={class:"fraction",style:{width:"240px"}},nS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),sS=i(()=>e.createElementVNode("div",null,"x",-1)),cS={class:"fraction",style:{width:"240px"}},iS={key:0},dS=i(()=>e.createElementVNode("span",null," - ",-1)),rS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mS=i(()=>e.createElementVNode("div",null,"=",-1)),pS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),hS={class:"flex-evenly"},_S=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),ES={class:"formula-right flex-evenly"},yS={class:"fraction",style:{width:"240px"}},NS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),VS=i(()=>e.createElementVNode("div",null,"x",-1)),fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"24",-1)),xS=i(()=>e.createElementVNode("div",null,"=",-1)),kS=i(()=>e.createElementVNode("div",null,"(e'')",-1)),DS={class:"flex-evenly"},CS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),SS={class:"formula-right flex-evenly"},BS={class:"fraction",style:{width:"240px"}},wS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),AS=i(()=>e.createElementVNode("div",null,"x",-1)),TS={class:"fraction",style:{width:"240px"}},FS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),OS=i(()=>e.createElementVNode("div",null,"24",-1)),PS=i(()=>e.createElementVNode("div",null,"=",-1)),LS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),WS={class:"formula-conclusion",style:{"margin-bottom":"0"}},$S={key:0,class:"flex-evenly",style:{width:"500px"}},HS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),MS=i(()=>e.createElementVNode("div",null,"=",-1)),IS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),GS=i(()=>e.createElementVNode("div",null,"=",-1)),RS=i(()=>e.createElementVNode("div",null,"-",-1)),zS=i(()=>e.createElementVNode("div",null,"=",-1)),US={key:1,class:"flex-evenly",style:{width:"700px"}},YS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),ZS=i(()=>e.createElementVNode("div",null,"=",-1)),QS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),JS=i(()=>e.createElementVNode("div",null,"=",-1)),KS=i(()=>e.createElementVNode("div",null,"-",-1)),jS=i(()=>e.createElementVNode("div",null,"=",-1)),uS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),XS={key:1,class:"formula-conclusion"};function qS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",t2,[e.createElementVNode("div",o2,[e.createElementVNode("div",l2,[e.createElementVNode("div",a2,[n2,e.createElementVNode("span",s2,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",c2,[i2,e.createElementVNode("span",d2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",r2,[m2,e.createElementVNode("span",p2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",h2,[e.createElementVNode("div",_2,[E2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",y2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",N2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),V2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",f2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",b2,[g2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",x2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",k2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),D2,e.createVNode(c,{lng:(W=(H=t.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",C2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",S2,[B2,e.createElementVNode("span",w2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",A2,[T2,e.createElementVNode("div",F2,[e.createElementVNode("div",O2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",P2,[L2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+u,class:"segment-box flex-space"},[e.createElementVNode("div",W2,[e.createElementVNode("div",$2,"Seg."+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,we)=>{var Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:we,class:"phase-row flex-space"},[e.createElementVNode("div",H2,[(Ge=$==null?void 0:$.departure)!=null&&Ge.portName?(e.openBlock(),e.createElementBlock("span",M2,e.toDisplayString((ze=$==null?void 0:$.departure)==null?void 0:ze.portName),1)):(e.openBlock(),e.createElementBlock("span",I2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ye=$==null?void 0:$.departure)==null?void 0:Ye.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),G2,e.createElementVNode("div",R2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",z2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",U2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),Y2,e.createElementVNode("div",Z2,[e.createElementVNode("div",Q2,[J2,e.createElementVNode("div",K2,[j2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[u2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[X2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[v2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[eb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[tb,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),ob,e.createElementVNode("div",lb,[e.createElementVNode("div",ab,[nb,e.createElementVNode("div",sb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),cb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ib,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",db,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,"Time Lost")):(e.openBlock(),e.createElementBlock("div",mb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",pb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",_b,[Eb,e.createElementVNode("span",yb,e.toDisplayString((be=l==null?void 0:l.timeConclusion)==null?void 0:be.timeGain),1),Nb])):((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Vb,[fb,e.createElementVNode("span",bb,e.toDisplayString((xe=l==null?void 0:l.timeConclusion)==null?void 0:xe.timeLost),1),gb])):(e.openBlock(),e.createElementBlock("div",xb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",kb,[Db,e.createElementVNode("div",Cb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Sb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Bb,[((De=(ke=l==null?void 0:l.fuelConclusion)==null?void 0:ke.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",wb,"FO Saving")):((Fe=(Ce=l==null?void 0:l.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Tb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Fb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ob,[((Pe=(Oe=l==null?void 0:l.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Pb,[Lb,e.createElementVNode("span",Wb,e.toDisplayString((We=(Le=l==null?void 0:l.fuelConclusion)==null?void 0:Le.fo)==null?void 0:We.saving),1),$b])):((He=($e=l==null?void 0:l.fuelConclusion)==null?void 0:$e.fo)==null?void 0:He.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Hb,[Mb,e.createElementVNode("span",Ib,e.toDisplayString((Ne=(Me=l==null?void 0:l.fuelConclusion)==null?void 0:Me.fo)==null?void 0:Ne.overCons),1),Gb])):(e.openBlock(),e.createElementBlock("div",Rb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",zb,[Ub,e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Zb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Qb,[((je=(Ke=l==null?void 0:l.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Jb,"DO/GO Saving")):((A=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Kb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",jb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ub,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Xb,[((Re=(Be=l==null?void 0:l.fuelConclusion)==null?void 0:Be.dgo)==null?void 0:Re.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",qb,[vb,e.createElementVNode("span",eg,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),tg])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",og,[lg,e.createElementVNode("span",ag,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),ng])):(e.openBlock(),e.createElementBlock("div",sg,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),cg]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[ig,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",dg,[rg,mg,e.createElementVNode("div",pg,[e.createElementVNode("table",hg,[_g,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u},[e.createElementVNode("td",null,e.toDisplayString(u+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.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]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,Eg))],2)],2),e.createElementVNode("div",yg,[Ng,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,u)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,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,fc,bc,gc,xc,kc,Dc,Cc;return e.openBlock(),e.createElementBlock("div",{key:u,class:"segment-block"},[e.createElementVNode("div",Vg,"Voyage Analysis Seg. "+e.toDisplayString(u+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(Ae,AY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:AY,class:"segment-row flex-space"},[e.createElementVNode("div",fg,[(Sc=Ae==null?void 0:Ae.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",bg,e.toDisplayString((Bc=Ae==null?void 0:Ae.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",gg,e.toDisplayString(n.computeLat((wc=Ae==null?void 0:Ae.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=Ae==null?void 0:Ae.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=Ae==null?void 0:Ae.departure)==null?void 0:Tc.utcTime))+")",1)]),xg,e.createElementVNode("div",kg,[(Fc=Ae==null?void 0:Ae.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",Dg,e.toDisplayString((Oc=Ae==null?void 0:Ae.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Cg,e.toDisplayString(n.computeLat((Pc=Ae==null?void 0:Ae.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=Ae==null?void 0:Ae.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=Ae==null?void 0:Ae.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Sg,e.createElementVNode("div",Bg,[e.createElementVNode("table",null,[wg,Ag,e.createElementVNode("tr",null,[Tg,e.createElementVNode("td",Fg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Og,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Pg,e.createElementVNode("td",Lg,e.toDisplayString((me=(X=l==null?void 0:l.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Wg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((xe=(ge=l==null?void 0:l.allWx)==null?void 0:ge.inEca)==null?void 0:xe.time),1)]),e.createElementVNode("tr",null,[$g,e.createElementVNode("td",Hg,e.toDisplayString(((De=(ke=l==null?void 0:l.goodWx)==null?void 0:ke.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Mg,e.toDisplayString(((Fe=(Ce=l==null?void 0:l.goodWx)==null?void 0:Ce.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=l==null?void 0:l.allWx)==null?void 0:Oe.outEca)==null?void 0:Pe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((We=(Le=l==null?void 0:l.allWx)==null?void 0:Le.inEca)==null?void 0:We.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",Gg,e.toDisplayString(((He=($e=l==null?void 0:l.goodWx)==null?void 0:$e.outEca)==null?void 0:He.sumFoCons)||"--"),1),e.createElementVNode("td",Rg,e.toDisplayString(((Ne=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Ke=l==null?void 0:l.allWx)==null?void 0:Ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(ue=l==null?void 0:l.allWx)==null?void 0:ue.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[zg,e.createElementVNode("td",Ug,e.toDisplayString(((Re=(Be=l==null?void 0:l.goodWx)==null?void 0:Be.outEca)==null?void 0:Re.avgFoCons)||"--"),1),e.createElementVNode("td",Yg,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Zg,e.createElementVNode("td",Qg,e.toDisplayString(((we=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:we.sumDgoCons)||"--"),1),e.createElementVNode("td",Jg,e.toDisplayString(((ze=(Ge=l==null?void 0:l.goodWx)==null?void 0:Ge.inEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ye.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Kg,e.createElementVNode("td",jg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",ug,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[u])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Xg,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",vg,[ex,e.createElementVNode("div",tx,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",sx,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),cx,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ix,e.createElementVNode("span",dx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(yo=(Eo=t.report)==null?void 0:Eo.weather)!=null&&yo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((No=l==null?void 0:l.goodWx)==null?void 0:No.avgSpd),1),rx,e.createElementVNode("span",null,e.toDisplayString(((Vo=l==null?void 0:l.goodWx)==null?void 0:Vo.avgWf)>0?(fo=l==null?void 0:l.goodWx)==null?void 0:fo.avgWf:`(${(bo=l==null?void 0:l.goodWx)==null?void 0:bo.avgWf})`),1),mx,e.createElementVNode("span",px,e.toDisplayString((go=l==null?void 0:l.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((xo=l==null?void 0:l.goodWx)==null?void 0:xo.avgSpd),1),hx,e.createElementVNode("span",null,e.toDisplayString(((S=l==null?void 0:l.goodWx)==null?void 0:S.avgWf)>0?(Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgWf:`(${(at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf})`),1),_x,e.createElementVNode("span",null,e.toDisplayString(((nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgCf)>0?(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgCf:`(${(Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.avgCf})`),1),Ex,e.createElementVNode("span",yx,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",nx,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),(($t=l==null?void 0:l.goodWx)==null?void 0:$t.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Nx,"(Under-performance)")):e.createCommentVNode("",!0),((Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Vx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",fx,[bx,e.createElementVNode("div",gx,[(It=(Mt=t.report)==null?void 0:Mt.weather)!=null&&It.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Yt=(Ut=t.report)==null?void 0:Ut.weather)!=null&&Yt.disableWxFactor&&((Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",Bx,"GW Average Speed")):(Kt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&Kt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[wx,Ax,Tx],64)):(ut=(jt=t.report)==null?void 0:jt.weather)!=null&&ut.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Fx,Ox,Px],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Lx,Wx,$x,Hx,Mx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Rt=(Gt=t.report)==null?void 0:Gt.weather)!=null&&Rt.favorableCur&&((zt=l==null?void 0:l.goodWx)==null?void 0:zt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Cx,Sx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[xx,kx,Dx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Ix,[e.createElementVNode("div",Gx,[Rx,e.createElementVNode("div",zx,[(qt=(Xt=t.report)==null?void 0:Xt.weather)!=null&&qt.favorableCur&&((vt=l==null?void 0:l.allWx)==null?void 0:vt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Jx,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Kx,e.createElementVNode("span",jx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((eo=l==null?void 0:l.allWx)==null?void 0:eo.avgSpd),1),Ux,e.createElementVNode("span",null,e.toDisplayString(((to=l==null?void 0:l.allWx)==null?void 0:to.avgCf)>0?(oo=l==null?void 0:l.allWx)==null?void 0:oo.avgCf:`(${(lo=l==null?void 0:l.allWx)==null?void 0:lo.avgCf})`),1),Yx,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Zx,e.createElementVNode("span",Qx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",ux,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Xx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",qx,[vx,e.createElementVNode("div",ek,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[sk,ck,ik,dk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[tk,ok,lk,ak,nk],64))])])])),rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[hk,e.createElementVNode("div",_k,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Time Analysis",1),(Mo=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Mo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Ek,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[Vk,e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,xk]),kk])]),e.createElementVNode("div",Dk,[e.createElementVNode("div",Ck,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(zo=(Ro=l==null?void 0:l.extend)==null?void 0:Ro.cp)==null?void 0:zo.speed,"Under"))+"kts)",1),Sk]),e.createElementVNode("div",Bk,[e.createElementVNode("div",wk,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=t.report)==null?void 0:Uo.weather)!=null&&Yo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Ak,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(jo=(Ko=l==null?void 0:l.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts",1)]),Tk])]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Pk]),e.createElementVNode("div",Lk,[e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$k,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Hk])]),Mk]),e.createElementVNode("div",Ik,[e.createElementVNode("div",Gk,[Rk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",zk,[Uk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Yk,[Zk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Qk,[e.createElementVNode("div",Jk,[Kk,e.createElementVNode("div",jk,[e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Xk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),qk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[e.createElementVNode("div",d3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),r3]),e.createElementVNode("div",m3,[e.createElementVNode("div",p3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),h3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),_3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),E3])]),e.createElementVNode("div",y3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",N3,[V3,f3,b3,g3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),k3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",D3,[C3,S3,B3,w3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),A3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),T3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[F3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",O3,e.toDisplayString(a.noGoodWxDay),1))]),P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[$3,e.createElementVNode("div",H3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(u+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",M3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",I3,[e.createElementVNode("div",G3,[R3,e.createElementVNode("div",z3,[e.createElementVNode("div",U3,[e.createElementVNode("div",null,e.toDisplayString((jl=(Kl=t.report)==null?void 0:Kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Y3,Z3]),Q3,J3,K3])]),e.createElementVNode("div",j3,[u3,((Xl=(ul=l.extend)==null?void 0:ul.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",X3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",q3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),lD,aD,nD])]),e.createElementVNode("div",sD,[cD,e.createElementVNode("div",iD,[e.createElementVNode("div",dD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),mD,pD,hD])]),_D,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ED,[yD,e.createElementVNode("div",ND,[e.createElementVNode("div",VD,[fD,bD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",gD,[xD,e.createElementVNode("div",kD,[e.createElementVNode("div",DD,[CD,SD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),BD,e.createElementVNode("div",wD,[AD,e.createElementVNode("div",TD,"Seg. "+e.toDisplayString(u+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",FD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",OD,[PD,e.createElementVNode("div",LD,[e.createElementVNode("div",WD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),$D,e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),MD,ID]),GD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),RD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",zD,[UD,e.createElementVNode("div",YD,[e.createElementVNode("div",ZD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),QD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),JD,e.createElementVNode("div",KD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",jD,[uD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),XD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),qD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),vD])]),e.createElementVNode("div",eC,[tC,e.createElementVNode("div",oC,[e.createElementVNode("div",lC,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(j=l==null?void 0:l.goodWx)==null?void 0:j.distance:(Zo=l==null?void 0:l.allWx)==null?void 0:Zo.distance),1),aC,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),nC,e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),cC,iC]),dC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),rC])]),e.createElementVNode("div",mC,[pC,e.createElementVNode("div",hC,[e.createElementVNode("div",_C,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(Ka=l==null?void 0:l.goodWx)==null?void 0:Ka.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),EC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),yC,e.createElementVNode("div",NC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),VC,fC]),bC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),gC])]),e.createElementVNode("div",xC,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",kC,[DC,CC,SC,BC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),wC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),AC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",TC,[FC,OC,e.createElementVNode("div",PC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),WC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((jn=(Kn=l==null?void 0:l.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:jn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",$C,[HC,MC,IC,GC,e.createElementVNode("div",null,e.toDisplayString((Xn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Xn.minCons),1),RC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),zC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",UC,[YC,ZC,e.createElementVNode("div",QC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),JC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),KC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[jC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",uC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",XC,[qC,e.createElementVNode("div",vC,"Seg. "+e.toDisplayString(u+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",eS,[e.createElementVNode("div",tS,[oS,e.createElementVNode("div",lS,[e.createElementVNode("div",aS,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),nS,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),sS,e.createElementVNode("div",cS,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",iS,[dS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),rS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),mS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),pS])]),e.createElementVNode("div",hS,[_S,e.createElementVNode("div",ES,[e.createElementVNode("div",yS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),NS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),VS,e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),bS,gS]),xS,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons)+" (mt)",1),kS])]),e.createElementVNode("div",DS,[CS,e.createElementVNode("div",SS,[e.createElementVNode("div",BS,[e.createElementVNode("div",null,e.toDisplayString((us=(js=t.report)==null?void 0:js.weather)!=null&&us.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.distance),1),wS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),AS,e.createElementVNode("div",TS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),FS,OS]),PS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),LS])]),e.createElementVNode("div",WS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$S,[HS,MS,IS,GS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),zS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",US,[YS,ZS,QS,JS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),KS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),jS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[uS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",XS,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const vS=Se(e2,[["render",qS],["__scopeId","data-v-44fbbd8a"]]),XY="",e4={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(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.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=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),t4={class:"report-inventory"},o4={class:"section summary-section"},l4=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),a4={class:"summary-block"},n4=q(()=>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)),s4={class:"label",rowspan:"4"},c4=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),i4=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),d4=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),r4=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),m4={class:"section inventory-section"},p4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),h4={class:"inventory-block flex-center"},_4={style:{"font-size":"12px"}},E4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),N4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),V4=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),f4=["colspan"],b4={key:0,class:"label",colspan:"2"},g4=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),x4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),k4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),D4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),C4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),S4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),B4={key:0,class:"label",rowspan:"2"},w4=q(()=>e.createElementVNode("br",null,null,-1)),A4={key:1,class:"label",rowspan:"2"},T4=q(()=>e.createElementVNode("br",null,null,-1)),F4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),O4={key:2,class:"label",rowspan:"2"},P4=q(()=>e.createElementVNode("br",null,null,-1)),L4={key:3,class:"label",colspan:"2"},W4={key:4,class:"label",rowspan:"2"},$4=q(()=>e.createElementVNode("br",null,null,-1)),H4={key:5,class:"label",colspan:"2"},M4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),I4={key:6,class:"label",rowspan:"2"},G4={key:7,class:"label",rowspan:"2"},R4={key:8,class:"label",rowspan:"2"},z4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),U4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),Z4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),Q4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),J4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),K4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),j4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),u4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),X4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),q4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),v4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),e5={key:0,class:"label"},t5={key:1,class:"label"},o5={key:2,class:"label"},l5={key:3,class:"label"},a5=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),n5=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),s5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),c5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),i5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),d5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),r5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),m5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),p5={class:"summary-tbody"};function h5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",t4,[e.createElementVNode("div",o4,[l4,e.createElementVNode("div",a4,[e.createElementVNode("table",null,[n4,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",s4,e.toDisplayString(p+1),1),c4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[i4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[d4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[r4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",m4,[p4,e.createElementVNode("div",h4,[e.createElementVNode("table",_4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[E4,y4,N4,V4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,f4),t.showFactor?(e.openBlock(),e.createElementBlock("th",b4,"Factor")):e.createCommentVNode("",!0),g4,x4]),e.createElementVNode("tr",null,[k4,D4,C4,S4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Spd"),w4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",A4,[e.createTextVNode("Dis"),T4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),F4,a.showWave?(e.openBlock(),e.createElementBlock("th",O4,[e.createTextVNode("Sea HT"),P4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",L4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",W4,[e.createTextVNode("Sig Wave"),$4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",H4,"Current")):e.createCommentVNode("",!0),M4,t.showFactor?(e.openBlock(),e.createElementBlock("th",I4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",G4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",R4,"Water Temp.")):e.createCommentVNode("",!0),z4,U4,Y4,Z4,Q4,J4,K4,j4]),e.createElementVNode("tr",null,[u4,X4,q4,v4,a.showSwell?(e.openBlock(),e.createElementBlock("th",e5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",t5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",o5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",l5,"CF(kts)")):e.createCommentVNode("",!0),a5,n5,s5,c5,i5,d5,r5,m5])]),e.createElementVNode("tbody",p5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.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(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const _5=Se(e4,[["render",h5],["__scopeId","data-v-a18f941f"]]),qY="",E5={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},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(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={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(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(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 E={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:o,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:t.dateTime,y:t.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:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.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:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.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(E);const c={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:o,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:t.dateTime,y:t.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:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.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:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={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,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.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,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+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 E={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:o,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:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.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:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),y5={class:"report-summary"},N5={class:"section chart-section"},V5=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)),f5={class:"chart-block"},b5={ref:"spdFoConsChart",class:"chart"},g5={ref:"spdDgoConsChart",class:"chart"},x5={ref:"currChart",class:"chart"},k5={class:"section map-section"},D5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),C5={class:"map-block"},S5={class:"flex-space"},B5={class:"voyage-block",style:{height:"197px"}},w5={class:"flex-space label-block",style:{width:"100%"}},A5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),T5={style:{"text-transform":"uppercase"}},F5={class:"flex-space label-block",style:{width:"100%"}},O5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},L5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},W5={class:"flex-space label-block",style:{width:"100%"}},$5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),H5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},M5={class:"flex-space label-block",style:{width:"100%"}},I5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),G5={key:0,class:"flex-end",style:{flex:"1"}},R5={key:1,class:"flex-end",style:{flex:"1"}},z5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),U5={class:"flex-end",style:{width:"160px"}},Y5={class:"flex-space label-block",style:{width:"100%"}},Z5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Q5={key:0,class:"flex-end",style:{flex:"1"}},J5={key:1,class:"flex-end",style:{flex:"1"}},K5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),j5={class:"flex-end",style:{width:"160px"}},u5={class:"flex-space label-block",style:{width:"100%"}},X5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),q5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},v5=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),eB=["src"],tB=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 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-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function oB(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",y5,[e.createElementVNode("div",N5,[V5,e.createElementVNode("div",f5,[e.createElementVNode("div",b5,null,512),e.createElementVNode("div",g5,null,512),e.createElementVNode("div",x5,null,512)])]),e.createElementVNode("div",k5,[D5,e.createElementVNode("div",C5,[e.createElementVNode("div",S5,[e.createElementVNode("div",B5,[e.createElementVNode("div",w5,[A5,e.createElementVNode("span",T5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",F5,[O5,e.createElementVNode("span",P5,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",L5,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",W5,[$5,e.createElementVNode("span",H5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",M5,[I5,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",G5,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",R5,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),z5,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",U5,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Y5,[Z5,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",Q5,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",J5,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),K5,e.createVNode(c,{lng:(H=(L=t.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",j5,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",u5,[X5,e.createElementVNode("span",q5,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),v5]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,eB)])]),tB])}const lB=Se(E5,[["render",oB],["__scopeId","data-v-92ed3e90"]]),vY="",eZ="",aB={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${K(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
42
42
|
<div class="vrpt-date">Date: ${s.date}</div>
|
|
43
43
|
<div class="vrpt-from">From: ${s.from}</div>
|
|
44
44
|
<div class="vrpt-to">To: ${s.to}</div>
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
`,"<br/>")},null,8,gB)]),e.createElementVNode("div",xB,[e.createElementVNode("div",kB,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",DB,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[CB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(X,me)=>{var Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re;return e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString((re=(ye=(Ee=X.props)==null?void 0:Ee[0])==null?void 0:ye.voyage)==null?void 0:re.number),1),e.createElementVNode("td",null,e.toDisplayString(((xe=(ge=(be=X.props)==null?void 0:be[0])==null?void 0:ge.voyage)==null?void 0:xe.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Ce=(De=(ke=X.props)==null?void 0:ke[0])==null?void 0:De.vessel)==null?void 0:Ce.name),1),e.createElementVNode("td",null,e.toDisplayString((Pe=(Oe=(Fe=X.props)==null?void 0:Fe[0])==null?void 0:Oe.voyage)==null?void 0:Pe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString(($e=(We=(Le=X.props)==null?void 0:Le[0])==null?void 0:We.departure)==null?void 0:$e.name),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(Me=(He=X.props)==null?void 0:He[0])==null?void 0:Me.departure)==null?void 0:Ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((ue=(je=(Ke=X.props)==null?void 0:Ke[0])==null?void 0:je.destination)==null?void 0:ue.name),1),e.createElementVNode("td",null,e.toDisplayString((Re=(Be=(A=X.props)==null?void 0:A[0])==null?void 0:Be.destination)==null?void 0:Re.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(X.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=a.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[SB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,BB),wB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(X,me)=>(e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString(X.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(X.items),9,AB),e.createElementVNode("td",null,"$"+e.toDisplayString(X.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((D=t.report)==null?void 0:D.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},FB,8,TB),e.createElementVNode("td",OB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},LB,8,PB),e.createElementVNode("td",WB,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,$B),e.createElementVNode("td",HB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",MB,[e.createElementVNode("td",{colspan:a.maxColspans},GB,8,IB),e.createElementVNode("td",RB,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(T=t.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",zB,[UB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
53
53
|
`,"<br/>")},null,8,YB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ZB,[QB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",JB,[KB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(f=t.report)==null?void 0:f.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",jB,[uB,e.createElementVNode("span",null,e.toDisplayString((G=a.account[(I=t.report)==null?void 0:I.paymentType])==null?void 0:G.number),1)]),e.createElementVNode("div",XB,[qB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(R=t.report)==null?void 0:R.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",vB,[e9,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",t9,[o9,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",l9,[a9,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=t.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",n9,[s9,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=t.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",c9,[i9,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",d9,[r9,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(se=t.report)==null?void 0:se.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",m9,[p9,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(u=t.report)==null?void 0:u.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",h9,[_9,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=t.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",E9,[y9,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=t.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",N9,[V9,e.createElementVNode("span",null,e.toDisplayString((ie=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:ie.intermediaryBankSwift),1)]),e.createElementVNode("div",f9,[b9,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),g9])}const sn=Se(yB,[["render",x9],["__scopeId","data-v-95c80c22"]]),rZ="",k9={name:"FliInvoice",props:{report:{type:Object,default:()=>({})}},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${K(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},_l=o=>(e.pushScopeId("data-v-c269c41c"),o=o(),e.popScopeId(),o),D9={class:"invoice-report"},C9={class:"section items-section"},S9={class:"flex-start"},B9=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),w9=["innerHTML"],A9={class:"flex-space"},T9={class:"invoice-item"},F9={key:0,class:"invoice-item"},O9=_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)),P9=_l(()=>e.createElementVNode("td",null,"NO.",-1)),L9=["colspan"],W9=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),$9=["colspan"],H9=["colspan"],M9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],I9={class:"total"},G9=["colspan"],R9=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],z9={class:"total"},U9=["colspan"],Y9={class:"total"},Z9={key:1},Q9=["colspan"],J9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],K9={class:"total"},j9={key:0,class:"memo-block"},u9=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),X9=["innerHTML"];function q9(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F;return e.openBlock(),e.createElementBlock("div",D9,[e.createElementVNode("div",C9,[e.createElementVNode("div",S9,[B9,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(c=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:c.name)==null?void 0:p.replace(`
|
|
54
54
|
`,"<br/>")},null,8,w9)]),e.createElementVNode("div",A9,[e.createElementVNode("div",T9,"Invoice No. "+e.toDisplayString(t.report.number),1),(b=t.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",F9,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[O9,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(f=B.props)==null?void 0:f[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(R=(G=B.props)==null?void 0:G[0])==null?void 0:R.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((l=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(u=B.props)==null?void 0:u[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,[P9,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,L9),W9])]),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,$9),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((N=t.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},M9,8,H9),e.createElementVNode("td",I9,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},R9,8,G9),e.createElementVNode("td",z9,[e.createElementVNode("span",null,e.toDisplayString((D=t.report)==null?void 0:D.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,U9),e.createElementVNode("td",Y9,"¥"+e.toDisplayString((x=t.report)==null?void 0:x.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",Z9,[e.createElementVNode("td",{colspan:a.maxColspans},J9,8,Q9),e.createElementVNode("td",K9,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=t.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(k=t.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",j9,[u9,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=t.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|
|
55
|
-
`,"<br/>")},null,8,X9)])):e.createCommentVNode("",!0)])])}const cn=Se(k9,[["render",q9],["__scopeId","data-v-c269c41c"]]),v9={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},e8=o=>((typeof o=="string"||typeof o=="number")&&(o=K(o)),o),t8=(o,s="MMM-DD,YYYY/HHmm[Z]")=>o8(o,s),o8=(o,s="MMM-DD/HHmm[Z]")=>(o=e8(o),o?`${o.utc().format(s)}`:"-"),_Z="",l8={name:"IdmEditableItem",components:{Edit:Oa.Edit,Close:Oa.Close,IdmEditor:Jo},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(o,s){return t8(o,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(o){this.$emit("select",o)}}},a8={class:"idm-editable-item"},n8=["innerHTML"],s8={key:3,class:"buttons"};function c8(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),x=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=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",a8,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:t.align})},[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:t.width+"px"})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.type==="input"?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="alphanumeric"?(e.openBlock(),e.createBlock(c,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="textarea"?(e.openBlock(),e.createBlock(c,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=f=>a.model=f),size:t.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=f=>a.model=f),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=f=>a.model=f),size:t.size,controls:t.controls,min:t.min,max:t.max,step:t.step,precision:t.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),t.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=f=>a.model=f),size:t.size,type:"datetime",class:"datetime",format:t.format,"value-format":t.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),t.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=f=>a.model=f),size:t.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,disabled:f.disabled,value:f.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=f=>a.model=f),size:t.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(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=f=>a.model=f),size:t.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(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.id,label:f.name,value:f.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(x,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=f=>a.model=f),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,f=>(e.openBlock(),e.createBlock(D,{key:f.value,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=f=>a.model=f),size:t.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxs,f=>(e.openBlock(),e.createBlock(C,{key:f.label,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof t.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...f)=>n.handleEdit&&n.handleEdit(...f))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,n8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...f)=>n.handleEdit&&n.handleEdit(...f))},[typeof t.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.value||"-"),1)],64))],32))],64))],64)),!t.disabled&&t.iconable&&typeof t.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",s8,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:t.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:t.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 dn=Se(l8,[["render",c8]]),EZ="",i8={name:"OrmDeviation",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Jo,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${ae.LngLatHelper.lat2pretty(o).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){o&&(this.prepare(),this.fetchSuggestName())},immediate:!0}},methods:{prepare(){var o,s,t,r;this.extraPortList=(o=this.report)!=null&&o.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(t=this.report)!=null&&t.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.report=(t=s==null?void 0:s.data)==null?void 0:t.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?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(o,s,t,r){var E;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const b=s.substring(0,a),g=s.substring(a+1);g!=="date"&&(t=Number(t)),this.extraPortList[r][b][g]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.report[s]=t,n={[s]:t}):(this.report[s]=t,n={[s]:Number(t)});const c=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}}),p=(E=c==null?void 0:c.data)==null?void 0:E.data;this.extraPortList=p==null?void 0:p.extraPorts,this.advisory=(p==null?void 0:p.comments)||void 0}else qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-2e5dc49b"),o=o(),e.popScopeId(),o),d8={class:"deviation-report"},r8={class:"content-box"},m8={class:"info-box border-dashed"},p8={class:"flex-between row"},h8={class:"flex-between",style:{width:"48%"}},_8=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),E8={class:"flex-between",style:{width:"48%"}},y8=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),N8={style:{"margin-left":"5px"}},V8={class:"flex-between row"},f8={class:"flex-between",style:{width:"48%"}},b8=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),g8={class:"flex-between",style:{width:"48%"}},x8=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),k8={style:{"margin-left":"5px"}},D8={class:"flex-between row"},C8={class:"flex-between",style:{width:"48%"}},S8=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),B8={class:"flex-between",style:{width:"48%"}},w8=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),A8={class:"section summary-section"},T8=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),F8={class:"border-solid"},O8={class:"cp"},P8={class:"flex-between",style:{padding:"6px 0"}},L8={style:{"margin-left":"5px"}},W8={style:{"margin-left":"5px"}},$8=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),H8=y(()=>e.createElementVNode("td",null,"-",-1)),M8={key:0},I8={key:0},G8={key:1},R8={key:0},z8={key:0},U8={key:1},Y8={key:0},Z8={key:0},Q8={key:1},J8={class:"summary-block flex-between"},K8={class:"item"},j8=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),u8={class:"value flex-end"},X8={key:0},q8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),v8={class:"gain"},ew=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),tw={key:1},ow=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),lw={class:"lost"},aw=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),nw={key:2},sw={class:"item"},cw=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),iw={class:"value flex-end"},dw={key:0},rw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),mw={class:"gain"},pw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),hw={key:1},_w=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Ew={class:"lost"},yw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Nw={key:2},Vw={class:"item"},fw=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),bw={class:"value flex-end"},gw={key:0},xw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),kw={class:"gain"},Dw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Cw={key:1},Sw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Bw={class:"lost"},ww=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Aw={key:2},Tw={class:"item"},Fw=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),Ow={class:"value flex-end"},Pw={key:0},Lw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Ww={class:"gain"},$w=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Hw={key:1},Mw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Iw={class:"lost"},Gw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Rw={key:2},zw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Uw={class:"section-content"},Yw={key:0,class:""},Zw=["innerHTML"],Qw={key:1},Jw={class:"section deviation-info-section"},Kw=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),jw={key:0},uw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Deviation Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),Xw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),qw=y(()=>e.createElementVNode("td",null,null,-1)),vw=y(()=>e.createElementVNode("td",null,null,-1)),e6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),t6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),o6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),l6={key:1},a6=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Deviation Type"),e.createElementVNode("th",{class:"label"},"Position"),e.createElementVNode("th",{class:"label"},"Date Time")])],-1)),n6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),s6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),c6={key:0,class:"section extra-port-section"},i6={class:"flex-between"},d6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),r6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),m6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),p6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),h6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),_6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),E6={key:0,rowspan:2,class:"print-hidden label"},y6=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")],-1)),N6={rowspan:2},V6=y(()=>e.createElementVNode("td",null,"Arrival",-1)),f6=y(()=>e.createElementVNode("td",null,null,-1)),b6=y(()=>e.createElementVNode("td",null,null,-1)),g6={rowspan:2,class:"print-hidden"},x6=y(()=>e.createElementVNode("td",null,"Departure",-1)),k6=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),D6=y(()=>e.createElementVNode("td",null,null,-1)),C6=y(()=>e.createElementVNode("td",null,null,-1)),S6=y(()=>e.createElementVNode("td",null,null,-1)),B6={key:0,class:"print-hidden"},w6={class:"section time-cons-section"},A6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),T6=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Actual Route (nm)"),e.createElementVNode("th",{class:"label"},"Route Prior to deviation(nm)"),e.createElementVNode("th",{class:"label"},"Extra Distance(nm)")])],-1)),F6={class:"time-block flex-between border-dashed"},O6={key:0,class:"formula-block"},P6={class:"flex-start"},L6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),W6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$6={class:"fraction flex-center"},H6={class:"content"},M6=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),I6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),G6={key:0},R6={key:1},z6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),U6={class:"fraction flex-center"},Y6={class:"content"},Z6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J6={class:"fraction flex-center"},K6={class:"flex-start"},j6=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>Total extra Time</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>Time for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>Time spent in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),u6={class:"fraction flex-center"},X6=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),q6={class:"fraction flex-center"},v6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),e7={class:"fraction flex-center"},t7={key:1,class:"formula-block"},o7={class:"flex-start"},l7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),a7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),n7={class:"fraction flex-center"},s7={class:"content"},c7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),i7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),d7={key:0},r7={key:1},m7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),p7={class:"fraction flex-center"},h7={class:"content"},_7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),E7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),y7={class:"fraction flex-center"},N7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),V7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),f7={class:"flex-start"},b7=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>Total extra Time</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>Time for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>Time for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),g7={class:"fraction flex-center"},x7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),k7={class:"fraction flex-center"},D7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),C7={class:"fraction flex-center"},S7={class:"fuel-block flex-between border-dashed"},B7={key:0,class:"formula-block"},w7={class:"flex-start"},A7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),T7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),F7={class:"fraction flex-center"},O7={class:"content"},P7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),L7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7={key:0},$7={key:1},H7=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),M7={class:"fraction flex-center"},I7={class:"content"},G7={key:0},R7={key:1},z7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),U7=y(()=>e.createElementVNode("div",null,"24",-1)),Y7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Z7={class:"fraction flex-center"},Q7={class:"content"},J7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),K7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),j7={class:"fraction flex-center"},u7={class:"content"},X7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=y(()=>e.createElementVNode("div",null,"24",-1)),v7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),eA={class:"fraction flex-center"},tA={class:"flex-start"},oA=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>FO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),lA={class:"fraction flex-center"},aA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),nA={class:"fraction flex-center"},sA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),cA={class:"fraction flex-center"},iA={class:"flex-start"},dA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),rA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),mA={class:"fraction flex-center"},pA={class:"content"},hA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA={key:0},yA={key:1},NA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),VA={class:"fraction flex-center"},fA={class:"content"},bA={key:0},gA={key:1},xA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),kA=y(()=>e.createElementVNode("div",null,"24",-1)),DA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),CA={class:"fraction flex-center"},SA={class:"content"},BA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),wA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),AA={class:"fraction flex-center"},TA={class:"content"},FA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),OA=y(()=>e.createElementVNode("div",null,"24",-1)),PA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),LA={class:"fraction flex-center"},WA={class:"flex-start"},$A=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>MGO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for extra distance sailing</div><div class="sig" data-v-2e5dc49b>+</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption in extra port</div><div class="sig" data-v-2e5dc49b>=</div>',6),HA={class:"fraction flex-center"},MA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),IA={class:"fraction flex-center"},GA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),RA={class:"fraction flex-center"},zA={key:1,class:"formula-block"},UA={class:"flex-start"},YA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),ZA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),QA={class:"fraction flex-center"},JA={class:"content"},KA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uA={key:0},XA={key:1},qA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),vA={class:"fraction flex-center"},eT={class:"content"},tT={key:0},oT={key:1},lT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),aT=y(()=>e.createElementVNode("div",null,"24",-1)),nT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),sT={class:"fraction flex-center"},cT={class:"content"},iT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),dT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),rT={class:"fraction flex-center"},mT={class:"content"},pT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),hT=y(()=>e.createElementVNode("div",null,"24",-1)),_T=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ET={class:"fraction flex-center"},yT={class:"flex-start"},NT=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>FO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),VT={class:"fraction flex-center"},fT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),bT={class:"fraction flex-center"},gT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),xT={class:"fraction flex-center"},kT={class:"flex-start"},DT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),CT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ST={class:"fraction flex-center"},BT={class:"content"},wT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT={key:0},FT={key:1},OT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),PT={class:"fraction flex-center"},LT={class:"content"},WT={key:0},$T={key:1},HT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),MT=y(()=>e.createElementVNode("div",null,"24",-1)),IT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),GT={class:"fraction flex-center"},RT={class:"content"},zT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),YT={class:"fraction flex-center"},ZT={class:"content"},QT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),JT=y(()=>e.createElementVNode("div",null,"24",-1)),KT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jT={class:"fraction flex-center"},uT={class:"flex-start"},XT=e.createStaticVNode('<div class="fraction flex-center" data-v-2e5dc49b>MGO Total Extra Consumption</div><div class="sig" data-v-2e5dc49b>=</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for Actual Route</div><div class="sig" data-v-2e5dc49b>-</div><div class="fraction flex-center" data-v-2e5dc49b>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-2e5dc49b>=</div>',6),qT={class:"fraction flex-center"},vT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),eF={class:"fraction flex-center"},tF=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oF={class:"fraction flex-center"},lF={class:"section map-section"},aF=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),nF={class:"report-map"},sF=["src"],cF=e.createStaticVNode('<div class="legend" data-v-2e5dc49b><div class="legend-item" data-v-2e5dc49b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-2e5dc49b></div><div data-v-2e5dc49b>Actual Route</div></div><div class="legend-item" data-v-2e5dc49b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-2e5dc49b></div><div data-v-2e5dc49b>Route prior to deviation</div></div></div>',1);function iF(o,s,t,r,a,n){var g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),b=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",d8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",r8,[e.createElementVNode("div",m8,[e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[_8,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",E8,[y8,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.name),1),e.createTextVNode(" , "),e.createElementVNode("span",N8,e.toDisplayString(n.computeUTCTime(((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",V8,[e.createElementVNode("div",f8,[b8,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",g8,[x8,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",k8,e.toDisplayString(n.computeUTCTime(((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.ata)||((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",D8,[e.createElementVNode("div",C8,[S8,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",B8,[w8,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",A8,[T8,e.createElementVNode("div",F8,[e.createElementVNode("div",O8,[e.createElementVNode("div",P8,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=(H=t.report)==null?void 0:H.departure)==null?void 0:W.name),1),e.createElementVNode("span",L8,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=t.report)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=t.report)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=t.report)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",W8,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(u=t.report)==null?void 0:u.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[$8,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[H8,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",M8,[e.createTextVNode(" | "),(ce=(le=(oe=t.report)==null?void 0:oe.extend)==null?void 0:le.spdAbt)!=null&&ce.spdPercentage?(e.openBlock(),e.createElementBlock("span",I8,"+"+e.toDisplayString((_e=(de=(ie=t.report)==null?void 0:ie.extend)==null?void 0:de.spdAbt)==null?void 0:_e.spdOfOver)+"% , -"+e.toDisplayString((Ee=(me=(X=t.report)==null?void 0:X.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",G8,"+"+e.toDisplayString((be=(re=(ye=t.report)==null?void 0:ye.extend)==null?void 0:re.spdAbt)==null?void 0:be.abt4SpdOver)+" , -"+e.toDisplayString((ke=(xe=(ge=t.report)==null?void 0:ge.extend)==null?void 0:xe.spdAbt)==null?void 0:ke.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((Ce=(De=t.report)==null?void 0:De.cp)==null?void 0:Ce.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",R8,[e.createTextVNode(" | "),(Pe=(Oe=(Fe=t.report)==null?void 0:Fe.extend)==null?void 0:Oe.foAbtCons)!=null&&Pe.percentage?(e.openBlock(),e.createElementBlock("span",z8,"+"+e.toDisplayString(($e=(We=(Le=t.report)==null?void 0:Le.extend)==null?void 0:We.foAbtCons)==null?void 0:$e.over)+"% , -"+e.toDisplayString((Ne=(Me=(He=t.report)==null?void 0:He.extend)==null?void 0:Me.foAbtCons)==null?void 0:Ne.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",U8,"+"+e.toDisplayString((ue=(je=(Ke=t.report)==null?void 0:Ke.extend)==null?void 0:je.foAbtCons)==null?void 0:ue.overTolerance)+" , -"+e.toDisplayString((Re=(Be=(A=t.report)==null?void 0:A.extend)==null?void 0:Be.foAbtCons)==null?void 0:Re.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",Y8,[e.createTextVNode(" | "),(tt=(et=(ve=t.report)==null?void 0:ve.extend)==null?void 0:et.dgoAbtCons)!=null&&tt.percentage?(e.openBlock(),e.createElementBlock("span",Z8,"+"+e.toDisplayString((we=($=(m=t.report)==null?void 0:m.extend)==null?void 0:$.dgoAbtCons)==null?void 0:we.over)+"% , -"+e.toDisplayString((pe=(ze=(Ge=t.report)==null?void 0:Ge.extend)==null?void 0:ze.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",Q8,"+"+e.toDisplayString((lt=(ot=(Ye=t.report)==null?void 0:Ye.extend)==null?void 0:ot.dgoAbtCons)==null?void 0:lt.overTolerance)+" , -"+e.toDisplayString((mt=(rt=(dt=t.report)==null?void 0:dt.extend)==null?void 0:rt.dgoAbtCons)==null?void 0:mt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",J8,[e.createElementVNode("div",K8,[j8,e.createElementVNode("div",u8,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",X8,[q8,e.createElementVNode("span",v8,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),ew])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),aw])):(e.openBlock(),e.createElementBlock("div",nw,"N/A"))])]),e.createElementVNode("div",sw,[cw,e.createElementVNode("div",iw,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",dw,[rw,e.createElementVNode("span",mw,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),pw])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",hw,[_w,e.createElementVNode("span",Ew,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),yw])):(e.openBlock(),e.createElementBlock("div",Nw,"N/A"))])]),e.createElementVNode("div",Vw,[fw,e.createElementVNode("div",bw,[((Bt=(St=(Ct=t.report)==null?void 0:Ct.consAnalysis)==null?void 0:St.fo)==null?void 0:Bt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",gw,[xw,e.createElementVNode("span",kw,e.toDisplayString(Math.abs((Tt=(At=(wt=t.report)==null?void 0:wt.consAnalysis)==null?void 0:At.fo)==null?void 0:Tt.totalExtraCons)),1),Dw])):((Pt=(Ot=(Ft=t.report)==null?void 0:Ft.consAnalysis)==null?void 0:Ot.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Cw,[Sw,e.createElementVNode("span",Bw,e.toDisplayString(Math.abs((co=(so=(no=t.report)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:co.totalExtraCons)),1),ww])):(e.openBlock(),e.createElementBlock("div",Aw,"N/A"))])]),e.createElementVNode("div",Tw,[Fw,e.createElementVNode("div",Ow,[((mo=(ro=(io=t.report)==null?void 0:io.consAnalysis)==null?void 0:ro.dgo)==null?void 0:mo.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",Pw,[Lw,e.createElementVNode("span",Ww,e.toDisplayString(Math.abs((_o=(ho=(po=t.report)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)),1),$w])):((No=(yo=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:yo.dgo)==null?void 0:No.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Hw,[Mw,e.createElementVNode("span",Iw,e.toDisplayString(Math.abs((bo=(fo=(Vo=t.report)==null?void 0:Vo.consAnalysis)==null?void 0:fo.dgo)==null?void 0:bo.totalExtraCons)),1),Gw])):(e.openBlock(),e.createElementBlock("div",Rw,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[zw,e.createElementVNode("div",Uw,[a.editable?(e.openBlock(),e.createElementBlock("div",Yw,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Z=>a.remarks=Z),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Z=>n.handleCommit(Z))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Z=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",Qw,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,Zw))],32))])],2),e.createElementVNode("div",Jw,[Kw,((go=t.report)==null?void 0:go.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",jw,[uw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((xo=t.report)==null?void 0:xo.startLat,(S=t.report)==null?void 0:S.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ie=t.report)==null?void 0:Ie.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(at=t.report)==null?void 0:at.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(nt=t.report)==null?void 0:nt.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),qw,vw]),e.createElementVNode("tr",null,[e6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((ht=t.report)==null?void 0:ht.endLat,(Lt=t.report)==null?void 0:Lt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Wt=t.report)==null?void 0:Wt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:($t=t.report)==null?void 0:$t.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ht=t.report)==null?void 0:Ht.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("tr",null,[t6,e.createElementVNode("td",null,e.toDisplayString((Rt=(Gt=t.report)==null?void 0:Gt.timeAnalysis)==null?void 0:Rt.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Yt=(Ut=(zt=t.report)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((Jt=(Qt=(Zt=t.report)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.dgo)==null?void 0:Jt.actualCons),1),o6])])])):(e.openBlock(),e.createElementBlock("table",l6,[a6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[n6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Kt=t.report)==null?void 0:Kt.startLat,(jt=t.report)==null?void 0:jt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ut=t.report)==null?void 0:ut.startTime)),1)]),e.createElementVNode("tr",null,[s6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Xt=t.report)==null?void 0:Xt.endLat,(qt=t.report)==null?void 0:qt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((vt=t.report)==null?void 0:vt.endTime)),1)])])]))]),((eo=t.report)==null?void 0:eo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",c6,[e.createElementVNode("div",i6,[d6,e.createVNode(b,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[r6,m6,p6,h6,_6,((to=a.extraPortList)==null?void 0:to.length)>0?(e.openBlock(),e.createElementBlock("th",E6,"Activity")):e.createCommentVNode("",!0)]),y6]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var ka,Da,Ca,Sa,Ba,wa,Aa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",N6,[e.createVNode(p,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),V6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ka=Z==null?void 0:Z.arrival)==null?void 0:ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Z==null?void 0:Z.arrival)==null?void 0:Da.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ca=Z==null?void 0:Z.arrival)==null?void 0:Ca.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),f6,b6,e.createElementVNode("td",g6,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[x6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Sa=Z==null?void 0:Z.departure)==null?void 0:Sa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Z==null?void 0:Z.departure)==null?void 0:Ba.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Z==null?void 0:Z.departure)==null?void 0:wa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Aa=Z==null?void 0:Z.departure)==null?void 0:Aa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Z==null?void 0:Z.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[k6,D6,e.createElementVNode("td",null,e.toDisplayString(((lo=(oo=t.report)==null?void 0:oo.timeAnalysis)==null?void 0:lo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Co=(Do=(ko=t.report)==null?void 0:ko.consAnalysis)==null?void 0:Do.fo)==null?void 0:Co.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((wo=(Bo=(So=t.report)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.portCons)??"—"),1),C6,S6,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",B6)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",w6,[A6,e.createElementVNode("table",null,[T6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(To=t.report)==null?void 0:To.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Z=>n.handleCommit("report","actualDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Fo=t.report)==null?void 0:Fo.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Z=>n.handleCommit("report","priorDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Oo=t.report)==null?void 0:Oo.extraDist)??"—"),1)])])]),e.createElementVNode("div",F6,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",O6,[e.createElementVNode("div",P6,[L6,W6,e.createElementVNode("div",$6,[e.createElementVNode("div",H6,[M6,I6,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",G6,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",R6,"CP Speed"))])]),z6,e.createElementVNode("div",U6,[e.createElementVNode("div",Y6,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),Z6,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),Q6,e.createElementVNode("div",J6,e.toDisplayString((Mo=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Mo.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",K6,[j6,e.createElementVNode("div",u6,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.timeAnalysis)==null?void 0:Go.sailingTime),1),X6,e.createElementVNode("div",q6,e.toDisplayString(n.computeNum((zo=(Ro=t.report)==null?void 0:Ro.timeAnalysis)==null?void 0:zo.portTime)),1),v6,e.createElementVNode("div",e7,e.toDisplayString((Yo=(Uo=t.report)==null?void 0:Uo.timeAnalysis)==null?void 0:Yo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,a7,e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[c7,i7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",d7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",r7,"CP Speed"))])]),m7,e.createElementVNode("div",p7,[e.createElementVNode("div",h7,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),_7,e.createElementVNode("div",null,e.toDisplayString((uo=(jo=t.report)==null?void 0:jo.extend)==null?void 0:uo.cpSpd),1)])]),E7,e.createElementVNode("div",y7,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.timeAnalysis)==null?void 0:qo.sailingTime)+" (hrs)",1),N7,V7]),e.createElementVNode("div",f7,[b7,e.createElementVNode("div",g7,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),x7,e.createElementVNode("div",k7,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),D7,e.createElementVNode("div",C7,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",S7,[((nl=t.report)==null?void 0:nl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("div",w7,[A7,T7,e.createElementVNode("div",F7,[e.createElementVNode("div",O7,[P7,L7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",W7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",$7,"CP Speed"))])]),H7,e.createElementVNode("div",M7,[e.createElementVNode("div",I7,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",G7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",R7,"Daily FO Consumption")),z7,U7])]),Y7,e.createElementVNode("div",Z7,[e.createElementVNode("div",Q7,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),J7,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),K7,e.createElementVNode("div",j7,[e.createElementVNode("div",u7,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),X7,q7])]),v7,e.createElementVNode("div",eA,e.toDisplayString((El=(pl=(st=t.report)==null?void 0:st.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)+" (mt)",1)]),e.createElementVNode("div",tA,[oA,e.createElementVNode("div",lA,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),aA,e.createElementVNode("div",nA,e.toDisplayString(n.computeNum((gl=(bl=(fl=t.report)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:gl.portCons)),1),sA,e.createElementVNode("div",cA,e.toDisplayString((Dl=(kl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Dl.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",iA,[dA,rA,e.createElementVNode("div",mA,[e.createElementVNode("div",pA,[hA,_A,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",EA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",yA,"CP Speed"))])]),NA,e.createElementVNode("div",VA,[e.createElementVNode("div",fA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",bA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",gA,"Daily MGO Consumption")),xA,kA])]),DA,e.createElementVNode("div",CA,[e.createElementVNode("div",SA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),BA,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),wA,e.createElementVNode("div",AA,[e.createElementVNode("div",TA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),FA,OA])]),PA,e.createElementVNode("div",LA,e.toDisplayString((Ol=(Fl=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.sailingCons)+" (mt)",1)]),e.createElementVNode("div",WA,[$A,e.createElementVNode("div",HA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),MA,e.createElementVNode("div",IA,e.toDisplayString(n.computeNum((Ml=(Hl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),GA,e.createElementVNode("div",RA,e.toDisplayString((Rl=(Gl=(Il=t.report)==null?void 0:Il.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Rl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",zA,[e.createElementVNode("div",UA,[YA,ZA,e.createElementVNode("div",QA,[e.createElementVNode("div",JA,[KA,jA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",uA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",XA,"CP Speed"))])]),qA,e.createElementVNode("div",vA,[e.createElementVNode("div",eT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",tT,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",oT,"CP Daily FO Consumption")),lT,aT])]),nT,e.createElementVNode("div",sT,[e.createElementVNode("div",cT,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),iT,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),dT,e.createElementVNode("div",rT,[e.createElementVNode("div",mT,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),pT,hT])]),_T,e.createElementVNode("div",ET,e.toDisplayString((jl=(Kl=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",yT,[NT,e.createElementVNode("div",VT,e.toDisplayString((ql=(Xl=(ul=t.report)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),fT,e.createElementVNode("div",bT,e.toDisplayString(n.computeNum((ta=(ea=(vl=t.report)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)),1),gT,e.createElementVNode("div",xT,e.toDisplayString((aa=(la=(oa=t.report)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",kT,[DT,CT,e.createElementVNode("div",ST,[e.createElementVNode("div",BT,[wT,AT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",TT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",FT,"CP Speed"))])]),OT,e.createElementVNode("div",PT,[e.createElementVNode("div",LT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",WT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",$T,"CP Daily MGO Consumption")),HT,MT])]),IT,e.createElementVNode("div",GT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),zT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",ZT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),QT,JT])]),KT,e.createElementVNode("div",jT,e.toDisplayString((pa=(ma=(ra=t.report)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons)+" (mt)",1)]),e.createElementVNode("div",uT,[XT,e.createElementVNode("div",qT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),vT,e.createElementVNode("div",eF,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),tF,e.createElementVNode("div",oF,e.toDisplayString((ga=(ba=(fa=t.report)==null?void 0:fa.consAnalysis)==null?void 0:ba.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",lF,[aF,e.createElementVNode("div",nF,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,sF),cF])])])])}const rn=Se(i8,[["render",iF],["__scopeId","data-v-2e5dc49b"]]),yZ="",dF={name:"FliDvtRpt",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Jo},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//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsi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aS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/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(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} / ${r}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}}},watch:{data:{handler(o){o&&((o==null?void 0:o.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var o,s,t,r;this.extraData=this.data,this.extraPortList=(o=this.data)!=null&&o.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(t=this.data)!=null&&t.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(t=s==null?void 0:s.data)==null?void 0:t.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?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s,t,r){var E,c,p,b,g;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const N=s.substring(0,a),D=s.substring(a+1);D!=="date"&&(t=Number(t)),this.extraPortList[r][N][D]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.extraData[s]=t,n={[s]:t}):(this.extraData[s]=t,n={[s]:Number(t)});const h=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(g=this.data)==null?void 0:g.comments:void 0}else qa.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),rF={class:"deviation-report"},mF=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),pF={class:"report-header"},hF={class:"header-title",style:{position:"relative !important"}},_F={class:"header-title-content"},EF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),yF={class:"title-date"},NF={class:"report-summary"},VF={class:"summary-item"},fF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bF={class:"flexL gray"},gF={class:"summary-item"},xF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),kF={class:"flexL gray"},DF={class:"summary-item"},CF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),SF={class:"flexL gray"},BF={class:"summary-item"},wF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AF={class:"flexL gray"},TF={class:"summary-item"},FF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OF={class:"flexL gray",style:{display:"flex"}},PF={class:"flex"},LF={class:"flexM"},WF={class:"summary-item"},$F=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),HF={class:"flexL gray",style:{display:"flex"}},MF={class:"flex"},IF={class:"flexM"},GF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),RF={class:"report-summary"},zF={class:"summary-item"},UF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),YF={class:"summary-item"},ZF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),QF={class:"summary-item"},JF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),KF={class:"summary-item"},jF=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),uF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),XF={class:"report-map"},qF=["src"],vF=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),eO=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),tO={key:0,class:"subtitle"},oO={key:1,class:"report-summary"},lO=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),aO={class:"summary-item"},nO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),sO={class:"blue center",style:{width:"20%"}},cO={class:"blue center",style:{width:"17%"}},iO={class:"flex blue center"},dO={class:"flex blue center"},rO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),pO={class:"summary-item"},hO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),_O={class:"blue center",style:{width:"20%"}},EO={class:"blue center",style:{width:"17%"}},yO={class:"flex blue center"},NO={class:"flex blue center"},VO={class:"flex blue center"},fO={class:"flex blue center"},bO={class:"summary-item"},gO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),xO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),kO={class:"blue center",style:{width:"17%"}},DO={class:"flex blue center"},CO={class:"flex blue center"},SO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),BO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),wO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),AO={class:"report-summary"},TO={class:"summary-item"},FO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),OO={class:"flexL blue center"},PO={class:"summary-item"},LO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),WO={class:"flexL blue center"},$O={class:"summary-item"},HO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),MO={class:"flexL blue center"},IO={class:"subtitle port"},GO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),RO={class:"print-hidden"},zO={class:"report-port"},UO=V(()=>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)),YO={rowspan:2},ZO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),QO=V(()=>e.createElementVNode("td",null,null,-1)),JO=V(()=>e.createElementVNode("td",null,null,-1)),KO={rowspan:2,class:"print-hidden"},jO=V(()=>e.createElementVNode("td",null,"Departure",-1)),uO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),XO=V(()=>e.createElementVNode("td",null,null,-1)),qO=V(()=>e.createElementVNode("td",null,null,-1)),vO=V(()=>e.createElementVNode("td",null,null,-1)),eP=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),tP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),oP={class:"report-summary"},lP=V(()=>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)),aP={class:"summary-item"},nP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),sP={class:"flex blue center"},cP={class:"flex blue center"},iP={class:"summary-item"},dP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),rP={class:"flex blue center"},mP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),pP={key:2,class:"report-formular"},hP={class:"equation"},_P=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),EP={class:"function",style:{width:"20%"}},yP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),VP={style:{width:"10%"}},fP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={class:"equation"},gP=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),xP={style:{width:"5%"}},kP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),DP={style:{width:"8%"}},CP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),SP={style:{width:"4%"}},BP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wP={key:3,class:"report-formular"},AP={class:"equation"},TP=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),FP={class:"function",style:{width:"20%"}},OP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),LP={style:{width:"10%"}},WP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),$P={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),MP={style:{width:"5%"}},IP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),GP={style:{width:"5%"}},RP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),zP={style:{width:"5%"}},UP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YP={key:1,class:"equation"},ZP=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),QP={style:{width:"5%"}},JP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),KP={style:{width:"5%"}},jP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uP={style:{width:"5%"}},XP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qP={style:{width:"5%"}},vP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eL={key:4,class:"report-summary"},tL={class:"summary-item"},oL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),lL={class:"flex blue center"},aL={class:"summary-item"},nL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),sL={class:"flex blue center"},cL={class:"summary-item"},iL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),dL={class:"flex blue center"},rL={key:5,class:"report-summary"},mL={class:"summary-item"},pL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),hL={class:"flex blue center"},_L={class:"summary-item"},EL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),yL={class:"flex blue center"},NL={key:0,class:"summary-item"},VL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),fL={class:"flex blue center"},bL={class:"summary-item"},gL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),xL={class:"flex blue center"},kL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),DL={key:6,class:"report-formular"},CL={class:"equation"},SL=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),BL={class:"function",style:{width:"5%"}},wL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),TL={class:"function",style:{width:"5%"}},FL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OL=V(()=>e.createElementVNode("div",null,"24",-1)),PL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LL={style:{width:"5%"}},WL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$L={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),ML={style:{width:"5%"}},IL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),GL={style:{width:"5%"}},RL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zL={style:{width:"5%"}},UL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YL={class:"equation"},ZL=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),QL={class:"function",style:{width:"5%"}},JL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jL={class:"function",style:{width:"5%"}},uL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=V(()=>e.createElementVNode("div",null,"24",-1)),qL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vL={style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tW={class:"equation"},oW=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),lW={style:{width:"5%"}},aW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),nW={style:{width:"5%"}},sW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cW={style:{width:"5%"}},iW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dW={key:7,class:"report-formular"},rW={class:"equation"},mW=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),pW={class:"function",style:{width:"5%"}},hW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_W=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),EW={class:"function",style:{width:"5%"}},yW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NW=V(()=>e.createElementVNode("div",null,"24",-1)),VW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fW={style:{width:"5%"}},bW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gW={class:"equation"},xW=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),kW={class:"function",style:{width:"5%"}},DW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),SW={class:"function",style:{width:"5%"}},BW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wW=V(()=>e.createElementVNode("div",null,"24",-1)),AW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TW={style:{width:"5%"}},FW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OW={key:0,class:"equation"},PW=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),LW={style:{width:"5%"}},WW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$W={style:{width:"5%"}},HW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),MW={style:{width:"5%"}},IW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GW={key:1,class:"equation"},RW=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),zW={style:{width:"5%"}},UW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YW={style:{width:"5%"}},ZW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QW={style:{width:"5%"}},JW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KW={style:{width:"5%"}},jW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uW={key:2,class:"equation"},XW=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),qW={style:{width:"5%"}},vW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),e$={style:{width:"5%"}},t$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),o$={style:{width:"5%"}},l$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),a$={key:3,class:"equation"},n$=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),s$={style:{width:"5%"}},c$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),i$={style:{width:"5%"}},d$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),r$={style:{width:"5%"}},m$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),p$={style:{width:"5%"}},h$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_$={key:8,class:"report-summary"},E$=V(()=>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)),y$={class:"summary-item"},N$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),V$={class:"flex blue center"},f$={class:"flex blue center"},b$={class:"summary-item"},g$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),x$={class:"flex blue center"},k$={class:"flex blue center"},D$={class:"summary-item"},C$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),S$={key:9,class:"report-summary"},B$=V(()=>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)),w$={class:"summary-item"},A$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),T$={class:"flex blue center"},F$={class:"flex blue center"},O$={class:"summary-item"},P$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),L$={class:"flex blue center"},W$={class:"flex blue center"},$$={key:0,class:"summary-item"},H$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),M$={class:"flex blue center"},I$={class:"flex blue center"},G$={class:"summary-item"},R$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),z$=["innerHTML"];function U$(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rF,[mF,e.createElementVNode("div",pF,[e.createElementVNode("div",hF,[e.createElementVNode("div",_F,[EF,e.createElementVNode("div",yF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",NF,[e.createElementVNode("div",VF,[fF,e.createElementVNode("div",bF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",gF,[xF,e.createElementVNode("div",kF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",DF,[CF,e.createElementVNode("div",SF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",BF,[wF,e.createElementVNode("div",AF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",TF,[FF,e.createElementVNode("div",OF,[e.createElementVNode("span",PF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",LF,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",WF,[$F,e.createElementVNode("div",HF,[e.createElementVNode("span",MF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",IF,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)])])]),GF,e.createElementVNode("div",RF,[e.createElementVNode("div",zF,[UF,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",YF,[ZF,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(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",QF,[JF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((u=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:u.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,[jF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ce=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ie=a.extraData)==null?void 0:ie.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),uF,e.createElementVNode("div",XF,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,qF),vF]),eO,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tO,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oO,[lO,e.createElementVNode("div",aO,[nO,e.createElementVNode("div",sO,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",cO,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",iO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=j=>n.handleCommit("extra","startFoBrob",j))},null,8,["value"])]),e.createElementVNode("div",dO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(be=a.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=j=>n.handleCommit("extra","startDgoBrob",j))},null,8,["value"])]),rO,mO]),e.createElementVNode("div",pO,[hO,e.createElementVNode("div",_O,e.toDisplayString(n.computedLngLat((ge=a.extraData)==null?void 0:ge.endLng,(xe=a.extraData)==null?void 0:xe.endLat)),1),e.createElementVNode("div",EO,e.toDisplayString(n.computeUTCTime((ke=a.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",yO,[e.createVNode(E,{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]=j=>n.handleCommit("extra","endFoBrob",j))},null,8,["value"])]),e.createElementVNode("div",NO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ce=a.extraData)==null?void 0:Ce.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=j=>n.handleCommit("extra","endDgoBrob",j))},null,8,["value"])]),e.createElementVNode("div",VO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=j=>n.handleCommit("extra","endFoBunkering",j))},null,8,["value"])]),e.createElementVNode("div",fO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Oe=a.extraData)==null?void 0:Oe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=j=>n.handleCommit("extra","endDgoBunkering",j))},null,8,["value"])])]),e.createElementVNode("div",bO,[gO,xO,e.createElementVNode("div",kO,e.toDisplayString(((Le=(Pe=a.extraData)==null?void 0:Pe.timeAnalysis)==null?void 0:Le.actualTime)??"—"),1),e.createElementVNode("div",DO,e.toDisplayString(((He=($e=(We=a.extraData)==null?void 0:We.consAnalysis)==null?void 0:$e.fo)==null?void 0:He.actualCons)??"—"),1),e.createElementVNode("div",CO,e.toDisplayString(((Ke=(Ne=(Me=a.extraData)==null?void 0:Me.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),SO,BO])])),wO,e.createElementVNode("div",AO,[e.createElementVNode("div",TO,[FO,e.createElementVNode("div",OO,e.toDisplayString(((ue=(je=a.extraData)==null?void 0:je.cp)==null?void 0:ue.speed)??"—"),1)]),e.createElementVNode("div",PO,[LO,e.createElementVNode("div",WO,e.toDisplayString(((Be=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Be.fo)??"—"),1)]),e.createElementVNode("div",$O,[HO,e.createElementVNode("div",MO,e.toDisplayString(((Xe=(Re=a.extraData)==null?void 0:Re.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",IO,[GO,e.createElementVNode("div",RO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",zO,[e.createElementVNode("table",null,[UO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(j,Zo)=>{var Ra,za,Ua,Ya,Za,Qa,Ja,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Zo},[e.createElementVNode("tr",null,[e.createElementVNode("td",YO,[e.createVNode(E,{class:"editable-item",value:j==null?void 0:j.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:ct=>n.handleCommit("port","name",ct,Zo)},null,8,["value","options","onSelect","onCommit"])]),ZO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=j==null?void 0:j.arrival)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","arrival.date",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=j==null?void 0:j.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.foBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=j==null?void 0:j.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.dgoBrob",ct,Zo)},null,8,["value","onCommit"])]),QO,JO,e.createElementVNode("td",KO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Zo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[jO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ya=j==null?void 0:j.departure)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","departure.date",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=j==null?void 0:j.departure)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.foBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Qa=j==null?void 0:j.departure)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.dgoBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ja=j==null?void 0:j.departure)==null?void 0:Ja.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringFo",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ka=j==null?void 0:j.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringDgo",ct,Zo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uO,XO,e.createElementVNode("td",null,e.toDisplayString(((ve=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(we=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:we.dgo)==null?void 0:Ge.portCons)??"—"),1),qO,vO,eP])])])]),tP,e.createElementVNode("div",oP,[lP,e.createElementVNode("div",aP,[nP,e.createElementVNode("div",sP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(ze=a.extraData)==null?void 0:ze.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=j=>n.handleCommit("extraData","actualDist",j,o.index))},null,8,["value"])]),e.createElementVNode("div",cP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=j=>n.handleCommit("extraData","priorDist",j,o.index))},null,8,["value"])])]),e.createElementVNode("div",iP,[dP,e.createElementVNode("div",rP,e.toDisplayString(((Ye=a.extraData)==null?void 0:Ye.extraDist)??"—"),1)])]),mP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",pP,[e.createElementVNode("div",hP,[_P,e.createElementVNode("div",EP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),yP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),NP,e.createElementVNode("div",VP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),fP]),e.createElementVNode("div",bP,[gP,e.createElementVNode("div",xP,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),kP,e.createElementVNode("div",DP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),CP,e.createElementVNode("div",SP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),BP])])):(e.openBlock(),e.createElementBlock("div",wP,[e.createElementVNode("div",AP,[TP,e.createElementVNode("div",FP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),OP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),PP,e.createElementVNode("div",LP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),WP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",$P,[HP,e.createElementVNode("div",MP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),IP,e.createElementVNode("div",GP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),UP])):(e.openBlock(),e.createElementBlock("div",YP,[ZP,e.createElementVNode("div",QP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),JP,e.createElementVNode("div",KP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),jP,e.createElementVNode("div",uP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),XP,e.createElementVNode("div",qP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),vP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",eL,[e.createElementVNode("div",tL,[oL,e.createElementVNode("div",lL,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",aL,[nL,e.createElementVNode("div",sL,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",cL,[iL,e.createElementVNode("div",dL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",rL,[e.createElementVNode("div",mL,[pL,e.createElementVNode("div",hL,e.toDisplayString((No=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.sailingTime),1)]),e.createElementVNode("div",_L,[EL,e.createElementVNode("div",yL,e.toDisplayString((fo=(Vo=a.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",NL,[VL,e.createElementVNode("div",fL,e.toDisplayString(((go=(bo=a.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:go.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",bL,[gL,e.createElementVNode("div",xL,e.toDisplayString((S=(xo=a.extraData)==null?void 0:xo.timeAnalysis)==null?void 0:S.totalExtraTime),1)])])),kL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",DL,[e.createElementVNode("div",CL,[SL,e.createElementVNode("div",BL,[e.createElementVNode("div",null,e.toDisplayString((Ie=a.extraData)==null?void 0:Ie.extraDist),1),wL,e.createElementVNode("div",null,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.cp)==null?void 0:nt.speed),1)]),AL,e.createElementVNode("div",TL,[e.createElementVNode("div",null,e.toDisplayString((Lt=(ht=a.extraData)==null?void 0:ht.cp)==null?void 0:Lt.fo),1),FL,OL]),PL,e.createElementVNode("div",LL,e.toDisplayString((Ht=($t=(Wt=a.extraData)==null?void 0:Wt.consAnalysis)==null?void 0:$t.fo)==null?void 0:Ht.sailingCons),1),WL]),e.createElementVNode("div",$L,[HL,e.createElementVNode("div",ML,e.toDisplayString((Gt=(It=(Mt=a.extraData)==null?void 0:Mt.consAnalysis)==null?void 0:It.fo)==null?void 0:Gt.sailingCons),1),IL,e.createElementVNode("div",GL,e.toDisplayString(n.computeNum((Ut=(zt=(Rt=a.extraData)==null?void 0:Rt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.portCons)),1),RL,e.createElementVNode("div",zL,e.toDisplayString((Qt=(Zt=(Yt=a.extraData)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.totalExtraCons),1),UL]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("div",QL,[e.createElementVNode("div",null,e.toDisplayString((Jt=a.extraData)==null?void 0:Jt.extraDist),1),JL,e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=a.extraData)==null?void 0:Kt.cp)==null?void 0:jt.speed),1)]),KL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((Xt=(ut=a.extraData)==null?void 0:ut.cp)==null?void 0:Xt.dgo),1),uL,XL]),qL,e.createElementVNode("div",vL,e.toDisplayString((eo=(vt=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.sailingCons),1),eW]),e.createElementVNode("div",tW,[oW,e.createElementVNode("div",lW,e.toDisplayString((lo=(oo=(to=a.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.dgo)==null?void 0:lo.sailingCons),1),aW,e.createElementVNode("div",nW,e.toDisplayString(n.computeNum((Co=(Do=(ko=a.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Do.dgo)==null?void 0:Co.portCons)),1),sW,e.createElementVNode("div",cW,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),iW])])):(e.openBlock(),e.createElementBlock("div",dW,[e.createElementVNode("div",rW,[mW,e.createElementVNode("div",pW,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),hW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),_W,e.createElementVNode("div",EW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),yW,NW]),VW,e.createElementVNode("div",fW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),bW]),e.createElementVNode("div",gW,[xW,e.createElementVNode("div",kW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),DW,e.createElementVNode("div",null,e.toDisplayString((Io=(Mo=a.extraData)==null?void 0:Mo.cp)==null?void 0:Io.speed),1)]),CW,e.createElementVNode("div",SW,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:Ro.dgo),1),BW,wW]),AW,e.createElementVNode("div",TW,e.toDisplayString((Yo=(Uo=(zo=a.extraData)==null?void 0:zo.consAnalysis)==null?void 0:Uo.dgo)==null?void 0:Yo.sailingCons),1),FW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",OW,[PW,e.createElementVNode("div",LW,e.toDisplayString((uo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:uo.actualCons),1),WW,e.createElementVNode("div",$W,e.toDisplayString(n.computeNum((vo=(qo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:qo.fo)==null?void 0:vo.sailingCons)),1),HW,e.createElementVNode("div",MW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),IW])):(e.openBlock(),e.createElementBlock("div",GW,[RW,e.createElementVNode("div",zW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),UW,e.createElementVNode("div",YW,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),ZW,e.createElementVNode("div",QW,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),JW,e.createElementVNode("div",KW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),jW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",uW,[XW,e.createElementVNode("div",qW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),vW,e.createElementVNode("div",e$,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),t$,e.createElementVNode("div",o$,e.toDisplayString((Cl=(Dl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:Cl.totalExtraCons),1),l$])):(e.openBlock(),e.createElementBlock("div",a$,[n$,e.createElementVNode("div",s$,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),c$,e.createElementVNode("div",i$,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),d$,e.createElementVNode("div",r$,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),m$,e.createElementVNode("div",p$,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),h$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",_$,[E$,e.createElementVNode("div",y$,[N$,e.createElementVNode("div",V$,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",f$,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",b$,[g$,e.createElementVNode("div",x$,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",k$,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",D$,[C$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.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(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",S$,[B$,e.createElementVNode("div",w$,[A$,e.createElementVNode("div",T$,e.toDisplayString((ra=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",F$,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",O$,[P$,e.createElementVNode("div",L$,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",W$,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",$$,[H$,e.createElementVNode("div",M$,e.toDisplayString((xa=(ga=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",I$,e.toDisplayString((ka=(ao=(Z=a.extraData)==null?void 0:Z.consAnalysis)==null?void 0:ao.dgo)==null?void 0:ka.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",G$,[R$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Sa=(Ca=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.totalExtraCons)} flex blue center`)},e.toDisplayString((Aa=(wa=(Ba=a.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Aa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ha=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Ha.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.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]=j=>a.advisory=j),height:"320px",onBlur:s[9]||(s[9]=j=>n.handleCommit("comments","comments",j))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...j)=>n.decideDisable&&n.decideDisable(...j)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,z$))],2)])}const mn=Se(dF,[["render",U$],["__scopeId","data-v-eba493df"]]),Y$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},NZ="",Z$={name:"OrmStoppage",components:{IdmBrand:Qo,Editor:Jo},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOo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mlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:""}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":ae.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},Te=o=>(e.pushScopeId("data-v-e829fef7"),o=o(),e.popScopeId(),o),Q$={class:"stoppage-report"},J$={class:"content-box"},K$={class:"info-box border"},j$={class:"flex-between row"},u$={class:"flex-between",style:{width:"48%"}},X$=Te(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),q$={class:"flex-between",style:{width:"48%"}},v$=Te(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),eH={style:{"margin-left":"5px"}},tH={class:"flex-between row"},oH={class:"flex-between",style:{width:"48%"}},lH=Te(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),aH={class:"flex-between",style:{width:"48%"}},nH=Te(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),sH={style:{"margin-left":"5px"}},cH={class:"flex-between row"},iH={class:"flex-between",style:{width:"48%"}},dH=Te(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),rH={class:"flex-between",style:{width:"48%"}},mH=Te(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),pH={class:"section summary-section"},hH=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),_H={class:"formula-block flex-between border"},EH={class:"item"},yH=Te(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),NH={class:"value flex-end"},VH={key:0},fH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bH={class:"gain"},gH=Te(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xH={key:1},kH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),DH={class:"lost"},CH=Te(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),SH={key:2},BH={class:"item"},wH=Te(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),AH={class:"value flex-end"},TH={key:0},FH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),OH={class:"gain"},PH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),LH={key:1},WH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),$H={class:"lost"},HH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MH={key:2},IH={class:"item"},GH=Te(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),RH={class:"value flex-end"},zH={key:0},UH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),YH={class:"gain"},ZH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),QH={key:1},JH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),KH={class:"lost"},jH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),uH={key:2},XH=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),qH={class:"section-content"},vH={key:0,class:""},eM=["innerHTML"],tM={key:1},oM={class:"section table-section"},lM=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),aM=Te(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),nM=Te(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),sM=Te(()=>e.createElementVNode("td",null,"Stopped",-1)),cM={rowspan:2},iM={rowspan:2},dM={rowspan:2},rM=Te(()=>e.createElementVNode("td",null,"Resumed",-1)),mM={class:"section map-section"},pM=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),hM=["src"];function _M(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Q$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",J$,[e.createElementVNode("div",K$,[e.createElementVNode("div",j$,[e.createElementVNode("div",u$,[X$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",q$,[v$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((g=(b=t.report)==null?void 0:b.departure)==null?void 0:g.name),1),e.createTextVNode(" , "),e.createElementVNode("span",eH,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.etd))),1)])])]),e.createElementVNode("div",tH,[e.createElementVNode("div",oH,[lH,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",aH,[nH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",sH,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",cH,[e.createElementVNode("div",iH,[dH,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",rH,[mH,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",_H,[e.createElementVNode("div",EH,[yH,e.createElementVNode("div",NH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",VH,[fH,e.createElementVNode("span",bH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),gH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",xH,[kH,e.createElementVNode("span",DH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),CH])):(e.openBlock(),e.createElementBlock("div",SH,"N/A"))])]),e.createElementVNode("div",BH,[wH,e.createElementVNode("div",AH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",TH,[FH,e.createElementVNode("span",OH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),PH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",LH,[WH,e.createElementVNode("span",$H,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),HH])):(e.openBlock(),e.createElementBlock("div",MH,"N/A"))])]),e.createElementVNode("div",IH,[GH,e.createElementVNode("div",RH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",zH,[UH,e.createElementVNode("span",YH,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),ZH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",QH,[JH,e.createElementVNode("span",KH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),jH])):(e.openBlock(),e.createElementBlock("div",uH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[XH,e.createElementVNode("div",qH,[a.editable?(e.openBlock(),e.createElementBlock("div",vH,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",tM,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,eM))],32))])],2),e.createElementVNode("div",oM,[lM,e.createElementVNode("table",null,[aM,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[nM,sM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((u=t.report)==null?void 0:u.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=t.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=t.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=t.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",cM,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",iM,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",dM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[rM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=t.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=t.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((X=t.report)==null?void 0:X.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=t.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=t.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",mM,[pM,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,hM)])])])}const pn=Se(Z$,[["render",_M],["__scopeId","data-v-e829fef7"]]),EM={install(o){o.component("StoppageReport",pn)}},VZ="",yM={name:"OrmComparison",components:{Editor:Jo,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${K(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var o,s;(o=this.report)!=null&&o.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(o,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:o,value:s})}}},fe=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),NM={class:"comparison-report"},VM={class:"report-summary"},fM={class:"summary-item"},bM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),gM={class:"flexL gray"},xM={class:"summary-item"},kM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DM={class:"flexL gray"},CM={class:"summary-item"},SM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),BM={class:"flexL gray"},wM={class:"summary-item"},AM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),TM={class:"flexL gray"},FM={class:"summary-item"},OM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),PM={class:"flexL gray"},LM={class:"summary-item"},WM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),$M={class:"flexL gray",style:{display:"flex"}},HM={class:"flex"},MM={class:"flexM"},IM={class:"summary-item"},GM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),RM={class:"flexL gray",style:{display:"flex"}},zM={class:"flex"},UM={class:"flexM"},YM=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),ZM={class:"report-summary"},QM={class:"summary-item"},JM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),KM={class:"summary-item"},jM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uM={class:"summary-item"},XM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),qM=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),vM={class:"report-map"},eI=["src"],tI=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),oI={key:0,class:"subtitle"},lI={key:1,class:"report-summary"},aI={class:"summary-item"},nI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),sI={class:"flexL blue center"},cI={class:"summary-item"},iI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),dI={class:"flexL blue center"},rI={class:"summary-item"},mI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),pI={class:"flexL blue center"},hI=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),_I={class:"report-summary"},EI=fe(()=>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)),yI={class:"summary-item"},NI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),VI={class:"flex blue-light center"},fI={class:"flex blue-light center"},bI={class:"summary-item"},gI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),xI={class:"flex blue-light center"},kI={class:"flex blue-light center"},DI={class:"summary-item"},CI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),SI={class:"flex blue-light center"},BI={class:"flex blue-light center"},wI={class:"summary-item"},AI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),TI={class:"flex blue-light center"},FI={class:"flex blue-light center"},OI={class:"summary-item"},PI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),LI={class:"flex blue-light center"},WI={class:"flex blue-light center"},$I={class:"summary-item"},HI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),MI={class:"flex blue-light center"},II={class:"flex blue-light center"},GI={class:"summary-item"},RI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),zI={class:"flex blue-light center italic"},UI=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),YI={class:"report-summary"},ZI=fe(()=>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)),QI={class:"summary-item"},JI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),KI={class:"flex blue-light center"},jI={class:"flex blue-light center"},uI={class:"summary-item"},XI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),qI={class:"flex blue-light center"},vI={class:"flex blue-light center"},eG={class:"summary-item"},tG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),oG={class:"flex blue-light center"},lG={class:"flex blue-light center"},aG={class:"summary-item"},nG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),sG={class:"flex blue-light center"},cG={class:"flex blue-light center"},iG={class:"summary-item"},dG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),rG={class:"flex blue-light center italic"},mG={class:"summary-item"},pG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),hG={class:"flex blue-light center italic"},_G=["innerHTML"];function EG(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",VM,[e.createElementVNode("div",fM,[bM,e.createElementVNode("div",gM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",xM,[kM,e.createElementVNode("div",DM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",CM,[SM,e.createElementVNode("div",BM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",wM,[AM,e.createElementVNode("div",TM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",FM,[OM,e.createElementVNode("div",PM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",LM,[WM,e.createElementVNode("div",$M,[e.createElementVNode("span",HM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",MM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=t.report)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",IM,[GM,e.createElementVNode("div",RM,[e.createElementVNode("span",zM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",UM,e.toDisplayString(n.computeUTCTime(((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),YM,e.createElementVNode("div",ZM,[e.createElementVNode("div",QM,[JM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=t.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=t.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=t.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",uM,[XM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=t.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=t.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),qM,e.createElementVNode("div",vM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,eI),tI]),(ne=t.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oI,"CP Terms")),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lI,[e.createElementVNode("div",aI,[nI,e.createElementVNode("div",sI,e.toDisplayString(((u=(l=t.report)==null?void 0:l.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",cI,[iI,e.createElementVNode("div",dI,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",rI,[mI,e.createElementVNode("div",pI,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),hI,e.createElementVNode("div",_I,[EI,e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",fI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",bI,[gI,e.createElementVNode("div",xI,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",kI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",DI,[CI,e.createElementVNode("div",SI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",BI,e.toDisplayString(((X=t.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",wI,[AI,e.createElementVNode("div",TI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",FI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",OI,[PI,e.createElementVNode("div",LI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",WI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",$I,[HI,e.createElementVNode("div",MI,e.toDisplayString(((be=t.report)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",II,e.toDisplayString(((ge=t.report)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",GI,[RI,e.createElementVNode("div",zI,e.toDisplayString(n.compareTime((xe=t.report)==null?void 0:xe.actualTime,(ke=t.report)==null?void 0:ke.recmdTime)),1)])]),UI,e.createElementVNode("div",YI,[ZI,e.createElementVNode("div",QI,[JI,e.createElementVNode("div",KI,e.toDisplayString(((De=t.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",jI,e.toDisplayString(((Ce=t.report)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",uI,[XI,e.createElementVNode("div",qI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",vI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",eG,[tG,e.createElementVNode("div",oG,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",lG,e.toDisplayString(((Le=t.report)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString(((We=t.report)==null?void 0:We.actualDgoCons)??"-"),1),e.createElementVNode("div",cG,e.toDisplayString((($e=t.report)==null?void 0:$e.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",iG,[dG,e.createElementVNode("div",rG,e.toDisplayString(((He=t.report)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,e.toDisplayString(((Me=t.report)==null?void 0:Me.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(c,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,_G))],2)])}const hn=Se(yM,[["render",EG],["__scopeId","data-v-99108259"]]),fZ="",yG={name:"ComparisonFli",components:{Editor:Jo},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{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUt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SWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${K(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}}},watch:{data:{handler(o){o&&this.fetchData()},immediate:!0}},methods:{fetchData(){var o,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(o=this.data)!=null&&o.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s){this.editable=!1;const t={[o]:s};await Fa.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},he=o=>(e.pushScopeId("data-v-f7bdbf19"),o=o(),e.popScopeId(),o),NG={class:"comparison-report"},VG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),fG={class:"report-header"},bG={class:"header-title",style:{position:"relative !important"}},gG={class:"header-title-content"},xG=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),kG={class:"title-date"},DG={class:"report-summary"},CG={class:"summary-item"},SG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),BG={class:"flexL gray"},wG={class:"summary-item"},AG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),TG={class:"flexL gray"},FG={class:"summary-item"},OG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),PG={class:"flexL gray"},LG={class:"summary-item"},WG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),$G={class:"flexL gray"},HG={class:"summary-item"},MG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IG={class:"flexL gray"},GG={class:"summary-item"},RG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),zG={class:"flexL gray",style:{display:"flex"}},UG={class:"flex"},YG={class:"flexM"},ZG={class:"summary-item"},QG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JG={class:"flexL gray",style:{display:"flex"}},KG={class:"flex"},jG={class:"flexM"},uG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),XG={class:"report-summary"},qG={class:"summary-item"},vG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),eR={class:"summary-item"},tR=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),oR={class:"summary-item"},lR=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),aR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),nR={class:"report-map"},sR=["src"],cR=e.createStaticVNode('<div class="legend" data-v-f7bdbf19><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Actual Route</div></div><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Ocean π Recommended Route</div></div></div>',1),iR=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),dR={key:0,class:"subtitle"},rR={key:1,class:"report-summary"},mR={class:"summary-item"},pR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),hR={class:"flexL blue center"},_R={class:"summary-item"},ER=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),yR={class:"flexL blue center"},NR={class:"summary-item"},VR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),fR={class:"flexL blue center"},bR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),gR={class:"report-summary"},xR=he(()=>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"},DR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),CR={class:"flex blue-light center"},SR={class:"flex blue-light center"},BR={class:"summary-item"},wR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),AR={class:"flex blue-light center"},TR={class:"flex blue-light center"},FR={class:"summary-item"},OR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),PR={class:"flex blue-light center"},LR={class:"flex blue-light center"},WR={class:"summary-item"},$R=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),HR={class:"flex blue-light center"},MR={class:"flex blue-light center"},IR={class:"summary-item"},GR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),RR={class:"flex blue-light center"},zR={class:"flex blue-light center"},UR={class:"summary-item"},YR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),ZR={class:"flex blue-light center"},QR={class:"flex blue-light center"},JR={class:"summary-item"},KR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),jR={class:"flex blue-light center italic"},uR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),XR={class:"report-summary"},qR=he(()=>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)),vR={class:"summary-item"},ez=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),tz={class:"flex blue-light center"},oz={class:"flex blue-light center"},lz={class:"summary-item"},az=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),nz={class:"flex blue-light center"},sz={class:"flex blue-light center"},cz={class:"summary-item"},iz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),dz={class:"flex blue-light center"},rz={class:"flex blue-light center"},mz={class:"summary-item"},pz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),hz={class:"flex blue-light center"},_z={class:"flex blue-light center"},Ez={class:"summary-item"},yz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Nz={class:"flex blue-light center italic"},Vz={class:"summary-item"},fz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),bz={class:"flex blue-light center italic"},gz=["innerHTML"];function xz(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NG,[VG,e.createElementVNode("div",fG,[e.createElementVNode("div",bG,[e.createElementVNode("div",gG,[xG,e.createElementVNode("div",kG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",DG,[e.createElementVNode("div",CG,[SG,e.createElementVNode("div",BG,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",wG,[AG,e.createElementVNode("div",TG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",FG,[OG,e.createElementVNode("div",PG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",LG,[WG,e.createElementVNode("div",$G,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",HG,[MG,e.createElementVNode("div",IG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",GG,[RG,e.createElementVNode("div",zG,[e.createElementVNode("span",UG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",YG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=a.comparisonData)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",ZG,[QG,e.createElementVNode("div",JG,[e.createElementVNode("span",KG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",jG,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),uG,e.createElementVNode("div",XG,[e.createElementVNode("div",qG,[vG,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",eR,[tR,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",oR,[lR,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)])]),aR,e.createElementVNode("div",nR,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,sR),cR]),iR,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dR,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rR,[e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,e.toDisplayString(((u=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",_R,[ER,e.createElementVNode("div",yR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),bR,e.createElementVNode("div",gR,[xR,e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",SR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",BR,[wR,e.createElementVNode("div",AR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",FR,[OR,e.createElementVNode("div",PR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",LR,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",WR,[$R,e.createElementVNode("div",HR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",MR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",IR,[GR,e.createElementVNode("div",RR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",zR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",QR,e.toDisplayString(((ge=a.comparisonData)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",JR,[KR,e.createElementVNode("div",jR,e.toDisplayString(n.compareTime((xe=a.comparisonData)==null?void 0:xe.actualTime,(ke=a.comparisonData)==null?void 0:ke.recmdTime)),1)])]),uR,e.createElementVNode("div",XR,[qR,e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",oz,e.toDisplayString(((Ce=a.comparisonData)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",sz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",cz,[iz,e.createElementVNode("div",dz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",rz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",mz,[pz,e.createElementVNode("div",hz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.actualDgoCons)??"-"),1),e.createElementVNode("div",_z,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Ez,[yz,e.createElementVNode("div",Nz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",Vz,[fz,e.createElementVNode("div",bz,e.toDisplayString(((Me=a.comparisonData)==null?void 0:Me.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(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,gz))],2)])}const _n=Se(yG,[["render",xz],["__scopeId","data-v-f7bdbf19"]]),kz={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},bZ="",Dz={name:"IdmThird",props:{name:{type:String,default:""}}},Cz={class:"section brand-section flex-space"},Sz=e.createStaticVNode('<div class="logo-box flex-center" data-v-793a5781><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-793a5781><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-793a5781><div class="brand" data-v-793a5781><span data-v-793a5781>Weather Routing</span><div class="company" data-v-793a5781>Ocean Right Marine Service</div></div></a></div>',1),Bz={class:"report-box flex-space"},wz={class:"name flex-start"},Az=e.createStaticVNode('<div class="support flex-end" data-v-793a5781><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-793a5781><div style="margin-left:10px;" data-v-793a5781><div class="name flex-space" data-v-793a5781><label data-v-793a5781>IDM Service Team</label></div><div class="desc flex-center" data-v-793a5781>Technical Support & Consulting Center</div></div></div>',1);function Tz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Cz,[Sz,e.createElementVNode("div",Bz,[e.createElementVNode("div",wz,e.toDisplayString(t.name),1),Az])])}const En=Se(Dz,[["render",Tz],["__scopeId","data-v-793a5781"]]),Fz={install(o){o.component("IdmBrand",Qo),o.component("IdmThird",En)}},gZ="",xZ="",Oz={name:"QuotaReport",components:{Brand:Qo},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",geojson1:{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],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West 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],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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}})}}},yn=o=>(e.pushScopeId("data-v-52980307"),o=o(),e.popScopeId(),o),Pz={class:"quota-report"},Lz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Wz={class:"section quota-section"},$z=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Hz={class:"label"},Mz={class:"label"},Iz=["innerHTML"],Gz=e.createStaticVNode('<div class="legend-block flex-space" data-v-52980307><div class="legend" data-v-52980307><label data-v-52980307>DIR</label><span data-v-52980307>DIRECT</span></div><div class="legend" data-v-52980307><label data-v-52980307>PMP</label><span data-v-52980307>via PANAMA CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>SUE</label><span data-v-52980307>via SUEZ CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>CGH</label><span data-v-52980307>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-52980307><label data-v-52980307>CHC</label><span data-v-52980307>Passing CAPE HORN</span></div><div class="legend" data-v-52980307><label data-v-52980307>SCG</label><span data-v-52980307>Passing SINGAPORE</span></div></div>',1);function Rz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Pz,[e.createVNode(E,{name:"Quotation Sheet"}),Lz,e.createElementVNode("div",Wz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$z,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Hz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Mz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Iz))),128))]))),128))])]),Gz])])}const Nn=Se(Oz,[["render",Rz],["__scopeId","data-v-52980307"]]),kZ="",zz={name:"QuotaReport",components:{Brand:Qo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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}})}}},Vn=o=>(e.pushScopeId("data-v-a4cee967"),o=o(),e.popScopeId(),o),Uz={class:"quota-report"},Yz=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Zz={class:"section quota-section"},Qz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Jz={class:"label"},Kz={class:"label"},jz=["innerHTML"],uz=e.createStaticVNode('<div class="legend-block flex-space" data-v-a4cee967><div class="legend" data-v-a4cee967><label data-v-a4cee967>DIR</label><span data-v-a4cee967>DIRECT</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>PMP</label><span data-v-a4cee967>via PANAMA CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SUE</label><span data-v-a4cee967>via SUEZ CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CGH</label><span data-v-a4cee967>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CHC</label><span data-v-a4cee967>Passing CAPE HORN</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SCG</label><span data-v-a4cee967>Passing SINGAPORE</span></div></div>',1);function Xz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Uz,[e.createVNode(E,{name:"Quotation Sheet"}),Yz,e.createElementVNode("div",Zz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Qz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Jz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Kz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,jz))),128))]))),128))])]),uz])])}const fn=Se(zz,[["render",Xz],["__scopeId","data-v-a4cee967"]]),DZ="",qz={name:"QuotaReport",components:{Brand:Qo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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=o=>(e.pushScopeId("data-v-99a52de4"),o=o(),e.popScopeId(),o),vz={class:"quota-report"},eU=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),tU={class:"section quota-section"},oU=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),lU={class:"label"},aU={class:"label"},nU=["innerHTML"],sU=e.createStaticVNode('<div class="legend-block flex-space" data-v-99a52de4><div class="legend" data-v-99a52de4><label data-v-99a52de4>DIR</label><span data-v-99a52de4>DIRECT</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>PMP</label><span data-v-99a52de4>via PANAMA CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SUE</label><span data-v-99a52de4>via SUEZ CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CGH</label><span data-v-99a52de4>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CHC</label><span data-v-99a52de4>Passing CAPE HORN</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SCG</label><span data-v-99a52de4>Passing SINGAPORE</span></div></div>',1);function cU(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",vz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),eU,e.createElementVNode("div",tU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[oU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",lU,e.toDisplayString(c.rank),1),e.createElementVNode("td",aU,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,nU))),128))]))),128))])]),sU])])}const gn=Se(qz,[["render",cU],["__scopeId","data-v-99a52de4"]]),iU={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},CZ="",dU={name:"PrecipitationReport",components:{IdmBrand:Qo,IdmLoading:La},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}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${K(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var a,n,E,c,p,b,g;const s=ae.LngLatHelper.guessTimeZoneOffset(o.lng,o.lat);o.localTZ=s;const t={};for(let h=0;h<((a=o==null?void 0:o.extend)==null?void 0:a.length);h++){const N=o==null?void 0:o.extend[h];if(h===0)N.precip.pacc=0;else{const D=K(N.utc).utcOffset(s),x=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=x,x>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+x,1),C[`${k}`]?C[`${k}`]+=x:(C[`${k}`]=x,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:x,colspan:1},t[D.format("MMM-DD")][`${k}`]=x)}}}o.paccInDays=t;let r=0;for(const h of Object.keys(t))r+=(E=t[h])==null?void 0:E.colspan,t[h].level=((c=t[h])==null?void 0:c.pacc)<10?"Light":((p=t[h])==null?void 0:p.pacc)<24.9?"Moderate":((b=t[h])==null?void 0:b.pacc)<49.9?"Heavy":((g=t[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=r,o}}},watch:{report:{handler(){var o,s,t;if((o=this.report)!=null&&o.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(t=this.report)==null?void 0:t.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()})}}},methods:{initEchart(){var o,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const t=[],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=(o=this.form)==null?void 0:o.extend)==null||s.forEach(c=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O;const p=K(c.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(g=c.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(D=(N=c.wave)==null?void 0:N.sig)==null?void 0:D.height:n,r.push([p,(x=c.wind)==null?void 0:x.kts,(C=c.gusts)==null?void 0:C.kts,(T=(k=c.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=c.wind)==null?void 0:F.direction,(B=c.wind)==null?void 0:B.degree,(w=c.wind)==null?void 0:w.scale,(f=c.current)==null?void 0:f.kts,(O=c.precip)==null?void 0:O.pacc,this.roundPrecision(c.visibility/1852,0),c.temp])});const E={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data: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: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(E)}},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 o;this.geojson={type:"FeatureCollection",features:[]};for(const s of(o=this.report)==null?void 0:o.rows){const t={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(t)}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(o){var s;(s=this.map)==null||s.flyTo({center:[o.lng,o.lat],zoom:8})}}},it=o=>(e.pushScopeId("data-v-164362dd"),o=o(),e.popScopeId(),o),rU={class:"precipitation-report"},mU={class:"section area-section"},pU={class:"area-block"},hU={class:"area-header flex-space"},_U={class:"flex-start"},EU=["onClick"],yU={class:"flex-end"},NU={class:"area-body"},VU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),fU={class:"flex-evenly"},bU={key:0},gU=["colspan"],xU=["colspan"],kU={style:{"font-size":"10px"}},DU={key:0},CU={key:1},SU={key:2},BU={key:3},wU={key:0},AU={key:1,style:{"font-size":"14px"}},TU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),FU={class:"section echart-section"},OU={ref:"echart",class:"echart"},PU={class:"section sample-section"},LU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),WU=["colspan"],$U=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),HU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),MU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),IU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),GU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),RU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zU={key:0},UU={key:1},YU=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ZU=it(()=>e.createElementVNode("th",null,"Dir",-1)),QU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),JU=it(()=>e.createElementVNode("th",null,"BF",-1)),KU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),jU=it(()=>e.createElementVNode("th",null,"Dir",-1)),uU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),XU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qU=it(()=>e.createElementVNode("th",null,"Dir",-1)),vU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),eY=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),tY=it(()=>e.createElementVNode("th",null,"°C",-1)),oY={width:"120px"},lY={key:0},aY={key:1},nY={key:0,class:"degree-box"},sY={key:1},cY={key:0,class:"degree-box"},iY={key:1},dY={key:0,class:"degree-box"},rY={key:1},mY={class:"section area-section"},pY={class:"area-block"},hY={class:"area-header flex-end"},_Y={class:"flex-end"},EY={class:"area-body"},yY=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),NY=["colspan"],VY=["colspan"],fY={style:{"font-size":"10px"}},bY={key:0},gY={key:1},xY={key:2},kY={key:3},DY={key:1,style:{"font-size":"14px"}},CY={key:0};function SY(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",rU,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",mU,[e.createElementVNode("div",pU,[e.createElementVNode("div",hU,[e.createElementVNode("div",_U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.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;a.index=L,a.form=(W=t.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,EU))),128))]),e.createElementVNode("div",yU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",fU,[a.form?(e.openBlock(),e.createElementBlock("table",bU,[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((b=a.form)==null?void 0:b.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((N=a.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((x=(D=a.form)==null?void 0:D.extend)==null?void 0:x[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(k=a.form)==null?void 0:k.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,gU)]),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,xU)}),128))]),e.createElementVNode("tr",kU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((f=a.form)==null?void 0:f.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",DU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",CU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",SU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",BU,"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((G=a.form)==null?void 0:G.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",wU,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",AU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),TU,e.createElementVNode("div",FU,[e.createElementVNode("div",OU,null,512)]),e.createElementVNode("div",PU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[LU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,WU),$U,HU,MU,IU,GU,RU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",zU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",UU,"Acc (mm)")):e.createCommentVNode("",!0),YU,ZU,QU,JU,KU,jU,uU,XU,qU,vU,eY,tY])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",oY,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",lY,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",aY,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",nY,[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",sY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(l=_.wave)==null?void 0:l.wd)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",cY,[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((ce=(le=_.wave)==null?void 0:le.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",iY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",dY,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ge=(be=_.wave)==null?void 0:be.sig)==null?void 0:ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(xe=_.wave)==null?void 0:xe.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ce=(De=_.wave)==null?void 0:De.sig)==null?void 0:Ce.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",mY,[e.createElementVNode("div",pY,[e.createElementVNode("div",hY,[e.createElementVNode("div",_Y,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",EY,[yY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=t.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,NY)]),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,VY)}),128))]),e.createElementVNode("tr",fY,[(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",bY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",gY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",xY,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",kY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",DY,"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",CY,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 xn=Se(dU,[["render",SY],["__scopeId","data-v-164362dd"]]),BY={install(o){o.component("PrecipitationReport",xn)}},wY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=Fz,Y.ComparisonPlugin=kz,Y.DeviationPlugin=Y$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=EB,Y.IdmBrand=Qo,Y.IdmEditor=Jo,Y.IdmEditorPlugin=ch,Y.IdmLat=$a,Y.IdmLatPlugin=ih,Y.IdmLng=Wa,Y.IdmLngPlugin=dh,Y.IdmLoading=La,Y.IdmThird=En,Y.InvoicePlugin=v9,Y.LoadingPlugin=wY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=ja,Y.OrmQuoteReport=Nn,Y.OrmQuoteReport4SEOA=fn,Y.OrmQuoteReport4TongLi=gn,Y.OrmVoyageReport=an,Y.PiLogo=on,Y.PiLogoPlugin=yh,Y.PointReportPlugin=ed,Y.PrecipitationReport=xn,Y.PrecipitationReportPlugin=BY,Y.QuoteReportPlugin=iU,Y.RouteReport=ja,Y.RouteReportPlugin=sh,Y.StoppageReport=pn,Y.StoppageReportPlugin=EM,Y.TropicalReport=nn,Y.VoyageReportPlugin=mB,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|
|
55
|
+
`,"<br/>")},null,8,X9)])):e.createCommentVNode("",!0)])])}const cn=Se(k9,[["render",q9],["__scopeId","data-v-c269c41c"]]),v9={install(o){o.component("OrmInvoiceReport",sn),o.component("FliInvoiceReport",cn)}},e8=o=>((typeof o=="string"||typeof o=="number")&&(o=K(o)),o),t8=(o,s="MMM-DD,YYYY/HHmm[Z]")=>o8(o,s),o8=(o,s="MMM-DD/HHmm[Z]")=>(o=e8(o),o?`${o.utc().format(s)}`:"-"),_Z="",l8={name:"IdmEditableItem",components:{Edit:Oa.Edit,Close:Oa.Close,IdmEditor:Jo},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(o,s){return t8(o,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(o){this.$emit("select",o)}}},a8={class:"idm-editable-item"},n8=["innerHTML"],s8={key:3,class:"buttons"};function c8(o,s,t,r,a,n){const E=e.resolveComponent("ElTag"),c=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),x=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=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",a8,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:t.align})},[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:t.width+"px"})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.type==="input"?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="alphanumeric"?(e.openBlock(),e.createBlock(c,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=f=>a.model=f),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="textarea"?(e.openBlock(),e.createBlock(c,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=f=>a.model=f),size:t.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=f=>a.model=f),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=f=>a.model=f),size:t.size,controls:t.controls,min:t.min,max:t.max,step:t.step,precision:t.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),t.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=f=>a.model=f),size:t.size,type:"datetime",class:"datetime",format:t.format,"value-format":t.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),t.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=f=>a.model=f),size:t.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,disabled:f.disabled,value:f.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=f=>a.model=f),size:t.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(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=f=>a.model=f),size:t.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(t.options,f=>(e.openBlock(),e.createBlock(h,{key:f.id,label:f.name,value:f.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(x,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=f=>a.model=f),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,f=>(e.openBlock(),e.createBlock(D,{key:f.value,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=f=>a.model=f),size:t.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxs,f=>(e.openBlock(),e.createBlock(C,{key:f.label,label:f.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof t.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.raw?(e.openBlock(),e.createBlock(E,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(E,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...f)=>n.handleEdit&&n.handleEdit(...f))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,n8)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...f)=>n.handleEdit&&n.handleEdit(...f))},[typeof t.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.value||"-"),1)],64))],32))],64))],64)),!t.disabled&&t.iconable&&typeof t.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",s8,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:t.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:t.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 dn=Se(l8,[["render",c8]]),EZ="",i8={name:"OrmDeviation",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Jo,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},data(){return{extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},remarks:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${ae.LngLatHelper.lat2pretty(o).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){o&&(this.prepare(),this.fetchSuggestName())},immediate:!0}},methods:{prepare(){var o,s,t,r;this.extraPortList=(o=this.report)!=null&&o.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(t=this.report)!=null&&t.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.report=(t=s==null?void 0:s.data)==null?void 0:t.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?(E=this.report)==null?void 0:E.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(o,s,t,r){var E;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const b=s.substring(0,a),g=s.substring(a+1);g!=="date"&&(t=Number(t)),this.extraPortList[r][b][g]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.report[s]=t,n={[s]:t}):(this.report[s]=t,n={[s]:Number(t)});const c=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}}),p=(E=c==null?void 0:c.data)==null?void 0:E.data;this.extraPortList=p==null?void 0:p.extraPorts,this.advisory=(p==null?void 0:p.comments)||void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},y=o=>(e.pushScopeId("data-v-5e7b1250"),o=o(),e.popScopeId(),o),d8={class:"deviation-report"},r8={class:"content-box"},m8={class:"info-box border-dashed"},p8={class:"flex-between row"},h8={class:"flex-between",style:{width:"48%"}},_8=y(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),E8={class:"flex-between",style:{width:"48%"}},y8=y(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),N8={style:{"margin-left":"5px"}},V8={class:"flex-between row"},f8={class:"flex-between",style:{width:"48%"}},b8=y(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),g8={class:"flex-between",style:{width:"48%"}},x8=y(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),k8={style:{"margin-left":"5px"}},D8={class:"flex-between row"},C8={class:"flex-between",style:{width:"48%"}},S8=y(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),B8={class:"flex-between",style:{width:"48%"}},w8=y(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),A8={class:"section summary-section"},T8=y(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),F8={class:"border-solid"},O8={class:"cp"},P8={class:"flex-between",style:{padding:"6px 0"}},L8={style:{"margin-left":"5px"}},W8={style:{"margin-left":"5px"}},$8=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CP"),e.createElementVNode("th",{class:"label"},"Speed (kts)"),e.createElementVNode("th",{class:"label"},"Daily FO Consumption (mt)"),e.createElementVNode("th",{class:"label"},"Daily MGO Consumption (mt)")])],-1)),H8=y(()=>e.createElementVNode("td",null,"-",-1)),M8={key:0},I8={key:0},G8={key:1},R8={key:0},z8={key:0},U8={key:1},Y8={key:0},Z8={key:0},Q8={key:1},J8={class:"summary-block flex-between"},K8={class:"item"},j8=y(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),u8={class:"value flex-end"},X8={key:0},q8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),v8={class:"gain"},ew=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),tw={key:1},ow=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),lw={class:"lost"},aw=y(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),nw={key:2},sw={class:"item"},cw=y(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),iw={class:"value flex-end"},dw={key:0},rw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),mw={class:"gain"},pw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),hw={key:1},_w=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Ew={class:"lost"},yw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Nw={key:2},Vw={class:"item"},fw=y(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),bw={class:"value flex-end"},gw={key:0},xw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),kw={class:"gain"},Dw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Cw={key:1},Sw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Bw={class:"lost"},ww=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Aw={key:2},Tw={class:"item"},Fw=y(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),Ow={class:"value flex-end"},Pw={key:0},Lw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Ww={class:"gain"},$w=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Hw={key:1},Mw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Iw={class:"lost"},Gw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Rw={key:2},zw=y(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),Uw={class:"section-content"},Yw={key:0,class:""},Zw=["innerHTML"],Qw={key:1},Jw={class:"section deviation-info-section"},Kw=y(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),jw={key:0},uw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Deviation Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),Xw=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),qw=y(()=>e.createElementVNode("td",null,null,-1)),vw=y(()=>e.createElementVNode("td",null,null,-1)),e6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),t6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),o6=y(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),l6={key:1},a6=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Deviation Type"),e.createElementVNode("th",{class:"label"},"Position"),e.createElementVNode("th",{class:"label"},"Date Time")])],-1)),n6=y(()=>e.createElementVNode("td",null,"Deviation Start",-1)),s6=y(()=>e.createElementVNode("td",null,"Back on Track",-1)),c6={key:0,class:"section extra-port-section"},i6={class:"flex-between"},d6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),r6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),m6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),p6=y(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),h6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),_6=y(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),E6={key:0,rowspan:2,class:"print-hidden label"},y6=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")],-1)),N6={rowspan:2},V6=y(()=>e.createElementVNode("td",null,"Arrival",-1)),f6=y(()=>e.createElementVNode("td",null,null,-1)),b6=y(()=>e.createElementVNode("td",null,null,-1)),g6={rowspan:2,class:"print-hidden"},x6=y(()=>e.createElementVNode("td",null,"Departure",-1)),k6=y(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),D6=y(()=>e.createElementVNode("td",null,null,-1)),C6=y(()=>e.createElementVNode("td",null,null,-1)),S6=y(()=>e.createElementVNode("td",null,null,-1)),B6={key:0,class:"print-hidden"},w6={class:"section time-cons-section"},A6=y(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),T6=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"Actual Route (nm)"),e.createElementVNode("th",{class:"label"},"Route Prior to deviation(nm)"),e.createElementVNode("th",{class:"label"},"Extra Distance(nm)")])],-1)),F6={class:"time-block flex-between border-dashed"},O6={key:0,class:"formula-block"},P6={class:"flex-start"},L6=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),W6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$6={class:"fraction flex-center"},H6={class:"content"},M6=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),I6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),G6={key:0},R6={key:1},z6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),U6={class:"fraction flex-center"},Y6={class:"content"},Z6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),J6={class:"fraction flex-center"},K6={class:"flex-start"},j6=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>Time spent in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),u6={class:"fraction flex-center"},X6=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),q6={class:"fraction flex-center"},v6=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),e7={class:"fraction flex-center"},t7={key:1,class:"formula-block"},o7={class:"flex-start"},l7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),a7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),n7={class:"fraction flex-center"},s7={class:"content"},c7=y(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),i7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),d7={key:0},r7={key:1},m7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),p7={class:"fraction flex-center"},h7={class:"content"},_7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),E7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),y7={class:"fraction flex-center"},N7=y(()=>e.createElementVNode("div",{class:"sig"},null,-1)),V7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),f7={class:"flex-start"},b7=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>Total extra Time</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>Time for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>Time for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),g7={class:"fraction flex-center"},x7=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),k7={class:"fraction flex-center"},D7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),C7={class:"fraction flex-center"},S7={class:"fuel-block flex-between border-dashed"},B7={key:0,class:"formula-block"},w7={class:"flex-start"},A7=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),T7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),F7={class:"fraction flex-center"},O7={class:"content"},P7=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),L7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),W7={key:0},$7={key:1},H7=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),M7={class:"fraction flex-center"},I7={class:"content"},G7={key:0},R7={key:1},z7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),U7=y(()=>e.createElementVNode("div",null,"24",-1)),Y7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Z7={class:"fraction flex-center"},Q7={class:"content"},J7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),K7=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),j7={class:"fraction flex-center"},u7={class:"content"},X7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=y(()=>e.createElementVNode("div",null,"24",-1)),v7=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),eA={class:"fraction flex-center"},tA={class:"flex-start"},oA=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),lA={class:"fraction flex-center"},aA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),nA={class:"fraction flex-center"},sA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),cA={class:"fraction flex-center"},iA={class:"flex-start"},dA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),rA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),mA={class:"fraction flex-center"},pA={class:"content"},hA=y(()=>e.createElementVNode("div",null,"Extra Distance",-1)),_A=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),EA={key:0},yA={key:1},NA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),VA={class:"fraction flex-center"},fA={class:"content"},bA={key:0},gA={key:1},xA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),kA=y(()=>e.createElementVNode("div",null,"24",-1)),DA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),CA={class:"fraction flex-center"},SA={class:"content"},BA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),wA=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),AA={class:"fraction flex-center"},TA={class:"content"},FA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),OA=y(()=>e.createElementVNode("div",null,"24",-1)),PA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),LA={class:"fraction flex-center"},WA={class:"flex-start"},$A=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for extra distance sailing</div><div class="sig" data-v-5e7b1250>+</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption in extra port</div><div class="sig" data-v-5e7b1250>=</div>',6),HA={class:"fraction flex-center"},MA=y(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),IA={class:"fraction flex-center"},GA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),RA={class:"fraction flex-center"},zA={key:1,class:"formula-block"},UA={class:"flex-start"},YA=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),ZA=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),QA={class:"fraction flex-center"},JA={class:"content"},KA=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),jA=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uA={key:0},XA={key:1},qA=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),vA={class:"fraction flex-center"},eT={class:"content"},tT={key:0},oT={key:1},lT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),aT=y(()=>e.createElementVNode("div",null,"24",-1)),nT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),sT={class:"fraction flex-center"},cT={class:"content"},iT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),dT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),rT={class:"fraction flex-center"},mT={class:"content"},pT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),hT=y(()=>e.createElementVNode("div",null,"24",-1)),_T=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ET={class:"fraction flex-center"},yT={class:"flex-start"},NT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>FO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),VT={class:"fraction flex-center"},fT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),bT={class:"fraction flex-center"},gT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),xT={class:"fraction flex-center"},kT={class:"flex-start"},DT=y(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),CT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ST={class:"fraction flex-center"},BT={class:"content"},wT=y(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),AT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT={key:0},FT={key:1},OT=y(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),PT={class:"fraction flex-center"},LT={class:"content"},WT={key:0},$T={key:1},HT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),MT=y(()=>e.createElementVNode("div",null,"24",-1)),IT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),GT={class:"fraction flex-center"},RT={class:"content"},zT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=y(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),YT={class:"fraction flex-center"},ZT={class:"content"},QT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),JT=y(()=>e.createElementVNode("div",null,"24",-1)),KT=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jT={class:"fraction flex-center"},uT={class:"flex-start"},XT=e.createStaticVNode('<div class="fraction flex-center" data-v-5e7b1250>MGO Total Extra Consumption</div><div class="sig" data-v-5e7b1250>=</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Actual Route</div><div class="sig" data-v-5e7b1250>-</div><div class="fraction flex-center" data-v-5e7b1250>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-5e7b1250>=</div>',6),qT={class:"fraction flex-center"},vT=y(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),eF={class:"fraction flex-center"},tF=y(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oF={class:"fraction flex-center"},lF={class:"section map-section"},aF=y(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),nF={class:"report-map"},sF=["src"],cF=e.createStaticVNode('<div class="legend" data-v-5e7b1250><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Actual Route</div></div><div class="legend-item" data-v-5e7b1250><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-5e7b1250></div><div data-v-5e7b1250>Route prior to deviation</div></div></div>',1);function iF(o,s,t,r,a,n){var g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),b=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",d8,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",r8,[e.createElementVNode("div",m8,[e.createElementVNode("div",p8,[e.createElementVNode("div",h8,[_8,e.createElementVNode("div",null,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",E8,[y8,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.name),1),e.createTextVNode(" , "),e.createElementVNode("span",N8,e.toDisplayString(n.computeUTCTime(((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.atd)||((k=(C=t.report)==null?void 0:C.departure)==null?void 0:k.etd))),1)])])]),e.createElementVNode("div",V8,[e.createElementVNode("div",f8,[b8,e.createElementVNode("div",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.vessel)==null?void 0:F.name),1)]),e.createElementVNode("div",g8,[x8,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.name),1),e.createTextVNode(" , "),e.createElementVNode("span",k8,e.toDisplayString(n.computeUTCTime(((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.ata)||((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),e.createElementVNode("div",D8,[e.createElementVNode("div",C8,[S8,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.number),1)]),e.createElementVNode("div",B8,[w8,e.createElementVNode("div",null,e.toDisplayString((L=(_=t.report)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),e.createElementVNode("div",A8,[T8,e.createElementVNode("div",F8,[e.createElementVNode("div",O8,[e.createElementVNode("div",P8,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((W=(H=t.report)==null?void 0:H.departure)==null?void 0:W.name),1),e.createElementVNode("span",L8,"( "+e.toDisplayString(n.computeUTCTime(((M=(P=t.report)==null?void 0:P.departure)==null?void 0:M.atd)||((U=(Q=t.report)==null?void 0:Q.departure)==null?void 0:U.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ne=(J=t.report)==null?void 0:J.arrival)==null?void 0:ne.name),1),e.createElementVNode("span",W8,"( "+e.toDisplayString(n.computeUTCTime(((l=(se=t.report)==null?void 0:se.arrival)==null?void 0:l.ata)||((v=(u=t.report)==null?void 0:u.arrival)==null?void 0:v.eta)))+" )",1)])]),e.createElementVNode("table",null,[$8,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[H8,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((te=(ee=t.report)==null?void 0:ee.cp)==null?void 0:te.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",M8,[e.createTextVNode(" | "),(ce=(le=(oe=t.report)==null?void 0:oe.extend)==null?void 0:le.spdAbt)!=null&&ce.spdPercentage?(e.openBlock(),e.createElementBlock("span",I8,"+"+e.toDisplayString((_e=(de=(ie=t.report)==null?void 0:ie.extend)==null?void 0:de.spdAbt)==null?void 0:_e.spdOfOver)+"% , -"+e.toDisplayString((Ee=(me=(X=t.report)==null?void 0:X.extend)==null?void 0:me.spdAbt)==null?void 0:Ee.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",G8,"+"+e.toDisplayString((be=(re=(ye=t.report)==null?void 0:ye.extend)==null?void 0:re.spdAbt)==null?void 0:be.abt4SpdOver)+" , -"+e.toDisplayString((ke=(xe=(ge=t.report)==null?void 0:ge.extend)==null?void 0:xe.spdAbt)==null?void 0:ke.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((Ce=(De=t.report)==null?void 0:De.cp)==null?void 0:Ce.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",R8,[e.createTextVNode(" | "),(Pe=(Oe=(Fe=t.report)==null?void 0:Fe.extend)==null?void 0:Oe.foAbtCons)!=null&&Pe.percentage?(e.openBlock(),e.createElementBlock("span",z8,"+"+e.toDisplayString(($e=(We=(Le=t.report)==null?void 0:Le.extend)==null?void 0:We.foAbtCons)==null?void 0:$e.over)+"% , -"+e.toDisplayString((Ne=(Me=(He=t.report)==null?void 0:He.extend)==null?void 0:Me.foAbtCons)==null?void 0:Ne.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",U8,"+"+e.toDisplayString((ue=(je=(Ke=t.report)==null?void 0:Ke.extend)==null?void 0:je.foAbtCons)==null?void 0:ue.overTolerance)+" , -"+e.toDisplayString((Re=(Be=(A=t.report)==null?void 0:A.extend)==null?void 0:Be.foAbtCons)==null?void 0:Re.underTolerance),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((qe=(Xe=t.report)==null?void 0:Xe.cp)==null?void 0:qe.dgo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",Y8,[e.createTextVNode(" | "),(tt=(et=(ve=t.report)==null?void 0:ve.extend)==null?void 0:et.dgoAbtCons)!=null&&tt.percentage?(e.openBlock(),e.createElementBlock("span",Z8,"+"+e.toDisplayString((we=($=(m=t.report)==null?void 0:m.extend)==null?void 0:$.dgoAbtCons)==null?void 0:we.over)+"% , -"+e.toDisplayString((pe=(ze=(Ge=t.report)==null?void 0:Ge.extend)==null?void 0:ze.dgoAbtCons)==null?void 0:pe.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",Q8,"+"+e.toDisplayString((lt=(ot=(Ye=t.report)==null?void 0:Ye.extend)==null?void 0:ot.dgoAbtCons)==null?void 0:lt.overTolerance)+" , -"+e.toDisplayString((mt=(rt=(dt=t.report)==null?void 0:dt.extend)==null?void 0:rt.dgoAbtCons)==null?void 0:mt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",J8,[e.createElementVNode("div",K8,[j8,e.createElementVNode("div",u8,[((pt=t.report)==null?void 0:pt.extraDist)<0?(e.openBlock(),e.createElementBlock("div",X8,[q8,e.createElementVNode("span",v8,e.toDisplayString(Math.abs((_t=t.report)==null?void 0:_t.extraDist)),1),ew])):((Et=t.report)==null?void 0:Et.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString(Math.abs((yt=t.report)==null?void 0:yt.extraDist)),1),aw])):(e.openBlock(),e.createElementBlock("div",nw,"N/A"))])]),e.createElementVNode("div",sw,[cw,e.createElementVNode("div",iw,[((Vt=(Nt=t.report)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",dw,[rw,e.createElementVNode("span",mw,e.toDisplayString(Math.abs((bt=(ft=t.report)==null?void 0:ft.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),pw])):((xt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:xt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",hw,[_w,e.createElementVNode("span",Ew,e.toDisplayString(Math.abs((Dt=(kt=t.report)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.totalExtraTime)),1),yw])):(e.openBlock(),e.createElementBlock("div",Nw,"N/A"))])]),e.createElementVNode("div",Vw,[fw,e.createElementVNode("div",bw,[((Bt=(St=(Ct=t.report)==null?void 0:Ct.consAnalysis)==null?void 0:St.fo)==null?void 0:Bt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",gw,[xw,e.createElementVNode("span",kw,e.toDisplayString(Math.abs((Tt=(At=(wt=t.report)==null?void 0:wt.consAnalysis)==null?void 0:At.fo)==null?void 0:Tt.totalExtraCons)),1),Dw])):((Pt=(Ot=(Ft=t.report)==null?void 0:Ft.consAnalysis)==null?void 0:Ot.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Cw,[Sw,e.createElementVNode("span",Bw,e.toDisplayString(Math.abs((co=(so=(no=t.report)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:co.totalExtraCons)),1),ww])):(e.openBlock(),e.createElementBlock("div",Aw,"N/A"))])]),e.createElementVNode("div",Tw,[Fw,e.createElementVNode("div",Ow,[((mo=(ro=(io=t.report)==null?void 0:io.consAnalysis)==null?void 0:ro.dgo)==null?void 0:mo.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",Pw,[Lw,e.createElementVNode("span",Ww,e.toDisplayString(Math.abs((_o=(ho=(po=t.report)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)),1),$w])):((No=(yo=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:yo.dgo)==null?void 0:No.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",Hw,[Mw,e.createElementVNode("span",Iw,e.toDisplayString(Math.abs((bo=(fo=(Vo=t.report)==null?void 0:Vo.consAnalysis)==null?void 0:fo.dgo)==null?void 0:bo.totalExtraCons)),1),Gw])):(e.openBlock(),e.createElementBlock("div",Rw,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[zw,e.createElementVNode("div",Uw,[a.editable?(e.openBlock(),e.createElementBlock("div",Yw,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=Z=>a.remarks=Z),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Z=>n.handleCommit(Z))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Z=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",Qw,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,Zw))],32))])],2),e.createElementVNode("div",Jw,[Kw,((go=t.report)==null?void 0:go.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",jw,[uw,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xw,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((xo=t.report)==null?void 0:xo.startLat,(S=t.report)==null?void 0:S.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Ie=t.report)==null?void 0:Ie.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(at=t.report)==null?void 0:at.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(nt=t.report)==null?void 0:nt.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),qw,vw]),e.createElementVNode("tr",null,[e6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((ht=t.report)==null?void 0:ht.endLat,(Lt=t.report)==null?void 0:Lt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Wt=t.report)==null?void 0:Wt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:($t=t.report)==null?void 0:$t.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ht=t.report)==null?void 0:Ht.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(It=t.report)==null?void 0:It.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("tr",null,[t6,e.createElementVNode("td",null,e.toDisplayString((Rt=(Gt=t.report)==null?void 0:Gt.timeAnalysis)==null?void 0:Rt.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Yt=(Ut=(zt=t.report)==null?void 0:zt.consAnalysis)==null?void 0:Ut.fo)==null?void 0:Yt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((Jt=(Qt=(Zt=t.report)==null?void 0:Zt.consAnalysis)==null?void 0:Qt.dgo)==null?void 0:Jt.actualCons),1),o6])])])):(e.openBlock(),e.createElementBlock("table",l6,[a6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[n6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Kt=t.report)==null?void 0:Kt.startLat,(jt=t.report)==null?void 0:jt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ut=t.report)==null?void 0:ut.startTime)),1)]),e.createElementVNode("tr",null,[s6,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((Xt=t.report)==null?void 0:Xt.endLat,(qt=t.report)==null?void 0:qt.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((vt=t.report)==null?void 0:vt.endTime)),1)])])]))]),((eo=t.report)==null?void 0:eo.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",c6,[e.createElementVNode("div",i6,[d6,e.createVNode(b,{style:{"margin-bottom":"-15px"},size:"small",class:"print-hidden",onClick:n.handleAdd},{default:e.withCtx(()=>[e.createTextVNode("Add Extra Port")]),_:1},8,["onClick"])]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[r6,m6,p6,h6,_6,((to=a.extraPortList)==null?void 0:to.length)>0?(e.openBlock(),e.createElementBlock("th",E6,"Activity")):e.createCommentVNode("",!0)]),y6]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var ka,Da,Ca,Sa,Ba,wa,Aa,Ta;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",N6,[e.createVNode(p,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Qe=>n.handleCommit("port","name",Qe,ao)},null,8,["value","options","onSelect","onCommit"])]),V6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ka=Z==null?void 0:Z.arrival)==null?void 0:ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Da=Z==null?void 0:Z.arrival)==null?void 0:Da.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ca=Z==null?void 0:Z.arrival)==null?void 0:Ca.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","arrival.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),f6,b6,e.createElementVNode("td",g6,[e.createVNode(b,{size:"small",onClick:Qe=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[x6,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Sa=Z==null?void 0:Z.departure)==null?void 0:Sa.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Qe=>n.handleCommit("port","departure.date",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ba=Z==null?void 0:Z.departure)==null?void 0:Ba.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.foBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wa=Z==null?void 0:Z.departure)==null?void 0:wa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.dgoBrob",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Aa=Z==null?void 0:Z.departure)==null?void 0:Aa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringFo",Qe,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ta=Z==null?void 0:Z.departure)==null?void 0:Ta.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Qe=>n.handleCommit("port","departure.bunkeringDgo",Qe,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[k6,D6,e.createElementVNode("td",null,e.toDisplayString(((lo=(oo=t.report)==null?void 0:oo.timeAnalysis)==null?void 0:lo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Co=(Do=(ko=t.report)==null?void 0:ko.consAnalysis)==null?void 0:Do.fo)==null?void 0:Co.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((wo=(Bo=(So=t.report)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.portCons)??"—"),1),C6,S6,((Ao=a.extraPortList)==null?void 0:Ao.length)>0?(e.openBlock(),e.createElementBlock("td",B6)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",w6,[A6,e.createElementVNode("table",null,[T6,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(To=t.report)==null?void 0:To.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=Z=>n.handleCommit("report","actualDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Fo=t.report)==null?void 0:Fo.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=Z=>n.handleCommit("report","priorDist",Z,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Oo=t.report)==null?void 0:Oo.extraDist)??"—"),1)])])]),e.createElementVNode("div",F6,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",O6,[e.createElementVNode("div",P6,[L6,W6,e.createElementVNode("div",$6,[e.createElementVNode("div",H6,[M6,I6,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",G6,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",R6,"CP Speed"))])]),z6,e.createElementVNode("div",U6,[e.createElementVNode("div",Y6,[e.createElementVNode("div",null,e.toDisplayString((Lo=t.report)==null?void 0:Lo.extraDist),1),Z6,e.createElementVNode("div",null,e.toDisplayString(($o=(Wo=t.report)==null?void 0:Wo.extend)==null?void 0:$o.cpSpd),1)])]),Q6,e.createElementVNode("div",J6,e.toDisplayString((Mo=(Ho=t.report)==null?void 0:Ho.timeAnalysis)==null?void 0:Mo.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",K6,[j6,e.createElementVNode("div",u6,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.timeAnalysis)==null?void 0:Go.sailingTime),1),X6,e.createElementVNode("div",q6,e.toDisplayString(n.computeNum((zo=(Ro=t.report)==null?void 0:Ro.timeAnalysis)==null?void 0:zo.portTime)),1),v6,e.createElementVNode("div",e7,e.toDisplayString((Yo=(Uo=t.report)==null?void 0:Uo.timeAnalysis)==null?void 0:Yo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,a7,e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[c7,i7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",d7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",r7,"CP Speed"))])]),m7,e.createElementVNode("div",p7,[e.createElementVNode("div",h7,[e.createElementVNode("div",null,e.toDisplayString((Ko=t.report)==null?void 0:Ko.priorDist),1),_7,e.createElementVNode("div",null,e.toDisplayString((uo=(jo=t.report)==null?void 0:jo.extend)==null?void 0:uo.cpSpd),1)])]),E7,e.createElementVNode("div",y7,e.toDisplayString((qo=(Xo=t.report)==null?void 0:Xo.timeAnalysis)==null?void 0:qo.sailingTime)+" (hrs)",1),N7,V7]),e.createElementVNode("div",f7,[b7,e.createElementVNode("div",g7,e.toDisplayString((el=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:el.actualTime),1),x7,e.createElementVNode("div",k7,e.toDisplayString((ol=(tl=t.report)==null?void 0:tl.timeAnalysis)==null?void 0:ol.sailingTime),1),D7,e.createElementVNode("div",C7,e.toDisplayString((al=(ll=t.report)==null?void 0:ll.timeAnalysis)==null?void 0:al.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",S7,[((nl=t.report)==null?void 0:nl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("div",w7,[A7,T7,e.createElementVNode("div",F7,[e.createElementVNode("div",O7,[P7,L7,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",W7,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",$7,"CP Speed"))])]),H7,e.createElementVNode("div",M7,[e.createElementVNode("div",I7,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",G7,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",R7,"Daily FO Consumption")),z7,U7])]),Y7,e.createElementVNode("div",Z7,[e.createElementVNode("div",Q7,[e.createElementVNode("div",null,e.toDisplayString((sl=t.report)==null?void 0:sl.extraDist),1),J7,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpSpd),1)])]),K7,e.createElementVNode("div",j7,[e.createElementVNode("div",u7,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.report)==null?void 0:dl.extend)==null?void 0:rl.cpFoCons),1),X7,q7])]),v7,e.createElementVNode("div",eA,e.toDisplayString((El=(pl=(st=t.report)==null?void 0:st.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)+" (mt)",1)]),e.createElementVNode("div",tA,[oA,e.createElementVNode("div",lA,e.toDisplayString((Vl=(Nl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:Nl.fo)==null?void 0:Vl.sailingCons),1),aA,e.createElementVNode("div",nA,e.toDisplayString(n.computeNum((gl=(bl=(fl=t.report)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:gl.portCons)),1),sA,e.createElementVNode("div",cA,e.toDisplayString((Dl=(kl=(xl=t.report)==null?void 0:xl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Dl.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",iA,[dA,rA,e.createElementVNode("div",mA,[e.createElementVNode("div",pA,[hA,_A,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",EA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",yA,"CP Speed"))])]),NA,e.createElementVNode("div",VA,[e.createElementVNode("div",fA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",bA,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",gA,"Daily MGO Consumption")),xA,kA])]),DA,e.createElementVNode("div",CA,[e.createElementVNode("div",SA,[e.createElementVNode("div",null,e.toDisplayString((Cl=t.report)==null?void 0:Cl.extraDist),1),BA,e.createElementVNode("div",null,e.toDisplayString((Bl=(Sl=t.report)==null?void 0:Sl.extend)==null?void 0:Bl.cpSpd),1)])]),wA,e.createElementVNode("div",AA,[e.createElementVNode("div",TA,[e.createElementVNode("div",null,e.toDisplayString((Al=(wl=t.report)==null?void 0:wl.extend)==null?void 0:Al.cpDgoCons),1),FA,OA])]),PA,e.createElementVNode("div",LA,e.toDisplayString((Ol=(Fl=(Tl=t.report)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.sailingCons)+" (mt)",1)]),e.createElementVNode("div",WA,[$A,e.createElementVNode("div",HA,e.toDisplayString((Wl=(Ll=(Pl=t.report)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),MA,e.createElementVNode("div",IA,e.toDisplayString(n.computeNum((Ml=(Hl=($l=t.report)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),GA,e.createElementVNode("div",RA,e.toDisplayString((Rl=(Gl=(Il=t.report)==null?void 0:Il.consAnalysis)==null?void 0:Gl.dgo)==null?void 0:Rl.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",zA,[e.createElementVNode("div",UA,[YA,ZA,e.createElementVNode("div",QA,[e.createElementVNode("div",JA,[KA,jA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",uA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",XA,"CP Speed"))])]),qA,e.createElementVNode("div",vA,[e.createElementVNode("div",eT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",tT,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",oT,"CP Daily FO Consumption")),lT,aT])]),nT,e.createElementVNode("div",sT,[e.createElementVNode("div",cT,[e.createElementVNode("div",null,e.toDisplayString((zl=t.report)==null?void 0:zl.priorDist),1),iT,e.createElementVNode("div",null,e.toDisplayString((Yl=(Ul=t.report)==null?void 0:Ul.extend)==null?void 0:Yl.cpSpd),1)])]),dT,e.createElementVNode("div",rT,[e.createElementVNode("div",mT,[e.createElementVNode("div",null,e.toDisplayString((Ql=(Zl=t.report)==null?void 0:Zl.extend)==null?void 0:Ql.cpFoCons),1),pT,hT])]),_T,e.createElementVNode("div",ET,e.toDisplayString((jl=(Kl=(Jl=t.report)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:jl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",yT,[NT,e.createElementVNode("div",VT,e.toDisplayString((ql=(Xl=(ul=t.report)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.actualCons),1),fT,e.createElementVNode("div",bT,e.toDisplayString(n.computeNum((ta=(ea=(vl=t.report)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)),1),gT,e.createElementVNode("div",xT,e.toDisplayString((aa=(la=(oa=t.report)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",kT,[DT,CT,e.createElementVNode("div",ST,[e.createElementVNode("div",BT,[wT,AT,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",TT,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",FT,"CP Speed"))])]),OT,e.createElementVNode("div",PT,[e.createElementVNode("div",LT,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",WT,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",$T,"CP Daily MGO Consumption")),HT,MT])]),IT,e.createElementVNode("div",GT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((na=t.report)==null?void 0:na.priorDist),1),zT,e.createElementVNode("div",null,e.toDisplayString((ca=(sa=t.report)==null?void 0:sa.extend)==null?void 0:ca.cpSpd),1)])]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",ZT,[e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.extend)==null?void 0:da.cpDgoCons),1),QT,JT])]),KT,e.createElementVNode("div",jT,e.toDisplayString((pa=(ma=(ra=t.report)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.sailingCons)+" (mt)",1)]),e.createElementVNode("div",uT,[XT,e.createElementVNode("div",qT,e.toDisplayString((Ea=(_a=(ha=t.report)==null?void 0:ha.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Ea.actualCons),1),vT,e.createElementVNode("div",eF,e.toDisplayString((Va=(Na=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1),tF,e.createElementVNode("div",oF,e.toDisplayString((ga=(ba=(fa=t.report)==null?void 0:fa.consAnalysis)==null?void 0:ba.dgo)==null?void 0:ga.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",lF,[aF,e.createElementVNode("div",nF,[e.createElementVNode("img",{style:{width:"100%"},src:(xa=t.report)==null?void 0:xa.chartUrl,alt:""},null,8,sF),cF])])])])}const rn=Se(i8,[["render",iF],["__scopeId","data-v-5e7b1250"]]),yZ="",dF={name:"FliDvtRpt",components:{CirclePlus:Oa.CirclePlus,Remove:Oa.Remove,EditableItem:dn,Editor:Jo},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+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt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tKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/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(o){return o>0?"fail":o<0?"success":""}},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} / ${r}`}},computeNum(){return function(o){return o||o==0?o<0?`(${o})`:o:"—"}}},watch:{data:{handler(o){o&&((o==null?void 0:o.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var o,s,t,r;this.extraData=this.data,this.extraPortList=(o=this.data)!=null&&o.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(t=this.data)!=null&&t.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(o){var t;const s=await Fa.get(`${this.gateway}/api/arc/ports/suggest?n=${o}`,{headers:{Authorization:this.token}});this.portList=(t=s==null?void 0:s.data)==null?void 0:t.data},handleAdd(){const o={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(o)},async handleRemove(o){var t,r,a,n,E;this.extraPortList.splice(o,1);const s=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(t=s==null?void 0:s.data)==null?void 0:t.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?(E=this.data)==null?void 0:E.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s,t,r){var E,c,p,b,g;this.editable=!1;const a=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(a>0){const N=s.substring(0,a),D=s.substring(a+1);D!=="date"&&(t=Number(t)),this.extraPortList[r][N][D]=t}else this.extraPortList[r][s]=t;n={extraPorts:this.extraPortList}}else o==="comments"?(this.extraData[s]=t,n={[s]:t}):(this.extraData[s]=t,n={[s]:Number(t)});const h=await Fa.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(E=h==null?void 0:h.data)==null?void 0:E.data,this.extraPortList=(p=(c=h==null?void 0:h.data)==null?void 0:c.data)==null?void 0:p.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(g=this.data)==null?void 0:g.comments:void 0}else ua.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},V=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),rF={class:"deviation-report"},mF=V(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),pF={class:"report-header"},hF={class:"header-title",style:{position:"relative !important"}},_F={class:"header-title-content"},EF=V(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),yF={class:"title-date"},NF={class:"report-summary"},VF={class:"summary-item"},fF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bF={class:"flexL gray"},gF={class:"summary-item"},xF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),kF={class:"flexL gray"},DF={class:"summary-item"},CF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),SF={class:"flexL gray"},BF={class:"summary-item"},wF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AF={class:"flexL gray"},TF={class:"summary-item"},FF=V(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OF={class:"flexL gray",style:{display:"flex"}},PF={class:"flex"},LF={class:"flexM"},WF={class:"summary-item"},$F=V(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),HF={class:"flexL gray",style:{display:"flex"}},MF={class:"flex"},IF={class:"flexM"},GF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),RF={class:"report-summary"},zF={class:"summary-item"},UF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),YF={class:"summary-item"},ZF=V(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),QF={class:"summary-item"},JF=V(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),KF={class:"summary-item"},jF=V(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),uF=V(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),XF={class:"report-map"},qF=["src"],vF=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),eO=V(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),tO={key:0,class:"subtitle"},oO={key:1,class:"report-summary"},lO=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),aO={class:"summary-item"},nO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),sO={class:"blue center",style:{width:"20%"}},cO={class:"blue center",style:{width:"17%"}},iO={class:"flex blue center"},dO={class:"flex blue center"},rO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),pO={class:"summary-item"},hO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),_O={class:"blue center",style:{width:"20%"}},EO={class:"blue center",style:{width:"17%"}},yO={class:"flex blue center"},NO={class:"flex blue center"},VO={class:"flex blue center"},fO={class:"flex blue center"},bO={class:"summary-item"},gO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),xO=V(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),kO={class:"blue center",style:{width:"17%"}},DO={class:"flex blue center"},CO={class:"flex blue center"},SO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),BO=V(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),wO=V(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),AO={class:"report-summary"},TO={class:"summary-item"},FO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),OO={class:"flexL blue center"},PO={class:"summary-item"},LO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),WO={class:"flexL blue center"},$O={class:"summary-item"},HO=V(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),MO={class:"flexL blue center"},IO={class:"subtitle port"},GO=V(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),RO={class:"print-hidden"},zO={class:"report-port"},UO=V(()=>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)),YO={rowspan:2},ZO=V(()=>e.createElementVNode("td",null,"Arrival",-1)),QO=V(()=>e.createElementVNode("td",null,null,-1)),JO=V(()=>e.createElementVNode("td",null,null,-1)),KO={rowspan:2,class:"print-hidden"},jO=V(()=>e.createElementVNode("td",null,"Departure",-1)),uO=V(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),XO=V(()=>e.createElementVNode("td",null,null,-1)),qO=V(()=>e.createElementVNode("td",null,null,-1)),vO=V(()=>e.createElementVNode("td",null,null,-1)),eP=V(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),tP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),oP={class:"report-summary"},lP=V(()=>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)),aP={class:"summary-item"},nP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),sP={class:"flex blue center"},cP={class:"flex blue center"},iP={class:"summary-item"},dP=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),rP={class:"flex blue center"},mP=V(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),pP={key:2,class:"report-formular"},hP={class:"equation"},_P=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),EP={class:"function",style:{width:"20%"}},yP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),VP={style:{width:"10%"}},fP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),bP={class:"equation"},gP=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),xP={style:{width:"5%"}},kP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),DP={style:{width:"8%"}},CP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),SP={style:{width:"4%"}},BP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),wP={key:3,class:"report-formular"},AP={class:"equation"},TP=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),FP={class:"function",style:{width:"20%"}},OP=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),LP={style:{width:"10%"}},WP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),$P={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),MP={style:{width:"5%"}},IP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),GP={style:{width:"5%"}},RP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),zP={style:{width:"5%"}},UP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YP={key:1,class:"equation"},ZP=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),QP={style:{width:"5%"}},JP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),KP={style:{width:"5%"}},jP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uP={style:{width:"5%"}},XP=V(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qP={style:{width:"5%"}},vP=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eL={key:4,class:"report-summary"},tL={class:"summary-item"},oL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),lL={class:"flex blue center"},aL={class:"summary-item"},nL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),sL={class:"flex blue center"},cL={class:"summary-item"},iL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),dL={class:"flex blue center"},rL={key:5,class:"report-summary"},mL={class:"summary-item"},pL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),hL={class:"flex blue center"},_L={class:"summary-item"},EL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),yL={class:"flex blue center"},NL={key:0,class:"summary-item"},VL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),fL={class:"flex blue center"},bL={class:"summary-item"},gL=V(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),xL={class:"flex blue center"},kL=V(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),DL={key:6,class:"report-formular"},CL={class:"equation"},SL=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),BL={class:"function",style:{width:"5%"}},wL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),TL={class:"function",style:{width:"5%"}},FL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OL=V(()=>e.createElementVNode("div",null,"24",-1)),PL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),LL={style:{width:"5%"}},WL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$L={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),ML={style:{width:"5%"}},IL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),GL={style:{width:"5%"}},RL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zL={style:{width:"5%"}},UL=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YL={class:"equation"},ZL=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),QL={class:"function",style:{width:"5%"}},JL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jL={class:"function",style:{width:"5%"}},uL=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=V(()=>e.createElementVNode("div",null,"24",-1)),qL=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vL={style:{width:"5%"}},eW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tW={class:"equation"},oW=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),lW={style:{width:"5%"}},aW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),nW={style:{width:"5%"}},sW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cW={style:{width:"5%"}},iW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dW={key:7,class:"report-formular"},rW={class:"equation"},mW=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),pW={class:"function",style:{width:"5%"}},hW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_W=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),EW={class:"function",style:{width:"5%"}},yW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NW=V(()=>e.createElementVNode("div",null,"24",-1)),VW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fW={style:{width:"5%"}},bW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gW={class:"equation"},xW=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),kW={class:"function",style:{width:"5%"}},DW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),SW={class:"function",style:{width:"5%"}},BW=V(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wW=V(()=>e.createElementVNode("div",null,"24",-1)),AW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TW={style:{width:"5%"}},FW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OW={key:0,class:"equation"},PW=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),LW={style:{width:"5%"}},WW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$W={style:{width:"5%"}},HW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),MW={style:{width:"5%"}},IW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GW={key:1,class:"equation"},RW=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),zW={style:{width:"5%"}},UW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YW={style:{width:"5%"}},ZW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QW={style:{width:"5%"}},JW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KW={style:{width:"5%"}},jW=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uW={key:2,class:"equation"},XW=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),qW={style:{width:"5%"}},vW=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),e$={style:{width:"5%"}},t$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),o$={style:{width:"5%"}},l$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),a$={key:3,class:"equation"},n$=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),s$={style:{width:"5%"}},c$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),i$={style:{width:"5%"}},d$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),r$={style:{width:"5%"}},m$=V(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),p$={style:{width:"5%"}},h$=V(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_$={key:8,class:"report-summary"},E$=V(()=>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)),y$={class:"summary-item"},N$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),V$={class:"flex blue center"},f$={class:"flex blue center"},b$={class:"summary-item"},g$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),x$={class:"flex blue center"},k$={class:"flex blue center"},D$={class:"summary-item"},C$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),S$={key:9,class:"report-summary"},B$=V(()=>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)),w$={class:"summary-item"},A$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),T$={class:"flex blue center"},F$={class:"flex blue center"},O$={class:"summary-item"},P$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),L$={class:"flex blue center"},W$={class:"flex blue center"},$$={key:0,class:"summary-item"},H$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),M$={class:"flex blue center"},I$={class:"flex blue center"},G$={class:"summary-item"},R$=V(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),z$=["innerHTML"];function U$(o,s,t,r,a,n){var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me,Ne,Ke,je,ue,A,Be,Re,Xe,qe,ve,et,tt,m,$,we,Ge,ze,pe,Ye,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,yo,No,Vo,fo,bo,go,xo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,jt,ut,Xt,qt,vt,eo,to,oo,lo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,Ro,zo,Uo,Yo,Ko,jo,uo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,jl,ul,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga;const E=e.resolveComponent("EditableItem"),c=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rF,[mF,e.createElementVNode("div",pF,[e.createElementVNode("div",hF,[e.createElementVNode("div",_F,[EF,e.createElementVNode("div",yF,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",NF,[e.createElementVNode("div",VF,[fF,e.createElementVNode("div",bF,e.toDisplayString((D=(N=a.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",gF,[xF,e.createElementVNode("div",kF,e.toDisplayString((x=a.extraData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",DF,[CF,e.createElementVNode("div",SF,e.toDisplayString((k=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",BF,[wF,e.createElementVNode("div",AF,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",TF,[FF,e.createElementVNode("div",OF,[e.createElementVNode("span",PF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",LF,e.toDisplayString(n.computeUTCTime(((O=(f=a.extraData)==null?void 0:f.departure)==null?void 0:O.atd)||((G=(I=a.extraData)==null?void 0:I.departure)==null?void 0:G.etd))),1)])]),e.createElementVNode("div",WF,[$F,e.createElementVNode("div",HF,[e.createElementVNode("span",MF,e.toDisplayString((z=(R=a.extraData)==null?void 0:R.arrival)==null?void 0:z.name),1),e.createElementVNode("span",IF,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)])])]),GF,e.createElementVNode("div",RF,[e.createElementVNode("div",zF,[UF,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",YF,[ZF,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(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",QF,[JF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((u=(l=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:l.fo)==null?void 0:u.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,[jF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ce=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(de=(ie=a.extraData)==null?void 0:ie.consAnalysis)==null?void 0:de.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),uF,e.createElementVNode("div",XF,[e.createElementVNode("img",{style:{width:"100%"},src:(X=a.extraData)==null?void 0:X.chartUrl,alt:""},null,8,qF),vF]),eO,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tO,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oO,[lO,e.createElementVNode("div",aO,[nO,e.createElementVNode("div",sO,e.toDisplayString(n.computedLngLat((me=a.extraData)==null?void 0:me.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",cO,e.toDisplayString(n.computeUTCTime((ye=a.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",iO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(re=a.extraData)==null?void 0:re.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=j=>n.handleCommit("extra","startFoBrob",j))},null,8,["value"])]),e.createElementVNode("div",dO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(be=a.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=j=>n.handleCommit("extra","startDgoBrob",j))},null,8,["value"])]),rO,mO]),e.createElementVNode("div",pO,[hO,e.createElementVNode("div",_O,e.toDisplayString(n.computedLngLat((ge=a.extraData)==null?void 0:ge.endLng,(xe=a.extraData)==null?void 0:xe.endLat)),1),e.createElementVNode("div",EO,e.toDisplayString(n.computeUTCTime((ke=a.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",yO,[e.createVNode(E,{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]=j=>n.handleCommit("extra","endFoBrob",j))},null,8,["value"])]),e.createElementVNode("div",NO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ce=a.extraData)==null?void 0:Ce.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=j=>n.handleCommit("extra","endDgoBrob",j))},null,8,["value"])]),e.createElementVNode("div",VO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=j=>n.handleCommit("extra","endFoBunkering",j))},null,8,["value"])]),e.createElementVNode("div",fO,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Oe=a.extraData)==null?void 0:Oe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=j=>n.handleCommit("extra","endDgoBunkering",j))},null,8,["value"])])]),e.createElementVNode("div",bO,[gO,xO,e.createElementVNode("div",kO,e.toDisplayString(((Le=(Pe=a.extraData)==null?void 0:Pe.timeAnalysis)==null?void 0:Le.actualTime)??"—"),1),e.createElementVNode("div",DO,e.toDisplayString(((He=($e=(We=a.extraData)==null?void 0:We.consAnalysis)==null?void 0:$e.fo)==null?void 0:He.actualCons)??"—"),1),e.createElementVNode("div",CO,e.toDisplayString(((Ke=(Ne=(Me=a.extraData)==null?void 0:Me.consAnalysis)==null?void 0:Ne.dgo)==null?void 0:Ke.actualCons)??"—"),1),SO,BO])])),wO,e.createElementVNode("div",AO,[e.createElementVNode("div",TO,[FO,e.createElementVNode("div",OO,e.toDisplayString(((ue=(je=a.extraData)==null?void 0:je.cp)==null?void 0:ue.speed)??"—"),1)]),e.createElementVNode("div",PO,[LO,e.createElementVNode("div",WO,e.toDisplayString(((Be=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Be.fo)??"—"),1)]),e.createElementVNode("div",$O,[HO,e.createElementVNode("div",MO,e.toDisplayString(((Xe=(Re=a.extraData)==null?void 0:Re.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",IO,[GO,e.createElementVNode("div",RO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["onClick"])])]),e.createElementVNode("div",zO,[e.createElementVNode("table",null,[UO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(j,Zo)=>{var Ra,za,Ua,Ya,Za,Qa,Ja,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Zo},[e.createElementVNode("tr",null,[e.createElementVNode("td",YO,[e.createVNode(E,{class:"editable-item",value:j==null?void 0:j.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:ct=>n.handleCommit("port","name",ct,Zo)},null,8,["value","options","onSelect","onCommit"])]),ZO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ra=j==null?void 0:j.arrival)==null?void 0:Ra.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","arrival.date",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(za=j==null?void 0:j.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.foBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ua=j==null?void 0:j.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","arrival.dgoBrob",ct,Zo)},null,8,["value","onCommit"])]),QO,JO,e.createElementVNode("td",KO,[e.createVNode(p,{size:20,onClick:ct=>n.handleRemove(Zo)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[jO,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ya=j==null?void 0:j.departure)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ct=>n.handleCommit("port","departure.date",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Za=j==null?void 0:j.departure)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.foBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Qa=j==null?void 0:j.departure)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.dgoBrob",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ja=j==null?void 0:j.departure)==null?void 0:Ja.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringFo",ct,Zo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ka=j==null?void 0:j.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ct=>n.handleCommit("port","departure.bunkeringDgo",ct,Zo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uO,XO,e.createElementVNode("td",null,e.toDisplayString(((ve=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:tt.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(we=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:we.dgo)==null?void 0:Ge.portCons)??"—"),1),qO,vO,eP])])])]),tP,e.createElementVNode("div",oP,[lP,e.createElementVNode("div",aP,[nP,e.createElementVNode("div",sP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(ze=a.extraData)==null?void 0:ze.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=j=>n.handleCommit("extraData","actualDist",j,o.index))},null,8,["value"])]),e.createElementVNode("div",cP,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(pe=a.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=j=>n.handleCommit("extraData","priorDist",j,o.index))},null,8,["value"])])]),e.createElementVNode("div",iP,[dP,e.createElementVNode("div",rP,e.toDisplayString(((Ye=a.extraData)==null?void 0:Ye.extraDist)??"—"),1)])]),mP,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",pP,[e.createElementVNode("div",hP,[_P,e.createElementVNode("div",EP,[e.createElementVNode("div",null,e.toDisplayString((ot=a.extraData)==null?void 0:ot.extraDist),1),yP,e.createElementVNode("div",null,e.toDisplayString((dt=(lt=a.extraData)==null?void 0:lt.cp)==null?void 0:dt.speed),1)]),NP,e.createElementVNode("div",VP,e.toDisplayString((mt=(rt=a.extraData)==null?void 0:rt.timeAnalysis)==null?void 0:mt.sailingTime),1),fP]),e.createElementVNode("div",bP,[gP,e.createElementVNode("div",xP,e.toDisplayString((_t=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:_t.sailingTime),1),kP,e.createElementVNode("div",DP,e.toDisplayString(n.computeNum((yt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),CP,e.createElementVNode("div",SP,e.toDisplayString((Vt=(Nt=a.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),BP])])):(e.openBlock(),e.createElementBlock("div",wP,[e.createElementVNode("div",AP,[TP,e.createElementVNode("div",FP,[e.createElementVNode("div",null,e.toDisplayString((ft=a.extraData)==null?void 0:ft.priorDist),1),OP,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),PP,e.createElementVNode("div",LP,e.toDisplayString((kt=(xt=a.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:kt.sailingTime),1),WP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",$P,[HP,e.createElementVNode("div",MP,e.toDisplayString((Ct=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.actualTime),1),IP,e.createElementVNode("div",GP,e.toDisplayString((Bt=(St=a.extraData)==null?void 0:St.timeAnalysis)==null?void 0:Bt.sailingTime),1),RP,e.createElementVNode("div",zP,e.toDisplayString((At=(wt=a.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:At.totalExtraTime),1),UP])):(e.openBlock(),e.createElementBlock("div",YP,[ZP,e.createElementVNode("div",QP,e.toDisplayString((Ft=(Tt=a.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ft.actualTime),1),JP,e.createElementVNode("div",KP,e.toDisplayString((Pt=(Ot=a.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Pt.sailingTime),1),jP,e.createElementVNode("div",uP,e.toDisplayString((so=(no=a.extraData)==null?void 0:no.timeAnalysis)==null?void 0:so.portTime),1),XP,e.createElementVNode("div",qP,e.toDisplayString((io=(co=a.extraData)==null?void 0:co.timeAnalysis)==null?void 0:io.totalExtraTime),1),vP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",eL,[e.createElementVNode("div",tL,[oL,e.createElementVNode("div",lL,e.toDisplayString(((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.sailingTime)??"—"),1)]),e.createElementVNode("div",aL,[nL,e.createElementVNode("div",sL,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.portTime)??"—"),1)]),e.createElementVNode("div",cL,[iL,e.createElementVNode("div",dL,e.toDisplayString(((Eo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:Eo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",rL,[e.createElementVNode("div",mL,[pL,e.createElementVNode("div",hL,e.toDisplayString((No=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.sailingTime),1)]),e.createElementVNode("div",_L,[EL,e.createElementVNode("div",yL,e.toDisplayString((fo=(Vo=a.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",NL,[VL,e.createElementVNode("div",fL,e.toDisplayString(((go=(bo=a.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:go.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",bL,[gL,e.createElementVNode("div",xL,e.toDisplayString((S=(xo=a.extraData)==null?void 0:xo.timeAnalysis)==null?void 0:S.totalExtraTime),1)])])),kL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",DL,[e.createElementVNode("div",CL,[SL,e.createElementVNode("div",BL,[e.createElementVNode("div",null,e.toDisplayString((Ie=a.extraData)==null?void 0:Ie.extraDist),1),wL,e.createElementVNode("div",null,e.toDisplayString((nt=(at=a.extraData)==null?void 0:at.cp)==null?void 0:nt.speed),1)]),AL,e.createElementVNode("div",TL,[e.createElementVNode("div",null,e.toDisplayString((Lt=(ht=a.extraData)==null?void 0:ht.cp)==null?void 0:Lt.fo),1),FL,OL]),PL,e.createElementVNode("div",LL,e.toDisplayString((Ht=($t=(Wt=a.extraData)==null?void 0:Wt.consAnalysis)==null?void 0:$t.fo)==null?void 0:Ht.sailingCons),1),WL]),e.createElementVNode("div",$L,[HL,e.createElementVNode("div",ML,e.toDisplayString((Gt=(It=(Mt=a.extraData)==null?void 0:Mt.consAnalysis)==null?void 0:It.fo)==null?void 0:Gt.sailingCons),1),IL,e.createElementVNode("div",GL,e.toDisplayString(n.computeNum((Ut=(zt=(Rt=a.extraData)==null?void 0:Rt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.portCons)),1),RL,e.createElementVNode("div",zL,e.toDisplayString((Qt=(Zt=(Yt=a.extraData)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.totalExtraCons),1),UL]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("div",QL,[e.createElementVNode("div",null,e.toDisplayString((Jt=a.extraData)==null?void 0:Jt.extraDist),1),JL,e.createElementVNode("div",null,e.toDisplayString((jt=(Kt=a.extraData)==null?void 0:Kt.cp)==null?void 0:jt.speed),1)]),KL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((Xt=(ut=a.extraData)==null?void 0:ut.cp)==null?void 0:Xt.dgo),1),uL,XL]),qL,e.createElementVNode("div",vL,e.toDisplayString((eo=(vt=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:vt.dgo)==null?void 0:eo.sailingCons),1),eW]),e.createElementVNode("div",tW,[oW,e.createElementVNode("div",lW,e.toDisplayString((lo=(oo=(to=a.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.dgo)==null?void 0:lo.sailingCons),1),aW,e.createElementVNode("div",nW,e.toDisplayString(n.computeNum((Co=(Do=(ko=a.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Do.dgo)==null?void 0:Co.portCons)),1),sW,e.createElementVNode("div",cW,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.totalExtraCons),1),iW])])):(e.openBlock(),e.createElementBlock("div",dW,[e.createElementVNode("div",rW,[mW,e.createElementVNode("div",pW,[e.createElementVNode("div",null,e.toDisplayString((Ao=a.extraData)==null?void 0:Ao.priorDist),1),hW,e.createElementVNode("div",null,e.toDisplayString((Fo=(To=a.extraData)==null?void 0:To.cp)==null?void 0:Fo.speed),1)]),_W,e.createElementVNode("div",EW,[e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.fo),1),yW,NW]),VW,e.createElementVNode("div",fW,e.toDisplayString(($o=(Wo=(Lo=a.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.fo)==null?void 0:$o.sailingCons),1),bW]),e.createElementVNode("div",gW,[xW,e.createElementVNode("div",kW,[e.createElementVNode("div",null,e.toDisplayString((Ho=a.extraData)==null?void 0:Ho.priorDist),1),DW,e.createElementVNode("div",null,e.toDisplayString((Io=(Mo=a.extraData)==null?void 0:Mo.cp)==null?void 0:Io.speed),1)]),CW,e.createElementVNode("div",SW,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:Ro.dgo),1),BW,wW]),AW,e.createElementVNode("div",TW,e.toDisplayString((Yo=(Uo=(zo=a.extraData)==null?void 0:zo.consAnalysis)==null?void 0:Uo.dgo)==null?void 0:Yo.sailingCons),1),FW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",OW,[PW,e.createElementVNode("div",LW,e.toDisplayString((uo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.fo)==null?void 0:uo.actualCons),1),WW,e.createElementVNode("div",$W,e.toDisplayString(n.computeNum((vo=(qo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:qo.fo)==null?void 0:vo.sailingCons)),1),HW,e.createElementVNode("div",MW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),IW])):(e.openBlock(),e.createElementBlock("div",GW,[RW,e.createElementVNode("div",zW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),UW,e.createElementVNode("div",YW,e.toDisplayString(n.computeNum((il=(cl=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:cl.fo)==null?void 0:il.sailingCons)),1),ZW,e.createElementVNode("div",QW,e.toDisplayString(n.computeNum((st=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:st.portCons)),1),JW,e.createElementVNode("div",KW,e.toDisplayString((yl=(El=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.totalExtraCons),1),jW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",uW,[XW,e.createElementVNode("div",qW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),vW,e.createElementVNode("div",e$,e.toDisplayString((xl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:xl.sailingCons),1),t$,e.createElementVNode("div",o$,e.toDisplayString((Cl=(Dl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:Cl.totalExtraCons),1),l$])):(e.openBlock(),e.createElementBlock("div",a$,[n$,e.createElementVNode("div",s$,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),c$,e.createElementVNode("div",i$,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),d$,e.createElementVNode("div",r$,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),m$,e.createElementVNode("div",p$,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),h$]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",_$,[E$,e.createElementVNode("div",y$,[N$,e.createElementVNode("div",V$,e.toDisplayString(((Gl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Gl.sailingCons)??"—"),1),e.createElementVNode("div",f$,e.toDisplayString(((Ul=(zl=(Rl=a.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",b$,[g$,e.createElementVNode("div",x$,e.toDisplayString(((Ql=(Zl=(Yl=a.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.portCons)??"—"),1),e.createElementVNode("div",k$,e.toDisplayString(((jl=(Kl=(Jl=a.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.dgo)==null?void 0:jl.portCons)??"—"),1)]),e.createElementVNode("div",D$,[C$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ql=(Xl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Xl.fo)==null?void 0:ql.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(((ca=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ca.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",S$,[B$,e.createElementVNode("div",w$,[A$,e.createElementVNode("div",T$,e.toDisplayString((ra=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",F$,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",O$,[P$,e.createElementVNode("div",L$,e.toDisplayString((ya=(Ea=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.actualCons),1),e.createElementVNode("div",W$,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",$$,[H$,e.createElementVNode("div",M$,e.toDisplayString((xa=(ga=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ga.fo)==null?void 0:xa.portCons),1),e.createElementVNode("div",I$,e.toDisplayString((ka=(ao=(Z=a.extraData)==null?void 0:Z.consAnalysis)==null?void 0:ao.dgo)==null?void 0:ka.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",G$,[R$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Sa=(Ca=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.totalExtraCons)} flex blue center`)},e.toDisplayString((Aa=(wa=(Ba=a.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.fo)==null?void 0:Aa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ha=(Qe=(Ta=a.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Ha.totalExtraCons)} flex blue center`)},e.toDisplayString((Ga=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.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]=j=>a.advisory=j),height:"320px",onBlur:s[9]||(s[9]=j=>n.handleCommit("comments","comments",j))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...j)=>n.decideDisable&&n.decideDisable(...j)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,z$))],2)])}const mn=Se(dF,[["render",U$],["__scopeId","data-v-eba493df"]]),Y$={install(o){o.component("DeviationReport",rn),o.component("FliDeviationReport",mn)}},NZ="",Z$={name:"OrmStoppage",components:{IdmBrand:Qo,Editor:Jo},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTs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RaKX9C0qZznyVcg0pdKa6IY9Alh0Evpwo6Zt9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${K(o).utc().format(s)}`:""}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":ae.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},Te=o=>(e.pushScopeId("data-v-e829fef7"),o=o(),e.popScopeId(),o),Q$={class:"stoppage-report"},J$={class:"content-box"},K$={class:"info-box border"},j$={class:"flex-between row"},u$={class:"flex-between",style:{width:"48%"}},X$=Te(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),q$={class:"flex-between",style:{width:"48%"}},v$=Te(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),eH={style:{"margin-left":"5px"}},tH={class:"flex-between row"},oH={class:"flex-between",style:{width:"48%"}},lH=Te(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),aH={class:"flex-between",style:{width:"48%"}},nH=Te(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),sH={style:{"margin-left":"5px"}},cH={class:"flex-between row"},iH={class:"flex-between",style:{width:"48%"}},dH=Te(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),rH={class:"flex-between",style:{width:"48%"}},mH=Te(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),pH={class:"section summary-section"},hH=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),_H={class:"formula-block flex-between border"},EH={class:"item"},yH=Te(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),NH={class:"value flex-end"},VH={key:0},fH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bH={class:"gain"},gH=Te(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xH={key:1},kH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),DH={class:"lost"},CH=Te(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),SH={key:2},BH={class:"item"},wH=Te(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),AH={class:"value flex-end"},TH={key:0},FH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),OH={class:"gain"},PH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),LH={key:1},WH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),$H={class:"lost"},HH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),MH={key:2},IH={class:"item"},GH=Te(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),RH={class:"value flex-end"},zH={key:0},UH=Te(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),YH={class:"gain"},ZH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),QH={key:1},JH=Te(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),KH={class:"lost"},jH=Te(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),uH={key:2},XH=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),qH={class:"section-content"},vH={key:0,class:""},eM=["innerHTML"],tM={key:1},oM={class:"section table-section"},lM=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),aM=Te(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"NQ"),e.createElementVNode("th",{rowspan:2,class:"label"},"Activity"),e.createElementVNode("th",{rowspan:2,class:"label"},"Position"),e.createElementVNode("th",{rowspan:2,class:"label"},"Date"),e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)"),e.createElementVNode("th",{rowspan:2,class:"label"},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2,class:"label"},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1)),nM=Te(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),sM=Te(()=>e.createElementVNode("td",null,"Stopped",-1)),cM={rowspan:2},iM={rowspan:2},dM={rowspan:2},rM=Te(()=>e.createElementVNode("td",null,"Resumed",-1)),mM={class:"section map-section"},pM=Te(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),hM=["src"];function _M(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Q$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",J$,[e.createElementVNode("div",K$,[e.createElementVNode("div",j$,[e.createElementVNode("div",u$,[X$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",q$,[v$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((g=(b=t.report)==null?void 0:b.departure)==null?void 0:g.name),1),e.createTextVNode(" , "),e.createElementVNode("span",eH,e.toDisplayString(n.computeUTCTime(((N=(h=t.report)==null?void 0:h.departure)==null?void 0:N.atd)||((x=(D=t.report)==null?void 0:D.departure)==null?void 0:x.etd))),1)])])]),e.createElementVNode("div",tH,[e.createElementVNode("div",oH,[lH,e.createElementVNode("div",null,e.toDisplayString((k=(C=t.report)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",aH,[nH,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=(T=t.report)==null?void 0:T.arrival)==null?void 0:F.name),1),e.createTextVNode(" , "),e.createElementVNode("span",sH,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.arrival)==null?void 0:w.ata)||((O=(f=t.report)==null?void 0:f.arrival)==null?void 0:O.eta))),1)])])]),e.createElementVNode("div",cH,[e.createElementVNode("div",iH,[dH,e.createElementVNode("div",null,e.toDisplayString((G=(I=t.report)==null?void 0:I.voyage)==null?void 0:G.number),1)]),e.createElementVNode("div",rH,[mH,e.createElementVNode("div",null,e.toDisplayString((z=(R=t.report)==null?void 0:R.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",_H,[e.createElementVNode("div",EH,[yH,e.createElementVNode("div",NH,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",VH,[fH,e.createElementVNode("span",bH,e.toDisplayString((L=t.report)==null?void 0:L.totalTime),1),gH])):((H=t.report)==null?void 0:H.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",xH,[kH,e.createElementVNode("span",DH,e.toDisplayString((W=t.report)==null?void 0:W.totalTime),1),CH])):(e.openBlock(),e.createElementBlock("div",SH,"N/A"))])]),e.createElementVNode("div",BH,[wH,e.createElementVNode("div",AH,[((P=t.report)==null?void 0:P.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",TH,[FH,e.createElementVNode("span",OH,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),PH])):((Q=t.report)==null?void 0:Q.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",LH,[WH,e.createElementVNode("span",$H,e.toDisplayString((U=t.report)==null?void 0:U.totalFoCons),1),HH])):(e.openBlock(),e.createElementBlock("div",MH,"N/A"))])]),e.createElementVNode("div",IH,[GH,e.createElementVNode("div",RH,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",zH,[UH,e.createElementVNode("span",YH,e.toDisplayString((ne=t.report)==null?void 0:ne.totalDgoCons),1),ZH])):((se=t.report)==null?void 0:se.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",QH,[JH,e.createElementVNode("span",KH,e.toDisplayString((l=t.report)==null?void 0:l.totalDgoCons),1),jH])):(e.openBlock(),e.createElementBlock("div",uH,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(a.remarks)?"print-hidden":""])},[XH,e.createElementVNode("div",qH,[a.editable?(e.openBlock(),e.createElementBlock("div",vH,[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=re=>a.remarks=re),class:"editor",height:"80px",onBlur:s[1]||(s[1]=re=>n.handleCommit(re))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=re=>a.editable=!0)},[n.computeBlankHtml(a.remarks)?(e.openBlock(),e.createElementBlock("div",tM,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:a.remarks},null,8,eM))],32))])],2),e.createElementVNode("div",oM,[lM,e.createElementVNode("table",null,[aM,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[nM,sM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((u=t.report)==null?void 0:u.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((v=t.report)==null?void 0:v.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ee=t.report)==null?void 0:ee.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((te=t.report)==null?void 0:te.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=t.report)==null?void 0:oe.stopDgoBrob)??"-")),1),e.createElementVNode("td",cM,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.totalTime)??"-")),1),e.createElementVNode("td",iM,e.toDisplayString(n.computeRoundPrecision(((ce=t.report)==null?void 0:ce.totalFoCons)??"-")),1),e.createElementVNode("td",dM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[rM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((de=t.report)==null?void 0:de.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((_e=t.report)==null?void 0:_e.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((X=t.report)==null?void 0:X.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((me=t.report)==null?void 0:me.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=t.report)==null?void 0:Ee.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",mM,[pM,e.createElementVNode("img",{src:(ye=t.report)==null?void 0:ye.chartUrl,alt:""},null,8,hM)])])])}const pn=Se(Z$,[["render",_M],["__scopeId","data-v-e829fef7"]]),EM={install(o){o.component("StoppageReport",pn)}},VZ="",yM={name:"OrmComparison",components:{Editor:Jo,IdmBrand:Qo},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${K(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var o,s;(o=this.report)!=null&&o.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(o,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:o,value:s})}}},fe=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),NM={class:"comparison-report"},VM={class:"report-summary"},fM={class:"summary-item"},bM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),gM={class:"flexL gray"},xM={class:"summary-item"},kM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DM={class:"flexL gray"},CM={class:"summary-item"},SM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),BM={class:"flexL gray"},wM={class:"summary-item"},AM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),TM={class:"flexL gray"},FM={class:"summary-item"},OM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),PM={class:"flexL gray"},LM={class:"summary-item"},WM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),$M={class:"flexL gray",style:{display:"flex"}},HM={class:"flex"},MM={class:"flexM"},IM={class:"summary-item"},GM=fe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),RM={class:"flexL gray",style:{display:"flex"}},zM={class:"flex"},UM={class:"flexM"},YM=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),ZM={class:"report-summary"},QM={class:"summary-item"},JM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),KM={class:"summary-item"},jM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),uM={class:"summary-item"},XM=fe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),qM=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),vM={class:"report-map"},eI=["src"],tI=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),oI={key:0,class:"subtitle"},lI={key:1,class:"report-summary"},aI={class:"summary-item"},nI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),sI={class:"flexL blue center"},cI={class:"summary-item"},iI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),dI={class:"flexL blue center"},rI={class:"summary-item"},mI=fe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),pI={class:"flexL blue center"},hI=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),_I={class:"report-summary"},EI=fe(()=>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)),yI={class:"summary-item"},NI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),VI={class:"flex blue-light center"},fI={class:"flex blue-light center"},bI={class:"summary-item"},gI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),xI={class:"flex blue-light center"},kI={class:"flex blue-light center"},DI={class:"summary-item"},CI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),SI={class:"flex blue-light center"},BI={class:"flex blue-light center"},wI={class:"summary-item"},AI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),TI={class:"flex blue-light center"},FI={class:"flex blue-light center"},OI={class:"summary-item"},PI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),LI={class:"flex blue-light center"},WI={class:"flex blue-light center"},$I={class:"summary-item"},HI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),MI={class:"flex blue-light center"},II={class:"flex blue-light center"},GI={class:"summary-item"},RI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),zI={class:"flex blue-light center italic"},UI=fe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),YI={class:"report-summary"},ZI=fe(()=>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)),QI={class:"summary-item"},JI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),KI={class:"flex blue-light center"},jI={class:"flex blue-light center"},uI={class:"summary-item"},XI=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),qI={class:"flex blue-light center"},vI={class:"flex blue-light center"},eG={class:"summary-item"},tG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),oG={class:"flex blue-light center"},lG={class:"flex blue-light center"},aG={class:"summary-item"},nG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),sG={class:"flex blue-light center"},cG={class:"flex blue-light center"},iG={class:"summary-item"},dG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),rG={class:"flex blue-light center italic"},mG={class:"summary-item"},pG=fe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),hG={class:"flex blue-light center italic"},_G=["innerHTML"];function EG(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",VM,[e.createElementVNode("div",fM,[bM,e.createElementVNode("div",gM,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",xM,[kM,e.createElementVNode("div",DM,e.toDisplayString((g=t.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",CM,[SM,e.createElementVNode("div",BM,e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",wM,[AM,e.createElementVNode("div",TM,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",FM,[OM,e.createElementVNode("div",PM,e.toDisplayString((k=(C=t.report)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",LM,[WM,e.createElementVNode("div",$M,[e.createElementVNode("span",HM,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",MM,e.toDisplayString(n.computeUTCTime(((w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=t.report)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",IM,[GM,e.createElementVNode("div",RM,[e.createElementVNode("span",zM,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",UM,e.toDisplayString(n.computeUTCTime(((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),YM,e.createElementVNode("div",ZM,[e.createElementVNode("div",QM,[JM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=t.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=t.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=t.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=t.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",uM,[XM,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=t.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=t.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),qM,e.createElementVNode("div",vM,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,eI),tI]),(ne=t.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oI,"CP Terms")),(se=t.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lI,[e.createElementVNode("div",aI,[nI,e.createElementVNode("div",sI,e.toDisplayString(((u=(l=t.report)==null?void 0:l.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",cI,[iI,e.createElementVNode("div",dI,e.toDisplayString(((ee=(v=t.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",rI,[mI,e.createElementVNode("div",pI,e.toDisplayString(((oe=(te=t.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),hI,e.createElementVNode("div",_I,[EI,e.createElementVNode("div",yI,[NI,e.createElementVNode("div",VI,e.toDisplayString(((le=t.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",fI,e.toDisplayString(((ce=t.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",bI,[gI,e.createElementVNode("div",xI,e.toDisplayString(((ie=t.report)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",kI,e.toDisplayString(((de=t.report)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",DI,[CI,e.createElementVNode("div",SI,e.toDisplayString(((_e=t.report)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",BI,e.toDisplayString(((X=t.report)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",wI,[AI,e.createElementVNode("div",TI,e.toDisplayString(((me=t.report)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",FI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",OI,[PI,e.createElementVNode("div",LI,e.toDisplayString(((ye=t.report)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",WI,e.toDisplayString(((re=t.report)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",$I,[HI,e.createElementVNode("div",MI,e.toDisplayString(((be=t.report)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",II,e.toDisplayString(((ge=t.report)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",GI,[RI,e.createElementVNode("div",zI,e.toDisplayString(n.compareTime((xe=t.report)==null?void 0:xe.actualTime,(ke=t.report)==null?void 0:ke.recmdTime)),1)])]),UI,e.createElementVNode("div",YI,[ZI,e.createElementVNode("div",QI,[JI,e.createElementVNode("div",KI,e.toDisplayString(((De=t.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",jI,e.toDisplayString(((Ce=t.report)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",uI,[XI,e.createElementVNode("div",qI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",vI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",eG,[tG,e.createElementVNode("div",oG,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",lG,e.toDisplayString(((Le=t.report)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString(((We=t.report)==null?void 0:We.actualDgoCons)??"-"),1),e.createElementVNode("div",cG,e.toDisplayString((($e=t.report)==null?void 0:$e.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",iG,[dG,e.createElementVNode("div",rG,e.toDisplayString(((He=t.report)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,e.toDisplayString(((Me=t.report)==null?void 0:Me.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(c,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Ne=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,_G))],2)])}const hn=Se(yM,[["render",EG],["__scopeId","data-v-99108259"]]),fZ="",yG={name:"ComparisonFli",components:{Editor:Jo},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{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ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t9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm"){return o?`${K(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?ae.LngLatHelper.roundPrecision(o-s):"-"}},computeSummary(){return function(o,s){if(o===0)return"No difference";let t="";return o>0?s==="time"?t=`Lost ${o}hrs`:t=`Over consumption ${o}mt`:s==="time"?t=`Saving ${Math.abs(o)}hrs`:t=`Under consumption ${Math.abs(o)}mt`,t}}},watch:{data:{handler(o){o&&this.fetchData()},immediate:!0}},methods:{fetchData(){var o,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(o=this.data)!=null&&o.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(o,s){this.editable=!1;const t={[o]:s};await Fa.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},he=o=>(e.pushScopeId("data-v-f7bdbf19"),o=o(),e.popScopeId(),o),NG={class:"comparison-report"},VG=he(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),fG={class:"report-header"},bG={class:"header-title",style:{position:"relative !important"}},gG={class:"header-title-content"},xG=he(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),kG={class:"title-date"},DG={class:"report-summary"},CG={class:"summary-item"},SG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),BG={class:"flexL gray"},wG={class:"summary-item"},AG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),TG={class:"flexL gray"},FG={class:"summary-item"},OG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),PG={class:"flexL gray"},LG={class:"summary-item"},WG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),$G={class:"flexL gray"},HG={class:"summary-item"},MG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IG={class:"flexL gray"},GG={class:"summary-item"},RG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),zG={class:"flexL gray",style:{display:"flex"}},UG={class:"flex"},YG={class:"flexM"},ZG={class:"summary-item"},QG=he(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JG={class:"flexL gray",style:{display:"flex"}},KG={class:"flex"},jG={class:"flexM"},uG=he(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),XG={class:"report-summary"},qG={class:"summary-item"},vG=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),eR={class:"summary-item"},tR=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),oR={class:"summary-item"},lR=he(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),aR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),nR={class:"report-map"},sR=["src"],cR=e.createStaticVNode('<div class="legend" data-v-f7bdbf19><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Actual Route</div></div><div class="legend-item" data-v-f7bdbf19><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-f7bdbf19></div><div data-v-f7bdbf19>Ocean π Recommended Route</div></div></div>',1),iR=he(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),dR={key:0,class:"subtitle"},rR={key:1,class:"report-summary"},mR={class:"summary-item"},pR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),hR={class:"flexL blue center"},_R={class:"summary-item"},ER=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),yR={class:"flexL blue center"},NR={class:"summary-item"},VR=he(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),fR={class:"flexL blue center"},bR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),gR={class:"report-summary"},xR=he(()=>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"},DR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),CR={class:"flex blue-light center"},SR={class:"flex blue-light center"},BR={class:"summary-item"},wR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),AR={class:"flex blue-light center"},TR={class:"flex blue-light center"},FR={class:"summary-item"},OR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),PR={class:"flex blue-light center"},LR={class:"flex blue-light center"},WR={class:"summary-item"},$R=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),HR={class:"flex blue-light center"},MR={class:"flex blue-light center"},IR={class:"summary-item"},GR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),RR={class:"flex blue-light center"},zR={class:"flex blue-light center"},UR={class:"summary-item"},YR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),ZR={class:"flex blue-light center"},QR={class:"flex blue-light center"},JR={class:"summary-item"},KR=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),jR={class:"flex blue-light center italic"},uR=he(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),XR={class:"report-summary"},qR=he(()=>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)),vR={class:"summary-item"},ez=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),tz={class:"flex blue-light center"},oz={class:"flex blue-light center"},lz={class:"summary-item"},az=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),nz={class:"flex blue-light center"},sz={class:"flex blue-light center"},cz={class:"summary-item"},iz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),dz={class:"flex blue-light center"},rz={class:"flex blue-light center"},mz={class:"summary-item"},pz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),hz={class:"flex blue-light center"},_z={class:"flex blue-light center"},Ez={class:"summary-item"},yz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Nz={class:"flex blue-light center italic"},Vz={class:"summary-item"},fz=he(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),bz={class:"flex blue-light center italic"},gz=["innerHTML"];function xz(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce,Fe,Oe,Pe,Le,We,$e,He,Me;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NG,[VG,e.createElementVNode("div",fG,[e.createElementVNode("div",bG,[e.createElementVNode("div",gG,[xG,e.createElementVNode("div",kG,e.toDisplayString(n.computeUTCTime(((c=a.comparisonData)==null?void 0:c.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",DG,[e.createElementVNode("div",CG,[SG,e.createElementVNode("div",BG,e.toDisplayString((b=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",wG,[AG,e.createElementVNode("div",TG,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",FG,[OG,e.createElementVNode("div",PG,e.toDisplayString((N=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",LG,[WG,e.createElementVNode("div",$G,e.toDisplayString((x=(D=a.comparisonData)==null?void 0:D.voyage)==null?void 0:x.loadCondition),1)]),e.createElementVNode("div",HG,[MG,e.createElementVNode("div",IG,e.toDisplayString((k=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",GG,[RG,e.createElementVNode("div",zG,[e.createElementVNode("span",UG,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",YG,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(f=a.comparisonData)==null?void 0:f.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",ZG,[QG,e.createElementVNode("div",JG,[e.createElementVNode("span",KG,e.toDisplayString((G=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:G.name),1),e.createElementVNode("span",jG,e.toDisplayString(n.computeUTCTime(((z=(R=a.comparisonData)==null?void 0:R.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),uG,e.createElementVNode("div",XG,[e.createElementVNode("div",qG,[vG,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",eR,[tR,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",oR,[lR,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)])]),aR,e.createElementVNode("div",nR,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,sR),cR]),iR,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dR,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rR,[e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,e.toDisplayString(((u=(l=a.comparisonData)==null?void 0:l.cp)==null?void 0:u.speed)??"—"),1)]),e.createElementVNode("div",_R,[ER,e.createElementVNode("div",yR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),bR,e.createElementVNode("div",gR,[xR,e.createElementVNode("div",kR,[DR,e.createElementVNode("div",CR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",SR,e.toDisplayString(((ce=a.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",BR,[wR,e.createElementVNode("div",AR,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.actualTime)??"—"),1),e.createElementVNode("div",TR,e.toDisplayString(((de=a.comparisonData)==null?void 0:de.recmdTime)??"—"),1)]),e.createElementVNode("div",FR,[OR,e.createElementVNode("div",PR,e.toDisplayString(((_e=a.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",LR,e.toDisplayString(((X=a.comparisonData)==null?void 0:X.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",WR,[$R,e.createElementVNode("div",HR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.actualAvgCF)??"—"),1),e.createElementVNode("div",MR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",IR,[GR,e.createElementVNode("div",RR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",zR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",UR,[YR,e.createElementVNode("div",ZR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",QR,e.toDisplayString(((ge=a.comparisonData)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",JR,[KR,e.createElementVNode("div",jR,e.toDisplayString(n.compareTime((xe=a.comparisonData)==null?void 0:xe.actualTime,(ke=a.comparisonData)==null?void 0:ke.recmdTime)),1)])]),uR,e.createElementVNode("div",XR,[qR,e.createElementVNode("div",vR,[ez,e.createElementVNode("div",tz,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",oz,e.toDisplayString(((Ce=a.comparisonData)==null?void 0:Ce.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",lz,[az,e.createElementVNode("div",nz,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",sz,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",cz,[iz,e.createElementVNode("div",dz,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",rz,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",mz,[pz,e.createElementVNode("div",hz,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.actualDgoCons)??"-"),1),e.createElementVNode("div",_z,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Ez,[yz,e.createElementVNode("div",Nz,e.toDisplayString(((He=a.comparisonData)==null?void 0:He.diffFoCons)??"-"),1)]),e.createElementVNode("div",Vz,[fz,e.createElementVNode("div",bz,e.toDisplayString(((Me=a.comparisonData)==null?void 0:Me.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(E,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=Ne=>a.advisory=Ne),height:"320px",onBlur:s[1]||(s[1]=Ne=>n.handleCommit("comments",Ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Ne)=>n.decideDisable&&n.decideDisable(...Ne)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,gz))],2)])}const _n=Se(yG,[["render",xz],["__scopeId","data-v-f7bdbf19"]]),kz={install(o){o.component("OrmComparisonReport",hn),o.component("FliComparisonReport",_n)}},bZ="",Dz={name:"IdmThird",props:{name:{type:String,default:""}}},Cz={class:"section brand-section flex-space"},Sz=e.createStaticVNode('<div class="logo-box flex-center" data-v-793a5781><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-793a5781><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-793a5781><div class="brand" data-v-793a5781><span data-v-793a5781>Weather Routing</span><div class="company" data-v-793a5781>Ocean Right Marine Service</div></div></a></div>',1),Bz={class:"report-box flex-space"},wz={class:"name flex-start"},Az=e.createStaticVNode('<div class="support flex-end" data-v-793a5781><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-793a5781><div style="margin-left:10px;" data-v-793a5781><div class="name flex-space" data-v-793a5781><label data-v-793a5781>IDM Service Team</label></div><div class="desc flex-center" data-v-793a5781>Technical Support & Consulting Center</div></div></div>',1);function Tz(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",Cz,[Sz,e.createElementVNode("div",Bz,[e.createElementVNode("div",wz,e.toDisplayString(t.name),1),Az])])}const En=Se(Dz,[["render",Tz],["__scopeId","data-v-793a5781"]]),Fz={install(o){o.component("IdmBrand",Qo),o.component("IdmThird",En)}},gZ="",xZ="",Oz={name:"QuotaReport",components:{Brand:Qo},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",geojson1:{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],[191,90]]}},{type:"Feature",properties:{rank:12,name:"North America West 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],[-135,64],[-173,64],[-219,34],[-219,5],[-79.7,5],[-79.7,9]]}}]},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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}})}}},yn=o=>(e.pushScopeId("data-v-52980307"),o=o(),e.popScopeId(),o),Pz={class:"quota-report"},Lz=yn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Wz={class:"section quota-section"},$z=yn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Hz={class:"label"},Mz={class:"label"},Iz=["innerHTML"],Gz=e.createStaticVNode('<div class="legend-block flex-space" data-v-52980307><div class="legend" data-v-52980307><label data-v-52980307>DIR</label><span data-v-52980307>DIRECT</span></div><div class="legend" data-v-52980307><label data-v-52980307>PMP</label><span data-v-52980307>via PANAMA CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>SUE</label><span data-v-52980307>via SUEZ CHANNEL</span></div><div class="legend" data-v-52980307><label data-v-52980307>CGH</label><span data-v-52980307>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-52980307><label data-v-52980307>CHC</label><span data-v-52980307>Passing CAPE HORN</span></div><div class="legend" data-v-52980307><label data-v-52980307>SCG</label><span data-v-52980307>Passing SINGAPORE</span></div></div>',1);function Rz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Pz,[e.createVNode(E,{name:"Quotation Sheet"}),Lz,e.createElementVNode("div",Wz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$z,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Hz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Mz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,Iz))),128))]))),128))])]),Gz])])}const Nn=Se(Oz,[["render",Rz],["__scopeId","data-v-52980307"]]),kZ="",zz={name:"QuotaReport",components:{Brand:Qo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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}})}}},Vn=o=>(e.pushScopeId("data-v-a4cee967"),o=o(),e.popScopeId(),o),Uz={class:"quota-report"},Yz=Vn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Zz={class:"section quota-section"},Qz=Vn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Jz={class:"label"},Kz={class:"label"},jz=["innerHTML"],uz=e.createStaticVNode('<div class="legend-block flex-space" data-v-a4cee967><div class="legend" data-v-a4cee967><label data-v-a4cee967>DIR</label><span data-v-a4cee967>DIRECT</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>PMP</label><span data-v-a4cee967>via PANAMA CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SUE</label><span data-v-a4cee967>via SUEZ CHANNEL</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CGH</label><span data-v-a4cee967>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>CHC</label><span data-v-a4cee967>Passing CAPE HORN</span></div><div class="legend" data-v-a4cee967><label data-v-a4cee967>SCG</label><span data-v-a4cee967>Passing SINGAPORE</span></div></div>',1);function Xz(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Uz,[e.createVNode(E,{name:"Quotation Sheet"}),Yz,e.createElementVNode("div",Zz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Qz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Jz,e.toDisplayString(c.rank),1),e.createElementVNode("td",Kz,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,jz))),128))]))),128))])]),uz])])}const fn=Se(zz,[["render",Xz],["__scopeId","data-v-a4cee967"]]),DZ="",qz={name:"QuotaReport",components:{Brand:Qo},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],[95,-11],[95,23.9]]}},{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:[[95,-11],[95,-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=o=>(e.pushScopeId("data-v-99a52de4"),o=o(),e.popScopeId(),o),vz={class:"quota-report"},eU=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),tU={class:"section quota-section"},oU=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),lU={class:"label"},aU={class:"label"},nU=["innerHTML"],sU=e.createStaticVNode('<div class="legend-block flex-space" data-v-99a52de4><div class="legend" data-v-99a52de4><label data-v-99a52de4>DIR</label><span data-v-99a52de4>DIRECT</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>PMP</label><span data-v-99a52de4>via PANAMA CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SUE</label><span data-v-99a52de4>via SUEZ CHANNEL</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CGH</label><span data-v-99a52de4>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>CHC</label><span data-v-99a52de4>Passing CAPE HORN</span></div><div class="legend" data-v-99a52de4><label data-v-99a52de4>SCG</label><span data-v-99a52de4>Passing SINGAPORE</span></div></div>',1);function cU(o,s,t,r,a,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",vz,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),eU,e.createElementVNode("div",tU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[oU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,class:"label"},e.toDisplayString(c.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,c=>(e.openBlock(),e.createElementBlock("td",{key:c.rank,style:e.normalizeStyle({width:c.width}),class:"label"},e.toDisplayString(c.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(c,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",lU,e.toDisplayString(c.rank),1),e.createElementVNode("td",aU,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:a.quota[p][b-1]||""},null,8,nU))),128))]))),128))])]),sU])])}const gn=Se(qz,[["render",cU],["__scopeId","data-v-99a52de4"]]),iU={install(o){o.component("OrmQuoteReport",Nn),o.component("OrmQuoteReport4SEOA",fn),o.component("OrmQuoteReport4TongLi",gn)}},CZ="",dU={name:"PrecipitationReport",components:{IdmBrand:Qo,IdmLoading:La},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}},computed:{computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${K(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return ae.LngLatHelper.prettyTimeZoneOffset(o)}},roundPrecision(){return function(o,s=4){if(typeof o=="number"){const t=Number("1".padEnd(s+1,"0"));return Math.round(o*t)/t}else return"-"}},computeDegree(){return function(o,s){o=o%360;for(let t=0;t<17;t++)if(t*22.5+o+11.25>=360){let r=(16-t)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var a,n,E,c,p,b,g;const s=ae.LngLatHelper.guessTimeZoneOffset(o.lng,o.lat);o.localTZ=s;const t={};for(let h=0;h<((a=o==null?void 0:o.extend)==null?void 0:a.length);h++){const N=o==null?void 0:o.extend[h];if(h===0)N.precip.pacc=0;else{const D=K(N.utc).utcOffset(s),x=(n=N.precip)==null?void 0:n.acc;if(N.precip.pacc=x,x>0){const C=t[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+x,1),C[`${k}`]?C[`${k}`]+=x:(C[`${k}`]=x,C.colspan+=1)):(t[D.format("MMM-DD")]={pacc:x,colspan:1},t[D.format("MMM-DD")][`${k}`]=x)}}}o.paccInDays=t;let r=0;for(const h of Object.keys(t))r+=(E=t[h])==null?void 0:E.colspan,t[h].level=((c=t[h])==null?void 0:c.pacc)<10?"Light":((p=t[h])==null?void 0:p.pacc)<24.9?"Moderate":((b=t[h])==null?void 0:b.pacc)<49.9?"Heavy":((g=t[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=r,o}}},watch:{report:{handler(){var o,s,t;if((o=this.report)!=null&&o.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(t=this.report)==null?void 0:t.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()})}}},methods:{initEchart(){var o,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Pa.init(this.$refs.echart)));const t=[],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=(o=this.form)==null?void 0:o.extend)==null||s.forEach(c=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O;const p=K(c.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(g=c.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(D=(N=c.wave)==null?void 0:N.sig)==null?void 0:D.height:n,r.push([p,(x=c.wind)==null?void 0:x.kts,(C=c.gusts)==null?void 0:C.kts,(T=(k=c.wave)==null?void 0:k.sig)==null?void 0:T.height,(F=c.wind)==null?void 0:F.direction,(B=c.wind)==null?void 0:B.degree,(w=c.wind)==null?void 0:w.scale,(f=c.current)==null?void 0:f.kts,(O=c.precip)==null?void 0:O.pacc,this.roundPrecision(c.visibility/1852,0),c.temp])});const E={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data: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: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(E)}},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 o;this.geojson={type:"FeatureCollection",features:[]};for(const s of(o=this.report)==null?void 0:o.rows){const t={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(t)}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(o){var s;(s=this.map)==null||s.flyTo({center:[o.lng,o.lat],zoom:8})}}},it=o=>(e.pushScopeId("data-v-164362dd"),o=o(),e.popScopeId(),o),rU={class:"precipitation-report"},mU={class:"section area-section"},pU={class:"area-block"},hU={class:"area-header flex-space"},_U={class:"flex-start"},EU=["onClick"],yU={class:"flex-end"},NU={class:"area-body"},VU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),fU={class:"flex-evenly"},bU={key:0},gU=["colspan"],xU=["colspan"],kU={style:{"font-size":"10px"}},DU={key:0},CU={key:1},SU={key:2},BU={key:3},wU={key:0},AU={key:1,style:{"font-size":"14px"}},TU=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),FU={class:"section echart-section"},OU={ref:"echart",class:"echart"},PU={class:"section sample-section"},LU=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),WU=["colspan"],$U=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),HU=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),MU=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),IU=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),GU=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),RU=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zU={key:0},UU={key:1},YU=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ZU=it(()=>e.createElementVNode("th",null,"Dir",-1)),QU=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),JU=it(()=>e.createElementVNode("th",null,"BF",-1)),KU=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),jU=it(()=>e.createElementVNode("th",null,"Dir",-1)),uU=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),XU=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qU=it(()=>e.createElementVNode("th",null,"Dir",-1)),vU=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),eY=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),tY=it(()=>e.createElementVNode("th",null,"°C",-1)),oY={width:"120px"},lY={key:0},aY={key:1},nY={key:0,class:"degree-box"},sY={key:1},cY={key:0,class:"degree-box"},iY={key:1},dY={key:0,class:"degree-box"},rY={key:1},mY={class:"section area-section"},pY={class:"area-block"},hY={class:"area-header flex-end"},_Y={class:"flex-end"},EY={class:"area-body"},yY=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-164362dd> 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-164362dd><div style="background:rgba(243, 245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Moderate (<24.9mm)</div><div style="background:rgb(7, 148, 255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-164362dd>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-164362dd>Heavy Rainstorm (>100mm)</div></div>',2),NY=["colspan"],VY=["colspan"],fY={style:{"font-size":"10px"}},bY={key:0},gY={key:1},xY={key:2},kY={key:3},DY={key:1,style:{"font-size":"14px"}},CY={key:0};function SY(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z;const E=e.resolveComponent("IdmBrand"),c=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",rU,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",mU,[e.createElementVNode("div",pU,[e.createElementVNode("div",hU,[e.createElementVNode("div",_U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.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;a.index=L,a.form=(W=t.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,EU))),128))]),e.createElementVNode("div",yU,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",fU,[a.form?(e.openBlock(),e.createElementBlock("table",bU,[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((b=a.form)==null?void 0:b.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((N=a.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((x=(D=a.form)==null?void 0:D.extend)==null?void 0:x[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(k=a.form)==null?void 0:k.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,gU)]),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,xU)}),128))]),e.createElementVNode("tr",kU,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((f=a.form)==null?void 0:f.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",DU,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",CU,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",SU,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",BU,"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((G=a.form)==null?void 0:G.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",wU,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",AU,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),TU,e.createElementVNode("div",FU,[e.createElementVNode("div",OU,null,512)]),e.createElementVNode("div",PU,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[LU,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,WU),$U,HU,MU,IU,GU,RU]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",zU,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",UU,"Acc (mm)")):e.createCommentVNode("",!0),YU,ZU,QU,JU,KU,jU,uU,XU,qU,vU,eY,tY])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=a.form)==null?void 0:R.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,l,u,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,be,ge,xe,ke,De,Ce;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",oY,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",lY,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",aY,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",nY,[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",sY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((u=(l=_.wave)==null?void 0:l.wd)==null?void 0:u.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",cY,[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((ce=(le=_.wave)==null?void 0:le.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",iY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((de=(ie=_.wave)==null?void 0:ie.swell)==null?void 0:de.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(_e=_.wave)==null?void 0:_e.swell)==null?void 0:X.period,1)),1),e.createElementVNode("td",null,[(Ee=(me=_.wave)==null?void 0:me.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",dY,[e.createTextVNode(e.toDisplayString((re=(ye=_.wave)==null?void 0:ye.sig)==null?void 0:re.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ge=(be=_.wave)==null?void 0:be.sig)==null?void 0:ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rY,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(xe=_.wave)==null?void 0:xe.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ce=(De=_.wave)==null?void 0:De.sig)==null?void 0:Ce.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",mY,[e.createElementVNode("div",pY,[e.createElementVNode("div",hY,[e.createElementVNode("div",_Y,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",EY,[yY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=t.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,NY)]),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,VY)}),128))]),e.createElementVNode("tr",fY,[(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",bY,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",gY,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",xY,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",kY,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",DY,"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",CY,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 xn=Se(dU,[["render",SY],["__scopeId","data-v-164362dd"]]),BY={install(o){o.component("PrecipitationReport",xn)}},wY={install(o){o.component("IdmLoading",La)}};Y.BrandPlugin=Fz,Y.ComparisonPlugin=kz,Y.DeviationPlugin=Y$,Y.DeviationReport=rn,Y.FliComparisonReport=_n,Y.FliDeviationReport=mn,Y.FliInvoiceReport=cn,Y.FliPlanReport=tn,Y.FliVoyageReport=ln,Y.HurricanePlugin=EB,Y.IdmBrand=Qo,Y.IdmEditor=Jo,Y.IdmEditorPlugin=ch,Y.IdmLat=$a,Y.IdmLatPlugin=ih,Y.IdmLng=Wa,Y.IdmLngPlugin=dh,Y.IdmLoading=La,Y.IdmThird=En,Y.InvoicePlugin=v9,Y.LoadingPlugin=wY,Y.ORMPointReport=en,Y.OrmComparisonReport=hn,Y.OrmInvoiceReport=sn,Y.OrmPlanReport=ja,Y.OrmQuoteReport=Nn,Y.OrmQuoteReport4SEOA=fn,Y.OrmQuoteReport4TongLi=gn,Y.OrmVoyageReport=an,Y.PiLogo=on,Y.PiLogoPlugin=yh,Y.PointReportPlugin=ed,Y.PrecipitationReport=xn,Y.PrecipitationReportPlugin=BY,Y.QuoteReportPlugin=iU,Y.RouteReport=ja,Y.RouteReportPlugin=sh,Y.StoppageReport=pn,Y.StoppageReportPlugin=EM,Y.TropicalReport=nn,Y.VoyageReportPlugin=mB,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|