(function(U,he){typeof exports=="object"&&typeof module<"u"?he(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"],he):(U=typeof globalThis<"u"?globalThis:U||self,he(U["idmui-report"]={},U["@idm-plugin/geo"],U.moment,U.Vue,U.echarts,U["@wangeditor/editor-for-vue"],U["element-plus"],U["@idmui/tropical"],U["@element-plus/icons-vue"],U.axios,U["mapbox-gl"]))})(this,function(U,he,u,e,Id,od,vs,Gd,ql,Jl,Hl){"use strict";function Rd(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,i.get?i:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const ul=Rd(Id),ZK="",We=(o,s)=>{const t=o.__vccOpts||o;for(const[i,l]of s)t[i]=l;return t},Zd={name:"IdmBrand",props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${(o?u(o):u()).utc().format(s)}`}}}},ad=o=>(e.pushScopeId("data-v-7679e32b"),o=o(),e.popScopeId(),o),zd={class:"section brand-section flex-space"},Ud=e.createStaticVNode('
',1),Yd={class:"report-box flex-space"},jd={class:"name flex-start"},Jd={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Kd={class:"flex-start",style:{width:"100%"}},Xd={class:"label-block flex-evenly",style:{flex:"1"}},qd=ad(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ud={class:"flex-end",style:{flex:"2"}},vd=ad(()=>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 ec(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("div",zd,[Ud,e.createElementVNode("div",Yd,[e.createElementVNode("div",jd,e.toDisplayString(t.name),1),e.createElementVNode("div",Jd,[e.createElementVNode("div",Kd,[e.createElementVNode("div",Xd,[qd,e.createElementVNode("span",ud,e.toDisplayString(n.computeUTCTime(t.issued,"MMM-DD, YYYY")),1)])]),vd])])])}const aa=We(Zd,[["render",ec],["__scopeId","data-v-7679e32b"]]),tc={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}}},oc={key:0,class:"loading"},ac=e.createElementVNode("i",{class:"iconfont"},"",-1);function lc(o,s,t,i,l,n){return t.loading?(e.openBlock(),e.createElementBlock("div",oc,[ac,e.createElementVNode("div",null,e.toDisplayString(t.text),1)])):e.createCommentVNode("",!0)}const vl=We(tc,[["render",lc]]),zK="",nc={name:"ORMPointReport",components:{IdmLoading:vl,IdmBrand:aa},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 he.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return he.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${u(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return he.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 i=(16-t)*22.5;return s||(i=i+180),`transform:rotate(${i}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var i,l,n,E,d,p,T,Q,h,y;const s={};for(let x=0;x<((l=(i=o==null?void 0:o.extend)==null?void 0:i.data)==null?void 0:l.length);x++){const g=(n=o==null?void 0:o.extend)==null?void 0:n.data[x];if(x===0)g.precip.pacc=0;else{const k=(E=o==null?void 0:o.extend)==null?void 0:E.data[x-1],b=u(g.utc).utcOffset(this.localTZ),w=u(k.utc).utcOffset(this.localTZ),A=(d=k==null?void 0:k.precip)==null?void 0:d.prate,C=b.diff(w,"h"),S=this.roundPrecision(A*C,1);if(g.precip.pacc=S,S>0){const V=s[b.format("MMM-DD")],H=Math.floor(b.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+S,1),V[`${H}`]?V[`${H}`]+=S:(V[`${H}`]=S,V.colspan+=1)):(s[b.format("MMM-DD")]={pacc:S,colspan:1},s[b.format("MMM-DD")][`${H}`]=S)}}}o.paccInDays=s;let t=0;for(const x of Object.keys(s))t+=(p=s[x])==null?void 0:p.colspan,s[x].level=((T=s[x])==null?void 0:T.pacc)<10?"Light":((Q=s[x])==null?void 0:Q.pacc)<24.9?"Moderate":((h=s[x])==null?void 0:h.pacc)<49.9?"Heavy":((y=s[x])==null?void 0:y.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=t,o}}},watch:{report:{handler(){var o,s,t,i;(s=(o=this.report)==null?void 0:o.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=he.LngLatHelper.guessTimeZoneOffset((t=this.report)==null?void 0:t.lng,(i=this.report)==null?void 0:i.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{initEchart(){var n,E,d;this.echart||(this.echart=e.markRaw(ul.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 i=4;(d=(E=(n=this.report)==null?void 0:n.extend)==null?void 0:E.data)==null||d.forEach(p=>{var Q,h,y,x,g,k,b,w,A,C,S,V,H;const T=u(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");o.push(T),i=((h=(Q=p.wave)==null?void 0:Q.sig)==null?void 0:h.height)>i?(x=(y=p.wave)==null?void 0:y.sig)==null?void 0:x.height:i,s.push([T,(g=p.wind)==null?void 0:g.kts,(k=p.gusts)==null?void 0:k.kts,(w=(b=p.wave)==null?void 0:b.sig)==null?void 0:w.height,(A=p.wind)==null?void 0:A.direction,(C=p.wind)==null?void 0:C.degree,(S=p.wind)==null?void 0:S.scale,(V=p.current)==null?void 0:V.kts,(H=p.precip)==null?void 0:H.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data: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:i,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(l)}}},dt=o=>(e.pushScopeId("data-v-eb929a40"),o=o(),e.popScopeId(),o),sc={class:"point-report"},dc={class:"section info-section"},cc={class:"flex-evenly"},ic={class:"flex-space label-block",style:{width:"100%"}},rc=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),mc={class:"flex-space label-block",style:{width:"100%"}},pc=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),hc={class:"flex-evenly"},_c={class:"flex-space label-block",style:{width:"100%"}},Ec=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),yc={class:"flex-space label-block",style:{width:"100%"}},fc={class:"flex-end",style:{width:"180px"}},Vc={class:"section echart-section"},Nc={ref:"echart",class:"echart"},Tc={class:"section sample-section"},Qc=dt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),gc=dt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),bc=dt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xc=dt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),kc=dt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Dc=dt(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Cc=["colspan"],Sc=dt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bc=dt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),wc=dt(()=>e.createElementVNode("th",null,"Dir",-1)),Ac=dt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Hc=dt(()=>e.createElementVNode("th",null,"BF",-1)),Lc=dt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Oc=dt(()=>e.createElementVNode("th",null,"Dir",-1)),Fc=dt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Pc=dt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$c=dt(()=>e.createElementVNode("th",null,"Dir",-1)),Mc=dt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wc=dt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Ic=dt(()=>e.createElementVNode("th",null,"Dir",-1)),Gc=dt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Rc={key:0},Zc={key:1},zc=dt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Uc=dt(()=>e.createElementVNode("th",null,"°C",-1)),Yc={width:"120px"},jc={key:0,class:"degree-box"},Jc={key:1},Kc={key:0,class:"degree-box"},Xc={key:1},qc={key:0,class:"degree-box"},uc={key:1},vc={key:0,class:"degree-box"},ei={key:1},ti={key:0},oi={key:1};function ai(o,s,t,i,l,n){var p,T,Q,h;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",sc,[e.createVNode(E,{name:"Point Weather Forecast"}),e.createVNode(d,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",dc,[e.createElementVNode("div",cc,[e.createElementVNode("div",ic,[rc,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=t.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((T=t.report)==null?void 0:T.lng).pretty),1)]),e.createElementVNode("div",mc,[pc,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",hc,[e.createElementVNode("div",_c,[Ec,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(l.localTZ)),1)]),e.createElementVNode("div",yc,[e.createElementVNode("label",fc,"("+e.toDisplayString(n.computeTZ(l.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(t.report.updatedAt,l.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Vc,[e.createElementVNode("div",Nc,null,512)]),e.createElementVNode("div",Tc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Qc,gc,bc,xc,kc,Dc,e.createElementVNode("th",{colspan:t.showPrate&&t.showAcc?2:1},"Precip",8,Cc),Sc,Bc]),e.createElementVNode("tr",null,[wc,Ac,Hc,Lc,Oc,Fc,Pc,$c,Mc,Wc,Ic,Gc,t.showPrate?(e.openBlock(),e.createElementBlock("th",Rc,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",Zc,"Acc (mm)")):e.createCommentVNode("",!0),zc,Uc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(Q=t.report)==null?void 0:Q.extend)==null?void 0:h.data,(y,x)=>{var g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me;return e.openBlock(),e.createElementBlock("tr",{key:x},[e.createElementVNode("td",Yc,e.toDisplayString(n.computeLTime(y.utc,l.localTZ)),1),e.createElementVNode("td",null,[(g=y.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",jc,[e.createTextVNode(e.toDisplayString((k=y.wind)==null?void 0:k.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((b=y.wind)==null?void 0:b.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((w=y.wind)==null?void 0:w.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((A=y.wind)==null?void 0:A.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((C=y.gusts)==null?void 0:C.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((V=(S=y.wave)==null?void 0:S.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(W=(H=y.wave)==null?void 0:H.swell)!=null&&W.height?(e.openBlock(),e.createElementBlock("span",Kc,[e.createTextVNode(e.toDisplayString((G=(I=y.wave)==null?void 0:I.swell)==null?void 0:G.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(R=y.wave)==null?void 0:R.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(($=(O=y.wave)==null?void 0:O.swell)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((L=(F=y.wave)==null?void 0:F.swell)==null?void 0:L.period,1)),1),e.createElementVNode("td",null,[(j=(M=y.wave)==null?void 0:M.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",qc,[e.createTextVNode(e.toDisplayString((J=(z=y.wave)==null?void 0:z.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ce=(de=y.wave)==null?void 0:de.sig)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(a=y.wave)==null?void 0:a.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ae=(oe=y.wave)==null?void 0:oe.sig)==null?void 0:ae.period,1)),1),e.createElementVNode("td",null,[(le=y.current)!=null&&le.kts?(e.openBlock(),e.createElementBlock("span",vc,[e.createTextVNode(e.toDisplayString((ne=y.current)==null?void 0:ne.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=y.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",ei,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=y.current)==null?void 0:ie.kts,1)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",ti,e.toDisplayString(n.roundPrecision((re=y.precip)==null?void 0:re.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",oi,e.toDisplayString(n.roundPrecision((me=y.precip)==null?void 0:me.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(y.temp,1)),1)])}),128))])])])])}const ld=We(nc,[["render",ai],["__scopeId","data-v-eb929a40"]]),li={install(o){o.component("ORMPointReport",ld)}},UK="",ni={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=he.LngLatHelper.convertToStdLng(this.lng);this.pretty=he.LngLatHelper.lng2pretty(o).pretty}},immediate:!0}}},si={class:"lng-box"},di={key:0};function ci(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("div",si,[t.label?(e.openBlock(),e.createElementBlock("span",di,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.pretty),1)])}const Kl=We(ni,[["render",ci],["__scopeId","data-v-0d3c152f"]]),YK="",ii={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=he.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},ri={class:"lat-box"},mi={key:0};function pi(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("div",ri,[t.label?(e.openBlock(),e.createElementBlock("span",mi,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.pretty),1)])}const Xl=We(ii,[["render",pi],["__scopeId","data-v-3d953d12"]]),jK="",hi={name:"IdmEditor",components:{Editor:od.Editor,Toolbar:od.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()}}},_i={class:"editor-box"};function Ei(o,s,t,i,l,n){const E=e.resolveComponent("Toolbar"),d=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",_i,[e.withDirectives(e.createVNode(E,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!t.disabled]]),e.createVNode(d,{modelValue:l.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>l.valueHtml=p),"default-config":l.editorConfig,mode:l.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 la=We(hi,[["render",Ei],["__scopeId","data-v-a8e20d55"]]),JK="",yi={name:"OrmRouteReport",components:{Lng:Kl,Lat:Xl,Editor:la,Brand:aa,Loading:vl,ElTooltip:vs.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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s,t){let i=0;return t&&s&&(i=he.LngLatHelper.guessTimeZoneOffset(s,t)),`${u(o).utcOffset(i).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(o,s){var t,i,l,n,E;if(s===0)return"-";{const d=u((l=(i=(t=o==null?void 0:o.speeds)==null?void 0:t[s])==null?void 0:i.speed)==null?void 0:l.eta).diff(u((E=(n=o==null?void 0:o.speeds)==null?void 0:n[0])==null?void 0:E.speed.eta),"h",!0);return Math.round(d*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(i=>{t.push(i),i.suspend&&(o!=null&&o.useRouteParam)&&t.push({etd:i.etd,eta:i.etd,isResume:!0,memo:`Stoppage: ${i.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 i=(16-t)*22.5;return s||(i=i+180),`transform:rotate(${i}deg);margin-left:3px;`}}},computeDay(){return function(o,s=0){var n,E,d,p;const t=(p=(d=(E=(n=o==null?void 0:o.speeds)==null?void 0:n[s])==null?void 0:E.speed)==null?void 0:d.sample)==null?void 0:p.hours,i=t[0],l=t[t.length-1];return Math.round(u(l.eta).diff(u(i.eta),"day",!0)*10)/10}},computeSuspend(){return function(o){var t,i;let s=0;return(i=(t=o==null?void 0:o.sample)==null?void 0:t.wps)==null||i.forEach(l=>{s+=l.suspend||0}),s?Math.round(s*100)/100:"-"}}},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(ul.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,T,Q,h,y,x,g;const o=[],s=[],t={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},i={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((k,b)=>{i[k]=Math.PI/8*b});const n=18;let E=4;(x=(y=(h=(Q=(T=(p=this.plan)==null?void 0:p.speeds)==null?void 0:T[this.speedIndex])==null?void 0:Q.speed)==null?void 0:h.sample)==null?void 0:y.hours)==null||x.forEach(k=>{var w,A,C,S,V,H,W,I,G,R;const b=k.meteo;if(b){const _=u(b.utc).utc().format("MMM-DD/HHmm[Z]");o.push(_),E=Math.ceil(((A=(w=b.wave)==null?void 0:w.sig)==null?void 0:A.height)>E?(S=(C=b.wave)==null?void 0:C.sig)==null?void 0:S.height:E),s.push([_,(V=b.wind)==null?void 0:V.kts,(W=(H=b.wave)==null?void 0:H.sig)==null?void 0:W.height,(I=b.wind)==null?void 0:I.direction,(G=b.wind)==null?void 0:G.degree,(R=b.wind)==null?void 0:R.scale,k.cFactor,k.wFactor,k.speed])}});const d={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:(k,b)=>{const w=b.coord([b.value(t.dateTime),b.value(t.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:i[b.value(t.windDirection)],position:w,style:b.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}]};(g=this.echart)==null||g.setOption(d)}}},ee=o=>(e.pushScopeId("data-v-790975c4"),o=o(),e.popScopeId(),o),fi={class:"voyage-plan"},Vi={class:"plan-report"},Ni={class:"section voyage-section flex-space"},Ti={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Qi={class:"flex-start label-block",style:{width:"100%"}},gi=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),bi={style:{"text-transform":"uppercase"},class:"text-ellipsis"},xi={class:"flex-start label-block",style:{width:"100%"}},ki=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Di={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Ci={class:"flex-start label-block",style:{width:"100%"}},Si=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Bi={class:"flex-end"},wi={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Ai={class:"flex-start label-block",style:{width:"100%"}},Hi=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Li={key:0,class:"flex-end",style:{flex:"1"}},Oi={key:1,class:"flex-end",style:{flex:"1"}},Fi=ee(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Pi={class:"flex-end",style:{width:"120px"}},$i={class:"flex-space label-block",style:{width:"100%"}},Mi=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wi={key:0,class:"flex-end",style:{flex:"1"}},Ii={key:1,class:"flex-end",style:{flex:"1"}},Gi=ee(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ri={class:"flex-end",style:{width:"120px"}},Zi={class:"flex-space label-block",style:{width:"100%"}},zi=ee(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Ui={class:"flex-end",style:{"text-transform":"uppercase"}},Yi={class:"section chart-section"},ji=ee(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),Ji={class:"flex-center"},Ki=["src"],Xi={class:"legends"},qi=e.createStaticVNode('
Dangerous
Severe
Heavy
',3),ui={class:"legend"},vi=ee(()=>e.createElementVNode("b",{class:"route1"},null,-1)),er={key:0,class:"legend"},tr=ee(()=>e.createElementVNode("b",{class:"route2"},null,-1)),or={key:1,class:"legend"},ar=ee(()=>e.createElementVNode("b",{class:"route3"},null,-1)),lr={key:1,class:"empty"},nr={class:"section comparison-section"},sr={key:0},dr=ee(()=>e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route",-1)),cr=ee(()=>e.createElementVNode("th",null,"SPD (kts)",-1)),ir=ee(()=>e.createElementVNode("th",{rowspan:"2"},"DTG (nm)",-1)),rr=ee(()=>e.createElementVNode("th",null,"ETA (LT)",-1)),mr=ee(()=>e.createElementVNode("th",{rowspan:"2"},"Stoppage (h)",-1)),pr=ee(()=>e.createElementVNode("th",{rowspan:"2"},"Diff (h)",-1)),hr=ee(()=>e.createElementVNode("th",{colspan:"2"},"Cons (mt)",-1)),_r=ee(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Dangerous",-1)),Er=ee(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Severe",-1)),yr=ee(()=>e.createElementVNode("p",{style:{cursor:"pointer"}},"Heavy",-1)),fr=ee(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Vr=ee(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Nr=ee(()=>e.createElementVNode("th",null,"*FO",-1)),Tr=ee(()=>e.createElementVNode("th",null,"*DO",-1)),Qr={colspan:"3"},gr={rowspan:"2"},br={rowspan:"2"},xr={rowspan:"2"},kr={rowspan:"2"},Dr={rowspan:"2"},Cr={rowspan:"2"},Sr={rowspan:"2"},Br={rowspan:"2"},wr={rowspan:"2"},Ar={rowspan:"2"},Hr=ee(()=>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)),Lr={class:"section waypoint-section"},Or={class:"header-block flex-start"},Fr=ee(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Pr={class:"title"},$r={key:0,class:"flex-end",style:{flex:"1"}},Mr=["onClick"],Wr={class:"advisory"},Ir=["innerHTML"],Gr={class:"major-waypoint"},Rr=e.createStaticVNode('
Major waypoint
Time
Nav
Dist
SOG/COG
Memo
',1),Zr={class:"major-body"},zr={class:"cell-item flex",style:{flex:"1.5"}},Ur={key:0,class:"flex-center"},Yr={key:1,class:"flex-center"},jr=ee(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Jr={key:0},Kr={class:"cell-item flex"},Xr={key:0,class:"cell-item flex offset"},qr={key:1,class:"cell-item flex nbsp"},ur={key:2,class:"cell-item flex offset"},vr={key:3,class:"cell-item flex nbsp"},e1={key:4,class:"cell-item flex offset"},t1={key:5,class:"cell-item flex nbsp"},o1={key:6,class:"cell-item flex offset"},a1={key:7,class:"cell-item flex nbsp"},l1={class:"section forecast-section"},n1={class:"header-block flex-start"},s1=ee(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),d1={class:"title"},c1={key:0,class:"flex-end",style:{flex:"1"}},i1=["onClick"],r1={class:"echart-block"},m1={ref:"echart",class:"echart"},p1=ee(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")],-1)),h1=ee(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")],-1)),_1=["colspan"],E1=ee(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),y1=ee(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),f1=ee(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),V1=ee(()=>e.createElementVNode("th",{colspan:"3"},"Current",-1)),N1=ee(()=>e.createElementVNode("th",null,"Dir",-1)),T1=ee(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Q1={key:0},g1=ee(()=>e.createElementVNode("th",null,"Dir",-1)),b1=ee(()=>e.createElementVNode("th",null,"Ht (m)",-1)),x1=ee(()=>e.createElementVNode("th",null,"Prd (s)",-1)),k1=ee(()=>e.createElementVNode("th",null,"Dir",-1)),D1=ee(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),C1=ee(()=>e.createElementVNode("th",null,"Prd (s)",-1)),S1=ee(()=>e.createElementVNode("th",null,"Dir",-1)),B1=ee(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),w1=ee(()=>e.createElementVNode("th",null,"Factor (kts)",-1)),A1={class:"flex-center"},H1=ee(()=>e.createElementVNode("span",null,"/",-1)),L1={key:0,class:"degree-box"},O1={key:1},F1={key:0},P1={key:0,class:"degree-box"},$1={key:1},M1={key:0,class:"degree-box"},W1={key:1},I1={key:0,class:"degree-box"},G1={key:1},R1=ee(()=>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 Z1(o,s,t,i,l,n){var y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo;const E=e.resolveComponent("Brand"),d=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),T=e.resolveComponent("Lng"),Q=e.resolveComponent("ElTooltip"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",fi,[e.createElementVNode("div",Vi,[e.createVNode(E,{name:"Voyage Planning",issued:(y=t.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(d,{loading:l.loading,onTimeout:s[0]||(s[0]=D=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",Ni,[e.createElementVNode("div",Ti,[e.createElementVNode("div",Qi,[gi,e.createElementVNode("span",bi,e.toDisplayString((k=(g=(x=t.plan)==null?void 0:x.voyage)==null?void 0:g.company)==null?void 0:k.name),1)]),e.createElementVNode("div",xi,[ki,e.createElementVNode("span",Di,e.toDisplayString((A=(w=(b=t.plan)==null?void 0:b.voyage)==null?void 0:w.vessel)==null?void 0:A.name)+" ("+e.toDisplayString((H=(V=(S=(C=t.plan)==null?void 0:C.voyage)==null?void 0:S.vessel)==null?void 0:V.vesselType)==null?void 0:H.name)+")",1)]),e.createElementVNode("div",Ci,[Si,e.createElementVNode("span",Bi,e.toDisplayString((I=(W=t.plan)==null?void 0:W.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",wi,[e.createElementVNode("div",Ai,[Hi,(_=(R=(G=t.plan)==null?void 0:G.leg)==null?void 0:R.departure)!=null&&_.name?(e.openBlock(),e.createElementBlock("span",Li,e.toDisplayString(($=(O=t.plan)==null?void 0:O.leg)==null?void 0:$.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Oi,[e.createVNode(p,{lat:(M=(L=(F=t.plan)==null?void 0:F.leg)==null?void 0:L.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),Fi,e.createVNode(T,{lng:(J=(z=(j=t.plan)==null?void 0:j.leg)==null?void 0:z.departure)==null?void 0:J.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Pi,e.toDisplayString(n.computeUTCTime(((a=(ce=(de=t.plan)==null?void 0:de.leg)==null?void 0:ce.departure)==null?void 0:a.atd)||((ae=(oe=(X=t.plan)==null?void 0:X.leg)==null?void 0:oe.departure)==null?void 0:ae.etd)||((ie=(se=(ne=(le=t.plan)==null?void 0:le.speeds)==null?void 0:ne[l.speedIndex])==null?void 0:se.speed)==null?void 0:ie.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",$i,[Mi,(fe=(me=(re=t.plan)==null?void 0:re.leg)==null?void 0:me.destination)!=null&&fe.name?(e.openBlock(),e.createElementBlock("span",Wi,e.toDisplayString((Ve=(Ee=(v=t.plan)==null?void 0:v.leg)==null?void 0:Ee.destination)==null?void 0:Ve.name),1)):(e.openBlock(),e.createElementBlock("div",Ii,[e.createVNode(p,{lat:(Qe=(pe=(Ne=t.plan)==null?void 0:Ne.leg)==null?void 0:pe.destination)==null?void 0:Qe.lat,label:""},null,8,["lat"]),Gi,e.createVNode(T,{lng:(xe=(be=(ge=t.plan)==null?void 0:ge.leg)==null?void 0:be.destination)==null?void 0:xe.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Ri,e.toDisplayString(n.computeUTCTime(((Ae=(we=(De=(ke=t.plan)==null?void 0:ke.speeds)==null?void 0:De[l.speedIndex])==null?void 0:we.speed)==null?void 0:Ae.ata)||((Fe=(Oe=(Le=(He=t.plan)==null?void 0:He.speeds)==null?void 0:Le[l.speedIndex])==null?void 0:Oe.speed)==null?void 0:Fe.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Zi,[zi,e.createElementVNode("span",Ui,e.toDisplayString(($e=(Pe=t.plan)==null?void 0:Pe.voyage)==null?void 0:$e.loadCondition),1)])])]),e.createElementVNode("div",Yi,[ji,(Te=t.plan)!=null&&Te.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Ji,[e.createElementVNode("img",{src:t.plan.chartUrl},null,8,Ki)]),e.createElementVNode("div",Xi,[qi,e.createElementVNode("div",ui,[vi,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=D=>{l.speedIndex=0,n.renderEchart()})},e.toDisplayString((Ce=(B=(Ke=(Je=(je=t.plan)==null?void 0:je.speeds)==null?void 0:Je[0])==null?void 0:Ke.speed)==null?void 0:B.lane)==null?void 0:Ce.name),1)]),((Xe=(Ge=t.plan)==null?void 0:Ge.speeds)==null?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("div",er,[tr,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=D=>{l.speedIndex=1,n.renderEchart()})},e.toDisplayString((m=(et=(ve=(ue=(qe=t.plan)==null?void 0:qe.speeds)==null?void 0:ue[1])==null?void 0:ve.speed)==null?void 0:et.lane)==null?void 0:m.name),1)])):e.createCommentVNode("",!0),((Se=(P=t.plan)==null?void 0:P.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",or,[ar,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=D=>{l.speedIndex=2,n.renderEchart()})},e.toDisplayString((tt=(ze=(ye=(Re=(Me=t.plan)==null?void 0:Me.speeds)==null?void 0:Re[2])==null?void 0:ye.speed)==null?void 0:ze.lane)==null?void 0:tt.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",lr,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...D)=>n.handleRefresh&&n.handleRefresh(...D))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",nr,[(lt=(ot=t.plan)==null?void 0:ot.speeds)!=null&<.length?(e.openBlock(),e.createElementBlock("table",sr,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[dr,cr,ir,rr,mr,pr,hr,e.createElementVNode("th",null,[e.createVNode(Q,{effect:"light",placement:"top",trigger:"hover",width:300,content:(pt=(Y=t.weatherPrinciple)==null?void 0:Y.dangerous)==null?void 0:pt.pretty},{default:e.withCtx(()=>[_r]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(Q,{effect:"light",placement:"top",trigger:"hover",width:300,content:(ft=(ht=t.weatherPrinciple)==null?void 0:ht.severe)==null?void 0:ft.pretty},{default:e.withCtx(()=>[Er]),_:1},8,["content"])]),e.createElementVNode("th",null,[e.createVNode(Q,{effect:"light",placement:"top",trigger:"hover",width:300,content:(Nt=(Vt=t.weatherPrinciple)==null?void 0:Vt.heavy)==null?void 0:Nt.pretty},{default:e.withCtx(()=>[yr]),_:1},8,["content"])])]),e.createElementVNode("tr",null,[fr,Vr,Nr,Tr,e.createElementVNode("th",Qr,"*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((Tt=t.plan)==null?void 0:Tt.speeds,(D,Ze)=>{var nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Ze},[e.createElementVNode("tr",null,[e.createElementVNode("td",gr,e.toDisplayString(Ze+1),1),e.createElementVNode("td",br,e.toDisplayString((st=(nt=D.speed)==null?void 0:nt.lane)==null?void 0:st.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Et=D.speed)==null?void 0:Et.label)??"CP"} ${(($t=D.speed)==null?void 0:$t.v0)??((Wt=(Mt=D.speed)==null?void 0:Mt.cpCopy)==null?void 0:Wt.speed)}`),1),e.createElementVNode("td",xr,e.toDisplayString(n.roundPrecision((It=D.speed)==null?void 0:It.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Gt=D.speed)==null?void 0:Gt.eta,(zt=(Zt=(Rt=t.plan)==null?void 0:Rt.leg)==null?void 0:Zt.destination)==null?void 0:zt.lng,(jt=(Yt=(Ut=t.plan)==null?void 0:Ut.leg)==null?void 0:Yt.destination)==null?void 0:jt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((Jt=D.speed)==null?void 0:Jt.eta))+"] ",1)]),e.createElementVNode("td",kr,e.toDisplayString(n.computeSuspend(D.speed)),1),e.createElementVNode("td",Dr,e.toDisplayString(n.computeTimeDiff(t.plan,Ze)),1),e.createElementVNode("td",Cr,e.toDisplayString(n.roundPrecision((Kt=D.speed)==null?void 0:Kt.totalFoCons,3)),1),e.createElementVNode("td",Sr,e.toDisplayString(n.roundPrecision((Xt=D.speed)==null?void 0:Xt.totalDgoCons,3)),1),e.createElementVNode("td",Br,e.toDisplayString(n.roundPrecision(((qt=D.speed)==null?void 0:qt.dangerous)/24,1)),1),e.createElementVNode("td",wr,e.toDisplayString(n.roundPrecision(((ut=D.speed)==null?void 0:ut.severe)/24,1)),1),e.createElementVNode("td",Ar,e.toDisplayString(n.roundPrecision(((vt=D.speed)==null?void 0:vt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((to=(eo=D.speed)==null?void 0:eo.cpCopy)==null?void 0:to.fo)+" FO / "+e.toDisplayString((ao=(oo=D.speed)==null?void 0:oo.cpCopy)==null?void 0:ao.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((lo=D.speed)==null?void 0:lo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((no=D.speed)==null?void 0:no.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((so=D.speed)==null?void 0:so.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Hr]),e.createElementVNode("div",Lr,[e.createElementVNode("div",Or,[Fr,e.createElementVNode("div",Pr,"Advisory & Major Waypoint of Route "+e.toDisplayString((xt=(bt=(gt=(Qt=t.plan.speeds)==null?void 0:Qt[l.speedIndex])==null?void 0:gt.speed)==null?void 0:bt.lane)==null?void 0:xt.name),1),((Dt=(kt=t.plan)==null?void 0:kt.speeds)==null?void 0:Dt.length)>1?(e.openBlock(),e.createElementBlock("div",$r,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ct=t.plan)==null?void 0:Ct.speeds,(D,Ze)=>{var nt,st;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ze,onClick:Et=>{l.speedIndex=Ze,n.renderEchart()}},e.toDisplayString((st=(nt=D.speed)==null?void 0:nt.lane)==null?void 0:st.name),9,Mr)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Wr,[l.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=D=>l.advisory=D),class:"editor",height:"120px",onBlur:s[6]||(s[6]=D=>n.handleCommit(D))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...D)=>n.handleEdit&&n.handleEdit(...D)),innerHTML:l.advisory},null,40,Ir))]),e.createElementVNode("div",Gr,[Rr,e.createElementVNode("div",Zr,[(Bt=(St=t.plan)==null?void 0:St.speeds)!=null&&Bt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Lt=(Ht=(At=(wt=t.plan)==null?void 0:wt.speeds)==null?void 0:At[l.speedIndex])==null?void 0:Ht.speed)==null?void 0:Lt.argv,(ro=(io=(Pt=(Ft=(Ot=t.plan)==null?void 0:Ot.speeds)==null?void 0:Ft[l.speedIndex])==null?void 0:Pt.speed)==null?void 0:io.sample)==null?void 0:ro.wps),(D,Ze)=>(e.openBlock(),e.createElementBlock("div",{key:Ze,class:"cell-row"},[e.createElementVNode("div",zr,[D.isResume?(e.openBlock(),e.createElementBlock("div",Ur,"Resume")):(e.openBlock(),e.createElementBlock("div",Yr,[e.createVNode(p,{lat:D.lat,label:""},null,8,["lat"]),jr,e.createVNode(T,{lng:D.lng,label:""},null,8,["lng"]),D.pilot?(e.openBlock(),e.createElementBlock("span",Jr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Kr,e.toDisplayString(n.computeUTCTime(D.eta)),1),Ze?(e.openBlock(),e.createElementBlock("div",Xr,e.toDisplayString(n.computeNav(D)),1)):(e.openBlock(),e.createElementBlock("div",qr)),Ze?(e.openBlock(),e.createElementBlock("div",ur,e.toDisplayString(n.roundPrecision(D.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",vr)),Ze?(e.openBlock(),e.createElementBlock("div",e1,e.toDisplayString(n.roundPrecision(D.avgSpd??D.speed,2))+" / "+e.toDisplayString(n.roundPrecision(D.bearing,0)),1)):(e.openBlock(),e.createElementBlock("div",t1)),Ze?(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(n.computeMemo(D)),1)):(e.openBlock(),e.createElementBlock("div",a1))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",l1,[(po=(mo=t.plan)==null?void 0:mo.speeds)!=null&&po.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",n1,[s1,e.createElementVNode("div",d1," Weather Forecast for the Next "+e.toDisplayString(n.computeDay(t.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((fo=(yo=(Eo=(_o=(ho=t.plan)==null?void 0:ho.speeds)==null?void 0:_o[l.speedIndex])==null?void 0:Eo.speed)==null?void 0:yo.lane)==null?void 0:fo.name),1),((No=(Vo=t.plan)==null?void 0:Vo.speeds)==null?void 0:No.length)>1?(e.openBlock(),e.createElementBlock("div",c1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((To=t.plan)==null?void 0:To.speeds,(D,Ze)=>{var nt,st;return e.openBlock(),e.createElementBlock("div",{class:"route-item",key:Ze,onClick:Et=>{l.speedIndex=Ze,n.renderEchart()}},e.toDisplayString((st=(nt=D==null?void 0:D.speed)==null?void 0:nt.lane)==null?void 0:st.name),9,i1)}),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",r1,[e.createElementVNode("div",m1,null,512)]),e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[p1,h1,e.createElementVNode("th",{colspan:(go=(Qo=t.plan)==null?void 0:Qo.voyage)!=null&&go.sendRptWithBF?3:2},"Wind",8,_1),E1,y1,f1,V1]),e.createElementVNode("tr",null,[N1,T1,(xo=(bo=t.plan)==null?void 0:bo.voyage)!=null&&xo.sendRptWithBF?(e.openBlock(),e.createElementBlock("th",Q1,"BF")):e.createCommentVNode("",!0),g1,b1,x1,k1,D1,C1,S1,B1,w1])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Bo=(So=(Co=(Do=(ko=t.plan)==null?void 0:ko.speeds)==null?void 0:Do[l.speedIndex])==null?void 0:Co.speed)==null?void 0:So.sample)==null?void 0:Bo.hours,(D,Ze)=>{var nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta;return e.openBlock(),e.createElementBlock("tr",{key:Ze,class:e.normalizeClass(D.isDangerous?"dangerous":D.isSevere?"severe":D.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(D.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",A1,[e.createVNode(p,{lat:D.lat,label:""},null,8,["lat"]),H1,e.createVNode(T,{lng:D.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(st=(nt=D.meteo)==null?void 0:nt.wind)!=null&&st.kts?(e.openBlock(),e.createElementBlock("span",L1,[e.createTextVNode(e.toDisplayString(($t=(Et=D.meteo)==null?void 0:Et.wind)==null?void 0:$t.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wt=(Mt=D.meteo)==null?void 0:Mt.wind)==null?void 0:Wt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",O1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Gt=(It=D.meteo)==null?void 0:It.wind)==null?void 0:Gt.kts,1)),1),(Zt=(Rt=t.plan)==null?void 0:Rt.voyage)!=null&&Zt.sendRptWithBF?(e.openBlock(),e.createElementBlock("td",F1,e.toDisplayString((Ut=(zt=D.meteo)==null?void 0:zt.wind)==null?void 0:Ut.scale),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Jt=(jt=(Yt=D.meteo)==null?void 0:Yt.wave)==null?void 0:jt.wd)==null?void 0:Jt.height,1)),1),e.createElementVNode("td",null,[(qt=(Xt=(Kt=D.meteo)==null?void 0:Kt.wave)==null?void 0:Xt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",P1,[e.createTextVNode(e.toDisplayString((eo=(vt=(ut=D.meteo)==null?void 0:ut.wave)==null?void 0:vt.swell)==null?void 0:eo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ao=(oo=(to=D.meteo)==null?void 0:to.wave)==null?void 0:oo.swell)==null?void 0:ao.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",$1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((so=(no=(lo=D.meteo)==null?void 0:lo.wave)==null?void 0:no.swell)==null?void 0:so.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ho=(Ao=(wo=D.meteo)==null?void 0:wo.wave)==null?void 0:Ao.swell)==null?void 0:Ho.period,1)),1),e.createElementVNode("td",null,[(Fo=(Oo=(Lo=D.meteo)==null?void 0:Lo.wave)==null?void 0:Oo.sig)!=null&&Fo.height?(e.openBlock(),e.createElementBlock("span",M1,[e.createTextVNode(e.toDisplayString((Mo=($o=(Po=D.meteo)==null?void 0:Po.wave)==null?void 0:$o.sig)==null?void 0:Mo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Go=(Io=(Wo=D.meteo)==null?void 0:Wo.wave)==null?void 0:Io.sig)==null?void 0:Go.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",W1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((zo=(Zo=(Ro=D.meteo)==null?void 0:Ro.wave)==null?void 0:Zo.sig)==null?void 0:zo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((jo=(Yo=(Uo=D.meteo)==null?void 0:Uo.wave)==null?void 0:Yo.sig)==null?void 0:jo.period,1)),1),e.createElementVNode("td",null,[(Ko=(Jo=D.meteo)==null?void 0:Jo.current)!=null&&Ko.kts?(e.openBlock(),e.createElementBlock("span",I1,[e.createTextVNode(e.toDisplayString((qo=(Xo=D.meteo)==null?void 0:Xo.current)==null?void 0:qo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((vo=(uo=D.meteo)==null?void 0:uo.current)==null?void 0:vo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",G1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ta=(ea=D.meteo)==null?void 0:ea.current)==null?void 0:ta.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(D.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),R1])])])}const us=We(yi,[["render",Z1],["__scopeId","data-v-790975c4"]]),KK="",z1={name:"RouteReport",components:{Lng:Kl,Lat:Xl,Editor:la},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`${u(o).utc().format(s)}`}},computeLTime(){return function(o,s){const t=u(o);return t.utcOffset(s),`${t.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var o,s,t,i,l;return(l=(i=(t=(s=(o=this.plan)==null?void 0:o.leg)==null?void 0:s.destination)==null?void 0:t.port)==null?void 0:i.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(o,s){var t,i,l;if(s===0)return"-";{const n=u((i=(t=o==null?void 0:o.speeds[s])==null?void 0:t.speed)==null?void 0:i.eta).diff(u((l=o==null?void 0:o.speeds[0])==null?void 0:l.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 i=(16-t)*22.5;return s||(i=i+180),`transform:rotate(${i}deg);margin-left:3px;`}}},computeDay(){return function(o){var l,n,E;const s=(E=(n=(l=o==null?void 0:o.speeds[0])==null?void 0:l.speed)==null?void 0:n.sample)==null?void 0:E.hours,t=s[0],i=s[s.length-1];return u(i.eta).diff(u(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}}},ct=o=>(e.pushScopeId("data-v-cc81892d"),o=o(),e.popScopeId(),o),U1={class:"route-report"},Y1=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),j1={class:"section"},J1=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),K1={class:"section-body basics"},X1={class:"flex-space section-row"},q1={class:"flex-start"},u1=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),v1={class:"flex-start"},e2={class:"flex-start"},t2=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),o2={class:"flex-start flex"},a2={key:0,class:"flex"},l2={key:1,class:"flex-space flex"},n2=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),s2={class:"time flex"},d2={class:"flex-space section-row"},c2={class:"flex-start"},i2=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),r2={class:"flex-start"},m2={class:"flex-start"},p2=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),h2={class:"flex-start flex"},_2={key:0,class:"flex"},E2={key:1,class:"flex-space"},y2=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),f2={class:"time flex"},V2={class:"flex-space section-row"},N2={class:"flex-start"},T2=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Q2={class:"flex-start"},g2={class:"flex-start"},b2=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),x2={class:"flex-start flex"},k2={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},D2=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),C2={class:"section-body detail"},S2={class:"flex-space",style:{"align-items":"stretch"}},B2={class:"chart"},w2=["src"],A2={key:1,class:"empty flex-center"},H2={class:"route flex",style:{"justify-content":"space-between"}},L2=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),O2={class:"suggestion"},F2=["innerHTML"],P2={class:"flex-start legends"},$2=e.createStaticVNode('
Dangerous
Severe
Route 1
',3),M2={key:0,class:"legend"},W2=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],I2={key:1,class:"legend"},G2=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],R2={class:"section"},Z2=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),z2={class:"section-body comparison"},U2={class:"container"},Y2={key:0},j2=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),J2={class:"section",style:{"page-break-inside":"avoid"}},K2=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),X2={class:"section-body sample"},q2={class:"major-waypoints"},u2={class:"container"},v2=e.createStaticVNode('
Major waypoint
Name
Time
Nav
Dist
SOG
',1),e6={class:"body"},t6={class:"cell-item flexM"},o6={class:"flex-center"},a6=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),l6={class:"cell-item flexL"},n6={key:0,class:"flex-center"},s6={key:1},d6={class:"cell-item flex"},c6={key:0,class:"cell-item flex offset"},i6={key:1,class:"cell-item flex nbsp"},r6={key:2,class:"cell-item flex offset"},m6={key:3,class:"cell-item flex nbsp"},p6={key:4,class:"cell-item flex offset"},h6={key:5,class:"cell-item flex nbsp"},_6={class:"section"},E6=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),y6={class:"section-body sample"},f6={key:0},V6=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),N6={class:"flex-center"},T6=ct(()=>e.createElementVNode("span",null,"/",-1)),Q6={key:0,class:"degree-box"},g6={key:1},b6={key:0,class:"degree-box"},x6={key:1},k6={key:0,class:"degree-box"},D6={key:1},C6={key:0,class:"degree-box"},S6={key:1},B6=ct(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function w6(o,s,t,i,l,n){var T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke;const E=e.resolveComponent("Lat"),d=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",U1,[Y1,e.createElementVNode("div",j1,[J1,e.createElementVNode("div",K1,[e.createElementVNode("div",X1,[e.createElementVNode("div",q1,[u1,e.createElementVNode("div",v1,e.toDisplayString((h=(Q=(T=t.plan)==null?void 0:T.voyage)==null?void 0:Q.company)==null?void 0:h.name),1)]),e.createElementVNode("div",e2,[t2,e.createElementVNode("div",o2,[(g=(x=(y=t.plan)==null?void 0:y.leg)==null?void 0:x.departure)!=null&&g.name?(e.openBlock(),e.createElementBlock("div",a2,e.toDisplayString((b=(k=t.plan)==null?void 0:k.leg)==null?void 0:b.departure.name),1)):(e.openBlock(),e.createElementBlock("div",l2,[e.createVNode(E,{lat:(C=(A=(w=t.plan)==null?void 0:w.leg)==null?void 0:A.departure)==null?void 0:C.lat,label:""},null,8,["lat"]),n2,e.createVNode(d,{lng:(H=(V=(S=t.plan)==null?void 0:S.leg)==null?void 0:V.departure)==null?void 0:H.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",s2,e.toDisplayString(n.computeUTCTime(((G=(I=(W=t.plan)==null?void 0:W.leg)==null?void 0:I.departure)==null?void 0:G.atd)||((O=(_=(R=t.plan)==null?void 0:R.leg)==null?void 0:_.departure)==null?void 0:O.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",d2,[e.createElementVNode("div",c2,[i2,e.createElementVNode("div",r2,e.toDisplayString((L=(F=($=t.plan)==null?void 0:$.voyage)==null?void 0:F.vessel)==null?void 0:L.name),1)]),e.createElementVNode("div",m2,[p2,e.createElementVNode("div",h2,[(z=(j=(M=t.plan)==null?void 0:M.leg)==null?void 0:j.destination)!=null&&z.name?(e.openBlock(),e.createElementBlock("div",_2,e.toDisplayString((de=(J=t.plan)==null?void 0:J.leg)==null?void 0:de.destination.name),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(X=(a=(ce=t.plan)==null?void 0:ce.leg)==null?void 0:a.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),y2,e.createVNode(d,{lng:(le=(ae=(oe=t.plan)==null?void 0:oe.leg)==null?void 0:ae.destination)==null?void 0:le.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",f2,e.toDisplayString(n.computeUTCTime(((ie=(se=(ne=t.plan)==null?void 0:ne.speeds)==null?void 0:se[0])==null?void 0:ie.speed.ata)||((me=(re=t.plan)==null?void 0:re.speeds)==null?void 0:me[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",V2,[e.createElementVNode("div",N2,[T2,e.createElementVNode("div",Q2,e.toDisplayString(n.computeUTCTime((fe=t.plan)==null?void 0:fe.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",g2,[b2,e.createElementVNode("div",x2,[e.createElementVNode("div",null,e.toDisplayString((Ee=(v=t.plan)==null?void 0:v.voyage)==null?void 0:Ee.loadCondition),1)])])])])]),e.createElementVNode("div",k2,[D2,e.createElementVNode("div",C2,[e.createElementVNode("div",S2,[e.createElementVNode("div",B2,[(Ve=t.plan)!=null&&Ve.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=t.plan)==null?void 0:Ne.chartUrl},null,8,w2)):(e.openBlock(),e.createElementBlock("div",A2,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...B)=>n.handleRefresh&&n.handleRefresh(...B))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",H2,[e.createElementVNode("div",null,[L2,e.createElementVNode("div",O2,[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=B=>l.advisory=B),class:"editor",height:"120px",onBlur:s[2]||(s[2]=B=>n.handleCommit(B))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...B)=>n.handleEdit&&n.handleEdit(...B)),innerHTML:l.advisory},null,40,F2))])]),e.createElementVNode("div",P2,[$2,((Qe=(pe=t.plan)==null?void 0:pe.speeds)==null?void 0:Qe.length)>1?(e.openBlock(),e.createElementBlock("div",M2,W2)):e.createCommentVNode("",!0),((be=(ge=t.plan)==null?void 0:ge.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",I2,G2)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",R2,[Z2,e.createElementVNode("div",z2,[e.createElementVNode("div",U2,[(ke=(xe=t.plan)==null?void 0:xe.speeds)!=null&&ke.length?(e.openBlock(),e.createElementBlock("table",Y2,[j2,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((De=t.plan)==null?void 0:De.speeds,(B,Ce)=>{var Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot;return e.openBlock(),e.createElementBlock("tr",{key:Ce},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Ce+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ge=B.speed)==null?void 0:Ge.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Xe=B.speed)==null?void 0:Xe.label)??"CP"} ${((qe=B.speed)==null?void 0:qe.v0)??((ve=(ue=B.speed)==null?void 0:ue.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=B.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Se=(P=B.speed)==null?void 0:P.cpCopy)==null?void 0:Se.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Me=B.speed)==null?void 0:Me.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=B.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((ye=B.speed)==null?void 0:ye.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((ze=B.speed)==null?void 0:ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=B.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=B.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",J2,[K2,e.createElementVNode("div",X2,[e.createElementVNode("div",q2,[e.createElementVNode("div",u2,[v2,e.createElementVNode("div",e6,[(Ae=(we=t.plan)==null?void 0:we.speeds)!=null&&Ae.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Fe=(Oe=(Le=(He=t.plan)==null?void 0:He.speeds[0])==null?void 0:Le.speed)==null?void 0:Oe.sample)==null?void 0:Fe.wps,(B,Ce)=>(e.openBlock(),e.createElementBlock("div",{key:Ce,class:"cell-row"},[e.createElementVNode("div",t6,[e.createElementVNode("div",o6,[e.createVNode(E,{lat:B.lat,label:""},null,8,["lat"]),a6,e.createVNode(d,{lng:B.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",l6,[B.name?(e.openBlock(),e.createElementBlock("span",n6,e.toDisplayString(B.name),1)):(e.openBlock(),e.createElementBlock("span",s6,"-"))]),e.createElementVNode("div",d6,e.toDisplayString(n.computeUTCTime(B.eta)),1),Ce?(e.openBlock(),e.createElementBlock("div",c6,e.toDisplayString(n.computeNav(B)),1)):(e.openBlock(),e.createElementBlock("div",i6)),Ce?(e.openBlock(),e.createElementBlock("div",r6,e.toDisplayString(n.roundPrecision(B.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",m6)),Ce?(e.openBlock(),e.createElementBlock("div",p6,e.toDisplayString(n.roundPrecision(B.avgSpd??B.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",h6))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",_6,[E6,e.createElementVNode("div",y6,[($e=(Pe=t.plan)==null?void 0:Pe.speeds)!=null&&$e.length?(e.openBlock(),e.createElementBlock("table",f6,[V6,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(Je=(je=(Te=t.plan)==null?void 0:Te.speeds[0])==null?void 0:je.speed)==null?void 0:Je.sample)==null?void 0:Ke.hours,(B,Ce)=>{var Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt;return e.openBlock(),e.createElementBlock("tr",{key:Ce,class:e.normalizeClass(B.isDangerous?"dangerous":B.isSevere?"severe":B.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(B.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",N6,[e.createVNode(E,{lat:B.lat,label:""},null,8,["lat"]),T6,e.createVNode(d,{lng:B.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Xe=(Ge=B.meteo)==null?void 0:Ge.wind)!=null&&Xe.kts?(e.openBlock(),e.createElementBlock("span",Q6,e.toDisplayString((ue=(qe=B.meteo)==null?void 0:qe.wind)==null?void 0:ue.direction),1)):(e.openBlock(),e.createElementBlock("span",g6,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=B.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Se=(P=(m=B.meteo)==null?void 0:m.wave)==null?void 0:P.wd)==null?void 0:Se.height,1)),1),e.createElementVNode("td",null,[(ye=(Re=(Me=B.meteo)==null?void 0:Me.wave)==null?void 0:Re.swell)!=null&&ye.height?(e.openBlock(),e.createElementBlock("span",b6,e.toDisplayString((ot=(tt=(ze=B.meteo)==null?void 0:ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",x6,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((pt=(Y=(lt=B.meteo)==null?void 0:lt.wave)==null?void 0:Y.swell)==null?void 0:pt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Vt=(ft=(ht=B.meteo)==null?void 0:ht.wave)==null?void 0:ft.swell)==null?void 0:Vt.period,1)),1),e.createElementVNode("td",null,[(Qt=(Tt=(Nt=B.meteo)==null?void 0:Nt.wave)==null?void 0:Tt.sig)!=null&&Qt.height?(e.openBlock(),e.createElementBlock("span",k6,e.toDisplayString((xt=(bt=(gt=B.meteo)==null?void 0:gt.wave)==null?void 0:bt.sig)==null?void 0:xt.direction),1)):(e.openBlock(),e.createElementBlock("span",D6,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ct=(Dt=(kt=B.meteo)==null?void 0:kt.wave)==null?void 0:Dt.sig)==null?void 0:Ct.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((wt=(Bt=(St=B.meteo)==null?void 0:St.wave)==null?void 0:Bt.sig)==null?void 0:wt.period,1)),1),e.createElementVNode("td",null,[(Ht=(At=B.meteo)==null?void 0:At.current)!=null&&Ht.kts?(e.openBlock(),e.createElementBlock("span",C6,e.toDisplayString((Ot=(Lt=B.meteo)==null?void 0:Lt.current)==null?void 0:Ot.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",S6,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Pt=(Ft=B.meteo)==null?void 0:Ft.current)==null?void 0:Pt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(B.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),B6])}const nd=We(z1,[["render",w6],["__scopeId","data-v-cc81892d"]]),A6={install(o){o.component("RouteReport",us),o.component("FliPlanReport",nd),o.component("OrmPlanReport",us)}},H6={install(o){o.component("IdmEditor",la)}},L6={install(o){o.component("IdmLat",Xl)}},O6={install(o){o.component("IdmLng",Kl)}},F6={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},P6={class:"logo"},$6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},M6=["fill","fill-opacity"],W6=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16 -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93 -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202 -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158 -234 -584 -250 -654 -2 -8 -8 -37 -14 -63 -27 -117 -16 -290 23 -366 40 -76 162 -100 372 -73 118 16 204 44 274 92 61 41 136 119 179 185 14 22 28 42 31 45 3 3 19 25 35 50 17 25 34 50 38 55 4 6 34 46 65 90 101 143 233 300 336 398 289 278 518 397 871 452 58 10 122 14 328 25 184 10 214 9 256 -5 106 -35 121 -98 96 -410 -3 -38 -7 -104 -10 -145 -17 -256 -42 -587 -50 -670 -20 -206 -26 -262 -39 -400 -19 -190 -34 -332 -41 -385 -3 -22 -10 -76 -15 -120 -6 -44 -17 -132 -25 -195 -8 -63 -19 -142 -24 -175 -5 -33 -14 -94 -20 -135 -15 -102 -38 -247 -57 -355 -9 -49 -18 -101 -20 -115 -5 -26 -42 -220 -50 -255 -8 -40 -24 -120 -28 -140 -24 -118 -69 -303 -131 -535 -146 -551 -395 -1063 -780 -1610 -25 -36 -53 -76 -63 -90 -9 -14 -19 -27 -22 -30 -17 -17 -182 -264 -250 -375 -152 -247 -219 -413 -276 -680 -27 -127 -26 -365 2 -505 64 -314 256 -557 538 -685 244 -110 548 -108 857 5 74 26 235 110 272 140 152 125 200 168 241 219 27 33 52 61 55 61 4 0 15 13 24 30 10 16 23 35 30 42 7 7 26 33 43 58 184 265 381 726 493 1154 89 340 192 880 255 1346 70 507 116 894 162 1355 2 28 6 66 9 85 5 43 11 101 30 310 8 91 17 188 20 215 5 52 21 236 30 340 3 33 10 112 15 175 9 106 63 792 75 955 3 39 7 99 10 135 7 94 14 192 20 295 3 50 8 119 10 155 3 36 10 135 15 220 37 580 40 602 75 657 9 14 38 35 63 46 47 22 49 22 963 25 862 2 919 2 965 -15 33 -13 56 -30 72 -53 23 -33 24 -41 18 -140 -3 -58 -8 -121 -11 -140 -2 -19 -9 -82 -15 -140 -5 -58 -14 -150 -20 -205 -24 -227 -44 -430 -55 -550 -3 -27 -7 -72 -10 -100 -14 -139 -14 -137 -45 -465 -30 -318 -48 -523 -55 -615 -2 -33 -7 -85 -10 -115 -2 -30 -7 -86 -10 -125 -3 -38 -7 -92 -10 -120 -3 -27 -7 -84 -10 -125 -20 -286 -26 -373 -35 -512 -5 -86 -11 -190 -14 -230 -3 -40 -8 -127 -11 -193 -3 -66 -10 -219 -16 -340 -20 -390 6 -1130 52 -1530 6 -49 12 -107 15 -127 2 -21 9 -68 15 -105 6 -38 12 -79 14 -93 3 -31 32 -192 44 -245 111 -505 245 -828 465 -1115 27 -36 56 -72 65 -81 9 -8 32 -34 51 -58 61 -75 230 -220 345 -297 333 -222 693 -309 1115 -270 217 21 480 98 697 206 120 59 284 160 348 212 229 190 372 331 457 451 12 18 30 41 40 51 10 11 18 23 18 27 0 4 6 14 13 21 62 66 217 356 300 563 157 394 304 1011 333 1401 20 271 -119 446 -361 453 -165 5 -295 -61 -373 -191 -17 -30 -52 -107 -77 -171 -109 -290 -191 -439 -303 -553 -85 -88 -95 -96 -167 -140 -229 -138 -516 -160 -774 -57 -70 28 -167 83 -216 123 -47 39 -148 142 -175 178 -14 18 -33 43 -43 54 -33 40 -126 243 -156 343 -59 191 -96 423 -109 670 -18 350 -2 1241 33 1805 15 249 36 562 40 615 3 33 7 85 10 115 39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883 7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49 17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60 -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function I6(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("i",P6,[(e.openBlock(),e.createElementBlock("svg",$6,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},W6,8,M6)]))])}const sd=We(F6,[["render",I6]]),G6={install(o){o.component("PiLogo",sd)}},tX="",oX="",R6={name:"FliVygSummary",components:{Editor:la},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"
Exclusion
The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation
",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"?u(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?u(o).utc().format("MMMM D, HHmm[Z]"):s?u(o).utc().format(s):u(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=he.LngLatHelper.lat2pretty(o).pretty,i=he.LngLatHelper.lng2pretty(s).pretty;return`${t} ${i}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),i=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=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:i,port2:l,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,i={conclusion:"",className:"",cons:""};return t==="No"?(i.conclusion="No Over/Under",i.className="",i.cons=""):t==="Over"?(s==="FO"?i.conclusion="FO Over":i.conclusion="DO/GO Over",i.className="error",i.cons=`${o.overCons} mt`):(s==="FO"?i.conclusion="FO Under":i.conclusion="DO/GO Under",i.className="success",i.cons=`${o.saving} mt`),i}},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,i="",l=0;return o!=null&&o.waveSwitch?(i+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,l++):o!=null&&o.swellSwitch?(i+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,l++):o!=null&&o.sigSwitch&&(i+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,l++),l>0&&(i+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${i}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let i="";if(o==="No")return i=t?"bg-color-normal":"color-normal",i;switch(s){case"time":o==="Lost"?i="color-fail":i="color-success";break;case"fuel":o==="Over"?i="color-fail":i="color-success";break;case"pfm":o==="Under"?i="color-fail":i="color-success";break}return t&&(i="bg-"+i),i}},computedAbt4Spd(){return function(o){var s,t,i;return(s=o.timeConclusion)!=null&&s.spdPercentage?he.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(i=o==null?void 0:o.timeConclusion)==null?void 0:i.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((i,l)=>{let n=i.excluded;if(n.sumDistance>0&&n.detail.forEach(d=>{let p={begin:u(d.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:u(d.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:u(d.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+u(d.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:d.duration,distance:d.distance,fo:d.foCons,dgo:d.dgoCons};this.excludedTableData.push(p)}),!o.includes(i.seg)){o.push(i.seg);let d=Object.assign({},i.extend.cp);d.spdOfOver=`+${i.timeConclusion.spdOfOver}${this.computedUnit("speed",i.timeConclusion.spdPercentage)}`,d.spdOfUnder=`-${i.timeConclusion.spdOfUnder}${this.computedUnit("speed",i.timeConclusion.spdPercentage)}`,d.over=`+${i.fuelConclusion.consOfOver}${this.computedUnit("cons",i.fuelConclusion.consPercentage)}`,d.under=`-${i.fuelConclusion.consOfUnder}${this.computedUnit("cons",i.fuelConclusion.consPercentage)}`,this.cpDetail.push(d)}let E=[];i.extend.segTimes.forEach(d=>{E.push(this.computedSeg(d))}),this.segDetail.push(E),this.goodDays.push(i.inventory.sample.hours.filter(d=>d.type!=="A"&&d.goodWx))})}}},r=o=>(e.pushScopeId("data-v-b0ef3073"),o=o(),e.popScopeId(),o),Z6=r(()=>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)),z6={class:"fli-main"},U6=r(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),Y6={class:"card basics"},j6={class:"list flex"},J6={class:"item"},K6=r(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),X6={class:"content flex"},q6={class:"item"},u6=r(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),v6={class:"content flex"},e4={class:"item"},t4=r(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),o4={class:"content flex"},a4={class:"list"},l4={class:"item"},n4=r(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),s4={class:"content flex"},d4={class:"content flex"},c4={class:"item"},i4=r(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),r4={class:"content flex"},m4={class:"content flex"},p4={class:"item"},h4=r(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),_4={class:"content flexL"},E4=r(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),y4={class:"clause"},f4={key:0,class:"definition flex"},V4={key:1,class:"definition flex"},N4={class:"item"},T4=r(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Q4={class:"content"},g4={key:0,class:"item"},b4=r(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),x4={class:"content"},k4={key:1,class:"item"},D4=r(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),C4={class:"content"},S4={key:2,class:"item"},B4=r(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),w4={class:"content"},A4={key:3,class:"item"},H4=r(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),L4={class:"content"},O4={key:4,class:"item"},F4=[r(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),r(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],P4={key:5,class:"item"},$4=[r(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),r(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],M4={class:"definition flexM"},W4={class:"table"},I4=r(()=>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)),G4=r(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),R4={class:"summary"},Z4={key:0,class:"summary-overall"},z4=r(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),U4={class:"summary-overall-row"},Y4={class:"card"},j4=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),J4={class:"main-content"},K4={key:0},X4={key:1},q4={class:"card"},u4=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),v4={class:"main-content"},em={key:0},tm={key:1},om={class:"card"},am=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),lm={class:"main-content"},nm={key:0},sm={key:1},dm={class:"summary-overall-row"},cm={class:"card"},im=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),rm={class:"main-content"},mm={class:"card"},pm=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),hm={class:"main-content"},_m={class:"card"},Em=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),ym={class:"main-content"},fm=r(()=>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)),Vm={class:"card",style:{flex:"1.5"}},Nm={class:"card-title"},Tm=r(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Qm={class:"card-segment"},gm={class:"card-segment"},bm={class:"card-segment"},xm=r(()=>e.createElementVNode("div",null,"Applied",-1)),km={class:"uppercase"},Dm={class:"card summary-card",style:{flex:"1"}},Cm=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Sm={key:0,class:"main-content"},Bm={key:0,class:"iconfont success"},wm={key:1,class:"iconfont error"},Am={key:1,class:"main-content"},Hm={class:"card-content",style:{"justify-content":"flex-start"}},Lm={class:"card summary-card",style:{flex:"1"}},Om=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Fm={key:0,class:"main-content"},Pm={key:0,class:"iconfont success"},$m={key:1,class:"iconfont error"},Mm={key:1,class:"main-content"},Wm={class:"card-content",style:{"justify-content":"flex-start"}},Im={class:"card summary-card",style:{flex:"1"}},Gm=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Rm={key:0,class:"main-content"},Zm={key:0,class:"iconfont success"},zm={key:1,class:"iconfont error"},Um={key:1,class:"main-content"},Ym={class:"card-content",style:{"justify-content":"flex-start"}},jm={style:{"page-break-inside":"avoid"}},Jm=r(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Km={class:"remarks"},Xm={class:"item"},qm=r(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),um={class:"speed"},vm={class:"uppercase"},e3={class:"item"},t3=r(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),o3={key:0,class:"remark-detail"},a3={key:1,class:"remark-detail"},l3={class:"page-avoid"},n3={class:"dashed"},s3={class:"card phase-title-card",style:{flex:"0.5"}},d3={class:"card-title"},c3=r(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),i3={class:"card-segment"},r3={class:"card-segment"},m3={class:"card-segment"},p3=r(()=>e.createElementVNode("div",null,"Applied",-1)),h3={class:"uppercase"},_3=r(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),E3={class:"phase-analysis"},y3={class:"card phase-card",style:{flex:"1"}},f3=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),V3={class:"main-content"},N3=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),T3={class:"main-content"},Q3={class:"card-content"},g3=r(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),b3=r(()=>e.createElementVNode("span",null,"mt",-1)),x3={class:"card-content"},k3=r(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),D3=r(()=>e.createElementVNode("span",null,"mt",-1)),C3={class:"card-content"},S3=r(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),B3=r(()=>e.createElementVNode("span",null,"mt",-1)),w3={class:"card-content"},A3=r(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),H3=r(()=>e.createElementVNode("span",null,"mt",-1)),L3=r(()=>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)),O3={class:"card phase-card",style:{flex:"1"}},F3=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),P3={class:"main-content"},$3=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),M3={class:"main-content"},W3={class:"card-content"},I3=r(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),G3=r(()=>e.createElementVNode("span",null,"mt",-1)),R3={class:"card-content"},Z3=r(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),z3=r(()=>e.createElementVNode("span",null,"mt",-1)),U3={class:"card-content"},Y3=r(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),j3=r(()=>e.createElementVNode("span",null,"mt",-1)),J3={class:"card-content"},K3=r(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),X3=r(()=>e.createElementVNode("span",null,"mt",-1)),q3=r(()=>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)),u3={class:"phase-analysis"},v3={class:"card phase-card",style:{flex:"1"}},e5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),t5={class:"main-content"},o5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),a5={class:"main-content"},l5={class:"card-content"},n5=r(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),s5=r(()=>e.createElementVNode("span",null,"nm",-1)),d5={class:"card-content"},c5=r(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),i5=r(()=>e.createElementVNode("span",null,"nm",-1)),r5={class:"card-content"},m5=r(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),p5=r(()=>e.createElementVNode("span",null,"nm",-1)),h5={class:"card-content"},_5=r(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),E5=r(()=>e.createElementVNode("span",null,"nm",-1)),y5={class:"card phase-card",style:{flex:"1"}},f5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),V5={class:"main-content"},N5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),T5={class:"main-content"},Q5={class:"card-content"},g5=r(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),b5=r(()=>e.createElementVNode("span",null,"hrs",-1)),x5={class:"card-content"},k5=r(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),D5=r(()=>e.createElementVNode("span",null,"hrs",-1)),C5={class:"card-content"},S5=r(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),B5=r(()=>e.createElementVNode("span",null,"hrs",-1)),w5={class:"card-content"},A5=r(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),H5=r(()=>e.createElementVNode("span",null,"hrs",-1)),L5={class:"card phase-card",style:{flex:"1"}},O5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),F5={class:"main-content"},P5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),$5={class:"main-content"},M5={class:"card-content"},W5=r(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),I5=r(()=>e.createElementVNode("span",null,"kts",-1)),G5={class:"card-content"},R5=r(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),Z5=r(()=>e.createElementVNode("span",null,"kts",-1)),z5={class:"card-content"},U5=r(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),Y5=r(()=>e.createElementVNode("span",null,"kts",-1)),j5={class:"card-content"},J5=r(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),K5=r(()=>e.createElementVNode("span",null,"kts",-1)),X5={class:"phase-analysis"},q5={class:"card phase-card",style:{flex:"1"}},u5=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),v5={class:"main-content"},e0=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),t0={class:"main-content"},o0={class:"card-content"},a0=r(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),l0=r(()=>e.createElementVNode("span",null,"mt",-1)),n0={class:"card-content"},s0=r(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),d0=r(()=>e.createElementVNode("span",null,"mt",-1)),c0={class:"card-content"},i0=r(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),r0=r(()=>e.createElementVNode("span",null,"mt",-1)),m0={class:"card-content"},p0=r(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),h0=r(()=>e.createElementVNode("span",null,"mt",-1)),_0={class:"card phase-card",style:{flex:"1"}},E0=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),y0={class:"main-content"},f0=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),V0={class:"main-content"},N0={class:"card-content"},T0=r(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),Q0=r(()=>e.createElementVNode("span",null,"mt",-1)),g0={class:"card-content"},b0=r(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),x0=r(()=>e.createElementVNode("span",null,"mt",-1)),k0={class:"card-content"},D0=r(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),C0=r(()=>e.createElementVNode("span",null,"mt",-1)),S0={class:"card-content"},B0=r(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),w0=r(()=>e.createElementVNode("span",null,"mt",-1)),A0={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},H0=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),L0={class:"main-content"},O0={class:"card-content"},F0=r(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),P0={key:0},$0=r(()=>e.createElementVNode("span",null,"kts",-1)),M0={key:1},W0={class:"phase-card"},I0={class:"card",style:{flex:"1"}},G0=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),R0={key:0,class:"main-content"},Z0={key:0,class:"iconfont success"},z0={key:1,class:"iconfont error"},U0={key:1,class:"main-content"},Y0={class:"nogwd"},j0={class:"card-content",style:{"justify-content":"flex-start"}},J0={key:0},K0={class:"equation"},X0=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),q0=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),u0={style:{width:"8%"}},v0=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),t8={style:{width:"10%"}},o8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),a8={class:"equation"},l8=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),n8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s8={style:{width:"8%"}},d8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),i8={style:{width:"10%"}},r8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),m8={class:"equation"},p8=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),h8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_8={style:{width:"8%"}},E8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),f8={style:{width:"10%"}},V8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),N8={class:"phase-card"},T8={class:"card",style:{flex:"1"}},Q8=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),g8={key:0,class:"main-content"},b8={key:0,class:"iconfont success"},x8={key:1,class:"iconfont error"},k8={key:1,class:"main-content"},D8={class:"nogwd"},C8={class:"card-content",style:{"justify-content":"flex-start"}},S8={key:0},B8={class:"equation"},w8=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),A8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),H8={style:{width:"8%"}},L8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),F8={style:{width:"120px"}},P8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),M8={style:{width:"10%"}},W8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),I8={class:"equation"},G8=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),R8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Z8={style:{width:"8%"}},z8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),U8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Y8={style:{width:"120px"}},j8=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),J8=r(()=>e.createElementVNode("div",null,"24",-1)),K8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),X8={style:{width:"10%"}},q8=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),u8={class:"equation"},v8=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),ep=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tp={style:{width:"8%"}},op=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ap=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),lp={style:{width:"120px"}},np=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sp=r(()=>e.createElementVNode("div",null,"24",-1)),dp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cp={style:{width:"10%"}},ip=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),rp={key:0,class:"phase-card"},mp={class:"card",style:{flex:"1"}},pp=r(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),hp={key:0,class:"main-content"},_p={key:0,class:"iconfont success"},Ep={key:1,class:"iconfont error"},yp={key:1,class:"main-content"},fp={class:"nogwd"},Vp={class:"card-content",style:{"justify-content":"flex-start"}},Np={key:0},Tp={class:"equation"},Qp=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),gp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bp={style:{width:"8%"}},xp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Dp={style:{width:"120px"}},Cp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Bp={style:{width:"10%"}},wp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Ap={class:"equation"},Hp=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Lp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Op={style:{width:"8%"}},Fp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),$p={style:{width:"120px"}},Mp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wp=r(()=>e.createElementVNode("div",null,"24",-1)),Ip=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gp={style:{width:"10%"}},Rp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Zp={class:"equation"},zp=r(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),Up=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Yp={style:{width:"8%"}},jp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jp=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Kp={style:{width:"120px"}},Xp=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qp=r(()=>e.createElementVNode("div",null,"24",-1)),up=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vp={style:{width:"10%"}},eh=r(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),th=r(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),oh={class:"formular dashed",style:{"page-break-inside":"avoid"}},ah={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},lh=r(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),nh={class:""},sh={class:"equation"},dh=r(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),ch=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ih={style:{width:"50%"},class:"fraction"},rh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mh=r(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),ph=r(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),hh={class:"equation"},_h=r(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Eh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yh={style:{width:"50%"},class:"fraction"},fh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Vh=r(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Nh=r(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),Th={class:"equation"},Qh=r(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),gh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bh={style:{width:"50%"},class:"fraction"},xh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kh=r(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Dh=r(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Ch=r(()=>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)),Sh={class:"flexL formular-item",style:{"margin-left":"20px"}},Bh=r(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),wh={class:""},Ah={class:"equation"},Hh=r(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),Lh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Oh={style:{width:"25%"},class:"fraction"},Fh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ph=r(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),$h=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Mh=r(()=>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)),Wh=r(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),Ih={class:"equation"},Gh=r(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),Rh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zh={style:{width:"25%"},class:"fraction"},zh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Uh=r(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Yh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),jh=r(()=>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)),Jh=r(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),Kh={class:"equation"},Xh=r(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),qh=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uh={style:{width:"25%"},class:"fraction"},vh=r(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e7=r(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),t7=r(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),o7=r(()=>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)),a7=r(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),l7=r(()=>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)),n7=r(()=>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 s7(o,s,t,i,l,n){var E,d,p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((d=(E=t.reportData)==null?void 0:E.weather)!=null&&d.referenceOnly?"watermark":"")},[Z6,e.createElementVNode("div",z6,[U6,e.createElementVNode("div",Y6,[e.createElementVNode("div",j6,[e.createElementVNode("div",J6,[K6,e.createElementVNode("div",X6,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",q6,[u6,e.createElementVNode("div",v6,e.toDisplayString((Q=(T=t.reportData)==null?void 0:T.vessel)==null?void 0:Q.name),1)]),e.createElementVNode("div",e4,[t4,e.createElementVNode("div",o4,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",a4,[e.createElementVNode("div",l4,[n4,e.createElementVNode("div",s4,e.toDisplayString(((y=(h=t.reportData)==null?void 0:h.departure)==null?void 0:y.portName)||n.computedLngLat((g=(x=t.reportData)==null?void 0:x.departure)==null?void 0:g.lat,(b=(k=t.reportData)==null?void 0:k.departure)==null?void 0:b.lng)),1),e.createElementVNode("div",d4,e.toDisplayString(n.computedTime((A=(w=t.reportData)==null?void 0:w.departure)==null?void 0:A.utcTime,"table")),1)]),e.createElementVNode("div",c4,[i4,e.createElementVNode("div",r4,e.toDisplayString(((S=(C=t.reportData)==null?void 0:C.arrival)==null?void 0:S.portName)||n.computedLngLat((H=(V=t.reportData)==null?void 0:V.arrival)==null?void 0:H.lat,(I=(W=t.reportData)==null?void 0:W.arrival)==null?void 0:I.lng)),1),e.createElementVNode("div",m4,e.toDisplayString(n.computedTime((R=(G=t.reportData)==null?void 0:G.arrival)==null?void 0:R.utcTime,"table")),1)]),e.createElementVNode("div",p4,[h4,e.createElementVNode("div",_4,e.toDisplayString((O=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:O.loadCondition),1)])])]),E4,e.createElementVNode("div",y4,[(F=($=t.reportData)==null?void 0:$.weather)!=null&&F.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",f4,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",V4,[e.createElementVNode("div",N4,[T4,e.createElementVNode("div",Q4,"BF "+e.toDisplayString(((M=(L=t.reportData)==null?void 0:L.weather)==null?void 0:M.windScale)||"-"),1)]),(z=(j=t.reportData)==null?void 0:j.weather)!=null&&z.waveSwitch?(e.openBlock(),e.createElementBlock("div",g4,[b4,e.createElementVNode("div",x4,e.toDisplayString(((de=(J=t.reportData)==null?void 0:J.weather)==null?void 0:de.waveHeight)||"-")+" Meter",1)])):(a=(ce=t.reportData)==null?void 0:ce.weather)!=null&&a.swellSwitch?(e.openBlock(),e.createElementBlock("div",k4,[D4,e.createElementVNode("div",C4,e.toDisplayString(((oe=(X=t.reportData)==null?void 0:X.weather)==null?void 0:oe.swellHeight)||"-")+" Meter",1)])):(le=(ae=t.reportData)==null?void 0:ae.weather)!=null&&le.sigSwitch?(e.openBlock(),e.createElementBlock("div",S4,[B4,e.createElementVNode("div",w4,e.toDisplayString(((se=(ne=t.reportData)==null?void 0:ne.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(re=(ie=t.reportData)==null?void 0:ie.weather)!=null&&re.waveSwitch||(fe=(me=t.reportData)==null?void 0:me.weather)!=null&&fe.swellHeight||(Ee=(v=t.reportData)==null?void 0:v.weather)!=null&&Ee.sigSwitch?(e.openBlock(),e.createElementBlock("div",A4,[H4,e.createElementVNode("div",L4,e.toDisplayString((Ne=(Ve=t.reportData)==null?void 0:Ve.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(Qe=(pe=t.reportData)==null?void 0:pe.weather)!=null&&Qe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",O4,F4)):e.createCommentVNode("",!0),(be=(ge=t.reportData)==null?void 0:ge.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",P4,$4)):e.createCommentVNode("",!0)])),e.createElementVNode("div",M4,[e.createElementVNode("table",W4,[I4,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(m,P)=>(e.openBlock(),e.createElementBlock("tr",{key:P},[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))])])])]),G4,e.createElementVNode("div",R4,[((ke=(xe=t.reportData)==null?void 0:xe.segments)==null?void 0:ke.length)>1?(e.openBlock(),e.createElementBlock("div",Z4,[z4,e.createElementVNode("div",U4,[e.createElementVNode("div",Y4,[j4,e.createElementVNode("div",J4,[(we=(De=t.reportData)==null?void 0:De.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",K4,e.toDisplayString((He=(Ae=t.reportData)==null?void 0:Ae.goodWx)==null?void 0:He.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",X4,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",q4,[u4,e.createElementVNode("div",v4,[(Oe=(Le=t.reportData)==null?void 0:Le.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",em,e.toDisplayString((Pe=(Fe=t.reportData)==null?void 0:Fe.goodWx)==null?void 0:Pe.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",tm,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",om,[am,e.createElementVNode("div",lm,[(Te=($e=t.reportData)==null?void 0:$e.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",nm,e.toDisplayString((Je=(je=t.reportData)==null?void 0:je.goodWx)==null?void 0:Je.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",sm,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",dm,[e.createElementVNode("div",cm,[im,e.createElementVNode("div",rm,e.toDisplayString((B=(Ke=t.reportData)==null?void 0:Ke.allWx)==null?void 0:B.avgSpd)+" kts",1)]),e.createElementVNode("div",mm,[pm,e.createElementVNode("div",hm,e.toDisplayString((Ge=(Ce=t.reportData)==null?void 0:Ce.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",_m,[Em,e.createElementVNode("div",ym,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),fm])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ue=t.reportData)==null?void 0:ue.segments,(m,P)=>{var Se,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:P,class:"summary-seg"},[e.createElementVNode("div",Vm,[e.createElementVNode("div",Nm,[Tm,e.createElementVNode("span",null,"Phase "+e.toDisplayString(P+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[P],(ye,ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ze,class:e.normalizeClass(l.segDetail[P].length>1?"dashed":"")},[e.createElementVNode("div",Qm,[e.createElementVNode("div",null,e.toDisplayString(ye==null?void 0:ye.port1),1),e.createElementVNode("div",null,e.toDisplayString(ye==null?void 0:ye.time1),1)]),e.createElementVNode("div",gm,[e.createElementVNode("div",null,e.toDisplayString(ye==null?void 0:ye.port2),1),e.createElementVNode("div",null,e.toDisplayString(ye==null?void 0:ye.time2),1)])],2))),128)),e.createElementVNode("div",bm,[xm,e.createElementVNode("div",null,[e.createElementVNode("span",km,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",Dm,[Cm,(Se=m.goodWx)!=null&&Se.distance?(e.openBlock(),e.createElementBlock("div",Sm,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Bm,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",wm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Am,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Hm,[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",Lm,[Om,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Fm,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Pm,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",$m,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Mm,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Wm,[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",Im,[Gm,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",Rm,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Zm,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",zm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Um,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Ym,[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",jm,[Jm,e.createElementVNode("div",Km,[e.createElementVNode("div",Xm,[qm,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,P)=>(e.openBlock(),e.createElementBlock("div",{key:P,class:"remark-speed"},[e.createElementVNode("div",um,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${P+1}. Phase ${P+1} Applied `)+" ",1),e.createElementVNode("span",vm,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(l.segDetail[P],(Se,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Se.port1} (${Se.fullTime1}) to ${Se.port2} (${Se.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",e3,[t3,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",o3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(m,P)=>(e.openBlock(),e.createElementBlock("div",{key:P},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",a3,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,P)=>{var Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo,D,Ze,nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta,na,sa,da,ca,ia,ra,ma,pa,ha;return e.openBlock(),e.createElementBlock("div",{key:P,class:"phase"},[e.createElementVNode("div",l3,[e.createElementVNode("div",n3,[e.createElementVNode("div",s3,[e.createElementVNode("div",d3,[c3,e.createElementVNode("span",null,"Phase "+e.toDisplayString(P+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[P],(it,_a)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+_a,class:e.normalizeClass(l.segDetail[P].length>1?"dashed":"")},[e.createElementVNode("div",i3,[e.createElementVNode("div",null,e.toDisplayString(it==null?void 0:it.port1),1),e.createElementVNode("div",null,e.toDisplayString(it==null?void 0:it.time1),1)]),e.createElementVNode("div",r3,[e.createElementVNode("div",null,e.toDisplayString(it==null?void 0:it.port2),1),e.createElementVNode("div",null,e.toDisplayString(it==null?void 0:it.time2),1)])],2))),128)),e.createElementVNode("div",m3,[p3,e.createElementVNode("div",null,[e.createElementVNode("span",h3,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)])])])]),_3,e.createElementVNode("div",E3,[e.createElementVNode("div",y3,[f3,e.createElementVNode("div",V3,[e.createElementVNode("span",null,e.toDisplayString(((Se=m.goodWx)==null?void 0:Se.avgFoEcaCons)||"-")+" mt",1)]),N3,e.createElementVNode("div",T3,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Q3,[g3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),b3])]),e.createElementVNode("div",x3,[k3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ye=m.goodWx)==null?void 0:ye.inEca.avgFoEcaCons)||"-"),1),D3])]),e.createElementVNode("div",C3,[S3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.allWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),B3])]),e.createElementVNode("div",w3,[A3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),H3])]),L3]),e.createElementVNode("div",O3,[F3,e.createElementVNode("div",P3,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),$3,e.createElementVNode("div",M3,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.allWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",W3,[I3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Y=m.goodWx)==null?void 0:Y.outEca.avgDgoCons)||"-"),1),G3])]),e.createElementVNode("div",R3,[Z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.goodWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),z3])]),e.createElementVNode("div",U3,[Y3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.outEca.avgDgoCons)||"-"),1),j3])]),e.createElementVNode("div",J3,[K3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.inEca.avgDgoEcaCons)||"-"),1),X3])]),q3])]),e.createElementVNode("div",u3,[e.createElementVNode("div",v3,[e5,e.createElementVNode("div",t5,[e.createElementVNode("span",null,e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.distance)||"-")+" nm",1)]),o5,e.createElementVNode("div",a5,[e.createElementVNode("span",null,e.toDisplayString(((Nt=m.allWx)==null?void 0:Nt.distance)||"-")+" nm",1)]),e.createElementVNode("div",l5,[n5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.outEca.distance)||"-"),1),s5])]),e.createElementVNode("div",d5,[c5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Qt=m.goodWx)==null?void 0:Qt.inEca.distance)||"-"),1),i5])]),e.createElementVNode("div",r5,[m5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=m.allWx)==null?void 0:gt.outEca.distance)||"-"),1),p5])]),e.createElementVNode("div",h5,[_5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),E5])])]),e.createElementVNode("div",y5,[f5,e.createElementVNode("div",V5,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.goodWx)==null?void 0:xt.time)||"-")+" hrs",1)]),N5,e.createElementVNode("div",T5,[e.createElementVNode("span",null,e.toDisplayString(((kt=m.allWx)==null?void 0:kt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Q5,[g5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),b5])]),e.createElementVNode("div",x5,[k5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.goodWx)==null?void 0:Ct.inEca.time)||"-"),1),D5])]),e.createElementVNode("div",C5,[S5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.outEca.time)||"-"),1),B5])]),e.createElementVNode("div",w5,[A5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.inEca.time)||"-"),1),H5])])]),e.createElementVNode("div",L5,[O5,e.createElementVNode("div",F5,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.goodWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),P5,e.createElementVNode("div",$5,[e.createElementVNode("span",null,e.toDisplayString(((At=m.allWx)==null?void 0:At.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",M5,[W5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ht=m.goodWx)==null?void 0:Ht.outEca.avgSpd)||"-"),1),I5])]),e.createElementVNode("div",G5,[R5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Lt=m.goodWx)==null?void 0:Lt.inEca.avgSpd)||"-"),1),Z5])]),e.createElementVNode("div",z5,[U5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.outEca.avgSpd)||"-"),1),Y5])]),e.createElementVNode("div",j5,[J5,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.inEca.avgSpd)||"-"),1),K5])])])]),e.createElementVNode("div",X5,[e.createElementVNode("div",q5,[u5,e.createElementVNode("div",v5,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),e0,e.createElementVNode("div",t0,[e.createElementVNode("span",null,e.toDisplayString(((io=m.allWx)==null?void 0:io.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",o0,[a0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.outEca.sumFoCons)||"-"),1),l0])]),e.createElementVNode("div",n0,[s0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.inEca.sumFoCons)||"-"),1),d0])]),e.createElementVNode("div",c0,[i0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),r0])]),e.createElementVNode("div",m0,[p0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.allWx)==null?void 0:ho.inEca.sumFoCons)||"-"),1),h0])])]),e.createElementVNode("div",_0,[E0,e.createElementVNode("div",y0,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),f0,e.createElementVNode("div",V0,[e.createElementVNode("span",null,e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",N0,[T0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.outEca.sumDgoCons)||"-"),1),Q0])]),e.createElementVNode("div",g0,[b0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((fo=m.goodWx)==null?void 0:fo.inEca.sumDgoCons)||"-"),1),x0])]),e.createElementVNode("div",k0,[D0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=m.allWx)==null?void 0:Vo.outEca.sumDgoCons)||"-"),1),C0])]),e.createElementVNode("div",S0,[B0,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.inEca.sumDgoCons)||"-"),1),w0])])]),e.createElementVNode("div",A0,[H0,e.createElementVNode("div",L0,[e.createElementVNode("span",null,e.toDisplayString(((To=m.goodWx)==null?void 0:To.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",O0,[F0,(Qo=m.goodWx)!=null&&Qo.distance&&!((bo=(go=t.reportData)==null?void 0:go.weather)!=null&&bo.favorableCur&&((xo=m.goodWx)==null?void 0:xo.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",P0,[e.createTextVNode(e.toDisplayString(n.computedPositive((ko=m.goodWx)==null?void 0:ko.avgCf)),1),$0])):(e.openBlock(),e.createElementBlock("b",M0,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",W0,[e.createElementVNode("div",I0,[G0,(Do=m.goodWx)!=null&&Do.distance?(e.openBlock(),e.createElementBlock("div",R0,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Z0,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",z0,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",U0,[e.createElementVNode("span",Y0,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",j0,[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(`${(Co=m.goodWx)!=null&&Co.distance?"":"analysis-none"} card analysis-card`)},[(So=m.goodWx)!=null&&So.distance?(e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",K0,[X0,q0,e.createElementVNode("div",u0,[e.createElementVNode("div",null,e.toDisplayString((D=(Bo=t.reportData)==null?void 0:Bo.weather)!=null&&D.noExtrapolation?(Ze=m.goodWx)==null?void 0:Ze.distance:(nt=m.allWx)==null?void 0:nt.distance),1),v0,e.createElementVNode("div",null,e.toDisplayString((st=m.goodWx)==null?void 0:st.pfmSpd),1)]),e8,e.createElementVNode("div",t8,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),o8]),e.createElementVNode("div",a8,[l8,n8,e.createElementVNode("div",s8,[e.createElementVNode("div",null,e.toDisplayString(($t=(Et=t.reportData)==null?void 0:Et.weather)!=null&&$t.noExtrapolation?(Mt=m.goodWx)==null?void 0:Mt.distance:(Wt=m.allWx)==null?void 0:Wt.distance),1),d8,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),c8,e.createElementVNode("div",i8,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),r8]),e.createElementVNode("div",m8,[p8,h8,e.createElementVNode("div",_8,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=t.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(Zt=m.allWx)==null?void 0:Zt.distance),1),E8,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),y8,e.createElementVNode("div",f8,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),V8])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",N8,[e.createElementVNode("div",T8,[Q8,(zt=m.goodWx)!=null&&zt.distance?(e.openBlock(),e.createElementBlock("div",g8,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",b8,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",x8,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",k8,[e.createElementVNode("span",D8,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",C8,[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(`${(Ut=m.goodWx)!=null&&Ut.distance?"":"analysis-none"} card analysis-card`)},[(Yt=m.goodWx)!=null&&Yt.distance?(e.openBlock(),e.createElementBlock("div",S8,[e.createElementVNode("div",B8,[w8,A8,e.createElementVNode("div",H8,[e.createElementVNode("div",null,e.toDisplayString((Jt=(jt=t.reportData)==null?void 0:jt.weather)!=null&&Jt.noExtrapolation?(Kt=m.goodWx)==null?void 0:Kt.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),L8,e.createElementVNode("div",null,e.toDisplayString((qt=m.goodWx)==null?void 0:qt.pfmSpd),1)]),O8,e.createElementVNode("div",F8,[e.createElementVNode("div",null,e.toDisplayString((ut=m.goodWx)==null?void 0:ut.sumFoCons)+" "+e.toDisplayString(((vt=m.allWx)==null?void 0:vt.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),P8,e.createElementVNode("div",null,e.toDisplayString((eo=m.goodWx)==null?void 0:eo.time),1)]),$8,e.createElementVNode("div",M8,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),W8]),e.createElementVNode("div",I8,[G8,R8,e.createElementVNode("div",Z8,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=t.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(ao=m.goodWx)==null?void 0:ao.distance:(lo=m.allWx)==null?void 0:lo.distance),1),z8,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),U8,e.createElementVNode("div",Y8,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),j8,J8]),K8,e.createElementVNode("div",X8,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),q8]),e.createElementVNode("div",u8,[v8,ep,e.createElementVNode("div",tp,[e.createElementVNode("div",null,e.toDisplayString((so=(no=t.reportData)==null?void 0:no.weather)!=null&&so.noExtrapolation?(wo=m.goodWx)==null?void 0:wo.distance:(Ao=m.allWx)==null?void 0:Ao.distance),1),op,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),ap,e.createElementVNode("div",lp,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),np,sp]),dp,e.createElementVNode("div",cp,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),ip])])):e.createCommentVNode("",!0)],2)]),((Lo=(Ho=m==null?void 0:m.extend)==null?void 0:Ho.cp)==null?void 0:Lo.dgo)>0?(e.openBlock(),e.createElementBlock("div",rp,[e.createElementVNode("div",mp,[pp,(Oo=m.goodWx)!=null&&Oo.distance?(e.openBlock(),e.createElementBlock("div",hp,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",_p,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Ep,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",yp,[e.createElementVNode("span",fp,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Vp,[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(`${(Fo=m.goodWx)!=null&&Fo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",Np,[e.createElementVNode("div",Tp,[Qp,gp,e.createElementVNode("div",bp,[e.createElementVNode("div",null,e.toDisplayString((Mo=($o=t.reportData)==null?void 0:$o.weather)!=null&&Mo.noExtrapolation?(Wo=m.goodWx)==null?void 0:Wo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),xp,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),kp,e.createElementVNode("div",Dp,[e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.sumDgoCons)+" "+e.toDisplayString(((Zo=m.allWx)==null?void 0:Zo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),Cp,e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.time),1)]),Sp,e.createElementVNode("div",Bp,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),wp]),e.createElementVNode("div",Ap,[Hp,Lp,e.createElementVNode("div",Op,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=t.reportData)==null?void 0:Uo.weather)!=null&&Yo.noExtrapolation?(jo=m.goodWx)==null?void 0:jo.distance:(Jo=m.allWx)==null?void 0:Jo.distance),1),Fp,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Pp,e.createElementVNode("div",$p,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),Mp,Wp]),Ip,e.createElementVNode("div",Gp,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),Rp]),e.createElementVNode("div",Zp,[zp,Up,e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((Xo=(Ko=t.reportData)==null?void 0:Ko.weather)!=null&&Xo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(uo=m.allWx)==null?void 0:uo.distance),1),jp,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Jp,e.createElementVNode("div",Kp,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Xp,qp]),up,e.createElementVNode("div",vp,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),eh])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),th,e.createElementVNode("div",oh,[e.createElementVNode("div",ah,[lh,e.createElementVNode("div",nh,[e.createElementVNode("div",sh,[dh,ch,e.createElementVNode("div",ih,[e.createElementVNode("div",null,e.toDisplayString((ea=(vo=t.reportData)==null?void 0:vo.weather)!=null&&ea.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rh,mh]),ph]),e.createElementVNode("div",hh,[_h,Eh,e.createElementVNode("div",yh,[e.createElementVNode("div",null,e.toDisplayString((na=(ta=t.reportData)==null?void 0:ta.weather)!=null&&na.noExtrapolation?"Good Weather Distance":"Total Distance"),1),fh,Vh]),Nh]),e.createElementVNode("div",Th,[Qh,gh,e.createElementVNode("div",bh,[e.createElementVNode("div",null,e.toDisplayString((da=(sa=t.reportData)==null?void 0:sa.weather)!=null&&da.noExtrapolation?"Good Weather Distance":"Total Distance"),1),xh,kh]),Dh]),Ch])]),e.createElementVNode("div",Sh,[Bh,e.createElementVNode("div",wh,[e.createElementVNode("div",Ah,[Hh,Lh,e.createElementVNode("div",Oh,[e.createElementVNode("div",null,e.toDisplayString((ia=(ca=t.reportData)==null?void 0:ca.weather)!=null&&ia.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Fh,Ph]),$h,Mh,Wh]),e.createElementVNode("div",Ih,[Gh,Rh,e.createElementVNode("div",Zh,[e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.reportData)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Good Weather Distance":"Total Distance"),1),zh,Uh]),Yh,jh,Jh]),e.createElementVNode("div",Kh,[Xh,qh,e.createElementVNode("div",uh,[e.createElementVNode("div",null,e.toDisplayString((ha=(pa=t.reportData)==null?void 0:pa.weather)!=null&&ha.noExtrapolation?"Good Weather Distance":"Total Distance"),1),vh,e7]),t7,o7,a7]),l7,n7])])])])])}),128))])],2)}const d7=We(R6,[["render",s7],["__scopeId","data-v-b0ef3073"]]),dX="",c7={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,i){var E;let l="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(l=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!i&&(l=l+" good-weather"),(o==null?void 0:o.excluded)===!0&&!i&&(l=l+" excluded"),l}},computedSegClass(){return function(o,s){var i,l;const t=((i=this.summaryTable)==null?void 0:i.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.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"?u(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):u(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}°${he.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var i,l,n,E;this.showCF=(l=(i=this.reportData)==null?void 0:i.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((d,p)=>{let T=d.extend.cp;d.inventory.sample.hours.forEach((Q,h)=>{let y=JSON.parse(JSON.stringify(Q));y.cp=T,o.push(y)})}),o.sort(function(d,p){let T=d.date,Q=p.date;return T-Q});let s="",t="";o.forEach((d,p)=>{d.seg!==s&&(d.isFirstSeg=!0,s=d.seg);let T=d.type.charAt(0);d.abbreviation=T;const Q=u(d.utc).utc().format("D-MMM");Q!==t&&(d.lastdate=Q,t=Q),T==="A"?d.type="":T==="M"&&(d.type="*"),d.time=u(d.utc).utc().format("HH:mm[Z]"),d.lngPretty=this.getLonLat(he.LngLatHelper.lng2pretty(d.lng)),d.latPretty=this.getLonLat(he.LngLatHelper.lat2pretty(d.lat))}),this.summaryTable=o}}},ed=o=>(e.pushScopeId("data-v-ec7ec0f5"),o=o(),e.popScopeId(),o),i7=ed(()=>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)),r7={id:"second-table",class:"table"},m7={class:"summary-table"},p7=ed(()=>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)),h7={class:"summary-tbody"},_7=e.createStaticVNode('
Good Weather Days
Adverse Weather Days
Excluded Periods
',1),E7={class:"voyage-map",style:{"page-break-inside":"avoid"}},y7=ed(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),f7=["src"],V7=e.createStaticVNode('
7

W 4
LEGEND:
Wind from NE(045)
Each barb = 10 kts
1/2 barb = 5 kts
7 - DAY OF THE MONTH
W 4 - PRIMARY WAVE FROM WEST, 4 METERS
Date
Good weather days
',1);function N7(o,s,t,i,l,n){var E,d,p,T,Q;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((d=(E=t.reportData)==null?void 0:E.weather)!=null&&d.referenceOnly||(T=(p=t.reportData)==null?void 0:p.weather)!=null&&T.overallAsGoodWx?"watermark fli-main":"fli-main")},[i7,e.createElementVNode("div",r7,[e.createElementVNode("div",null,[e.createElementVNode("table",m7,[p7,e.createElementVNode("tbody",h7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,y)=>{var x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z;return e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,y))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString((x=h.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(g=h.cp)==null?void 0:g.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((b=(k=h.meteo)==null?void 0:k.wind)==null?void 0:b.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((C=(A=(w=h.meteo)==null?void 0:w.wave)==null?void 0:A.swell)==null?void 0:C.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((H=(V=(S=h.meteo)==null?void 0:S.wave)==null?void 0:V.swell)==null?void 0:H.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((G=(I=(W=h.meteo)==null?void 0:W.wave)==null?void 0:I.sig)==null?void 0:G.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(((R=h.meteo)==null?void 0:R.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((O=h.noon)==null?void 0:O.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":($=h.cp)==null?void 0:$.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(F=h.cp)==null?void 0:F.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},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,y))},e.toDisplayString(h.abbreviation==="A"?"":(j=h.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,y))},e.toDisplayString(h.abbreviation==="A"?"":(z=h.noon)==null?void 0:z.dgoBrob),3)])}),128))])])])]),_7,e.createElementVNode("div",E7,[y7,e.createElementVNode("img",{style:{width:"100%"},src:(Q=t.reportData)==null?void 0:Q.chartUrl,alt:""},null,8,f7),V7])],2)}const T7=We(c7,[["render",N7],["__scopeId","data-v-ec7ec0f5"]]),cX="",Q7={components:{Summary:d7,Inventory:T7},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)}}},g7={class:"voyage-report"};function b7(o,s,t,i,l,n){const E=e.resolveComponent("Summary"),d=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",g7,[e.createVNode(E,{"report-data":l.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(d,{"is-admin":t.isAdmin,"report-data":l.reportData,class:"main"},null,8,["is-admin","report-data"])])}const dd=We(Q7,[["render",b7],["__scopeId","data-v-77dca605"]]),iX="",x7={name:"OrmVoyageSummary",components:{Lng:Kl,Lat:Xl,Editor:la},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`${u(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 he.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return he.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,i)=>{const l=t.excluded;l.sumDistance>0&&l.detail.forEach(n=>{const E={time:u(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+u(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}}},c=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),k7={class:"report-summary"},D7={class:"section voyage-section flex-space"},C7={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},S7={class:"flex-space label-block",style:{width:"100%"}},B7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),w7={style:{"text-transform":"uppercase"}},A7={class:"flex-space label-block",style:{width:"100%"}},H7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),L7={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},O7={class:"flex-space label-block",style:{width:"100%"}},F7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),P7={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},$7={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},M7={class:"flex-space label-block",style:{width:"100%"}},W7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),I7={key:0,class:"flex-end",style:{flex:"1"}},G7={key:1,class:"flex-end",style:{flex:"1"}},R7=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Z7={class:"flex-end",style:{width:"150px"}},z7={class:"flex-space label-block",style:{width:"100%"}},U7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),Y7={key:0,class:"flex-end",style:{flex:"1"}},j7={key:1,class:"flex-end",style:{flex:"1"}},J7=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),K7={class:"flex-end",style:{width:"150px"}},X7={class:"flex-space label-block",style:{width:"100%"}},q7=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),u7={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},v7={class:"section weather-section"},e_=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),t_={class:"definition"},o_={class:"txt"},a_={class:"section summary-section"},l_=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),n_={class:"phase-box"},s_={class:"phase-index"},d_={class:"phase-position"},c_={key:0},i_={key:1},r_=c(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),m_={class:"phase-position"},p_={key:0},h_={key:1},__=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),E_={class:"phase-cp flex-space"},y_={class:"cp-box"},f_=c(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),V_={class:"flex-space"},N_=c(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),T_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Q_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),g_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),b_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),x_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),k_=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),D_=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),C_={class:"phase-conclusion flex-space"},S_={class:"item-conclusion"},B_=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),w_={class:"value flex-start"},A_=c(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),H_={key:0,class:"label flex-end"},L_={key:0},O_={key:1},F_={key:2},P_={key:1,class:"label flex-end"},$_={key:2,class:"value flex-end"},M_={key:0},W_=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),I_={class:"gain"},G_=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),R_={key:1},Z_=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),z_={class:"lost"},U_=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),Y_={key:2},j_={class:"item-conclusion"},J_=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),K_={class:"value flex-start"},X_=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),q_={key:0,class:"label flex-end"},u_={key:0},v_={key:1},e9={key:2},t9={key:1,class:"label flex-end"},o9={key:2,class:"value flex-end"},a9={key:0},l9=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),n9={class:"gain"},s9=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),d9={key:1},c9=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),i9={class:"lost"},r9=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),m9={key:2},p9={class:"item-conclusion"},h9=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),_9={class:"value flex-start"},E9=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),y9={key:0,class:"label flex-end"},f9={key:0},V9={key:1},N9={key:2},T9={key:1,class:"label flex-end"},Q9={key:2,class:"value flex-end"},g9={key:0},b9=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),x9={class:"gain"},k9=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),D9={key:1},C9=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),S9={class:"lost"},B9=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),w9={key:2},A9=c(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),H9=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),L9={key:0,class:"exclusion-block"},O9=c(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),F9=c(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),P9={style:{margin:"8px 0"}},$9={class:"remark-table"},M9=c(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),W9=["innerHTML"],I9={class:"section segment-section"},G9=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),R9={class:"segment-index flex-center"},Z9={class:"segment-position"},z9={key:0},U9={key:1},Y9=c(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),j9={class:"segment-position"},J9={key:0},K9={key:1},X9=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),q9={style:{margin:"10px 0 0"}},u9=c(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),v9=c(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),eE=c(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),tE={class:"good-wx"},oE={class:"good-wx"},aE=c(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),lE={class:"good-wx"},nE={class:"good-wx"},sE=c(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),dE={class:"good-wx"},cE={class:"good-wx"},iE=c(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),rE={class:"good-wx"},mE={class:"good-wx"},pE=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),hE={class:"good-wx"},_E={class:"good-wx"},EE=c(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),yE={class:"good-wx"},fE={class:"good-wx"},VE=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),NE={class:"good-wx"},TE={class:"good-wx"},QE={key:0,class:"flex-end tip"},gE={key:1,class:"segment-speed"},bE={class:"flex-center"},xE=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),kE={class:"speed-right flex-space"},DE=c(()=>e.createElementVNode("span",null,"-",-1)),CE=c(()=>e.createElementVNode("label",null,"=",-1)),SE={class:"speed"},BE={key:1,class:"speed"},wE={key:0,class:"speed"},AE=c(()=>e.createElementVNode("span",null,"-",-1)),HE=c(()=>e.createElementVNode("label",null,"=",-1)),LE={class:"speed"},OE=c(()=>e.createElementVNode("span",null,"-",-1)),FE=c(()=>e.createElementVNode("label",null,"=",-1)),PE={class:"speed"},$E=c(()=>e.createElementVNode("span",null,"-",-1)),ME=c(()=>e.createElementVNode("span",null,"-",-1)),WE=c(()=>e.createElementVNode("label",null,"=",-1)),IE={class:"speed"},GE={key:2,class:"under"},RE={key:3,class:"over"},ZE={class:"flex-center"},zE=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),UE={class:"speed-right formula flex-space"},YE=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),jE=c(()=>e.createElementVNode("label",null,"-",-1)),JE=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),KE=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),XE=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),qE={key:0},uE=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),vE=c(()=>e.createElementVNode("label",null,"-",-1)),ey=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),ty=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),oy=c(()=>e.createElementVNode("label",null,"-",-1)),ay=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),ly=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),ny=c(()=>e.createElementVNode("label",null,"-",-1)),sy=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),dy=c(()=>e.createElementVNode("label",null,"-",-1)),cy=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),iy={key:2,class:"segment-speed"},ry={class:"flex-center"},my=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),py={class:"speed-right flex-space"},hy=c(()=>e.createElementVNode("span",null,"-",-1)),_y=c(()=>e.createElementVNode("span",null,"-",-1)),Ey=c(()=>e.createElementVNode("label",null,"=",-1)),yy={class:"speed"},fy=c(()=>e.createElementVNode("span",null,"-",-1)),Vy=c(()=>e.createElementVNode("label",null,"=",-1)),Ny={class:"speed"},Ty={key:2,class:"under"},Qy={key:3,class:"over"},gy={class:"flex-center"},by=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),xy={class:"speed-right formula flex-space"},ky=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Dy=c(()=>e.createElementVNode("label",null,"-",-1)),Cy=c(()=>e.createElementVNode("label",null,"Current Factor",-1)),Sy=c(()=>e.createElementVNode("label",null,"-",-1)),By=c(()=>e.createElementVNode("label",null,"Weather Factor",-1)),wy=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Ay=c(()=>e.createElementVNode("label",null,"-",-1)),Hy=c(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),Ly=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),Oy=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Fy={class:"segment-formula"},Py={class:"header-block flex-start"},$y=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),My={class:"title"},Wy={key:0,style:{"margin-left":"4px","font-weight":"300"}},Iy={class:"formula-block"},Gy={class:"flex-evenly"},Ry=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Zy={class:"formula-right flex-evenly"},zy={class:"fraction",style:{width:"240px"}},Uy=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yy=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),jy=c(()=>e.createElementVNode("div",null,"(a)",-1)),Jy={class:"flex-center"},Ky={class:"formula-left flex-space"},Xy=c(()=>e.createElementVNode("label",null,"=",-1)),qy={class:"formula-right flex-evenly"},uy={class:"fraction",style:{width:"240px"}},vy=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),ef=c(()=>e.createElementVNode("div",null,"(b)",-1)),tf={class:"flex-center"},of={class:"formula-left flex-space"},af=c(()=>e.createElementVNode("label",null,"=",-1)),lf={class:"formula-right flex-evenly"},nf={class:"fraction",style:{width:"240px"}},sf=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),df=c(()=>e.createElementVNode("div",null,"(c)",-1)),cf=e.createStaticVNode('
=
(a)
-
(b)
=
(c)
-
(a)
',1),rf={class:"formula-desc"},mf={class:"flex-end"},pf=c(()=>e.createElementVNode("label",null,"Time Lost",-1)),hf={class:"flex-end"},_f=c(()=>e.createElementVNode("label",null,"Time Gained",-1)),Ef={class:"flex-end"},yf=c(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),ff={key:0,class:"formula-block",style:{"font-weight":"400"}},Vf={class:"flex-evenly"},Nf=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Tf={class:"formula-right flex-evenly"},Qf={class:"fraction",style:{width:"240px"}},gf=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),bf=c(()=>e.createElementVNode("div",null,"=",-1)),xf=c(()=>e.createElementVNode("div",null,"(a')",-1)),kf={class:"flex-center"},Df={class:"formula-left flex-space"},Cf=c(()=>e.createElementVNode("label",null,"=",-1)),Sf={class:"formula-right flex-evenly"},Bf={class:"fraction",style:{width:"240px"}},wf=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Af=c(()=>e.createElementVNode("div",null,"=",-1)),Hf=c(()=>e.createElementVNode("div",null,"(b')",-1)),Lf={class:"flex-center"},Of={class:"formula-left flex-space"},Ff=c(()=>e.createElementVNode("label",null,"=",-1)),Pf={class:"formula-right flex-evenly"},$f={class:"fraction",style:{width:"240px"}},Mf=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Wf=c(()=>e.createElementVNode("div",null,"=",-1)),If=c(()=>e.createElementVNode("div",null,"(c')",-1)),Gf={class:"formula-conclusion",style:{"margin-bottom":"0"}},Rf={key:0,class:"flex-evenly",style:{width:"500px"}},Zf=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),zf=c(()=>e.createElementVNode("div",null,"=",-1)),Uf=c(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),Yf=c(()=>e.createElementVNode("div",null,"=",-1)),jf=c(()=>e.createElementVNode("div",null,"-",-1)),Jf=c(()=>e.createElementVNode("div",null,"=",-1)),Kf={key:1,class:"flex-evenly",style:{width:"500px"}},Xf=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),qf=c(()=>e.createElementVNode("div",null,"=",-1)),uf=c(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),vf=c(()=>e.createElementVNode("div",null,"=",-1)),eV=c(()=>e.createElementVNode("div",null,"-",-1)),tV=c(()=>e.createElementVNode("div",null,"=",-1)),oV=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),aV={key:1,class:"formula-conclusion"},lV=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),nV={class:"segment-formula"},sV={class:"header-block flex-start"},dV=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),cV={class:"title"},iV={key:0,style:{"margin-left":"4px","font-weight":"300"}},rV={class:"formula-block"},mV={class:"flex-evenly"},pV=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),hV={class:"formula-right flex-evenly"},_V={class:"fraction",style:{width:"240px"}},EV=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),yV=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),fV=c(()=>e.createElementVNode("div",null,"x",-1)),VV=c(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),NV=c(()=>e.createElementVNode("div",null,"(d)",-1)),TV={style:{"line-height":"1"}},QV=c(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),gV={key:0,class:"tips flex-end",style:{"font-size":"14px"}},bV={class:"flex-center"},xV=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),kV={class:"formula-right flex-evenly"},DV={class:"fraction",style:{width:"240px"}},CV=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),SV=c(()=>e.createElementVNode("div",null,"x",-1)),BV=c(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),wV=c(()=>e.createElementVNode("div",null,"(e)",-1)),AV={class:"flex-center"},HV=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),LV={class:"formula-right flex-evenly"},OV={class:"fraction",style:{width:"240px"}},FV=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),PV=c(()=>e.createElementVNode("div",null,"x",-1)),$V=c(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),MV=c(()=>e.createElementVNode("div",null,"(f)",-1)),WV=e.createStaticVNode('
=
(d)
-
(e)
=
(f)
-
(d)
',1),IV={class:"flex-center"},GV=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),RV={class:"formula-right flex-evenly"},ZV={class:"fraction",style:{width:"270px"}},zV=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),UV=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),YV={class:"flex-center"},jV=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),JV={class:"formula-right flex-evenly"},KV={class:"fraction",style:{width:"270px"}},XV=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),qV=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),uV=c(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),vV={class:"header-block flex-start",style:{"margin-top":"10px"}},eN=c(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),tN={class:"title"},oN={key:0,class:"formula-block"},aN={key:0,class:"flex-evenly"},lN=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),nN={class:"formula-right flex-evenly"},sN={class:"fraction",style:{width:"60px"}},dN=c(()=>e.createElementVNode("div",null,"-",-1)),cN={class:"fraction",style:{width:"60px"}},iN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),rN=c(()=>e.createElementVNode("div",null,"24",-1)),mN=c(()=>e.createElementVNode("div",null,"*",-1)),pN=c(()=>e.createElementVNode("div",null,"=",-1)),hN={class:"flex-evenly"},_N=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),EN={class:"formula-right flex-evenly"},yN={class:"fraction",style:{width:"240px"}},fN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),VN=c(()=>e.createElementVNode("div",null,"x",-1)),NN={class:"fraction",style:{width:"240px"}},TN={key:0},QN=c(()=>e.createElementVNode("span",null," + ",-1)),gN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),bN=c(()=>e.createElementVNode("div",null,"=",-1)),xN=c(()=>e.createElementVNode("div",null,"(d')",-1)),kN={class:"flex-evenly"},DN=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),CN={class:"formula-right flex-evenly"},SN={class:"fraction",style:{width:"240px"}},BN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),wN=c(()=>e.createElementVNode("div",null,"x",-1)),AN={class:"fraction",style:{width:"240px"}},HN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),LN=c(()=>e.createElementVNode("div",null,"24",-1)),ON=c(()=>e.createElementVNode("div",null,"=",-1)),FN=c(()=>e.createElementVNode("div",null,"(e')",-1)),PN={class:"flex-evenly"},$N=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),MN={class:"formula-right flex-evenly"},WN={class:"fraction",style:{width:"240px"}},IN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),GN=c(()=>e.createElementVNode("div",null,"x",-1)),RN={class:"fraction",style:{width:"240px"}},ZN=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),zN=c(()=>e.createElementVNode("div",null,"24",-1)),UN=c(()=>e.createElementVNode("div",null,"=",-1)),YN=c(()=>e.createElementVNode("div",null,"(f')",-1)),jN={class:"formula-conclusion",style:{"margin-bottom":"0"}},JN={class:"flex-evenly",style:{width:"500px"}},KN=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),XN=c(()=>e.createElementVNode("div",null,"=",-1)),qN=c(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),uN=c(()=>e.createElementVNode("div",null,"=",-1)),vN=c(()=>e.createElementVNode("div",null,"-",-1)),eT=c(()=>e.createElementVNode("div",null,"=",-1)),tT={key:0,class:"flex-evenly"},oT=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),aT=c(()=>e.createElementVNode("div",null,"=",-1)),lT={class:"fraction"},nT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=c(()=>e.createElementVNode("div",null,"=",-1)),dT={class:"flex-evenly",style:{width:"700px"}},cT=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),iT=c(()=>e.createElementVNode("div",null,"=",-1)),rT=c(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),mT=c(()=>e.createElementVNode("div",null,"=",-1)),pT=c(()=>e.createElementVNode("div",null,"-",-1)),hT=c(()=>e.createElementVNode("div",null,"=",-1)),_T={key:0,class:"flex-evenly",style:{width:"500px"}},ET=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),yT=c(()=>e.createElementVNode("div",null,"=",-1)),fT={class:"fraction",style:{width:"140px"}},VT=c(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),NT=c(()=>e.createElementVNode("div",null,"=",-1)),TT=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),QT={key:1,class:"formula-conclusion"},gT={class:"header-block flex-end",style:{"margin-top":"10px"}},bT=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),xT={class:"title"},kT={key:0,class:"formula-block"},DT={class:"flex-evenly"},CT=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),ST={class:"formula-right flex-evenly"},BT={class:"fraction",style:{width:"240px"}},wT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),AT=c(()=>e.createElementVNode("div",null,"x",-1)),HT={class:"fraction",style:{width:"240px"}},LT={key:0},OT=c(()=>e.createElementVNode("span",null," - ",-1)),FT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),PT=c(()=>e.createElementVNode("div",null,"=",-1)),$T=c(()=>e.createElementVNode("div",null,"(d'')",-1)),MT={class:"flex-evenly"},WT=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),IT={class:"formula-right flex-evenly"},GT={class:"fraction",style:{width:"240px"}},RT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZT=c(()=>e.createElementVNode("div",null,"x",-1)),zT={class:"fraction",style:{width:"240px"}},UT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),YT=c(()=>e.createElementVNode("div",null,"24",-1)),jT=c(()=>e.createElementVNode("div",null,"=",-1)),JT=c(()=>e.createElementVNode("div",null,"(e'')",-1)),KT={class:"flex-evenly"},XT=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),qT={class:"formula-right flex-evenly"},uT={class:"fraction",style:{width:"240px"}},vT=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),eQ=c(()=>e.createElementVNode("div",null,"x",-1)),tQ={class:"fraction",style:{width:"240px"}},oQ=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),aQ=c(()=>e.createElementVNode("div",null,"24",-1)),lQ=c(()=>e.createElementVNode("div",null,"=",-1)),nQ=c(()=>e.createElementVNode("div",null,"(f'')",-1)),sQ={class:"formula-conclusion",style:{"margin-bottom":"0"}},dQ={key:0,class:"flex-evenly",style:{width:"500px"}},cQ=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),iQ=c(()=>e.createElementVNode("div",null,"=",-1)),rQ=c(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),mQ=c(()=>e.createElementVNode("div",null,"=",-1)),pQ=c(()=>e.createElementVNode("div",null,"-",-1)),hQ=c(()=>e.createElementVNode("div",null,"=",-1)),_Q={key:1,class:"flex-evenly",style:{width:"700px"}},EQ=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),yQ=c(()=>e.createElementVNode("div",null,"=",-1)),fQ=c(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),VQ=c(()=>e.createElementVNode("div",null,"=",-1)),NQ=c(()=>e.createElementVNode("div",null,"-",-1)),TQ=c(()=>e.createElementVNode("div",null,"=",-1)),QQ=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),gQ={key:1,class:"formula-conclusion"};function bQ(o,s,t,i,l,n){var T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce;const E=e.resolveComponent("Lat"),d=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",k7,[e.createElementVNode("div",D7,[e.createElementVNode("div",C7,[e.createElementVNode("div",S7,[B7,e.createElementVNode("span",w7,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",A7,[H7,e.createElementVNode("span",L7,e.toDisplayString((Q=(T=t.report)==null?void 0:T.vessel)==null?void 0:Q.name)+" ("+e.toDisplayString((y=(h=t.report)==null?void 0:h.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",O7,[F7,e.createElementVNode("span",P7,e.toDisplayString((g=(x=t.report)==null?void 0:x.voyage)==null?void 0:g.number),1)])]),e.createElementVNode("div",$7,[e.createElementVNode("div",M7,[W7,(b=(k=t.report)==null?void 0:k.departure)!=null&&b.portName?(e.openBlock(),e.createElementBlock("span",I7,e.toDisplayString((A=(w=t.report)==null?void 0:w.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",G7,[e.createVNode(E,{lat:(S=(C=t.report)==null?void 0:C.departure)==null?void 0:S.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),R7,e.createVNode(d,{lng:(V=t.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Z7,e.toDisplayString(n.computeUTCTime((H=t.report.departure)==null?void 0:H.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z7,[U7,(I=(W=t.report)==null?void 0:W.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",Y7,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",j7,[e.createVNode(E,{lat:(O=(_=t.report)==null?void 0:_.arrival)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),J7,e.createVNode(d,{lng:(F=($=t.report)==null?void 0:$.arrival)==null?void 0:F.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",K7,e.toDisplayString(n.computeUTCTime((M=(L=t.report)==null?void 0:L.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",X7,[q7,e.createElementVNode("span",u7,e.toDisplayString((z=(j=t.report)==null?void 0:j.voyage)==null?void 0:z.loadCondition),1)])])]),e.createElementVNode("div",v7,[e_,e.createElementVNode("div",t_,[e.createElementVNode("div",o_,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",a_,[l_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(a,X)=>{var oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+X,class:"segment-box flex-space"},[e.createElementVNode("div",n_,[e.createElementVNode("div",s_,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((oe=a==null?void 0:a.extend)==null?void 0:oe.segTimes,(P,Se)=>{var Me,Re,ye,ze,tt,ot,lt,Y,pt,ht;return e.openBlock(),e.createElementBlock("div",{key:Se,class:"phase-row flex-space"},[e.createElementVNode("div",d_,[(Me=P==null?void 0:P.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",c_,e.toDisplayString((Re=P==null?void 0:P.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",i_,e.toDisplayString(n.computeLat((ye=P==null?void 0:P.departure)==null?void 0:ye.lat).pretty)+", "+e.toDisplayString(n.computeLng((ze=P==null?void 0:P.departure)==null?void 0:ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=P==null?void 0:P.departure)==null?void 0:tt.utcTime))+")",1)]),r_,e.createElementVNode("div",m_,[(ot=P==null?void 0:P.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",p_,e.toDisplayString((lt=P==null?void 0:P.arrival)==null?void 0:lt.portName),1)):(e.openBlock(),e.createElementBlock("span",h_,e.toDisplayString(n.computeLat((Y=P==null?void 0:P.arrival)==null?void 0:Y.lat).pretty)+", "+e.toDisplayString(n.computeLng((pt=P==null?void 0:P.arrival)==null?void 0:pt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ht=P==null?void 0:P.arrival)==null?void 0:ht.utcTime))+")",1)])])}),128)),__,e.createElementVNode("div",E_,[e.createElementVNode("div",y_,[f_,e.createElementVNode("div",V_,[N_,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((le=(ae=a==null?void 0:a.extend)==null?void 0:ae.cp)==null?void 0:le.speed)+" |",1),e.createElementVNode("span",null,[T_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(se=(ne=a==null?void 0:a.extend)==null?void 0:ne.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[Q_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(re=(ie=a==null?void 0:a.extend)==null?void 0:ie.cp)==null?void 0:re.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((fe=(me=a==null?void 0:a.extend)==null?void 0:me.cp)==null?void 0:fe.fo)+" |",1),e.createElementVNode("span",null,[g_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(a==null?void 0:a.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[b_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(a==null?void 0:a.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(v=a==null?void 0:a.extend)==null?void 0:v.cp)==null?void 0:Ee.dgo)+" |",1),e.createElementVNode("span",null,[x_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(a==null?void 0:a.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[k_,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(a==null?void 0:a.fuelConclusion,"Under")),1)])])])])]),D_,e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[B_,e.createElementVNode("div",w_,[e.createElementVNode("div",null,e.toDisplayString(a.allWx.time),1),A_]),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",H_,[((Ve=a==null?void 0:a.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",L_,"Time Gained")):((Ne=a==null?void 0:a.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",O_,"Time Lost")):(e.openBlock(),e.createElementBlock("div",F_,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",P_,e.toDisplayString(l.noGoodWxDay),1)),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",$_,[((pe=a==null?void 0:a.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",M_,[W_,e.createElementVNode("span",I_,e.toDisplayString((Qe=a==null?void 0:a.timeConclusion)==null?void 0:Qe.timeGain),1),G_])):((ge=a==null?void 0:a.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",R_,[Z_,e.createElementVNode("span",z_,e.toDisplayString((be=a==null?void 0:a.timeConclusion)==null?void 0:be.timeLost),1),U_])):(e.openBlock(),e.createElementBlock("div",Y_,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",j_,[J_,e.createElementVNode("div",K_,[e.createElementVNode("div",null,e.toDisplayString(a.allWx.sumFoCons),1),X_]),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",q_,[((ke=(xe=a==null?void 0:a.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u_,"FO Saving")):((we=(De=a==null?void 0:a.fuelConclusion)==null?void 0:De.fo)==null?void 0:we.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",v_,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",e9,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",t9,e.toDisplayString(l.noGoodWxDay),1)),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",o9,[((He=(Ae=a==null?void 0:a.fuelConclusion)==null?void 0:Ae.fo)==null?void 0:He.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",a9,[l9,e.createElementVNode("span",n9,e.toDisplayString((Oe=(Le=a==null?void 0:a.fuelConclusion)==null?void 0:Le.fo)==null?void 0:Oe.saving),1),s9])):((Pe=(Fe=a==null?void 0:a.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",d9,[c9,e.createElementVNode("span",i9,e.toDisplayString((Te=($e=a==null?void 0:a.fuelConclusion)==null?void 0:$e.fo)==null?void 0:Te.overCons),1),r9])):(e.openBlock(),e.createElementBlock("div",m9,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",p9,[h9,e.createElementVNode("div",_9,[e.createElementVNode("div",null,e.toDisplayString(a.allWx.sumDgoCons),1),E9]),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y9,[((Je=(je=a==null?void 0:a.fuelConclusion)==null?void 0:je.dgo)==null?void 0:Je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",f9,"DO/GO Saving")):((B=(Ke=a==null?void 0:a.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:B.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",V9,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",N9,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",T9,e.toDisplayString(l.noGoodWxDay),1)),a.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Q9,[((Ge=(Ce=a==null?void 0:a.fuelConclusion)==null?void 0:Ce.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",g9,[b9,e.createElementVNode("span",x9,e.toDisplayString((qe=(Xe=a==null?void 0:a.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),k9])):((ve=(ue=a==null?void 0:a.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",D9,[C9,e.createElementVNode("span",S9,e.toDisplayString((m=(et=a==null?void 0:a.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),B9])):(e.openBlock(),e.createElementBlock("div",w9,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),A9]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((de=t.report)==null?void 0:de.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[H9,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",L9,[O9,F9,e.createElementVNode("div",P9,[e.createElementVNode("table",$9,[M9,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(a,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(a.time),1),e.createElementVNode("td",null,e.toDisplayString(a.duration),1),e.createElementVNode("td",null,e.toDisplayString(a.distance),1),e.createElementVNode("td",null,e.toDisplayString(a.fo),1),e.createElementVNode("td",null,e.toDisplayString(a.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ce=t.report)==null?void 0:ce.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=a=>l.remarks=a),class:"editor",height:"120px",onBlur:s[1]||(s[1]=a=>n.handleCommit(a))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...a)=>n.handleEdit&&n.handleEdit(...a)),innerHTML:l.remarks},null,40,W9))],2)],2),e.createElementVNode("div",I9,[G9,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(a,X)=>{var oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo,D,Ze,nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta,na,sa,da,ca,ia,ra,ma,pa,ha,it,_a,Ea,ya,fa,Va,Na,Ta,Qa,ga,ba,xa,ka,Da,Ca,Sa,Ba,wa,Aa,Ha,La,Oa,Fa,Pa,$a,Ma,Wa,Ia,Ga,Ra,Za,za,Ua,Ya,ja,Ja,Ka,Xa,qa,ua,va,el,tl,ol,al,ll,nl,sl,dl,cl,il,rl,ml,pl,hl,_l,El,yl,fl,Vl,Nl,Tl,Ql,gl,K,co,bl,xl,kl,Dl,Cl,Sl,Bl,wl,at,Ol,Fl,Pl,$l,q,oa,Ml,Wl,Il,Gl,Rl,Zl,zl,Ul,rt,en,tn,on,an,ln,nn,sn,dn,cn,rn,mn,pn,hn,_n,En,yn,fn,Vn,Nn,Tn,Qn,gn,bn,xn,kn,Dn,Cn,Sn,Bn,wn,An,Hn,Ln,On,Fn,Pn,$n,Mn,Wn,In,Gn,Rn,Zn,zn,Un,Yn,jn,Jn,Kn,te,Yl,jl,Xn,qn,un,vn,es,ts,os,as,ls,ns,ss,ds,cs,is,rs,ms,ps,hs,_s,Es,ys,fs,Vs,Ns,Ts,Qs,gs,bs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Hs,Ls,Os,Fs,Ps,$s,Ms,Ws,Is,Gs,Rs,Zs,zs,Us,Ys,js,Js,Ks,Xs,qs,Cd,Sd,Bd;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",R9,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((oe=a==null?void 0:a.extend)==null?void 0:oe.segTimes,(Ue,RK)=>{var wd,Ad,Hd,Ld,Od,Fd,Pd,$d,Md,Wd;return e.openBlock(),e.createElementBlock("div",{key:RK,class:"segment-row flex-space"},[e.createElementVNode("div",Z9,[(wd=Ue==null?void 0:Ue.departure)!=null&&wd.portName?(e.openBlock(),e.createElementBlock("span",z9,e.toDisplayString((Ad=Ue==null?void 0:Ue.departure)==null?void 0:Ad.portName),1)):(e.openBlock(),e.createElementBlock("span",U9,e.toDisplayString(n.computeLat((Hd=Ue==null?void 0:Ue.departure)==null?void 0:Hd.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ld=Ue==null?void 0:Ue.departure)==null?void 0:Ld.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Od=Ue==null?void 0:Ue.departure)==null?void 0:Od.utcTime))+")",1)]),Y9,e.createElementVNode("div",j9,[(Fd=Ue==null?void 0:Ue.arrival)!=null&&Fd.portName?(e.openBlock(),e.createElementBlock("span",J9,e.toDisplayString((Pd=Ue==null?void 0:Ue.arrival)==null?void 0:Pd.portName),1)):(e.openBlock(),e.createElementBlock("span",K9,e.toDisplayString(n.computeLat(($d=Ue==null?void 0:Ue.arrival)==null?void 0:$d.lat).pretty)+", "+e.toDisplayString(n.computeLng((Md=Ue==null?void 0:Ue.arrival)==null?void 0:Md.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wd=Ue==null?void 0:Ue.arrival)==null?void 0:Wd.utcTime))+")",1)])])}),128)),X9,e.createElementVNode("div",q9,[e.createElementVNode("table",null,[u9,v9,e.createElementVNode("tr",null,[eE,e.createElementVNode("td",tE,e.toDisplayString((le=(ae=a==null?void 0:a.goodWx)==null?void 0:ae.outEca)==null?void 0:le.distance),1),e.createElementVNode("td",oE,e.toDisplayString((se=(ne=a==null?void 0:a.goodWx)==null?void 0:ne.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(ie=a==null?void 0:a.allWx)==null?void 0:ie.outEca)==null?void 0:re.distance),1),e.createElementVNode("td",null,e.toDisplayString((fe=(me=a==null?void 0:a.allWx)==null?void 0:me.inEca)==null?void 0:fe.distance),1)]),e.createElementVNode("tr",null,[aE,e.createElementVNode("td",lE,e.toDisplayString((Ee=(v=a==null?void 0:a.goodWx)==null?void 0:v.outEca)==null?void 0:Ee.time),1),e.createElementVNode("td",nE,e.toDisplayString((Ne=(Ve=a==null?void 0:a.goodWx)==null?void 0:Ve.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((Qe=(pe=a==null?void 0:a.allWx)==null?void 0:pe.outEca)==null?void 0:Qe.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(ge=a==null?void 0:a.allWx)==null?void 0:ge.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[sE,e.createElementVNode("td",dE,e.toDisplayString(((ke=(xe=a==null?void 0:a.goodWx)==null?void 0:xe.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",cE,e.toDisplayString(((we=(De=a==null?void 0:a.goodWx)==null?void 0:De.inEca)==null?void 0:we.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Ae=a==null?void 0:a.allWx)==null?void 0:Ae.outEca)==null?void 0:He.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Le=a==null?void 0:a.allWx)==null?void 0:Le.inEca)==null?void 0:Oe.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[iE,e.createElementVNode("td",rE,e.toDisplayString(((Pe=(Fe=a==null?void 0:a.goodWx)==null?void 0:Fe.outEca)==null?void 0:Pe.sumFoCons)||"--"),1),e.createElementVNode("td",mE,e.toDisplayString(((Te=($e=a==null?void 0:a.goodWx)==null?void 0:$e.inEca)==null?void 0:Te.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(je=a==null?void 0:a.allWx)==null?void 0:je.outEca)==null?void 0:Je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((B=(Ke=a==null?void 0:a.allWx)==null?void 0:Ke.inEca)==null?void 0:B.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[pE,e.createElementVNode("td",hE,e.toDisplayString(((Ge=(Ce=a==null?void 0:a.goodWx)==null?void 0:Ce.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",_E,e.toDisplayString(((qe=(Xe=a==null?void 0:a.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(ue=a==null?void 0:a.allWx)==null?void 0:ue.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=a==null?void 0:a.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[EE,e.createElementVNode("td",yE,e.toDisplayString(((Se=(P=a==null?void 0:a.goodWx)==null?void 0:P.outEca)==null?void 0:Se.sumDgoCons)||"--"),1),e.createElementVNode("td",fE,e.toDisplayString(((Re=(Me=a==null?void 0:a.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(ye=a==null?void 0:a.allWx)==null?void 0:ye.outEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=a==null?void 0:a.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[VE,e.createElementVNode("td",NE,e.toDisplayString(((Y=(lt=a==null?void 0:a.goodWx)==null?void 0:lt.outEca)==null?void 0:Y.avgDgoCons)||"--"),1),e.createElementVNode("td",TE,e.toDisplayString(((ht=(pt=a==null?void 0:a.goodWx)==null?void 0:pt.inEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Vt=(ft=a==null?void 0:a.allWx)==null?void 0:ft.outEca)==null?void 0:Vt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Tt=(Nt=a==null?void 0:a.allWx)==null?void 0:Nt.inEca)==null?void 0:Tt.avgDgoCons)||"--"),1)])])]),(Qt=l.exclusion[X])!=null&&Qt.time?(e.openBlock(),e.createElementBlock("div",QE,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(gt=a==null?void 0:a.goodWx)!=null&>.distance?(e.openBlock(),e.createElementBlock("div",gE,[e.createElementVNode("div",bE,[xE,e.createElementVNode("div",kE,[(xt=(bt=t.report)==null?void 0:bt.weather)!=null&&xt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ft=(Ot=t.report)==null?void 0:Ot.weather)!=null&&Ft.disableWxFactor&&((io=(Pt=t.report)==null?void 0:Pt.weather)!=null&&io.disableCFactor)?(e.openBlock(),e.createElementBlock("span",wE,e.toDisplayString((ro=a==null?void 0:a.goodWx)==null?void 0:ro.pfmSpd)+" (kts)",1)):(po=(mo=t.report)==null?void 0:mo.weather)!=null&&po.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ho=a==null?void 0:a.goodWx)==null?void 0:ho.avgSpd),1),AE,e.createElementVNode("span",null,e.toDisplayString(((_o=a==null?void 0:a.goodWx)==null?void 0:_o.avgCf)>0?(Eo=a==null?void 0:a.goodWx)==null?void 0:Eo.avgCf:`(${(yo=a==null?void 0:a.goodWx)==null?void 0:yo.avgCf})`),1),HE,e.createElementVNode("span",LE,e.toDisplayString((fo=a==null?void 0:a.goodWx)==null?void 0:fo.pfmSpd)+" (kts)",1)],64)):(No=(Vo=t.report)==null?void 0:Vo.weather)!=null&&No.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((To=a==null?void 0:a.goodWx)==null?void 0:To.avgSpd),1),OE,e.createElementVNode("span",null,e.toDisplayString(((Qo=a==null?void 0:a.goodWx)==null?void 0:Qo.avgWf)>0?(go=a==null?void 0:a.goodWx)==null?void 0:go.avgWf:`(${(bo=a==null?void 0:a.goodWx)==null?void 0:bo.avgWf})`),1),FE,e.createElementVNode("span",PE,e.toDisplayString((xo=a==null?void 0:a.goodWx)==null?void 0:xo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((ko=a==null?void 0:a.goodWx)==null?void 0:ko.avgSpd),1),$E,e.createElementVNode("span",null,e.toDisplayString(((Do=a==null?void 0:a.goodWx)==null?void 0:Do.avgWf)>0?(Co=a==null?void 0:a.goodWx)==null?void 0:Co.avgWf:`(${(So=a==null?void 0:a.goodWx)==null?void 0:So.avgWf})`),1),ME,e.createElementVNode("span",null,e.toDisplayString(((Bo=a==null?void 0:a.goodWx)==null?void 0:Bo.avgCf)>0?(D=a==null?void 0:a.goodWx)==null?void 0:D.avgCf:`(${(Ze=a==null?void 0:a.goodWx)==null?void 0:Ze.avgCf})`),1),WE,e.createElementVNode("span",IE,e.toDisplayString((nt=a==null?void 0:a.goodWx)==null?void 0:nt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(kt=t.report)==null?void 0:kt.weather)!=null&&Dt.favorableCur&&((Ct=a==null?void 0:a.goodWx)==null?void 0:Ct.avgCf)>0?(e.openBlock(),e.createElementBlock("span",BE,e.toDisplayString((Lt=a==null?void 0:a.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((St=a==null?void 0:a.goodWx)==null?void 0:St.avgSpd),1),DE,e.createElementVNode("span",null,e.toDisplayString(((Bt=a==null?void 0:a.goodWx)==null?void 0:Bt.avgCf)>0?(wt=a==null?void 0:a.goodWx)==null?void 0:wt.avgCf:`(${(At=a==null?void 0:a.goodWx)==null?void 0:At.avgCf})`),1),CE,e.createElementVNode("span",SE,e.toDisplayString((Ht=a==null?void 0:a.goodWx)==null?void 0:Ht.pfmSpd)+" (kts)",1)],64))],64)),((st=a==null?void 0:a.goodWx)==null?void 0:st.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",GE,"(Under-performance)")):e.createCommentVNode("",!0),((Et=a==null?void 0:a.goodWx)==null?void 0:Et.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",RE,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ZE,[zE,e.createElementVNode("div",UE,[(Mt=($t=t.report)==null?void 0:$t.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Zt=(Rt=t.report)==null?void 0:Rt.weather)!=null&&Zt.disableWxFactor&&((Ut=(zt=t.report)==null?void 0:zt.weather)!=null&&Ut.disableCFactor)?(e.openBlock(),e.createElementBlock("label",qE,"GW Average Speed")):(jt=(Yt=t.report)==null?void 0:Yt.weather)!=null&&jt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[uE,vE,ey],64)):(Kt=(Jt=t.report)==null?void 0:Jt.weather)!=null&&Kt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[ty,oy,ay],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[ly,ny,sy,dy,cy],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(It=(Wt=t.report)==null?void 0:Wt.weather)!=null&&It.favorableCur&&((Gt=a==null?void 0:a.goodWx)==null?void 0:Gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[KE,XE],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[YE,jE,JE],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",iy,[e.createElementVNode("div",ry,[my,e.createElementVNode("div",py,[(qt=(Xt=t.report)==null?void 0:Xt.weather)!=null&&qt.favorableCur&&((ut=a==null?void 0:a.allWx)==null?void 0:ut.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((wo=a==null?void 0:a.allWx)==null?void 0:wo.avgSpd),1),fy,e.createElementVNode("span",null,e.toDisplayString(((Ao=a==null?void 0:a.allWx)==null?void 0:Ao.avgWf)>0?(Ho=a==null?void 0:a.allWx)==null?void 0:Ho.avgWf:`(${(Lo=a==null?void 0:a.allWx)==null?void 0:Lo.avgWf})`),1),Vy,e.createElementVNode("span",Ny,e.toDisplayString((Oo=a==null?void 0:a.allWx)==null?void 0:Oo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((vt=a==null?void 0:a.allWx)==null?void 0:vt.avgSpd),1),hy,e.createElementVNode("span",null,e.toDisplayString(((eo=a==null?void 0:a.allWx)==null?void 0:eo.avgCf)>0?(to=a==null?void 0:a.allWx)==null?void 0:to.avgCf:`(${(oo=a==null?void 0:a.allWx)==null?void 0:oo.avgCf})`),1),_y,e.createElementVNode("span",null,e.toDisplayString(((ao=a==null?void 0:a.allWx)==null?void 0:ao.avgWf)>0?(lo=a==null?void 0:a.allWx)==null?void 0:lo.avgWf:`(${(no=a==null?void 0:a.allWx)==null?void 0:no.avgWf})`),1),Ey,e.createElementVNode("span",yy,e.toDisplayString((so=a==null?void 0:a.allWx)==null?void 0:so.pfmSpd)+" (kts)",1)],64)),((Fo=a==null?void 0:a.allWx)==null?void 0:Fo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Ty,"(Under-performance)")):e.createCommentVNode("",!0),((Po=a==null?void 0:a.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Qy,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",gy,[by,e.createElementVNode("div",xy,[(Mo=($o=t.report)==null?void 0:$o.weather)!=null&&Mo.favorableCur&&((Wo=a==null?void 0:a.allWx)==null?void 0:Wo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[wy,Ay,Hy,Ly],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[ky,Dy,Cy,Sy,By],64))])])])),Oy,e.createElementVNode("div",Fy,[e.createElementVNode("div",Py,[$y,e.createElementVNode("div",My,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Go=(Io=t.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Wy,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Iy,[e.createElementVNode("div",Gy,[Ry,e.createElementVNode("div",Zy,[e.createElementVNode("div",zy,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Ro=t.report)==null?void 0:Ro.weather)!=null&&Zo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Uy,Yy]),jy])]),e.createElementVNode("div",Jy,[e.createElementVNode("div",Ky,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(Uo=(zo=a==null?void 0:a.extend)==null?void 0:zo.cp)==null?void 0:Uo.speed,"Under"))+"kts)",1),Xy]),e.createElementVNode("div",qy,[e.createElementVNode("div",uy,[e.createElementVNode("div",null,e.toDisplayString((jo=(Yo=t.report)==null?void 0:Yo.weather)!=null&&jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),vy,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(Ko=(Jo=a==null?void 0:a.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),ef])]),e.createElementVNode("div",tf,[e.createElementVNode("div",of,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(qo=(Xo=a==null?void 0:a.extend)==null?void 0:Xo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),af]),e.createElementVNode("div",lf,[e.createElementVNode("div",nf,[e.createElementVNode("div",null,e.toDisplayString((vo=(uo=t.report)==null?void 0:uo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),sf,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(ta=(ea=a==null?void 0:a.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Over"))+"kts",1)]),df])]),cf]),e.createElementVNode("div",rf,[e.createElementVNode("div",mf,[pf,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(sa=(na=a==null?void 0:a.extend)==null?void 0:na.cp)==null?void 0:sa.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",hf,[_f,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(ca=(da=a==null?void 0:a.extend)==null?void 0:da.cp)==null?void 0:ca.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Ef,[yf,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(ra=(ia=a==null?void 0:a.extend)==null?void 0:ia.cp)==null?void 0:ra.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(pa=(ma=a==null?void 0:a.extend)==null?void 0:ma.cp)==null?void 0:pa.speed,"Under"))+" kts) ",1)])]),(ha=a==null?void 0:a.goodWx)!=null&&ha.distance?(e.openBlock(),e.createElementBlock("div",ff,[e.createElementVNode("div",Vf,[Nf,e.createElementVNode("div",Tf,[e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((_a=(it=t.report)==null?void 0:it.weather)!=null&&_a.noExtrapolation?(Ea=a==null?void 0:a.goodWx)==null?void 0:Ea.distance:(ya=a==null?void 0:a.allWx)==null?void 0:ya.distance),1),gf,e.createElementVNode("div",null,e.toDisplayString((fa=a==null?void 0:a.goodWx)==null?void 0:fa.pfmSpd),1)]),bf,e.createElementVNode("div",null,e.toDisplayString((Va=a==null?void 0:a.timeConclusion)==null?void 0:Va.timeAtPfmSpd)+" (hrs)",1),xf])]),e.createElementVNode("div",kf,[e.createElementVNode("div",Df,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(Ta=(Na=a==null?void 0:a.extend)==null?void 0:Na.cp)==null?void 0:Ta.speed,"Under"))+"kts)",1),Cf]),e.createElementVNode("div",Sf,[e.createElementVNode("div",Bf,[e.createElementVNode("div",null,e.toDisplayString((ga=(Qa=t.report)==null?void 0:Qa.weather)!=null&&ga.noExtrapolation?(ba=a==null?void 0:a.goodWx)==null?void 0:ba.distance:(xa=a==null?void 0:a.allWx)==null?void 0:xa.distance),1),wf,e.createElementVNode("div",null,e.toDisplayString((ka=a==null?void 0:a.timeConclusion)==null?void 0:ka.minusAbtSpd),1)]),Af,e.createElementVNode("div",null,e.toDisplayString((Da=a==null?void 0:a.timeConclusion)==null?void 0:Da.timeAtMinusAbtSpd)+" (hrs)",1),Hf])]),e.createElementVNode("div",Lf,[e.createElementVNode("div",Of,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(Sa=(Ca=a==null?void 0:a.extend)==null?void 0:Ca.cp)==null?void 0:Sa.speed,"Over"))+"kts)",1),Ff]),e.createElementVNode("div",Pf,[e.createElementVNode("div",$f,[e.createElementVNode("div",null,e.toDisplayString((wa=(Ba=t.report)==null?void 0:Ba.weather)!=null&&wa.noExtrapolation?(Aa=a==null?void 0:a.goodWx)==null?void 0:Aa.distance:(Ha=a==null?void 0:a.allWx)==null?void 0:Ha.distance),1),Mf,e.createElementVNode("div",null,e.toDisplayString((La=a==null?void 0:a.timeConclusion)==null?void 0:La.plusAbtSpd),1)]),Wf,e.createElementVNode("div",null,e.toDisplayString((Oa=a==null?void 0:a.timeConclusion)==null?void 0:Oa.timeAtPlusAbtSpd)+" (hrs)",1),If])]),e.createElementVNode("div",Gf,[((Fa=a==null?void 0:a.timeConclusion)==null?void 0:Fa.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Rf,[Zf,zf,Uf,Yf,e.createElementVNode("div",null,e.toDisplayString((Pa=a==null?void 0:a.timeConclusion)==null?void 0:Pa.timeAtPfmSpd),1),jf,e.createElementVNode("div",null,e.toDisplayString(($a=a==null?void 0:a.timeConclusion)==null?void 0:$a.timeAtMinusAbtSpd),1),Jf,e.createElementVNode("div",null,e.toDisplayString((Ma=a==null?void 0:a.timeConclusion)==null?void 0:Ma.timeLost)+" (hrs)",1)])):((Wa=a==null?void 0:a.timeConclusion)==null?void 0:Wa.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Kf,[Xf,qf,uf,vf,e.createElementVNode("div",null,e.toDisplayString((Ia=a==null?void 0:a.timeConclusion)==null?void 0:Ia.timeAtPlusAbtSpd),1),eV,e.createElementVNode("div",null,e.toDisplayString((Ga=a==null?void 0:a.timeConclusion)==null?void 0:Ga.timeAtPfmSpd),1),tV,e.createElementVNode("div",null,e.toDisplayString((Ra=a==null?void 0:a.timeConclusion)==null?void 0:Ra.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Za=a==null?void 0:a.timeConclusion)==null?void 0:Za.conclusionStatus)==="Lost"?"flex-center lost":((za=a==null?void 0:a.timeConclusion)==null?void 0:za.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[oV,e.createElementVNode("div",null,e.toDisplayString(((Ua=a==null?void 0:a.timeConclusion)==null?void 0:Ua.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",aV,e.toDisplayString(l.noGoodWxDay),1))]),lV,e.createElementVNode("div",nV,[e.createElementVNode("div",sV,[dV,e.createElementVNode("div",cV,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(ja=(Ya=t.report)==null?void 0:Ya.weather)!=null&&ja.noExtrapolation?(e.openBlock(),e.createElementBlock("span",iV,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",rV,[e.createElementVNode("div",mV,[pV,e.createElementVNode("div",hV,[e.createElementVNode("div",_V,[e.createElementVNode("div",null,e.toDisplayString((Ka=(Ja=t.report)==null?void 0:Ja.weather)!=null&&Ka.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),EV,yV]),fV,VV,NV])]),e.createElementVNode("div",TV,[QV,((qa=(Xa=a.extend)==null?void 0:Xa.cp)==null?void 0:qa.dgo)>0?(e.openBlock(),e.createElementBlock("div",gV," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",bV,[xV,e.createElementVNode("div",kV,[e.createElementVNode("div",DV,[e.createElementVNode("div",null,e.toDisplayString((va=(ua=t.report)==null?void 0:ua.weather)!=null&&va.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),CV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(tl=(el=a==null?void 0:a.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts",1)]),SV,BV,wV])]),e.createElementVNode("div",AV,[HV,e.createElementVNode("div",LV,[e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((al=(ol=t.report)==null?void 0:ol.weather)!=null&&al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),FV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(a==null?void 0:a.timeConclusion,(nl=(ll=a==null?void 0:a.extend)==null?void 0:ll.cp)==null?void 0:nl.speed,"Under"))+"kts",1)]),PV,$V,MV])]),WV,((dl=(sl=a.extend)==null?void 0:sl.cp)==null?void 0:dl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",IV,[GV,e.createElementVNode("div",RV,[e.createElementVNode("div",ZV,[zV,UV,e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",YV,[jV,e.createElementVNode("div",JV,[e.createElementVNode("div",KV,[XV,qV,e.createElementVNode("div",null,e.toDisplayString((ml=(rl=t.report)==null?void 0:rl.weather)!=null&&ml.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),uV,e.createElementVNode("div",vV,[eN,e.createElementVNode("div",tN,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(pl=a==null?void 0:a.goodWx)!=null&&pl.distance?(e.openBlock(),e.createElementBlock("div",oN,[((_l=(hl=a==null?void 0:a.goodWx)==null?void 0:hl.inEca)==null?void 0:_l.distance)>0?(e.openBlock(),e.createElementBlock("div",aN,[lN,e.createElementVNode("div",nN,[e.createElementVNode("div",sN,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=a==null?void 0:a.goodWx)==null?void 0:El.inEca)==null?void 0:yl.sumDgoCons),1)]),dN,e.createElementVNode("div",cN,[e.createElementVNode("div",null,e.toDisplayString((Vl=(fl=a==null?void 0:a.extend)==null?void 0:fl.cp)==null?void 0:Vl.dgo),1),iN,rN]),mN,e.createElementVNode("div",null,e.toDisplayString((Tl=(Nl=a==null?void 0:a.goodWx)==null?void 0:Nl.inEca)==null?void 0:Tl.time),1),pN,e.createElementVNode("div",null,e.toDisplayString((gl=(Ql=a==null?void 0:a.fuelConclusion)==null?void 0:Ql.fo)==null?void 0:gl.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",hN,[_N,e.createElementVNode("div",EN,[e.createElementVNode("div",yN,[e.createElementVNode("div",null,e.toDisplayString((co=(K=t.report)==null?void 0:K.weather)!=null&&co.noExtrapolation?(bl=a==null?void 0:a.goodWx)==null?void 0:bl.distance:(xl=a==null?void 0:a.allWx)==null?void 0:xl.distance),1),fN,e.createElementVNode("div",null,e.toDisplayString((kl=a==null?void 0:a.goodWx)==null?void 0:kl.pfmSpd),1)]),VN,e.createElementVNode("div",NN,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Dl=a==null?void 0:a.goodWx)==null?void 0:Dl.sumFoCons),1),((Sl=(Cl=a==null?void 0:a.goodWx)==null?void 0:Cl.inEca)==null?void 0:Sl.distance)>0?(e.openBlock(),e.createElementBlock("span",TN,[QN,e.createElementVNode("span",null,e.toDisplayString((wl=(Bl=a==null?void 0:a.fuelConclusion)==null?void 0:Bl.fo)==null?void 0:wl.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),gN,e.createElementVNode("div",null,e.toDisplayString((at=a==null?void 0:a.goodWx)==null?void 0:at.time),1)]),bN,e.createElementVNode("div",null,e.toDisplayString((Fl=(Ol=a.fuelConclusion)==null?void 0:Ol.fo)==null?void 0:Fl.entireCons)+" (mt)",1),xN])]),e.createElementVNode("div",kN,[DN,e.createElementVNode("div",CN,[e.createElementVNode("div",SN,[e.createElementVNode("div",null,e.toDisplayString(($l=(Pl=t.report)==null?void 0:Pl.weather)!=null&&$l.noExtrapolation?(q=a==null?void 0:a.goodWx)==null?void 0:q.distance:(oa=a==null?void 0:a.allWx)==null?void 0:oa.distance),1),BN,e.createElementVNode("div",null,e.toDisplayString((Ml=a==null?void 0:a.timeConclusion)==null?void 0:Ml.minusAbtSpd),1)]),wN,e.createElementVNode("div",AN,[e.createElementVNode("div",null,e.toDisplayString((Il=(Wl=a==null?void 0:a.fuelConclusion)==null?void 0:Wl.fo)==null?void 0:Il.overTolerance),1),HN,LN]),ON,e.createElementVNode("div",null,e.toDisplayString((Rl=(Gl=a.fuelConclusion)==null?void 0:Gl.fo)==null?void 0:Rl.maxCons)+" (mt)",1),FN])]),e.createElementVNode("div",PN,[$N,e.createElementVNode("div",MN,[e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((zl=(Zl=t.report)==null?void 0:Zl.weather)!=null&&zl.noExtrapolation?(Ul=a==null?void 0:a.goodWx)==null?void 0:Ul.distance:(rt=a==null?void 0:a.allWx)==null?void 0:rt.distance),1),IN,e.createElementVNode("div",null,e.toDisplayString((en=a==null?void 0:a.timeConclusion)==null?void 0:en.minusAbtSpd),1)]),GN,e.createElementVNode("div",RN,[e.createElementVNode("div",null,e.toDisplayString((on=(tn=a==null?void 0:a.fuelConclusion)==null?void 0:tn.fo)==null?void 0:on.underTolerance),1),ZN,zN]),UN,e.createElementVNode("div",null,e.toDisplayString((ln=(an=a.fuelConclusion)==null?void 0:an.fo)==null?void 0:ln.minCons)+" (mt)",1),YN])]),e.createElementVNode("div",jN,[((sn=(nn=a==null?void 0:a.fuelConclusion)==null?void 0:nn.fo)==null?void 0:sn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",JN,[KN,XN,qN,uN,e.createElementVNode("div",null,e.toDisplayString((cn=(dn=a==null?void 0:a.fuelConclusion)==null?void 0:dn.fo)==null?void 0:cn.entireCons),1),vN,e.createElementVNode("div",null,e.toDisplayString((mn=(rn=a==null?void 0:a.fuelConclusion)==null?void 0:rn.fo)==null?void 0:mn.maxCons),1),eT,e.createElementVNode("div",null,e.toDisplayString((hn=(pn=a==null?void 0:a.fuelConclusion)==null?void 0:pn.fo)==null?void 0:hn.overCons),1)]),(En=(_n=a==null?void 0:a.goodWx)==null?void 0:_n.inEca)!=null&&En.distance?(e.openBlock(),e.createElementBlock("div",tT,[oT,aT,e.createElementVNode("div",lT,[e.createElementVNode("div",null,e.toDisplayString((fn=(yn=a==null?void 0:a.goodWx)==null?void 0:yn.inEca)==null?void 0:fn.distance)+" * "+e.toDisplayString((Nn=(Vn=a==null?void 0:a.fuelConclusion)==null?void 0:Vn.fo)==null?void 0:Nn.overCons),1),nT,e.createElementVNode("div",null,e.toDisplayString((Qn=(Tn=t.report)==null?void 0:Tn.weather)!=null&&Qn.noExtrapolation?(gn=a==null?void 0:a.goodWx)==null?void 0:gn.distance:(bn=a==null?void 0:a.allWx)==null?void 0:bn.distance),1)]),sT,e.createElementVNode("div",null,e.toDisplayString((kn=(xn=a==null?void 0:a.fuelConclusion)==null?void 0:xn.fo)==null?void 0:kn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Cn=(Dn=a==null?void 0:a.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",dT,[cT,iT,rT,mT,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=a==null?void 0:a.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons),1),pT,e.createElementVNode("div",null,e.toDisplayString((An=(wn=a==null?void 0:a.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.entireCons),1),hT,e.createElementVNode("div",null,e.toDisplayString((Ln=(Hn=a==null?void 0:a.fuelConclusion)==null?void 0:Hn.fo)==null?void 0:Ln.saving)+" (mt)",1)]),(Fn=(On=a==null?void 0:a.goodWx)==null?void 0:On.inEca)!=null&&Fn.distance?(e.openBlock(),e.createElementBlock("div",_T,[ET,yT,e.createElementVNode("div",fT,[e.createElementVNode("div",null,e.toDisplayString(($n=(Pn=t.report)==null?void 0:Pn.weather)!=null&&$n.noExtrapolation?(Wn=(Mn=a==null?void 0:a.goodWx)==null?void 0:Mn.inEca)==null?void 0:Wn.distance:(Gn=(In=a==null?void 0:a.allWx)==null?void 0:In.inEca)==null?void 0:Gn.distance)+" * "+e.toDisplayString((Zn=(Rn=a==null?void 0:a.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:Zn.saving),1),VT,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=a==null?void 0:a.goodWx)==null?void 0:Yn.distance:(jn=a==null?void 0:a.allWx)==null?void 0:jn.distance),1)]),NT,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=a==null?void 0:a.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Yl=(te=a==null?void 0:a.fuelConclusion)==null?void 0:te.fo)==null?void 0:Yl.conclusionStatus)==="Over"?"flex-center lost":((Xn=(jl=a==null?void 0:a.fuelConclusion)==null?void 0:jl.fo)==null?void 0:Xn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[TT,e.createElementVNode("div",null,e.toDisplayString(((un=(qn=a==null?void 0:a.fuelConclusion)==null?void 0:qn.fo)==null?void 0:un.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",QT,e.toDisplayString(l.noGoodWxDay),1)),((es=(vn=a==null?void 0:a.extend)==null?void 0:vn.cp)==null?void 0:es.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",gT,[bT,e.createElementVNode("div",xT,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil",1)]),(ts=a==null?void 0:a.goodWx)!=null&&ts.distance?(e.openBlock(),e.createElementBlock("div",kT,[e.createElementVNode("div",DT,[CT,e.createElementVNode("div",ST,[e.createElementVNode("div",BT,[e.createElementVNode("div",null,e.toDisplayString((as=(os=t.report)==null?void 0:os.weather)!=null&&as.noExtrapolation?(ls=a==null?void 0:a.goodWx)==null?void 0:ls.distance:(ns=a==null?void 0:a.allWx)==null?void 0:ns.distance),1),wT,e.createElementVNode("div",null,e.toDisplayString((ss=a==null?void 0:a.goodWx)==null?void 0:ss.pfmSpd),1)]),AT,e.createElementVNode("div",HT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ds=a==null?void 0:a.goodWx)==null?void 0:ds.sumDgoCons),1),((is=(cs=a==null?void 0:a.goodWx)==null?void 0:cs.inEca)==null?void 0:is.distance)>0?(e.openBlock(),e.createElementBlock("span",LT,[OT,e.createElementVNode("span",null,e.toDisplayString((ms=(rs=a==null?void 0:a.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),FT,e.createElementVNode("div",null,e.toDisplayString((ps=a==null?void 0:a.goodWx)==null?void 0:ps.time),1)]),PT,e.createElementVNode("div",null,e.toDisplayString((_s=(hs=a.fuelConclusion)==null?void 0:hs.dgo)==null?void 0:_s.entireCons)+" (mt)",1),$T])]),e.createElementVNode("div",MT,[WT,e.createElementVNode("div",IT,[e.createElementVNode("div",GT,[e.createElementVNode("div",null,e.toDisplayString((ys=(Es=t.report)==null?void 0:Es.weather)!=null&&ys.noExtrapolation?(fs=a==null?void 0:a.goodWx)==null?void 0:fs.distance:(Vs=a==null?void 0:a.allWx)==null?void 0:Vs.distance),1),RT,e.createElementVNode("div",null,e.toDisplayString((Ns=a==null?void 0:a.timeConclusion)==null?void 0:Ns.minusAbtSpd),1)]),ZT,e.createElementVNode("div",zT,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Ts=a==null?void 0:a.fuelConclusion)==null?void 0:Ts.dgo)==null?void 0:Qs.overTolerance),1),UT,YT]),jT,e.createElementVNode("div",null,e.toDisplayString((bs=(gs=a.fuelConclusion)==null?void 0:gs.dgo)==null?void 0:bs.maxCons)+" (mt)",1),JT])]),e.createElementVNode("div",KT,[XT,e.createElementVNode("div",qT,[e.createElementVNode("div",uT,[e.createElementVNode("div",null,e.toDisplayString((ks=(xs=t.report)==null?void 0:xs.weather)!=null&&ks.noExtrapolation?(Ds=a==null?void 0:a.goodWx)==null?void 0:Ds.distance:(Cs=a==null?void 0:a.allWx)==null?void 0:Cs.distance),1),vT,e.createElementVNode("div",null,e.toDisplayString((Ss=a==null?void 0:a.timeConclusion)==null?void 0:Ss.minusAbtSpd),1)]),eQ,e.createElementVNode("div",tQ,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=a==null?void 0:a.fuelConclusion)==null?void 0:Bs.dgo)==null?void 0:ws.underTolerance),1),oQ,aQ]),lQ,e.createElementVNode("div",null,e.toDisplayString((Hs=(As=a.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Hs.minCons)+" (mt)",1),nQ])]),e.createElementVNode("div",sQ,[((Os=(Ls=a==null?void 0:a.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:Os.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",dQ,[cQ,iQ,rQ,mQ,e.createElementVNode("div",null,e.toDisplayString((Ps=(Fs=a==null?void 0:a.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:Ps.entireCons),1),pQ,e.createElementVNode("div",null,e.toDisplayString((Ms=($s=a==null?void 0:a.fuelConclusion)==null?void 0:$s.dgo)==null?void 0:Ms.maxCons),1),hQ,e.createElementVNode("div",null,e.toDisplayString((Is=(Ws=a==null?void 0:a.fuelConclusion)==null?void 0:Ws.dgo)==null?void 0:Is.overCons),1)])):((Rs=(Gs=a==null?void 0:a.fuelConclusion)==null?void 0:Gs.fo)==null?void 0:Rs.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",_Q,[EQ,yQ,fQ,VQ,e.createElementVNode("div",null,e.toDisplayString((zs=(Zs=a==null?void 0:a.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:zs.minCons),1),NQ,e.createElementVNode("div",null,e.toDisplayString((Ys=(Us=a==null?void 0:a.fuelConclusion)==null?void 0:Us.dgo)==null?void 0:Ys.entireCons),1),TQ,e.createElementVNode("div",null,e.toDisplayString((Js=(js=a==null?void 0:a.fuelConclusion)==null?void 0:js.dgo)==null?void 0:Js.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Xs=(Ks=a==null?void 0:a.fuelConclusion)==null?void 0:Ks.dgo)==null?void 0:Xs.conclusionStatus)==="Over"?"flex-center lost":((Cd=(qs=a==null?void 0:a.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:Cd.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[QQ,e.createElementVNode("div",null,e.toDisplayString(((Bd=(Sd=a==null?void 0:a.fuelConclusion)==null?void 0:Sd.dgo)==null?void 0:Bd.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",gQ,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const xQ=We(x7,[["render",bQ],["__scopeId","data-v-44fbbd8a"]]),rX="",kQ={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`${u(o).utc().format(s)}`}},computeLng(){return function(o){return he.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return he.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?he.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,i,l,n,E,d,p,T,Q,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((i=(t=this.report)==null?void 0:t.weather)==null?void 0:i.showAisDistance)??!0,this.showSig=((n=(l=this.report)==null?void 0:l.weather)==null?void 0:n.showSig)??!0,this.showSwell=((d=(E=this.report)==null?void 0:E.weather)==null?void 0:d.showSwell)??!0,this.showWave=((T=(p=this.report)==null?void 0:p.weather)==null?void 0:T.showWave)??!0,this.showWaterTemp=((h=(Q=this.report)==null?void 0:Q.weather)==null?void 0:h.waterTempSwitch)||!1}}},_e=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),DQ={class:"report-inventory"},CQ={class:"section summary-section"},SQ=_e(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),BQ={class:"summary-block"},wQ=_e(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),AQ={class:"label",rowspan:"4"},HQ=_e(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),LQ=_e(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),OQ=_e(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),FQ=_e(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),PQ={class:"section inventory-section"},$Q=e.createStaticVNode('
Charter Party Defined Good Weather Days
Charter Party Defined Adverse Weather Days
Excluded Periods From Analysis
BOSP
NOON
EOSP
Ship Reported Position
',1),MQ={class:"inventory-block flex-center"},WQ={style:{"font-size":"12px"}},IQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),GQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),RQ=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),ZQ=_e(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),zQ=["colspan"],UQ={key:0,class:"label",colspan:"2"},YQ=_e(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),jQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),JQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),KQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),XQ=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),qQ=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),uQ={key:0,class:"label",rowspan:"2"},vQ=_e(()=>e.createElementVNode("br",null,null,-1)),eg={key:1,class:"label",rowspan:"2"},tg=_e(()=>e.createElementVNode("br",null,null,-1)),og=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),ag={key:2,class:"label",rowspan:"2"},lg=_e(()=>e.createElementVNode("br",null,null,-1)),ng={key:3,class:"label",colspan:"2"},sg={key:4,class:"label",rowspan:"2"},dg=_e(()=>e.createElementVNode("br",null,null,-1)),cg={key:5,class:"label",colspan:"2"},ig=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),rg={key:6,class:"label",rowspan:"2"},mg={key:7,class:"label",rowspan:"2"},pg={key:8,class:"label",rowspan:"2"},hg=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),_g=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),Eg=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),yg=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),fg=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),Vg=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),Ng=_e(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),Tg=_e(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Qg=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),gg=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),bg=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),xg=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),kg={key:0,class:"label"},Dg={key:1,class:"label"},Cg={key:2,class:"label"},Sg={key:3,class:"label"},Bg=_e(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),wg=_e(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),Ag=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Hg=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Lg=_e(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),Og=_e(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Fg=_e(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Pg=_e(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),$g={class:"summary-tbody"};function Mg(o,s,t,i,l,n){var E;return e.openBlock(),e.createElementBlock("div",DQ,[e.createElementVNode("div",CQ,[SQ,e.createElementVNode("div",BQ,[e.createElementVNode("table",null,[wQ,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(d,p)=>{var T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",AQ,e.toDisplayString(p+1),1),HQ,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=d==null?void 0:d.allWx)==null?void 0:T.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((Q=d==null?void 0:d.allWx)==null?void 0:Q.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=d==null?void 0:d.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((y=d==null?void 0:d.allWx)==null?void 0:y.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=d==null?void 0:d.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LQ,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=d==null?void 0:d.goodWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=d==null?void 0:d.goodWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=d==null?void 0:d.goodWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=d==null?void 0:d.goodWx)==null?void 0:w.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((A=d==null?void 0:d.goodWx)==null?void 0:A.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[OQ,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=d==null?void 0:d.badWx)==null?void 0:C.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((S=d==null?void 0:d.badWx)==null?void 0:S.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((V=d==null?void 0:d.badWx)==null?void 0:V.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((H=d==null?void 0:d.badWx)==null?void 0:H.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((W=d==null?void 0:d.badWx)==null?void 0:W.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[FQ,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=d==null?void 0:d.excluded)==null?void 0:I.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=d==null?void 0:d.excluded)==null?void 0:G.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=d==null?void 0:d.excluded)==null?void 0:R.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=d==null?void 0:d.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=d==null?void 0:d.excluded)==null?void 0:O.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",PQ,[$Q,e.createElementVNode("div",MQ,[e.createElementVNode("table",WQ,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[IQ,GQ,RQ,ZQ,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,zQ),t.showFactor?(e.openBlock(),e.createElementBlock("th",UQ,"Factor")):e.createCommentVNode("",!0),YQ,jQ]),e.createElementVNode("tr",null,[JQ,KQ,XQ,qQ,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",uQ,[e.createTextVNode("Spd"),vQ,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",eg,[e.createTextVNode("Dis"),tg,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),og,l.showWave?(e.openBlock(),e.createElementBlock("th",ag,[e.createTextVNode("Sea HT"),lg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",ng,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",sg,[e.createTextVNode("Sig Wave"),dg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",cg,"Current")):e.createCommentVNode("",!0),ig,t.showFactor?(e.openBlock(),e.createElementBlock("th",rg,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",mg,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",pg,"Water Temp.")):e.createCommentVNode("",!0),hg,_g,Eg,yg,fg,Vg,Ng,Tg]),e.createElementVNode("tr",null,[Qg,gg,bg,xg,l.showSwell?(e.openBlock(),e.createElementBlock("th",kg,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Dg,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",Cg,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",Sg,"CF(kts)")):e.createCommentVNode("",!0),Bg,wg,Ag,Hg,Lg,Og,Fg,Pg])]),e.createElementVNode("tbody",$g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(d,p)=>{var T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(d.segLength?"no-border-bottom":"no-border")},e.toDisplayString(d.segLength?d.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(d.time),3),["B","E"].includes(d.abbrev)&&((T=d.noon)!=null&&T.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((Q=d.noon)==null?void 0:Q.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(d._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(d._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((y=(h=d.meteo)==null?void 0:h.wind)==null?void 0:y.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((g=(x=d.meteo)==null?void 0:x.wind)==null?void 0:g.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((w=(b=(k=d.meteo)==null?void 0:k.wave)==null?void 0:b.wd)==null?void 0:w.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((S=(C=(A=d.meteo)==null?void 0:A.wave)==null?void 0:C.swell)==null?void 0:S.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((W=(H=(V=d.meteo)==null?void 0:V.wave)==null?void 0:H.swell)==null?void 0:W.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((R=(G=(I=d.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((O=(_=d.meteo)==null?void 0:_.current)==null?void 0:O.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString((($=d.meteo)==null?void 0:$.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((F=d.meteo)==null?void 0:F.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((L=d.meteo)==null?void 0:L.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(d.excluded?"excluded":d.goodWx?"good-wx":"")},e.toDisplayString(((M=d.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(d))},e.toDisplayString(!["A","B"].includes(d.abbrev)&&p?d.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const Wg=We(kQ,[["render",Mg],["__scopeId","data-v-a18f941f"]]),mX="",Ig={name:"OrmVoyageChart",components:{Lng:Kl,Lat:Xl},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`${u(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(ul.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(ul.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(ul.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,T,Q,h,y,x;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 i=0,l=0;const n=this.inventory.filter(g=>g.noonLength)||[];n.unshift(n[0]),n.forEach((g,k)=>{var w,A,C,S,V,H,W,I,G,R,_,O,$,F;const b=this.computeUTCTime(k===0?g.utc:g.noonUtc,"MM-DD/HHmm[Z]");if(o.push(b),i=Math.ceil(((w=g.noon)==null?void 0:w.foCons)>i?(A=g.noon)==null?void 0:A.foCons:i),i=Math.ceil(((C=g.cp)==null?void 0:C.fo)>i?(S=g.cp)==null?void 0:S.fo:i),l=Math.ceil(((V=g.noon)==null?void 0:V.dgoCons)>l?(H=g.noon)==null?void 0:H.dgoCons:l),l=Math.ceil(((W=g.cp)==null?void 0:W.dgo)>l?(I=g.cp)==null?void 0:I.dgo:l),s.push([b,(G=g.noon)==null?void 0:G.avgSpd,(R=g.noon)==null?void 0:R.foCons,(_=g.noon)==null?void 0:_.dgoCons,g.avgSpdCalc,g.cp.speed,g.goodWx&&!g.excluded?100:0,g.cp.dgo,g.cp.fo,g.excluded?100:0]),kp.noonLength)||[];n.unshift(n[0]),n.forEach((p,T)=>{var h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z;l=p.noonLength?p.dailyAvgCf:l;const Q=this.computeUTCTime(T===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(Q),i=Math.ceil(((x=(y=(h=p.meteo)==null?void 0:h.wave)==null?void 0:y.sig)==null?void 0:x.height)>i?(b=(k=(g=p.meteo)==null?void 0:g.wave)==null?void 0:k.sig)==null?void 0:b.height:i),s.push([Q,(w=p.noon)==null?void 0:w.windBF,(C=(A=p.meteo)==null?void 0:A.wind)==null?void 0:C.scale,(V=(S=p.meteo)==null?void 0:S.wind)==null?void 0:V.direction,(H=p.noon)==null?void 0:H.seasHt,(G=(I=(W=p.meteo)==null?void 0:W.wave)==null?void 0:I.sig)==null?void 0:G.height,l,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),T(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),Gg={class:"report-summary"},Rg={class:"section chart-section"},Zg=Al(()=>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)),zg={class:"chart-block"},Ug={ref:"spdFoConsChart",class:"chart"},Yg={ref:"spdDgoConsChart",class:"chart"},jg={ref:"currChart",class:"chart"},Jg={class:"section map-section"},Kg=Al(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),Xg={class:"map-block"},qg={class:"flex-space"},ug={class:"voyage-block",style:{height:"197px"}},vg={class:"flex-space label-block",style:{width:"100%"}},eb=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),tb={style:{"text-transform":"uppercase"}},ob={class:"flex-space label-block",style:{width:"100%"}},ab=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),lb={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},nb={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},sb={class:"flex-space label-block",style:{width:"100%"}},db=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),cb={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},ib={class:"flex-space label-block",style:{width:"100%"}},rb=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),mb={key:0,class:"flex-end",style:{flex:"1"}},pb={key:1,class:"flex-end",style:{flex:"1"}},hb=Al(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_b={class:"flex-end",style:{width:"160px"}},Eb={class:"flex-space label-block",style:{width:"100%"}},yb=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),fb={key:0,class:"flex-end",style:{flex:"1"}},Vb={key:1,class:"flex-end",style:{flex:"1"}},Nb=Al(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Tb={class:"flex-end",style:{width:"160px"}},Qb={class:"flex-space label-block",style:{width:"100%"}},gb=Al(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),bb={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},xb=e.createStaticVNode('
LEGEND
0812
08 - Day of the month
12 - Hours of the day
Wind from N (000)
Each bard = 10 kts
1/2 bard = 5 kts
W 4
Sig. Wave from West, 4 meters
Date
Good weather days
',1),kb=["src"],Db=e.createStaticVNode('
Charter Party Compliance Analysis Methodology
1. Good Weather Method
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.
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.
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.
2. Damage assessment due to ship under-performance
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.
3. Logbooks description vs. Analysis
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.
4. “About”
Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty.
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.
5. Bunker Analysis Methodology for Bunker Type Switch-Over
The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone.
5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure.
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.
6. Further reference materials
Please send mail to op@ormwx.com.
',1);function Cb(o,s,t,i,l,n){var p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z;const E=e.resolveComponent("Lat"),d=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",Gg,[e.createElementVNode("div",Rg,[Zg,e.createElementVNode("div",zg,[e.createElementVNode("div",Ug,null,512),e.createElementVNode("div",Yg,null,512),e.createElementVNode("div",jg,null,512)])]),e.createElementVNode("div",Jg,[Kg,e.createElementVNode("div",Xg,[e.createElementVNode("div",qg,[e.createElementVNode("div",ug,[e.createElementVNode("div",vg,[eb,e.createElementVNode("span",tb,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",ob,[ab,e.createElementVNode("span",lb,e.toDisplayString((T=(p=t.report)==null?void 0:p.vessel)==null?void 0:T.name),1),e.createElementVNode("span",nb,"("+e.toDisplayString((h=(Q=t.report)==null?void 0:Q.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",sb,[db,e.createElementVNode("span",cb,e.toDisplayString((x=(y=t.report)==null?void 0:y.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",ib,[rb,(k=(g=t.report)==null?void 0:g.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",mb,e.toDisplayString((w=(b=t.report)==null?void 0:b.departure)==null?void 0:w.portName),1)):(e.openBlock(),e.createElementBlock("div",pb,[e.createVNode(E,{lat:(C=(A=t.report)==null?void 0:A.departure)==null?void 0:C.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),hb,e.createVNode(d,{lng:(S=t.report.departure)==null?void 0:S.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",_b,e.toDisplayString(n.computeUTCTime((V=t.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Eb,[yb,(W=(H=t.report)==null?void 0:H.arrival)!=null&&W.portName?(e.openBlock(),e.createElementBlock("span",fb,e.toDisplayString((G=(I=t.report)==null?void 0:I.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",Vb,[e.createVNode(E,{lat:(_=(R=t.report)==null?void 0:R.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),Nb,e.createVNode(d,{lng:($=(O=t.report)==null?void 0:O.arrival)==null?void 0:$.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",Tb,e.toDisplayString(n.computeUTCTime((L=(F=t.report)==null?void 0:F.arrival)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",Qb,[gb,e.createElementVNode("span",bb,e.toDisplayString((j=(M=t.report)==null?void 0:M.voyage)==null?void 0:j.loadCondition),1)])]),xb]),e.createElementVNode("img",{src:(z=t.report)==null?void 0:z.chartUrl,alt:""},null,8,kb)])]),Db])}const Sb=We(Ig,[["render",Cb],["__scopeId","data-v-92ed3e90"]]),pX="",hX="",Bb={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`${u(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{var p,T;let i="
";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((T=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:T.split("\\n")).forEach(h=>{const y=`

${h}

`;i=i+y}),i=i+"
"):i=s.body;const l=document.getElementById("col1"),n=document.getElementById("col2"),E=(l==null?void 0:l.offsetHeight)||0,d=(n==null?void 0:n.offsetHeight)||0;if(E<=d){let h=`
Date: ${s.date}
From: ${s.from}
To: ${s.to}
Subject: ${s.subject}

`;h=h+i+"
",l.insertAdjacentHTML("beforeend",h)}else{let h=`
Date: ${s.date}
From: ${s.from}
To: ${s.to}
Subject: ${s.subject}

`;h=h+i+"
",n.insertAdjacentHTML("beforeend",h)}})}}},wb={class:"report-email"},Ab=[e.createStaticVNode('',1)];function Hb(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("div",wb,Ab)}const Lb=We(Bb,[["render",Hb],["__scopeId","data-v-8d16153f"]]),EX="",Ob={name:"OrmVoyageIndex",components:{Brand:aa,VoySummary:xQ,Inventory:Wg,Chart:Sb,Email:Lb,Loading:vl},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(o){this.$emit("commit",o)},prepare(){var s,t;const o=[];(t=(s=this.report)==null?void 0:s.segments)==null||t.forEach(i=>{const l=i.extend.cp;let n,E,d=!1;i.inventory.sample.hours.forEach((p,T)=>{n||(n=p),(!E||d)&&(E=p,d=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),E.noonLength=(E.noonLength||0)+1;let Q=p.type.charAt(0);["N","M","E"].includes(Q)&&(d=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=Q,Q=Q==="M"?"*":Q==="A"?"":Q,p.time=`${Q} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=he.LngLatHelper.lng2pretty(p.lng),p._lat=he.LngLatHelper.lat2pretty(p.lat),p.cp=l,o.push(p)})}),o.sort((i,l)=>i.date-l.date),this.inventory=o}}};function Fb(o,s,t,i,l,n){var y,x,g;const E=e.resolveComponent("Brand"),d=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),T=e.resolveComponent("Inventory"),Q=e.resolveComponent("Chart"),h=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((x=(y=t.report)==null?void 0:y.weather)!=null&&x.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:t.report.createdAt},null,8,["issued"]),e.createVNode(d,{loading:l.loading,onTimeout:s[0]||(s[0]=k=>l.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(T,{report:t.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(Q,{report:t.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),((g=t.voyageEmails)==null?void 0:g.length)>0?(e.openBlock(),e.createBlock(h,{key:0,report:t.report,voyageEmails:t.voyageEmails},null,8,["report","voyageEmails"])):e.createCommentVNode("",!0)],2)}const cd=We(Ob,[["render",Fb],["__scopeId","data-v-a0a392a4"]]),Pb={install(o){o.component("FliVoyageReport",dd),o.component("OrmVoyageReport",cd)}},yX="",fX="",VX="",$b={name:"IdmTropical",components:{TropicalReport:Gd.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(o){this.center=o}}},Mb={class:"typhoon-report-container"};function Wb(o,s,t,i,l,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",Mb,[t.report?(e.openBlock(),e.createBlock(E,{key:0,report:t.report,model:t.model,ts:t.ts,token:t.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const id=We($b,[["render",Wb],["__scopeId","data-v-a14ce9ba"]]),Ib={install(o){o.component("TropicalReport",id)}},NX="",Gb={name:"OrmInvoice",components:{IdmBrand:aa},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${u(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,i,l,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(d=>d.props),this.reservations4Point=(i=(t=this.report)==null?void 0:t.reservations)==null?void 0:i.filter(d=>!d.props),this.totalInUS=(n=(l=this.report)==null?void 0:l.reservations)==null?void 0:n.reduce((d,p)=>Math.round((d+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},mt=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),Rb={class:"invoice-report"},Zb={class:"section items-section"},zb={class:"flex-start"},Ub=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),Yb=["innerHTML"],jb={class:"flex-space"},Jb={class:"invoice-item"},Kb={key:0,class:"invoice-item"},Xb=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),qb=mt(()=>e.createElementVNode("td",null,"NO.",-1)),ub=["colspan"],vb=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),ex=["colspan"],tx=["colspan"],ox=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],ax={class:"total"},lx=["colspan"],nx=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],sx={class:"total"},dx=["colspan"],cx={class:"total"},ix={key:1},rx=["colspan"],mx=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],px={class:"total"},hx={key:0,class:"memo-block"},_x=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),Ex=["innerHTML"],yx={class:"section company-section"},fx=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),Vx={class:"company-item"},Nx=mt(()=>e.createElementVNode("label",null,"Bank",-1)),Tx={class:"company-item"},Qx=mt(()=>e.createElementVNode("label",null,"Account",-1)),gx={class:"company-item"},bx=mt(()=>e.createElementVNode("label",null,"Title",-1)),xx={class:"company-item"},kx=mt(()=>e.createElementVNode("label",null,"Addr",-1)),Dx={class:"company-item"},Cx=mt(()=>e.createElementVNode("label",null,"Tel",-1)),Sx={class:"company-item"},Bx=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),wx={class:"company-item"},Ax=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),Hx={class:"company-item"},Lx=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),Ox={class:"company-item"},Fx=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),Px={class:"company-item"},$x=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),Mx={class:"company-item"},Wx=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),Ix={class:"company-item"},Gx=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),Rx={class:"company-item"},Zx=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),zx={class:"company-item"},Ux=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),Yx=e.createStaticVNode('
Finance Team
Ocean Right Marine Service Co., Ltd.
Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.
Thank You
',1);function jx(o,s,t,i,l,n){var d,p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Rb,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",Zb,[e.createElementVNode("div",zb,[Ub,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(T=(p=(d=t.report)==null?void 0:d.invoiceTitle)==null?void 0:p.name)==null?void 0:T.replace(` `,"
")},null,8,Yb)]),e.createElementVNode("div",jb,[e.createElementVNode("div",Jb,"Invoice No. "+e.toDisplayString(t.report.number),1),(Q=t.report)!=null&&Q.paymentDate?(e.openBlock(),e.createElementBlock("div",Kb,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=l.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Xb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(v,Ee)=>{var Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge;return e.openBlock(),e.createElementBlock("tr",{key:Ee},[e.createElementVNode("td",null,e.toDisplayString((pe=(Ne=(Ve=v.props)==null?void 0:Ve[0])==null?void 0:Ne.voyage)==null?void 0:pe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(ge=(Qe=v.props)==null?void 0:Qe[0])==null?void 0:ge.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((De=(ke=(xe=v.props)==null?void 0:xe[0])==null?void 0:ke.vessel)==null?void 0:De.name),1),e.createElementVNode("td",null,e.toDisplayString((He=(Ae=(we=v.props)==null?void 0:we[0])==null?void 0:Ae.voyage)==null?void 0:He.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(Oe=(Le=v.props)==null?void 0:Le[0])==null?void 0:Oe.departure)==null?void 0:Fe.name),1),e.createElementVNode("td",null,e.toDisplayString((Te=($e=(Pe=v.props)==null?void 0:Pe[0])==null?void 0:$e.departure)==null?void 0:Te.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=(je=v.props)==null?void 0:je[0])==null?void 0:Je.destination)==null?void 0:Ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Ge=(Ce=(B=v.props)==null?void 0:B[0])==null?void 0:Ce.destination)==null?void 0:Ge.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(v.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(y=l.reservations4Point)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[qb,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,ub),vb])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(v,Ee)=>(e.openBlock(),e.createElementBlock("tr",{key:Ee},[e.createElementVNode("td",null,e.toDisplayString(v.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(v.items),9,ex),e.createElementVNode("td",null,"$"+e.toDisplayString(v.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((x=t.report)==null?void 0:x.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},ox,8,tx),e.createElementVNode("td",ax,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},nx,8,lx),e.createElementVNode("td",sx,[e.createElementVNode("span",null,e.toDisplayString((g=t.report)==null?void 0:g.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,dx),e.createElementVNode("td",cx,"¥"+e.toDisplayString((k=t.report)==null?void 0:k.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",ix,[e.createElementVNode("td",{colspan:l.maxColspans},mx,8,rx),e.createElementVNode("td",px,[e.createElementVNode("span",null,e.toDisplayString(`$${(b=t.report)==null?void 0:b.paymentAmount}`),1)])]))])]),(w=t.report)!=null&&w.memo?(e.openBlock(),e.createElementBlock("div",hx,[_x,e.createElementVNode("div",{class:"invoice-item",innerHTML:(C=(A=t.report)==null?void 0:A.memo)==null?void 0:C.replace(` `,"
")},null,8,Ex)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yx,[fx,((S=t.report)==null?void 0:S.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Vx,[Nx,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(V=t.report)==null?void 0:V.paymentType])==null?void 0:H.bank),1)]),e.createElementVNode("div",Tx,[Qx,e.createElementVNode("span",null,e.toDisplayString((I=l.account[(W=t.report)==null?void 0:W.paymentType])==null?void 0:I.number),1)]),e.createElementVNode("div",gx,[bx,e.createElementVNode("span",null,e.toDisplayString((R=l.account[(G=t.report)==null?void 0:G.paymentType])==null?void 0:R.title),1)]),e.createElementVNode("div",xx,[kx,e.createElementVNode("span",null,e.toDisplayString((O=l.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:O.address),1)]),e.createElementVNode("div",Dx,[Cx,e.createElementVNode("span",null,e.toDisplayString((F=l.account[($=t.report)==null?void 0:$.paymentType])==null?void 0:F.tel),1)]),e.createElementVNode("div",Sx,[Bx,e.createElementVNode("span",null,e.toDisplayString((M=l.account[(L=t.report)==null?void 0:L.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wx,[Ax,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",Hx,[Lx,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:de.bank),1)]),e.createElementVNode("div",Ox,[Fx,e.createElementVNode("span",null,e.toDisplayString((a=l.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:a.bankAddr),1)]),e.createElementVNode("div",Px,[$x,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(X=t.report)==null?void 0:X.paymentType])==null?void 0:oe.number),1)]),e.createElementVNode("div",Mx,[Wx,e.createElementVNode("span",null,e.toDisplayString((le=l.account[(ae=t.report)==null?void 0:ae.paymentType])==null?void 0:le.swift),1)]),e.createElementVNode("div",Ix,[Gx,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(ne=t.report)==null?void 0:ne.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",Rx,[Zx,e.createElementVNode("span",null,e.toDisplayString((re=l.account[(ie=t.report)==null?void 0:ie.paymentType])==null?void 0:re.intermediaryBankSwift),1)]),e.createElementVNode("div",zx,[Ux,e.createElementVNode("span",null,e.toDisplayString((fe=l.account[(me=t.report)==null?void 0:me.paymentType])==null?void 0:fe.intermediaryBankAbaNo),1)])],64))]),Yx])}const rd=We(Gb,[["render",jx],["__scopeId","data-v-95c80c22"]]),bX="",Jx={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!=="-"?`${u(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,i,l,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(d=>d.props),this.reservations4Point=(i=(t=this.report)==null?void 0:t.reservations)==null?void 0:i.filter(d=>!d.props),this.totalInUS=(n=(l=this.report)==null?void 0:l.reservations)==null?void 0:n.reduce((d,p)=>Math.round((d+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},Ll=o=>(e.pushScopeId("data-v-5a352907"),o=o(),e.popScopeId(),o),Kx={class:"invoice-report"},Xx={class:"section items-section"},qx={class:"flex-start"},ux=Ll(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),vx=["innerHTML"],ek={class:"flex-space"},tk={class:"invoice-item"},ok={key:0,class:"invoice-item"},ak=Ll(()=>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)),lk=Ll(()=>e.createElementVNode("td",null,"NO.",-1)),nk=["colspan"],sk=Ll(()=>e.createElementVNode("td",null,"Amounts",-1)),dk=["colspan"],ck=["colspan"],ik=[Ll(()=>e.createElementVNode("span",null,"Total in USD",-1))],rk={class:"total"},mk=["colspan"],pk=[Ll(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],hk={class:"total"},_k=["colspan"],Ek={class:"total"},yk={key:1},fk=["colspan"],Vk=[Ll(()=>e.createElementVNode("span",null,"Total in USD",-1))],Nk={class:"total"},Tk={key:0,class:"memo-block"},Qk=Ll(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),gk=["innerHTML"];function bk(o,s,t,i,l,n){var E,d,p,T,Q,h,y,x,g,k,b,w,A;return e.openBlock(),e.createElementBlock("div",Kx,[e.createElementVNode("div",Xx,[e.createElementVNode("div",qx,[ux,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(d=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:d.name)==null?void 0:p.replace(` `,"
")},null,8,vx)]),e.createElementVNode("div",ek,[e.createElementVNode("div",tk,"Invoice No. "+e.toDisplayString(t.report.number),1),(T=t.report)!=null&&T.paymentDate?(e.openBlock(),e.createElementBlock("div",ok,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(Q=l.reservations4Route)!=null&&Q.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[ak,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(C,S)=>{var V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString((W=(H=(V=C.props)==null?void 0:V[0])==null?void 0:H.voyage)==null?void 0:W.number),1),e.createElementVNode("td",null,e.toDisplayString(((R=(G=(I=C.props)==null?void 0:I[0])==null?void 0:G.voyage)==null?void 0:R.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(($=(O=(_=C.props)==null?void 0:_[0])==null?void 0:O.vessel)==null?void 0:$.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(L=(F=C.props)==null?void 0:F[0])==null?void 0:L.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(z=(j=C.props)==null?void 0:j[0])==null?void 0:z.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((a=(ce=(de=C.props)==null?void 0:de[0])==null?void 0:ce.departure)==null?void 0:a.atd),1),e.createElementVNode("td",null,e.toDisplayString((ae=(oe=(X=C.props)==null?void 0:X[0])==null?void 0:oe.destination)==null?void 0:ae.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(ne=(le=C.props)==null?void 0:le[0])==null?void 0:ne.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(C.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=l.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lk,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,nk),sk])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(C,S)=>(e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",null,e.toDisplayString(C.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(C.items),9,dk),e.createElementVNode("td",null,"$"+e.toDisplayString(C.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((y=t.report)==null?void 0:y.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},ik,8,ck),e.createElementVNode("td",rk,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},pk,8,mk),e.createElementVNode("td",hk,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,_k),e.createElementVNode("td",Ek,"¥"+e.toDisplayString((g=t.report)==null?void 0:g.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",yk,[e.createElementVNode("td",{colspan:l.maxColspans},Vk,8,fk),e.createElementVNode("td",Nk,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(b=t.report)!=null&&b.memo?(e.openBlock(),e.createElementBlock("div",Tk,[Qk,e.createElementVNode("div",{class:"invoice-item",innerHTML:(A=(w=t.report)==null?void 0:w.memo)==null?void 0:A.replace(` `,"
")},null,8,gk)])):e.createCommentVNode("",!0)])])}const md=We(Jx,[["render",bk],["__scopeId","data-v-5a352907"]]),xk={install(o){o.component("OrmInvoiceReport",rd),o.component("FliInvoiceReport",md)}},kk=o=>((typeof o=="string"||typeof o=="number")&&(o=u(o)),o),Dk=(o,s="MMM-DD,YYYY/HHmm[Z]")=>Ck(o,s),Ck=(o,s="MMM-DD/HHmm[Z]")=>(o=kk(o),o?`${o.utc().format(s)}`:"-"),CX="",Sk={name:"IdmEditableItem",components:{Edit:ql.Edit,Close:ql.Close,IdmEditor:la},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 Dk(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)}}},Bk={class:"idm-editable-item"},wk=["innerHTML"],Ak={key:3,class:"buttons"};function Hk(o,s,t,i,l,n){const E=e.resolveComponent("ElTag"),d=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),T=e.resolveComponent("ElInputNumber"),Q=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),y=e.resolveComponent("ElSelect"),x=e.resolveComponent("ElRadio"),g=e.resolveComponent("ElRadioGroup"),k=e.resolveComponent("ElCheckbox"),b=e.resolveComponent("ElCheckboxGroup"),w=e.resolveComponent("Edit"),A=e.resolveComponent("ElIcon"),C=e.resolveComponent("ElButton"),S=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Bk,[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),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.type==="input"?(e.openBlock(),e.createBlock(d,{key:0,modelValue:l.model,"onUpdate:modelValue":s[2]||(s[2]=V=>l.model=V),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="alphanumeric"?(e.openBlock(),e.createBlock(d,{key:1,modelValue:l.model,"onUpdate:modelValue":s[3]||(s[3]=V=>l.model=V),size:t.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),t.type==="textarea"?(e.openBlock(),e.createBlock(d,{key:2,modelValue:l.model,"onUpdate:modelValue":s[4]||(s[4]=V=>l.model=V),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:l.model,"onUpdate:modelValue":s[5]||(s[5]=V=>l.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),t.type==="number"?(e.openBlock(),e.createBlock(T,{key:4,modelValue:l.model,"onUpdate:modelValue":s[6]||(s[6]=V=>l.model=V),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(Q,{key:5,modelValue:l.model,"onUpdate:modelValue":s[7]||(s[7]=V=>l.model=V),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(y,{key:6,modelValue:l.model,"onUpdate:modelValue":s[8]||(s[8]=V=>l.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="remoteSelect"?(e.openBlock(),e.createBlock(y,{key:7,modelValue:l.model,"onUpdate:modelValue":s[9]||(s[9]=V=>l.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="remotePortSelect"?(e.openBlock(),e.createBlock(y,{key:8,modelValue:l.model,"onUpdate:modelValue":s[10]||(s[10]=V=>l.model=V),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,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),t.type==="radio"?(e.openBlock(),e.createBlock(g,{key:9,modelValue:l.model,"onUpdate:modelValue":s[11]||(s[11]=V=>l.model=V),size:t.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,V=>(e.openBlock(),e.createBlock(x,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),t.type==="checkbox"?(e.openBlock(),e.createBlock(b,{key:10,modelValue:l.model,"onUpdate:modelValue":s[12]||(s[12]=V=>l.model=V),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,V=>(e.openBlock(),e.createBlock(k,{key:V.label,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],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]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(t.value,t.format)),33)):t.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:t.value||""},null,8,wk)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[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",Ak,[l.editable?(e.openBlock(),e.createBlock(C,{key:1,size:t.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(A,null,{default:e.withCtx(()=>[e.createVNode(S)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(C,{key:0,size:t.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(A,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const td=We(Sk,[["render",Hk]]),SX="",BX="",Lk={name:"OrmDeviation",components:{CirclePlus:ql.CirclePlus,Remove:ql.Remove,EditableItem:td,Editor:la,IdmBrand:aa},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?`${u(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${he.LngLatHelper.lat2pretty(o).pretty} / ${he.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,i,l;this.extraPortList=(o=this.report)!=null&&o.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(t=this.report)!=null&&t.comments?(i=this.report)==null?void 0:i.comments:void 0,this.id=this.report.id,this.remarks=(l=this.report)==null?void 0:l.remarks},async fetchSuggestName(o){var t;const s=await Jl.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,i,l,n,E;this.extraPortList.splice(o,1);const s=await Jl.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=(l=(i=s==null?void 0:s.data)==null?void 0:i.data)==null?void 0:l.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,i){var E;this.editable=!1;const l=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(l>0){const T=s.substring(0,l),Q=s.substring(l+1);Q!=="date"&&(t=Number(t)),this.extraPortList[i][T][Q]=t}else this.extraPortList[i][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 d=await Jl.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}}),p=(E=d==null?void 0:d.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 vs.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=o=>(e.pushScopeId("data-v-466ca2d5"),o=o(),e.popScopeId(),o),Ok={class:"deviation-report"},Fk={class:"content-box"},Pk={class:"info-box border-dashed"},$k={class:"flex-between row"},Mk={class:"flex-between",style:{width:"48%"}},Wk=f(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),Ik={class:"flex-between",style:{width:"48%"}},Gk=f(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),Rk={style:{"margin-left":"5px"}},Zk={class:"flex-between row"},zk={class:"flex-between",style:{width:"48%"}},Uk=f(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),Yk={class:"flex-between",style:{width:"48%"}},jk=f(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),Jk={style:{"margin-left":"5px"}},Kk={class:"flex-between row"},Xk={class:"flex-between",style:{width:"48%"}},qk=f(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),uk={class:"flex-between",style:{width:"48%"}},vk=f(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),eD={class:"section summary-section"},tD=f(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),oD={class:"border-solid"},aD={class:"cp"},lD={class:"flex-between",style:{padding:"6px 0"}},nD={style:{"margin-left":"5px"}},sD={style:{"margin-left":"5px"}},dD=f(()=>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)),cD=f(()=>e.createElementVNode("td",null,"-",-1)),iD={key:0},rD={key:0},mD={key:1},pD={key:0},hD={key:0},_D={key:1},ED={key:0},yD={key:0},fD={key:1},VD={class:"summary-block flex-between"},ND={class:"item"},TD=f(()=>e.createElementVNode("div",{class:"title"},"Extra Distance",-1)),QD={class:"value flex-end"},gD={key:0},bD=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),xD={class:"gain"},kD=f(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),DD={key:1},CD=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),SD={class:"lost"},BD=f(()=>e.createElementVNode("span",{class:"unit"},"nm",-1)),wD={key:2},AD={class:"item"},HD=f(()=>e.createElementVNode("div",{class:"title"},"Total extra Time",-1)),LD={class:"value flex-end"},OD={key:0},FD=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),PD={class:"gain"},$D=f(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),MD={key:1},WD=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),ID={class:"lost"},GD=f(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),RD={key:2},ZD={class:"item"},zD=f(()=>e.createElementVNode("div",{class:"title"},"FO Total extra Consumption",-1)),UD={class:"value flex-end"},YD={key:0},jD=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),JD={class:"gain"},KD=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),XD={key:1},qD=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),uD={class:"lost"},vD=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),eC={key:2},tC={class:"item"},oC=f(()=>e.createElementVNode("div",{class:"title"},"MGO Total extra Consumption",-1)),aC={class:"value flex-end"},lC={key:0},nC=f(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),sC={class:"gain"},dC=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),cC={key:1},iC=f(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),rC={class:"lost"},mC=f(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),pC={key:2},hC=f(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),_C={class:"section-content"},EC={key:0,class:""},yC=["innerHTML"],fC={key:1},VC={class:"section deviation-info-section"},NC=f(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"Deviation Info Information")],-1)),TC={key:0},QC=f(()=>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)),gC=f(()=>e.createElementVNode("td",null,"Deviation Start",-1)),bC=f(()=>e.createElementVNode("td",null,null,-1)),xC=f(()=>e.createElementVNode("td",null,null,-1)),kC=f(()=>e.createElementVNode("td",null,"Back on Track",-1)),DC=f(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),CC=f(()=>e.createElementVNode("td",{colspan:"2"},null,-1)),SC={key:1},BC=f(()=>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)),wC=f(()=>e.createElementVNode("td",null,"Deviation Start",-1)),AC=f(()=>e.createElementVNode("td",null,"Back on Track",-1)),HC={key:0,class:"section extra-port-section"},LC={class:"flex-between"},OC=f(()=>e.createElementVNode("div",{class:"subtitle"},"Extra Port Information",-1)),FC=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Extra Port",-1)),PC=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Event",-1)),$C=f(()=>e.createElementVNode("th",{rowspan:2,class:"label"},"Date Time",-1)),MC=f(()=>e.createElementVNode("th",{colspan:2,class:"label"},"BROB (mt)",-1)),WC=f(()=>e.createElementVNode("th",{colspan:2,class:"label"},"Bunkering (mt)",-1)),IC={key:0,rowspan:2,class:"print-hidden label"},GC=f(()=>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)),RC={rowspan:2},ZC=f(()=>e.createElementVNode("td",null,"Arrival",-1)),zC=f(()=>e.createElementVNode("td",null,null,-1)),UC=f(()=>e.createElementVNode("td",null,null,-1)),YC={rowspan:2,class:"print-hidden"},jC=f(()=>e.createElementVNode("td",null,"Departure",-1)),JC=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),KC=f(()=>e.createElementVNode("td",null,null,-1)),XC=f(()=>e.createElementVNode("td",null,null,-1)),qC=f(()=>e.createElementVNode("td",null,null,-1)),uC={key:0,class:"print-hidden"},vC={class:"section time-cons-section"},eS=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time and Consumption Calculation",-1)),tS=f(()=>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)),oS={class:"time-block flex-between border-dashed"},aS={key:0,class:"formula-block"},lS={class:"flex-start"},nS=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for extra distance sailing",-1)),sS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),dS={class:"fraction flex-center"},cS={class:"content"},iS=f(()=>e.createElementVNode("div",null,"Extra Distance",-1)),rS=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),mS={key:0},pS={key:1},hS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_S={class:"fraction flex-center"},ES={class:"content"},yS=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),fS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),VS={class:"fraction flex-center"},NS={class:"flex-start"},TS=e.createStaticVNode('
Total extra Time
=
Time for extra distance sailing
+
Time spent in extra port
=
',6),QS={class:"fraction flex-center"},gS=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),bS={class:"fraction flex-center"},xS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),kS={class:"fraction flex-center"},DS={key:1,class:"formula-block"},CS={class:"flex-start"},SS=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"Time for Route prior to deviation sailing",-1)),BS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),wS={class:"fraction flex-center"},AS={class:"content"},HS=f(()=>e.createElementVNode("div",null,"Route Prior to deviation",-1)),LS=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),OS={key:0},FS={key:1},PS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$S={class:"fraction flex-center"},MS={class:"content"},WS=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),IS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),GS={class:"fraction flex-center"},RS=f(()=>e.createElementVNode("div",{class:"sig"},null,-1)),ZS=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},null,-1)),zS={class:"flex-start"},US=e.createStaticVNode('
Total extra Time
=
Time for Actual Route
-
Time for Route prior to deviation sailing
=
',6),YS={class:"fraction flex-center"},jS=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),JS={class:"fraction flex-center"},KS=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),XS={class:"fraction flex-center"},qS={class:"fuel-block flex-between border-dashed"},uS={key:0,class:"formula-block"},vS={class:"flex-start"},eB=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for extra distance sailing",-1)),tB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),oB={class:"fraction flex-center"},aB={class:"content"},lB=f(()=>e.createElementVNode("div",null,"Extra Distance",-1)),nB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),sB={key:0},dB={key:1},cB=f(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),iB={class:"fraction flex-center"},rB={class:"content"},mB={key:0},pB={key:1},hB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),_B=f(()=>e.createElementVNode("div",null,"24",-1)),EB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),yB={class:"fraction flex-center"},fB={class:"content"},VB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),NB=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),TB={class:"fraction flex-center"},QB={class:"content"},gB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),bB=f(()=>e.createElementVNode("div",null,"24",-1)),xB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),kB={class:"fraction flex-center"},DB={class:"flex-start"},CB=e.createStaticVNode('
FO Total Extra Consumption
=
FO Consumption for extra distance sailing
+
FO Consumption in extra port
=
',6),SB={class:"fraction flex-center"},BB=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),wB={class:"fraction flex-center"},AB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),HB={class:"fraction flex-center"},LB={class:"flex-start"},OB=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for extra distance sailing",-1)),FB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),PB={class:"fraction flex-center"},$B={class:"content"},MB=f(()=>e.createElementVNode("div",null,"Extra Distance",-1)),WB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),IB={key:0},GB={key:1},RB=f(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),ZB={class:"fraction flex-center"},zB={class:"content"},UB={key:0},YB={key:1},jB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),JB=f(()=>e.createElementVNode("div",null,"24",-1)),KB=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),XB={class:"fraction flex-center"},qB={class:"content"},uB=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),vB=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),ew={class:"fraction flex-center"},tw={class:"content"},ow=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),aw=f(()=>e.createElementVNode("div",null,"24",-1)),lw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),nw={class:"fraction flex-center"},sw={class:"flex-start"},dw=e.createStaticVNode('
MGO Total Extra Consumption
=
MGO Consumption for extra distance sailing
+
MGO Consumption in extra port
=
',6),cw={class:"fraction flex-center"},iw=f(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),rw={class:"fraction flex-center"},mw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),pw={class:"fraction flex-center"},hw={key:1,class:"formula-block"},_w={class:"flex-start"},Ew=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"FO Consumption for Route prior to deviation sailing",-1)),yw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),fw={class:"fraction flex-center"},Vw={class:"content"},Nw=f(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),Tw=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Qw={key:0},gw={key:1},bw=f(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),xw={class:"fraction flex-center"},kw={class:"content"},Dw={key:0},Cw={key:1},Sw=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Bw=f(()=>e.createElementVNode("div",null,"24",-1)),ww=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Aw={class:"fraction flex-center"},Hw={class:"content"},Lw=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ow=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),Fw={class:"fraction flex-center"},Pw={class:"content"},$w=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),Mw=f(()=>e.createElementVNode("div",null,"24",-1)),Ww=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Iw={class:"fraction flex-center"},Gw={class:"flex-start"},Rw=e.createStaticVNode('
FO Total Extra Consumption
=
FO Consumption for Actual Route
-
FO Consumption for Route prior to deviation sailing
=
',6),Zw={class:"fraction flex-center"},zw=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Uw={class:"fraction flex-center"},Yw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jw={class:"fraction flex-center"},Jw={class:"flex-start"},Kw=f(()=>e.createElementVNode("div",{class:"fraction flex-center"},"MGO Consumption for Route prior to deviation sailing",-1)),Xw=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),qw={class:"fraction flex-center"},uw={class:"content"},vw=f(()=>e.createElementVNode("div",null,"Route prior to deviation Distance",-1)),eA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),tA={key:0},oA={key:1},aA=f(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),lA={class:"fraction flex-center"},nA={class:"content"},sA={key:0},dA={key:1},cA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),iA=f(()=>e.createElementVNode("div",null,"24",-1)),rA=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),mA={class:"fraction flex-center"},pA={class:"content"},hA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),_A=f(()=>e.createElementVNode("div",{class:"sig"},"×",-1)),EA={class:"fraction flex-center"},yA={class:"content"},fA=f(()=>e.createElementVNode("div",{class:"line"},null,-1)),VA=f(()=>e.createElementVNode("div",null,"24",-1)),NA=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),TA={class:"fraction flex-center"},QA={class:"flex-start"},gA=e.createStaticVNode('
MGO Total Extra Consumption
=
MGO Consumption for Actual Route
-
MGO Consumption for Route prior to deviation sailing
=
',6),bA={class:"fraction flex-center"},xA=f(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),kA={class:"fraction flex-center"},DA=f(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),CA={class:"fraction flex-center"},SA={class:"section map-section"},BA=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),wA={class:"report-map"},AA=["src"],HA=e.createStaticVNode('
Actual Route
Route prior to deviation
',1);function LA(o,s,t,i,l,n){var Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo,D,Ze,nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta,na,sa,da,ca,ia,ra,ma,pa,ha,it,_a,Ea,ya,fa,Va,Na,Ta,Qa,ga,ba,xa,ka,Da,Ca,Sa,Ba,wa,Aa,Ha,La,Oa,Fa,Pa,$a,Ma,Wa,Ia,Ga,Ra,Za,za,Ua,Ya,ja,Ja,Ka,Xa,qa,ua,va,el,tl,ol,al,ll,nl,sl,dl,cl,il,rl,ml,pl,hl,_l,El,yl,fl,Vl,Nl,Tl,Ql,gl;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("Editor"),p=e.resolveComponent("EditableItem"),T=e.resolveComponent("ElButton");return e.openBlock(),e.createElementBlock("div",Ok,[e.createVNode(E,{name:"Voyage Deviation Report"}),e.createElementVNode("div",Fk,[e.createElementVNode("div",Pk,[e.createElementVNode("div",$k,[e.createElementVNode("div",Mk,[Wk,e.createElementVNode("div",null,e.toDisplayString((Q=t.report)==null?void 0:Q.preparedFor),1)]),e.createElementVNode("div",Ik,[Gk,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((y=(h=t.report)==null?void 0:h.departure)==null?void 0:y.name),1),e.createTextVNode(" , "),e.createElementVNode("span",Rk,e.toDisplayString(n.computeUTCTime(((g=(x=t.report)==null?void 0:x.departure)==null?void 0:g.atd)||((b=(k=t.report)==null?void 0:k.departure)==null?void 0:b.etd))),1)])])]),e.createElementVNode("div",Zk,[e.createElementVNode("div",zk,[Uk,e.createElementVNode("div",null,e.toDisplayString((A=(w=t.report)==null?void 0:w.vessel)==null?void 0:A.name),1)]),e.createElementVNode("div",Yk,[jk,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((S=(C=t.report)==null?void 0:C.arrival)==null?void 0:S.name),1),e.createTextVNode(" , "),e.createElementVNode("span",Jk,e.toDisplayString(n.computeUTCTime(((H=(V=t.report)==null?void 0:V.arrival)==null?void 0:H.ata)||((I=(W=t.report)==null?void 0:W.arrival)==null?void 0:I.eta))),1)])])]),e.createElementVNode("div",Kk,[e.createElementVNode("div",Xk,[qk,e.createElementVNode("div",null,e.toDisplayString((R=(G=t.report)==null?void 0:G.voyage)==null?void 0:R.number),1)]),e.createElementVNode("div",uk,[vk,e.createElementVNode("div",null,e.toDisplayString((O=(_=t.report)==null?void 0:_.voyage)==null?void 0:O.loadCondition),1)])])]),e.createElementVNode("div",eD,[tD,e.createElementVNode("div",oD,[e.createElementVNode("div",aD,[e.createElementVNode("div",lD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((F=($=t.report)==null?void 0:$.departure)==null?void 0:F.name),1),e.createElementVNode("span",nD,"( "+e.toDisplayString(n.computeUTCTime(((M=(L=t.report)==null?void 0:L.departure)==null?void 0:M.atd)||((z=(j=t.report)==null?void 0:j.departure)==null?void 0:z.etd)))+" )",1)]),e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((de=(J=t.report)==null?void 0:J.arrival)==null?void 0:de.name),1),e.createElementVNode("span",sD,"( "+e.toDisplayString(n.computeUTCTime(((a=(ce=t.report)==null?void 0:ce.arrival)==null?void 0:a.ata)||((oe=(X=t.report)==null?void 0:X.arrival)==null?void 0:oe.eta)))+" )",1)])]),e.createElementVNode("table",null,[dD,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[cD,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((le=(ae=t.report)==null?void 0:ae.cp)==null?void 0:le.speed)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",iD,[e.createTextVNode(" | "),(ie=(se=(ne=t.report)==null?void 0:ne.extend)==null?void 0:se.spdAbt)!=null&&ie.spdPercentage?(e.openBlock(),e.createElementBlock("span",rD,"+"+e.toDisplayString((fe=(me=(re=t.report)==null?void 0:re.extend)==null?void 0:me.spdAbt)==null?void 0:fe.spdOfOver)+"% , -"+e.toDisplayString((Ve=(Ee=(v=t.report)==null?void 0:v.extend)==null?void 0:Ee.spdAbt)==null?void 0:Ve.spdOfUnder)+"%",1)):(e.openBlock(),e.createElementBlock("span",mD,"+"+e.toDisplayString((Qe=(pe=(Ne=t.report)==null?void 0:Ne.extend)==null?void 0:pe.spdAbt)==null?void 0:Qe.abt4SpdOver)+" , -"+e.toDisplayString((xe=(be=(ge=t.report)==null?void 0:ge.extend)==null?void 0:be.spdAbt)==null?void 0:xe.abt4SpdUnder),1))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(((De=(ke=t.report)==null?void 0:ke.cp)==null?void 0:De.fo)??"—"),1),t.report.useWeather?(e.openBlock(),e.createElementBlock("span",pD,[e.createTextVNode(" | "),(He=(Ae=(we=t.report)==null?void 0:we.extend)==null?void 0:Ae.foAbtCons)!=null&&He.percentage?(e.openBlock(),e.createElementBlock("span",hD,"+"+e.toDisplayString((Fe=(Oe=(Le=t.report)==null?void 0:Le.extend)==null?void 0:Oe.foAbtCons)==null?void 0:Fe.over)+"% , -"+e.toDisplayString((Te=($e=(Pe=t.report)==null?void 0:Pe.extend)==null?void 0:$e.foAbtCons)==null?void 0:Te.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",_D,"+"+e.toDisplayString((Ke=(Je=(je=t.report)==null?void 0:je.extend)==null?void 0:Je.foAbtCons)==null?void 0:Ke.overTolerance)+" , -"+e.toDisplayString((Ge=(Ce=(B=t.report)==null?void 0:B.extend)==null?void 0:Ce.foAbtCons)==null?void 0:Ge.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",ED,[e.createTextVNode(" | "),(et=(ve=(ue=t.report)==null?void 0:ue.extend)==null?void 0:ve.dgoAbtCons)!=null&&et.percentage?(e.openBlock(),e.createElementBlock("span",yD,"+"+e.toDisplayString((Se=(P=(m=t.report)==null?void 0:m.extend)==null?void 0:P.dgoAbtCons)==null?void 0:Se.over)+"% , -"+e.toDisplayString((ye=(Re=(Me=t.report)==null?void 0:Me.extend)==null?void 0:Re.dgoAbtCons)==null?void 0:ye.under)+"%",1)):(e.openBlock(),e.createElementBlock("span",fD,"+"+e.toDisplayString((ot=(tt=(ze=t.report)==null?void 0:ze.extend)==null?void 0:tt.dgoAbtCons)==null?void 0:ot.overTolerance)+" , -"+e.toDisplayString((pt=(Y=(lt=t.report)==null?void 0:lt.extend)==null?void 0:Y.dgoAbtCons)==null?void 0:pt.underTolerance),1))])):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",VD,[e.createElementVNode("div",ND,[TD,e.createElementVNode("div",QD,[((ht=t.report)==null?void 0:ht.extraDist)<0?(e.openBlock(),e.createElementBlock("div",gD,[bD,e.createElementVNode("span",xD,e.toDisplayString(Math.abs((ft=t.report)==null?void 0:ft.extraDist)),1),kD])):((Vt=t.report)==null?void 0:Vt.extraDist)>=0?(e.openBlock(),e.createElementBlock("div",DD,[CD,e.createElementVNode("span",SD,e.toDisplayString(Math.abs((Nt=t.report)==null?void 0:Nt.extraDist)),1),BD])):(e.openBlock(),e.createElementBlock("div",wD,"N/A"))])]),e.createElementVNode("div",AD,[HD,e.createElementVNode("div",LD,[((Qt=(Tt=t.report)==null?void 0:Tt.timeAnalysis)==null?void 0:Qt.totalExtraTime)<0?(e.openBlock(),e.createElementBlock("div",OD,[FD,e.createElementVNode("span",PD,e.toDisplayString(Math.abs((bt=(gt=t.report)==null?void 0:gt.timeAnalysis)==null?void 0:bt.totalExtraTime)),1),$D])):((kt=(xt=t.report)==null?void 0:xt.timeAnalysis)==null?void 0:kt.totalExtraTime)>=0?(e.openBlock(),e.createElementBlock("div",MD,[WD,e.createElementVNode("span",ID,e.toDisplayString(Math.abs((Ct=(Dt=t.report)==null?void 0:Dt.timeAnalysis)==null?void 0:Ct.totalExtraTime)),1),GD])):(e.openBlock(),e.createElementBlock("div",RD,"N/A"))])]),e.createElementVNode("div",ZD,[zD,e.createElementVNode("div",UD,[((wt=(Bt=(St=t.report)==null?void 0:St.consAnalysis)==null?void 0:Bt.fo)==null?void 0:wt.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",YD,[jD,e.createElementVNode("span",JD,e.toDisplayString(Math.abs((Lt=(Ht=(At=t.report)==null?void 0:At.consAnalysis)==null?void 0:Ht.fo)==null?void 0:Lt.totalExtraCons)),1),KD])):((Pt=(Ft=(Ot=t.report)==null?void 0:Ot.consAnalysis)==null?void 0:Ft.fo)==null?void 0:Pt.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",XD,[qD,e.createElementVNode("span",uD,e.toDisplayString(Math.abs((mo=(ro=(io=t.report)==null?void 0:io.consAnalysis)==null?void 0:ro.fo)==null?void 0:mo.totalExtraCons)),1),vD])):(e.openBlock(),e.createElementBlock("div",eC,"N/A"))])]),e.createElementVNode("div",tC,[oC,e.createElementVNode("div",aC,[((_o=(ho=(po=t.report)==null?void 0:po.consAnalysis)==null?void 0:ho.dgo)==null?void 0:_o.totalExtraCons)<0?(e.openBlock(),e.createElementBlock("div",lC,[nC,e.createElementVNode("span",sC,e.toDisplayString(Math.abs((fo=(yo=(Eo=t.report)==null?void 0:Eo.consAnalysis)==null?void 0:yo.dgo)==null?void 0:fo.totalExtraCons)),1),dC])):((To=(No=(Vo=t.report)==null?void 0:Vo.consAnalysis)==null?void 0:No.dgo)==null?void 0:To.totalExtraCons)>=0?(e.openBlock(),e.createElementBlock("div",cC,[iC,e.createElementVNode("span",rC,e.toDisplayString(Math.abs((bo=(go=(Qo=t.report)==null?void 0:Qo.consAnalysis)==null?void 0:go.dgo)==null?void 0:bo.totalExtraCons)),1),mC])):(e.openBlock(),e.createElementBlock("div",pC,"N/A"))])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(l.remarks)?"print-hidden":""])},[hC,e.createElementVNode("div",_C,[l.editable?(e.openBlock(),e.createElementBlock("div",EC,[l.editable?(e.openBlock(),e.createBlock(d,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=K=>l.remarks=K),class:"editor",height:"80px",onBlur:s[1]||(s[1]=K=>n.handleCommit(K))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=K=>l.editable=!0)},[n.computeBlankHtml(l.remarks)?(e.openBlock(),e.createElementBlock("div",fC,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:l.remarks},null,8,yC))],32))])],2),e.createElementVNode("div",VC,[NC,((xo=t.report)==null?void 0:xo.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("table",TC,[QC,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[gC,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((ko=t.report)==null?void 0:ko.startLat,(Do=t.report)==null?void 0:Do.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Co=t.report)==null?void 0:Co.startTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(So=t.report)==null?void 0:So.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=K=>n.handleCommit("extra","startFoBrob",K))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Bo=t.report)==null?void 0:Bo.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=K=>n.handleCommit("extra","startDgoBrob",K))},null,8,["value"])]),bC,xC]),e.createElementVNode("tr",null,[kC,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((D=t.report)==null?void 0:D.endLat,(Ze=t.report)==null?void 0:Ze.endLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((nt=t.report)==null?void 0:nt.endTime)),1),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(st=t.report)==null?void 0:st.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=K=>n.handleCommit("extra","endFoBrob",K))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Et=t.report)==null?void 0:Et.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=K=>n.handleCommit("extra","endDgoBrob",K))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:($t=t.report)==null?void 0:$t.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=K=>n.handleCommit("extra","endFoBunkering",K))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Mt=t.report)==null?void 0:Mt.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[8]||(s[8]=K=>n.handleCommit("extra","endDgoBunkering",K))},null,8,["value"])])]),e.createElementVNode("tr",null,[DC,e.createElementVNode("td",null,e.toDisplayString((It=(Wt=t.report)==null?void 0:Wt.timeAnalysis)==null?void 0:It.actualTime)+" (hrs)",1),e.createElementVNode("td",null,e.toDisplayString((Zt=(Rt=(Gt=t.report)==null?void 0:Gt.consAnalysis)==null?void 0:Rt.fo)==null?void 0:Zt.actualCons),1),e.createElementVNode("td",null,e.toDisplayString((Yt=(Ut=(zt=t.report)==null?void 0:zt.consAnalysis)==null?void 0:Ut.dgo)==null?void 0:Yt.actualCons),1),CC])])])):(e.openBlock(),e.createElementBlock("table",SC,[BC,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[wC,e.createElementVNode("td",null,e.toDisplayString(n.computedLngLat((jt=t.report)==null?void 0:jt.startLat,(Jt=t.report)==null?void 0:Jt.startLng)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((Kt=t.report)==null?void 0:Kt.startTime)),1)]),e.createElementVNode("tr",null,[AC,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((ut=t.report)==null?void 0:ut.endTime)),1)])])]))]),((vt=t.report)==null?void 0:vt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",HC,[e.createElementVNode("div",LC,[OC,e.createVNode(T,{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,[FC,PC,$C,MC,WC,((eo=l.extraPortList)==null?void 0:eo.length)>0?(e.openBlock(),e.createElementBlock("th",IC,"Activity")):e.createCommentVNode("",!0)]),GC]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(K,co)=>{var bl,xl,kl,Dl,Cl,Sl,Bl,wl;return e.openBlock(),e.createElementBlock(e.Fragment,{key:co},[e.createElementVNode("tr",null,[e.createElementVNode("td",RC,[e.createVNode(p,{class:"editable-item",value:K==null?void 0:K.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:n.fetchSuggestName,onCommit:at=>n.handleCommit("port","name",at,co)},null,8,["value","options","onSelect","onCommit"])]),ZC,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(bl=K==null?void 0:K.arrival)==null?void 0:bl.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:at=>n.handleCommit("port","arrival.date",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(xl=K==null?void 0:K.arrival)==null?void 0:xl.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","arrival.foBrob",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(kl=K==null?void 0:K.arrival)==null?void 0:kl.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","arrival.dgoBrob",at,co)},null,8,["value","onCommit"])]),zC,UC,e.createElementVNode("td",YC,[e.createVNode(T,{size:"small",onClick:at=>n.handleRemove(co)},{default:e.withCtx(()=>[e.createTextVNode("Del")]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[jC,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Dl=K==null?void 0:K.departure)==null?void 0:Dl.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:at=>n.handleCommit("port","departure.date",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Cl=K==null?void 0:K.departure)==null?void 0:Cl.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","departure.foBrob",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Sl=K==null?void 0:K.departure)==null?void 0:Sl.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","departure.dgoBrob",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Bl=K==null?void 0:K.departure)==null?void 0:Bl.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","departure.bunkeringFo",at,co)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(wl=K==null?void 0:K.departure)==null?void 0:wl.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:at=>n.handleCommit("port","departure.bunkeringDgo",at,co)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[JC,KC,e.createElementVNode("td",null,e.toDisplayString(((oo=(to=t.report)==null?void 0:to.timeAnalysis)==null?void 0:oo.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((no=(lo=(ao=t.report)==null?void 0:ao.consAnalysis)==null?void 0:lo.fo)==null?void 0:no.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ao=(wo=(so=t.report)==null?void 0:so.consAnalysis)==null?void 0:wo.dgo)==null?void 0:Ao.portCons)??"—"),1),XC,qC,((Ho=l.extraPortList)==null?void 0:Ho.length)>0?(e.openBlock(),e.createElementBlock("td",uC)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",vC,[eS,e.createElementVNode("table",null,[tS,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Lo=t.report)==null?void 0:Lo.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[9]||(s[9]=K=>n.handleCommit("report","actualDist",K,o.index))},null,8,["value"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Oo=t.report)==null?void 0:Oo.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[10]||(s[10]=K=>n.handleCommit("report","priorDist",K,o.index))},null,8,["value"])]),e.createElementVNode("td",null,e.toDisplayString(((Fo=t.report)==null?void 0:Fo.extraDist)??"—"),1)])])]),e.createElementVNode("div",oS,[((Po=t.report)==null?void 0:Po.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",aS,[e.createElementVNode("div",lS,[nS,sS,e.createElementVNode("div",dS,[e.createElementVNode("div",cS,[iS,rS,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",mS,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",pS,"CP Speed"))])]),hS,e.createElementVNode("div",_S,[e.createElementVNode("div",ES,[e.createElementVNode("div",null,e.toDisplayString(($o=t.report)==null?void 0:$o.extraDist),1),yS,e.createElementVNode("div",null,e.toDisplayString((Wo=(Mo=t.report)==null?void 0:Mo.extend)==null?void 0:Wo.cpSpd),1)])]),fS,e.createElementVNode("div",VS,e.toDisplayString((Go=(Io=t.report)==null?void 0:Io.timeAnalysis)==null?void 0:Go.sailingTime)+" (hrs)",1)]),e.createElementVNode("div",NS,[TS,e.createElementVNode("div",QS,e.toDisplayString((Zo=(Ro=t.report)==null?void 0:Ro.timeAnalysis)==null?void 0:Zo.sailingTime),1),gS,e.createElementVNode("div",bS,e.toDisplayString(n.computeNum((Uo=(zo=t.report)==null?void 0:zo.timeAnalysis)==null?void 0:Uo.portTime)),1),xS,e.createElementVNode("div",kS,e.toDisplayString((jo=(Yo=t.report)==null?void 0:Yo.timeAnalysis)==null?void 0:jo.totalExtraTime)+" (hrs)",1)])])):(e.openBlock(),e.createElementBlock("div",DS,[e.createElementVNode("div",CS,[SS,BS,e.createElementVNode("div",wS,[e.createElementVNode("div",AS,[HS,LS,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",OS,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",FS,"CP Speed"))])]),PS,e.createElementVNode("div",$S,[e.createElementVNode("div",MS,[e.createElementVNode("div",null,e.toDisplayString((Jo=t.report)==null?void 0:Jo.priorDist),1),WS,e.createElementVNode("div",null,e.toDisplayString((Xo=(Ko=t.report)==null?void 0:Ko.extend)==null?void 0:Xo.cpSpd),1)])]),IS,e.createElementVNode("div",GS,e.toDisplayString((uo=(qo=t.report)==null?void 0:qo.timeAnalysis)==null?void 0:uo.sailingTime)+" (hrs)",1),RS,ZS]),e.createElementVNode("div",zS,[US,e.createElementVNode("div",YS,e.toDisplayString((ea=(vo=t.report)==null?void 0:vo.timeAnalysis)==null?void 0:ea.actualTime),1),jS,e.createElementVNode("div",JS,e.toDisplayString((na=(ta=t.report)==null?void 0:ta.timeAnalysis)==null?void 0:na.sailingTime),1),KS,e.createElementVNode("div",XS,e.toDisplayString((da=(sa=t.report)==null?void 0:sa.timeAnalysis)==null?void 0:da.totalExtraTime)+" (hrs)",1)])]))]),e.createElementVNode("div",qS,[((ca=t.report)==null?void 0:ca.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",uS,[e.createElementVNode("div",vS,[eB,tB,e.createElementVNode("div",oB,[e.createElementVNode("div",aB,[lB,nB,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",sB,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",dB,"CP Speed"))])]),cB,e.createElementVNode("div",iB,[e.createElementVNode("div",rB,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",mB,"Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",pB,"Daily FO Consumption")),hB,_B])]),EB,e.createElementVNode("div",yB,[e.createElementVNode("div",fB,[e.createElementVNode("div",null,e.toDisplayString((ia=t.report)==null?void 0:ia.extraDist),1),VB,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.extend)==null?void 0:ma.cpSpd),1)])]),NB,e.createElementVNode("div",TB,[e.createElementVNode("div",QB,[e.createElementVNode("div",null,e.toDisplayString((ha=(pa=t.report)==null?void 0:pa.extend)==null?void 0:ha.cpFoCons),1),gB,bB])]),xB,e.createElementVNode("div",kB,e.toDisplayString((Ea=(_a=(it=t.report)==null?void 0:it.consAnalysis)==null?void 0:_a.fo)==null?void 0:Ea.sailingCons)+" (mt)",1)]),e.createElementVNode("div",DB,[CB,e.createElementVNode("div",SB,e.toDisplayString((Va=(fa=(ya=t.report)==null?void 0:ya.consAnalysis)==null?void 0:fa.fo)==null?void 0:Va.sailingCons),1),BB,e.createElementVNode("div",wB,e.toDisplayString(n.computeNum((Qa=(Ta=(Na=t.report)==null?void 0:Na.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Qa.portCons)),1),AB,e.createElementVNode("div",HB,e.toDisplayString((xa=(ba=(ga=t.report)==null?void 0:ga.consAnalysis)==null?void 0:ba.fo)==null?void 0:xa.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",LB,[OB,FB,e.createElementVNode("div",PB,[e.createElementVNode("div",$B,[MB,WB,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",IB,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",GB,"CP Speed"))])]),RB,e.createElementVNode("div",ZB,[e.createElementVNode("div",zB,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",UB,"Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",YB,"Daily MGO Consumption")),jB,JB])]),KB,e.createElementVNode("div",XB,[e.createElementVNode("div",qB,[e.createElementVNode("div",null,e.toDisplayString((ka=t.report)==null?void 0:ka.extraDist),1),uB,e.createElementVNode("div",null,e.toDisplayString((Ca=(Da=t.report)==null?void 0:Da.extend)==null?void 0:Ca.cpSpd),1)])]),vB,e.createElementVNode("div",ew,[e.createElementVNode("div",tw,[e.createElementVNode("div",null,e.toDisplayString((Ba=(Sa=t.report)==null?void 0:Sa.extend)==null?void 0:Ba.cpDgoCons),1),ow,aw])]),lw,e.createElementVNode("div",nw,e.toDisplayString((Ha=(Aa=(wa=t.report)==null?void 0:wa.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ha.sailingCons)+" (mt)",1)]),e.createElementVNode("div",sw,[dw,e.createElementVNode("div",cw,e.toDisplayString((Fa=(Oa=(La=t.report)==null?void 0:La.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.sailingCons),1),iw,e.createElementVNode("div",rw,e.toDisplayString(n.computeNum((Ma=($a=(Pa=t.report)==null?void 0:Pa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ma.portCons)),1),mw,e.createElementVNode("div",pw,e.toDisplayString((Ga=(Ia=(Wa=t.report)==null?void 0:Wa.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ga.totalExtraCons)+" (mt)",1)])])):(e.openBlock(),e.createElementBlock("div",hw,[e.createElementVNode("div",_w,[Ew,yw,e.createElementVNode("div",fw,[e.createElementVNode("div",Vw,[Nw,Tw,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",Qw,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",gw,"CP Speed"))])]),bw,e.createElementVNode("div",xw,[e.createElementVNode("div",kw,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",Dw,"CP Daily FO Consumption + About")):(e.openBlock(),e.createElementBlock("div",Cw,"CP Daily FO Consumption")),Sw,Bw])]),ww,e.createElementVNode("div",Aw,[e.createElementVNode("div",Hw,[e.createElementVNode("div",null,e.toDisplayString((Ra=t.report)==null?void 0:Ra.priorDist),1),Lw,e.createElementVNode("div",null,e.toDisplayString((za=(Za=t.report)==null?void 0:Za.extend)==null?void 0:za.cpSpd),1)])]),Ow,e.createElementVNode("div",Fw,[e.createElementVNode("div",Pw,[e.createElementVNode("div",null,e.toDisplayString((Ya=(Ua=t.report)==null?void 0:Ua.extend)==null?void 0:Ya.cpFoCons),1),$w,Mw])]),Ww,e.createElementVNode("div",Iw,e.toDisplayString((Ka=(Ja=(ja=t.report)==null?void 0:ja.consAnalysis)==null?void 0:Ja.fo)==null?void 0:Ka.sailingCons)+" (mt)",1)]),e.createElementVNode("div",Gw,[Rw,e.createElementVNode("div",Zw,e.toDisplayString((ua=(qa=(Xa=t.report)==null?void 0:Xa.consAnalysis)==null?void 0:qa.fo)==null?void 0:ua.actualCons),1),zw,e.createElementVNode("div",Uw,e.toDisplayString(n.computeNum((tl=(el=(va=t.report)==null?void 0:va.consAnalysis)==null?void 0:el.fo)==null?void 0:tl.sailingCons)),1),Yw,e.createElementVNode("div",jw,e.toDisplayString((ll=(al=(ol=t.report)==null?void 0:ol.consAnalysis)==null?void 0:al.fo)==null?void 0:ll.totalExtraCons)+" (mt)",1)]),e.createElementVNode("div",Jw,[Kw,Xw,e.createElementVNode("div",qw,[e.createElementVNode("div",uw,[vw,eA,t.report.useWeather?(e.openBlock(),e.createElementBlock("div",tA,"CP Speed - About")):(e.openBlock(),e.createElementBlock("div",oA,"CP Speed"))])]),aA,e.createElementVNode("div",lA,[e.createElementVNode("div",nA,[t.report.useWeather?(e.openBlock(),e.createElementBlock("div",sA,"CP Daily MGO Consumption + About")):(e.openBlock(),e.createElementBlock("div",dA,"CP Daily MGO Consumption")),cA,iA])]),rA,e.createElementVNode("div",mA,[e.createElementVNode("div",pA,[e.createElementVNode("div",null,e.toDisplayString((nl=t.report)==null?void 0:nl.priorDist),1),hA,e.createElementVNode("div",null,e.toDisplayString((dl=(sl=t.report)==null?void 0:sl.extend)==null?void 0:dl.cpSpd),1)])]),_A,e.createElementVNode("div",EA,[e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.report)==null?void 0:cl.extend)==null?void 0:il.cpDgoCons),1),fA,VA])]),NA,e.createElementVNode("div",TA,e.toDisplayString((pl=(ml=(rl=t.report)==null?void 0:rl.consAnalysis)==null?void 0:ml.dgo)==null?void 0:pl.sailingCons)+" (mt)",1)]),e.createElementVNode("div",QA,[gA,e.createElementVNode("div",bA,e.toDisplayString((El=(_l=(hl=t.report)==null?void 0:hl.consAnalysis)==null?void 0:_l.dgo)==null?void 0:El.actualCons),1),xA,e.createElementVNode("div",kA,e.toDisplayString((Vl=(fl=(yl=t.report)==null?void 0:yl.consAnalysis)==null?void 0:fl.dgo)==null?void 0:Vl.sailingCons),1),DA,e.createElementVNode("div",CA,e.toDisplayString((Ql=(Tl=(Nl=t.report)==null?void 0:Nl.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Ql.totalExtraCons)+" (mt)",1)])]))])]),e.createElementVNode("div",SA,[BA,e.createElementVNode("div",wA,[e.createElementVNode("img",{style:{width:"100%"},src:(gl=t.report)==null?void 0:gl.chartUrl,alt:""},null,8,AA),HA])])])])}const pd=We(Lk,[["render",LA],["__scopeId","data-v-466ca2d5"]]),wX="",OA={name:"FliDvtRpt",components:{CirclePlus:ql.CirclePlus,Remove:ql.Remove,EditableItem:td,Editor:la},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+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJ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xbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/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?`${u(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){const t=he.LngLatHelper.lat2pretty(o).pretty,i=he.LngLatHelper.lng2pretty(s).pretty;return`${t} / ${i}`}},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,i;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?(i=this.data)==null?void 0:i.comments:void 0,this.id=this.data.id},async fetchSuggestName(o){var t;const s=await Jl.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,i,l,n,E;this.extraPortList.splice(o,1);const s=await Jl.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=(l=(i=s==null?void 0:s.data)==null?void 0:i.data)==null?void 0:l.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,i){var E,d,p,T,Q;this.editable=!1;const l=s.indexOf(".");let n={};if((t||t==0)&&t!=""){if(o==="port"){if(l>0){const y=s.substring(0,l),x=s.substring(l+1);x!=="date"&&(t=Number(t)),this.extraPortList[i][y][x]=t}else this.extraPortList[i][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 Jl.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=(d=h==null?void 0:h.data)==null?void 0:d.data)==null?void 0:p.extraPorts,this.advisory=(T=this.data)!=null&&T.comments?(Q=this.data)==null?void 0:Q.comments:void 0}else vs.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=o=>(e.pushScopeId("data-v-eba493df"),o=o(),e.popScopeId(),o),FA={class:"deviation-report"},PA=N(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),$A={class:"report-header"},MA={class:"header-title",style:{position:"relative !important"}},WA={class:"header-title-content"},IA=N(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),GA={class:"title-date"},RA={class:"report-summary"},ZA={class:"summary-item"},zA=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),UA={class:"flexL gray"},YA={class:"summary-item"},jA=N(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),JA={class:"flexL gray"},KA={class:"summary-item"},XA=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),qA={class:"flexL gray"},uA={class:"summary-item"},vA=N(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),eH={class:"flexL gray"},tH={class:"summary-item"},oH=N(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),aH={class:"flexL gray",style:{display:"flex"}},lH={class:"flex"},nH={class:"flexM"},sH={class:"summary-item"},dH=N(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),cH={class:"flexL gray",style:{display:"flex"}},iH={class:"flex"},rH={class:"flexM"},mH=N(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),pH={class:"report-summary"},hH={class:"summary-item"},_H=N(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),EH={class:"summary-item"},yH=N(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),fH={class:"summary-item"},VH=N(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),NH={class:"summary-item"},TH=N(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),QH=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),gH={class:"report-map"},bH=["src"],xH=e.createStaticVNode('
Actual Route
Route prior to deviation
',1),kH=N(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),DH={key:0,class:"subtitle"},CH={key:1,class:"report-summary"},SH=e.createStaticVNode('
Diversion
Position
Date Time
FO BROB
(mt)
DO/GO
BROB (mt)
Bunkering
FO (mt)
Bunkering
DO/GO (mt)
',1),BH={class:"summary-item"},wH=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),AH={class:"blue center",style:{width:"20%"}},HH={class:"blue center",style:{width:"17%"}},LH={class:"flex blue center"},OH={class:"flex blue center"},FH=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),PH=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),$H={class:"summary-item"},MH=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),WH={class:"blue center",style:{width:"20%"}},IH={class:"blue center",style:{width:"17%"}},GH={class:"flex blue center"},RH={class:"flex blue center"},ZH={class:"flex blue center"},zH={class:"flex blue center"},UH={class:"summary-item"},YH=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),jH=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),JH={class:"blue center",style:{width:"17%"}},KH={class:"flex blue center"},XH={class:"flex blue center"},qH=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uH=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vH=N(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),eL={class:"report-summary"},tL={class:"summary-item"},oL=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),aL={class:"flexL blue center"},lL={class:"summary-item"},nL=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sL={class:"flexL blue center"},dL={class:"summary-item"},cL=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),iL={class:"flexL blue center"},rL={class:"subtitle port"},mL=N(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),pL={class:"print-hidden"},hL={class:"report-port"},_L=N(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),EL={rowspan:2},yL=N(()=>e.createElementVNode("td",null,"Arrival",-1)),fL=N(()=>e.createElementVNode("td",null,null,-1)),VL=N(()=>e.createElementVNode("td",null,null,-1)),NL={rowspan:2,class:"print-hidden"},TL=N(()=>e.createElementVNode("td",null,"Departure",-1)),QL=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),gL=N(()=>e.createElementVNode("td",null,null,-1)),bL=N(()=>e.createElementVNode("td",null,null,-1)),xL=N(()=>e.createElementVNode("td",null,null,-1)),kL=N(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),DL=N(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),CL={class:"report-summary"},SL=N(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),BL={class:"summary-item"},wL=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),AL={class:"flex blue center"},HL={class:"flex blue center"},LL={class:"summary-item"},OL=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),FL={class:"flex blue center"},PL=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),$L={key:2,class:"report-formular"},ML={class:"equation"},WL=e.createStaticVNode('
Time for extra distance sailing (hrs)
=
Deviation Distance
CP Speed
=
',4),IL={class:"function",style:{width:"20%"}},GL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ZL={style:{width:"10%"}},zL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),UL={class:"equation"},YL=e.createStaticVNode('
Total extra Time (hrs)
=
Time for extra distance sailing (hrs)
+
Time spent in extra port (hrs)
=
',6),jL={style:{width:"5%"}},JL=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),KL={style:{width:"8%"}},XL=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qL={style:{width:"4%"}},uL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),vL={key:3,class:"report-formular"},eO={class:"equation"},tO=e.createStaticVNode('
Time for Route prior to deviation sailing (hrs)
=
Distance
CP Speed
=
',4),oO={class:"function",style:{width:"20%"}},aO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nO={style:{width:"10%"}},sO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),dO={key:0,class:"equation"},cO=e.createStaticVNode('
Total extra Time (hrs)
=
Time for Actual Route (hrs)
-
Time for Route prior to deviation sailing (hrs)
=
',6),iO={style:{width:"5%"}},rO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),mO={style:{width:"5%"}},pO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hO={style:{width:"5%"}},_O=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EO={key:1,class:"equation"},yO=e.createStaticVNode('
Total extra Time (hrs)
=
Time for Actual Route (hrs)
-
Time for Route prior to deviation sailing (hrs)
-
Time spent in port (hrs)
=
',8),fO={style:{width:"5%"}},VO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),NO={style:{width:"5%"}},TO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),QO={style:{width:"5%"}},gO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),bO={style:{width:"5%"}},xO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kO={key:4,class:"report-summary"},DO={class:"summary-item"},CO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),SO={class:"flex blue center"},BO={class:"summary-item"},wO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),AO={class:"flex blue center"},HO={class:"summary-item"},LO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),OO={class:"flex blue center"},FO={key:5,class:"report-summary"},PO={class:"summary-item"},$O=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),MO={class:"flex blue center"},WO={class:"summary-item"},IO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),GO={class:"flex blue center"},RO={key:0,class:"summary-item"},ZO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),zO={class:"flex blue center"},UO={class:"summary-item"},YO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),jO={class:"flex blue center"},JO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),KO={key:6,class:"report-formular"},XO={class:"equation"},qO=e.createStaticVNode('
FO Consumption for extra distance sailing
=
Deviation Distance
CP Speed
×
Daily FO Consumption
24
=
',6),uO={class:"function",style:{width:"5%"}},vO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tF={class:"function",style:{width:"5%"}},oF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aF=N(()=>e.createElementVNode("div",null,"24",-1)),lF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nF={style:{width:"5%"}},sF=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),dF={class:"equation"},cF=e.createStaticVNode('
FO Total Extra Consumption(mt)
=
FO Consumption for extra distance sailing (mt)
+
FO Consumption in extra port (mt)
=
',6),iF={style:{width:"5%"}},rF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),mF={style:{width:"5%"}},pF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hF={style:{width:"5%"}},_F=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EF={class:"equation"},yF=e.createStaticVNode('
DO Consumption for extra distance sailing
=
Deviation Distance
CP Speed
×
Daily DO Consumption
24
=
',6),fF={class:"function",style:{width:"5%"}},VF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),TF={class:"function",style:{width:"5%"}},QF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gF=N(()=>e.createElementVNode("div",null,"24",-1)),bF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xF={style:{width:"5%"}},kF=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DF={class:"equation"},CF=e.createStaticVNode('
DO/GO Total Extra Consumption(mt)
=
DO/GO Consumption for extra distance sailing(mt)
-
DO/GO Consumption in extra port(mt)
=
',6),SF={style:{width:"5%"}},BF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wF={style:{width:"5%"}},AF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HF={style:{width:"5%"}},LF=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OF={key:7,class:"report-formular"},FF={class:"equation"},PF=e.createStaticVNode('
FO Consumption for Route prior to deviation sailing
=
Route prior to deviation Distance
CP Speed
×
CP Daily FO Consumption
24
=
',6),$F={class:"function",style:{width:"5%"}},MF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),IF={class:"function",style:{width:"5%"}},GF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RF=N(()=>e.createElementVNode("div",null,"24",-1)),ZF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),zF={style:{width:"5%"}},UF=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YF={class:"equation"},jF=e.createStaticVNode('
DO Consumption for Route prior to deviation sailing
=
Route prior to deviation Distance
CP Speed
×
CP Daily DO Consumption
24
=
',6),JF={class:"function",style:{width:"5%"}},KF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XF=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qF={class:"function",style:{width:"5%"}},uF=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vF=N(()=>e.createElementVNode("div",null,"24",-1)),eP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tP={style:{width:"5%"}},oP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),aP={key:0,class:"equation"},lP=e.createStaticVNode('
FO Total Extra Consumption(mt)
=
FO Consumption for Actual Route
-
FO Consumption for Route prior to deviation sailing
=
',6),nP={style:{width:"5%"}},sP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),dP={style:{width:"5%"}},cP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),iP={style:{width:"5%"}},rP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),mP={key:1,class:"equation"},pP=e.createStaticVNode('
FO Total Extra Consumption(mt)
=
FO Consumption for Actual Route
-
FO Consumption for Route prior to deviation sailing
-
FO Consumption in port
=
',8),hP={style:{width:"5%"}},_P=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EP={style:{width:"5%"}},yP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fP={style:{width:"5%"}},VP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NP={style:{width:"5%"}},TP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QP={key:2,class:"equation"},gP=e.createStaticVNode('
DO/GO Total Extra Consumption(mt)
=
DO/GO Consumption for Actual Route
-
DO/GO Consumption for Route prior to deviation sailing
=
',6),bP={style:{width:"5%"}},xP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kP={style:{width:"5%"}},DP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CP={style:{width:"5%"}},SP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),BP={key:3,class:"equation"},wP=e.createStaticVNode('
DO/GO Total Extra Consumption(mt)
=
DO/GO Consumption for Actual Route
-
DO/GO Consumption for Route prior to deviation sailing
-
DO/GO Consumption in port
=
',8),AP={style:{width:"5%"}},HP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LP={style:{width:"5%"}},OP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),FP={style:{width:"5%"}},PP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$P={style:{width:"5%"}},MP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WP={key:8,class:"report-summary"},IP=N(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),GP={class:"summary-item"},RP=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),ZP={class:"flex blue center"},zP={class:"flex blue center"},UP={class:"summary-item"},YP=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),jP={class:"flex blue center"},JP={class:"flex blue center"},KP={class:"summary-item"},XP=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),qP={key:9,class:"report-summary"},uP=N(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),vP={class:"summary-item"},e$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),t$={class:"flex blue center"},o$={class:"flex blue center"},a$={class:"summary-item"},l$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),n$={class:"flex blue center"},s$={class:"flex blue center"},d$={key:0,class:"summary-item"},c$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),i$={class:"flex blue center"},r$={class:"flex blue center"},m$={class:"summary-item"},p$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),h$=["innerHTML"];function _$(o,s,t,i,l,n){var h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo,D,Ze,nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta,na,sa,da,ca,ia,ra,ma,pa,ha,it,_a,Ea,ya,fa,Va,Na,Ta,Qa,ga,ba,xa,ka,Da,Ca,Sa,Ba,wa,Aa,Ha,La,Oa,Fa,Pa,$a,Ma,Wa,Ia,Ga,Ra,Za,za,Ua,Ya,ja,Ja,Ka,Xa,qa,ua,va,el,tl,ol,al,ll,nl,sl,dl,cl,il,rl,ml,pl,hl,_l,El,yl,fl,Vl,Nl,Tl,Ql,gl,K,co,bl,xl,kl,Dl,Cl,Sl,Bl,wl,at,Ol,Fl,Pl,$l;const E=e.resolveComponent("EditableItem"),d=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),T=e.resolveComponent("Remove"),Q=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",FA,[PA,e.createElementVNode("div",$A,[e.createElementVNode("div",MA,[e.createElementVNode("div",WA,[IA,e.createElementVNode("div",GA,e.toDisplayString(n.computeUTCTime((h=l.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",RA,[e.createElementVNode("div",ZA,[zA,e.createElementVNode("div",UA,e.toDisplayString((x=(y=l.extraData)==null?void 0:y.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",YA,[jA,e.createElementVNode("div",JA,e.toDisplayString((g=l.extraData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",KA,[XA,e.createElementVNode("div",qA,e.toDisplayString((b=(k=l.extraData)==null?void 0:k.vessel)==null?void 0:b.type),1)]),e.createElementVNode("div",uA,[vA,e.createElementVNode("div",eH,e.toDisplayString((A=(w=l.extraData)==null?void 0:w.voyage)==null?void 0:A.number),1)]),e.createElementVNode("div",tH,[oH,e.createElementVNode("div",aH,[e.createElementVNode("span",lH,e.toDisplayString((S=(C=l.extraData)==null?void 0:C.departure)==null?void 0:S.name),1),e.createElementVNode("span",nH,e.toDisplayString(n.computeUTCTime(((H=(V=l.extraData)==null?void 0:V.departure)==null?void 0:H.atd)||((I=(W=l.extraData)==null?void 0:W.departure)==null?void 0:I.etd))),1)])]),e.createElementVNode("div",sH,[dH,e.createElementVNode("div",cH,[e.createElementVNode("span",iH,e.toDisplayString((R=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:R.name),1),e.createElementVNode("span",rH,e.toDisplayString(n.computeUTCTime(((O=(_=l.extraData)==null?void 0:_.arrival)==null?void 0:O.ata)||((F=($=l.extraData)==null?void 0:$.arrival)==null?void 0:F.eta))),1)])])]),mH,e.createElementVNode("div",pH,[e.createElementVNode("div",hH,[_H,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((L=l.extraData)==null?void 0:L.extraDist)} flex blue`)},e.toDisplayString(((M=l.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",EH,[yH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((z=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:z.totalExtraTime)} flex blue`)},e.toDisplayString(((de=(J=l.extraData)==null?void 0:J.timeAnalysis)==null?void 0:de.totalExtraTime)??"—"),3)]),e.createElementVNode("div",fH,[VH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((X=(a=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:a.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((le=(ae=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:ae.fo)==null?void 0:le.totalExtraCons)??"—"),3)]),e.createElementVNode("div",NH,[TH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(se=(ne=l.extraData)==null?void 0:ne.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((fe=(me=(re=l.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:fe.totalExtraCons)??"—"),3)])]),QH,e.createElementVNode("div",gH,[e.createElementVNode("img",{style:{width:"100%"},src:(v=l.extraData)==null?void 0:v.chartUrl,alt:""},null,8,bH),xH]),kH,o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",DH,"Diversion Information")),o.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",CH,[SH,e.createElementVNode("div",BH,[wH,e.createElementVNode("div",AH,e.toDisplayString(n.computedLngLat((Ee=l.extraData)==null?void 0:Ee.startLng,(Ve=l.extraData)==null?void 0:Ve.startLat)),1),e.createElementVNode("div",HH,e.toDisplayString(n.computeUTCTime((Ne=l.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",LH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(pe=l.extraData)==null?void 0:pe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=q=>n.handleCommit("extra","startFoBrob",q))},null,8,["value"])]),e.createElementVNode("div",OH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Qe=l.extraData)==null?void 0:Qe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=q=>n.handleCommit("extra","startDgoBrob",q))},null,8,["value"])]),FH,PH]),e.createElementVNode("div",$H,[MH,e.createElementVNode("div",WH,e.toDisplayString(n.computedLngLat((ge=l.extraData)==null?void 0:ge.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",IH,e.toDisplayString(n.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",GH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(ke=l.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=q=>n.handleCommit("extra","endFoBrob",q))},null,8,["value"])]),e.createElementVNode("div",RH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=q=>n.handleCommit("extra","endDgoBrob",q))},null,8,["value"])]),e.createElementVNode("div",ZH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(we=l.extraData)==null?void 0:we.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=q=>n.handleCommit("extra","endFoBunkering",q))},null,8,["value"])]),e.createElementVNode("div",zH,[e.createVNode(E,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=q=>n.handleCommit("extra","endDgoBunkering",q))},null,8,["value"])])]),e.createElementVNode("div",UH,[YH,jH,e.createElementVNode("div",JH,e.toDisplayString(((Le=(He=l.extraData)==null?void 0:He.timeAnalysis)==null?void 0:Le.actualTime)??"—"),1),e.createElementVNode("div",KH,e.toDisplayString(((Pe=(Fe=(Oe=l.extraData)==null?void 0:Oe.consAnalysis)==null?void 0:Fe.fo)==null?void 0:Pe.actualCons)??"—"),1),e.createElementVNode("div",XH,e.toDisplayString(((je=(Te=($e=l.extraData)==null?void 0:$e.consAnalysis)==null?void 0:Te.dgo)==null?void 0:je.actualCons)??"—"),1),qH,uH])])),vH,e.createElementVNode("div",eL,[e.createElementVNode("div",tL,[oL,e.createElementVNode("div",aL,e.toDisplayString(((Ke=(Je=l.extraData)==null?void 0:Je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",lL,[nL,e.createElementVNode("div",sL,e.toDisplayString(((Ce=(B=l.extraData)==null?void 0:B.cp)==null?void 0:Ce.fo)??"—"),1)]),e.createElementVNode("div",dL,[cL,e.createElementVNode("div",iL,e.toDisplayString(((Xe=(Ge=l.extraData)==null?void 0:Ge.cp)==null?void 0:Xe.dgo)??"—"),1)])]),e.createElementVNode("div",rL,[mL,e.createElementVNode("div",pL,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(d)]),_:1},8,["onClick"])])]),e.createElementVNode("div",hL,[e.createElementVNode("table",null,[_L,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(q,oa)=>{var Ml,Wl,Il,Gl,Rl,Zl,zl,Ul;return e.openBlock(),e.createElementBlock(e.Fragment,{key:oa},[e.createElementVNode("tr",null,[e.createElementVNode("td",EL,[e.createVNode(E,{class:"editable-item",value:q==null?void 0:q.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:n.fetchSuggestName,onCommit:rt=>n.handleCommit("port","name",rt,oa)},null,8,["value","options","onSelect","onCommit"])]),yL,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Ml=q==null?void 0:q.arrival)==null?void 0:Ml.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>n.handleCommit("port","arrival.date",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Wl=q==null?void 0:q.arrival)==null?void 0:Wl.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","arrival.foBrob",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Il=q==null?void 0:q.arrival)==null?void 0:Il.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","arrival.dgoBrob",rt,oa)},null,8,["value","onCommit"])]),fL,VL,e.createElementVNode("td",NL,[e.createVNode(p,{size:20,onClick:rt=>n.handleRemove(oa)},{default:e.withCtx(()=>[e.createVNode(T)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[TL,e.createElementVNode("td",null,[e.createVNode(E,{class:"check editable-item",value:(Gl=q==null?void 0:q.departure)==null?void 0:Gl.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>n.handleCommit("port","departure.date",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Rl=q==null?void 0:q.departure)==null?void 0:Rl.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","departure.foBrob",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Zl=q==null?void 0:q.departure)==null?void 0:Zl.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","departure.dgoBrob",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(zl=q==null?void 0:q.departure)==null?void 0:zl.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","departure.bunkeringFo",rt,oa)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(E,{class:"editable-item",value:(Ul=q==null?void 0:q.departure)==null?void 0:Ul.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>n.handleCommit("port","departure.bunkeringDgo",rt,oa)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[QL,gL,e.createElementVNode("td",null,e.toDisplayString(((ue=(qe=l.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:ue.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=l.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Se=(P=l.extraData)==null?void 0:P.consAnalysis)==null?void 0:Se.dgo)==null?void 0:Me.portCons)??"—"),1),bL,xL,kL])])])]),DL,e.createElementVNode("div",CL,[SL,e.createElementVNode("div",BL,[wL,e.createElementVNode("div",AL,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(Re=l.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=q=>n.handleCommit("extraData","actualDist",q,o.index))},null,8,["value"])]),e.createElementVNode("div",HL,[e.createVNode(E,{class:"editable-item",style:{padding:"0px"},value:(ye=l.extraData)==null?void 0:ye.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=q=>n.handleCommit("extraData","priorDist",q,o.index))},null,8,["value"])])]),e.createElementVNode("div",LL,[OL,e.createElementVNode("div",FL,e.toDisplayString(((ze=l.extraData)==null?void 0:ze.extraDist)??"—"),1)])]),PL,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",$L,[e.createElementVNode("div",ML,[WL,e.createElementVNode("div",IL,[e.createElementVNode("div",null,e.toDisplayString((tt=l.extraData)==null?void 0:tt.extraDist),1),GL,e.createElementVNode("div",null,e.toDisplayString((lt=(ot=l.extraData)==null?void 0:ot.cp)==null?void 0:lt.speed),1)]),RL,e.createElementVNode("div",ZL,e.toDisplayString((pt=(Y=l.extraData)==null?void 0:Y.timeAnalysis)==null?void 0:pt.sailingTime),1),zL]),e.createElementVNode("div",UL,[YL,e.createElementVNode("div",jL,e.toDisplayString((ft=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:ft.sailingTime),1),JL,e.createElementVNode("div",KL,e.toDisplayString(n.computeNum((Nt=(Vt=l.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:Nt.portTime)),1),XL,e.createElementVNode("div",qL,e.toDisplayString((Qt=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Qt.totalExtraTime),1),uL])])):(e.openBlock(),e.createElementBlock("div",vL,[e.createElementVNode("div",eO,[tO,e.createElementVNode("div",oO,[e.createElementVNode("div",null,e.toDisplayString((gt=l.extraData)==null?void 0:gt.priorDist),1),aO,e.createElementVNode("div",null,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.cp)==null?void 0:xt.speed),1)]),lO,e.createElementVNode("div",nO,e.toDisplayString((Dt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Dt.sailingTime),1),sO]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",dO,[cO,e.createElementVNode("div",iO,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),rO,e.createElementVNode("div",mO,e.toDisplayString((wt=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.sailingTime),1),pO,e.createElementVNode("div",hO,e.toDisplayString((Ht=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Ht.totalExtraTime),1),_O])):(e.openBlock(),e.createElementBlock("div",EO,[yO,e.createElementVNode("div",fO,e.toDisplayString((Ot=(Lt=l.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:Ot.actualTime),1),VO,e.createElementVNode("div",NO,e.toDisplayString((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.sailingTime),1),TO,e.createElementVNode("div",QO,e.toDisplayString((ro=(io=l.extraData)==null?void 0:io.timeAnalysis)==null?void 0:ro.portTime),1),gO,e.createElementVNode("div",bO,e.toDisplayString((po=(mo=l.extraData)==null?void 0:mo.timeAnalysis)==null?void 0:po.totalExtraTime),1),xO]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",kO,[e.createElementVNode("div",DO,[CO,e.createElementVNode("div",SO,e.toDisplayString(((_o=(ho=l.extraData)==null?void 0:ho.timeAnalysis)==null?void 0:_o.sailingTime)??"—"),1)]),e.createElementVNode("div",BO,[wO,e.createElementVNode("div",AO,e.toDisplayString(((yo=(Eo=l.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:yo.portTime)??"—"),1)]),e.createElementVNode("div",HO,[LO,e.createElementVNode("div",OO,e.toDisplayString(((Vo=(fo=l.extraData)==null?void 0:fo.timeAnalysis)==null?void 0:Vo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",FO,[e.createElementVNode("div",PO,[$O,e.createElementVNode("div",MO,e.toDisplayString((To=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:To.sailingTime),1)]),e.createElementVNode("div",WO,[IO,e.createElementVNode("div",GO,e.toDisplayString((go=(Qo=l.extraData)==null?void 0:Qo.timeAnalysis)==null?void 0:go.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",RO,[ZO,e.createElementVNode("div",zO,e.toDisplayString(((xo=(bo=l.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:xo.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",UO,[YO,e.createElementVNode("div",jO,e.toDisplayString((Do=(ko=l.extraData)==null?void 0:ko.timeAnalysis)==null?void 0:Do.totalExtraTime),1)])])),JO,o.isDistExtra?(e.openBlock(),e.createElementBlock("div",KO,[e.createElementVNode("div",XO,[qO,e.createElementVNode("div",uO,[e.createElementVNode("div",null,e.toDisplayString((Co=l.extraData)==null?void 0:Co.extraDist),1),vO,e.createElementVNode("div",null,e.toDisplayString((Bo=(So=l.extraData)==null?void 0:So.cp)==null?void 0:Bo.speed),1)]),eF,e.createElementVNode("div",tF,[e.createElementVNode("div",null,e.toDisplayString((Ze=(D=l.extraData)==null?void 0:D.cp)==null?void 0:Ze.fo),1),oF,aF]),lF,e.createElementVNode("div",nF,e.toDisplayString((Et=(st=(nt=l.extraData)==null?void 0:nt.consAnalysis)==null?void 0:st.fo)==null?void 0:Et.sailingCons),1),sF]),e.createElementVNode("div",dF,[cF,e.createElementVNode("div",iF,e.toDisplayString((Wt=(Mt=($t=l.extraData)==null?void 0:$t.consAnalysis)==null?void 0:Mt.fo)==null?void 0:Wt.sailingCons),1),rF,e.createElementVNode("div",mF,e.toDisplayString(n.computeNum((Rt=(Gt=(It=l.extraData)==null?void 0:It.consAnalysis)==null?void 0:Gt.fo)==null?void 0:Rt.portCons)),1),pF,e.createElementVNode("div",hF,e.toDisplayString((Ut=(zt=(Zt=l.extraData)==null?void 0:Zt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.totalExtraCons),1),_F]),e.createElementVNode("div",EF,[yF,e.createElementVNode("div",fF,[e.createElementVNode("div",null,e.toDisplayString((Yt=l.extraData)==null?void 0:Yt.extraDist),1),VF,e.createElementVNode("div",null,e.toDisplayString((Jt=(jt=l.extraData)==null?void 0:jt.cp)==null?void 0:Jt.speed),1)]),NF,e.createElementVNode("div",TF,[e.createElementVNode("div",null,e.toDisplayString((Xt=(Kt=l.extraData)==null?void 0:Kt.cp)==null?void 0:Xt.dgo),1),QF,gF]),bF,e.createElementVNode("div",xF,e.toDisplayString((vt=(ut=(qt=l.extraData)==null?void 0:qt.consAnalysis)==null?void 0:ut.dgo)==null?void 0:vt.sailingCons),1),kF]),e.createElementVNode("div",DF,[CF,e.createElementVNode("div",SF,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.dgo)==null?void 0:oo.sailingCons),1),BF,e.createElementVNode("div",wF,e.toDisplayString(n.computeNum((no=(lo=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:lo.dgo)==null?void 0:no.portCons)),1),AF,e.createElementVNode("div",HF,e.toDisplayString((Ao=(wo=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:wo.dgo)==null?void 0:Ao.totalExtraCons),1),LF])])):(e.openBlock(),e.createElementBlock("div",OF,[e.createElementVNode("div",FF,[PF,e.createElementVNode("div",$F,[e.createElementVNode("div",null,e.toDisplayString((Ho=l.extraData)==null?void 0:Ho.priorDist),1),MF,e.createElementVNode("div",null,e.toDisplayString((Oo=(Lo=l.extraData)==null?void 0:Lo.cp)==null?void 0:Oo.speed),1)]),WF,e.createElementVNode("div",IF,[e.createElementVNode("div",null,e.toDisplayString((Po=(Fo=l.extraData)==null?void 0:Fo.cp)==null?void 0:Po.fo),1),GF,RF]),ZF,e.createElementVNode("div",zF,e.toDisplayString((Wo=(Mo=($o=l.extraData)==null?void 0:$o.consAnalysis)==null?void 0:Mo.fo)==null?void 0:Wo.sailingCons),1),UF]),e.createElementVNode("div",YF,[jF,e.createElementVNode("div",JF,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),KF,e.createElementVNode("div",null,e.toDisplayString((Ro=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Ro.speed),1)]),XF,e.createElementVNode("div",qF,[e.createElementVNode("div",null,e.toDisplayString((zo=(Zo=l.extraData)==null?void 0:Zo.cp)==null?void 0:zo.dgo),1),uF,vF]),eP,e.createElementVNode("div",tP,e.toDisplayString((jo=(Yo=(Uo=l.extraData)==null?void 0:Uo.consAnalysis)==null?void 0:Yo.dgo)==null?void 0:jo.sailingCons),1),oP]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",aP,[lP,e.createElementVNode("div",nP,e.toDisplayString((Xo=(Ko=(Jo=l.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:Xo.actualCons),1),sP,e.createElementVNode("div",dP,e.toDisplayString(n.computeNum((vo=(uo=(qo=l.extraData)==null?void 0:qo.consAnalysis)==null?void 0:uo.fo)==null?void 0:vo.sailingCons)),1),cP,e.createElementVNode("div",iP,e.toDisplayString((na=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.fo)==null?void 0:na.totalExtraCons),1),rP])):(e.openBlock(),e.createElementBlock("div",mP,[pP,e.createElementVNode("div",hP,e.toDisplayString((ca=(da=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:da.fo)==null?void 0:ca.actualCons),1),_P,e.createElementVNode("div",EP,e.toDisplayString(n.computeNum((ma=(ra=(ia=l.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ra.fo)==null?void 0:ma.sailingCons)),1),yP,e.createElementVNode("div",fP,e.toDisplayString(n.computeNum((it=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.fo)==null?void 0:it.portCons)),1),VP,e.createElementVNode("div",NP,e.toDisplayString((ya=(Ea=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.fo)==null?void 0:ya.totalExtraCons),1),TP])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",QP,[gP,e.createElementVNode("div",bP,e.toDisplayString((Na=(Va=(fa=l.extraData)==null?void 0:fa.consAnalysis)==null?void 0:Va.dgo)==null?void 0:Na.actualCons),1),xP,e.createElementVNode("div",kP,e.toDisplayString((ga=(Qa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Qa.dgo)==null?void 0:ga.sailingCons),1),DP,e.createElementVNode("div",CP,e.toDisplayString((ka=(xa=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:xa.dgo)==null?void 0:ka.totalExtraCons),1),SP])):(e.openBlock(),e.createElementBlock("div",BP,[wP,e.createElementVNode("div",AP,e.toDisplayString((Sa=(Ca=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.actualCons),1),HP,e.createElementVNode("div",LP,e.toDisplayString(n.computeNum((Aa=(wa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:wa.dgo)==null?void 0:Aa.sailingCons)),1),OP,e.createElementVNode("div",FP,e.toDisplayString(n.computeNum((Oa=(La=(Ha=l.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:La.dgo)==null?void 0:Oa.portCons)),1),PP,e.createElementVNode("div",$P,e.toDisplayString(($a=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:$a.totalExtraCons),1),MP]))])),o.isDistExtra?(e.openBlock(),e.createElementBlock("div",WP,[IP,e.createElementVNode("div",GP,[RP,e.createElementVNode("div",ZP,e.toDisplayString(((Ia=(Wa=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Wa.fo)==null?void 0:Ia.sailingCons)??"—"),1),e.createElementVNode("div",zP,e.toDisplayString(((Za=(Ra=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ra.dgo)==null?void 0:Za.sailingCons)??"—"),1)]),e.createElementVNode("div",UP,[YP,e.createElementVNode("div",jP,e.toDisplayString(((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.fo)==null?void 0:Ya.portCons)??"—"),1),e.createElementVNode("div",JP,e.toDisplayString(((Ka=(Ja=(ja=l.extraData)==null?void 0:ja.consAnalysis)==null?void 0:Ja.dgo)==null?void 0:Ka.portCons)??"—"),1)]),e.createElementVNode("div",KP,[XP,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ua=(qa=(Xa=l.extraData)==null?void 0:Xa.consAnalysis)==null?void 0:qa.fo)==null?void 0:ua.totalExtraCons)} flex blue center`)},e.toDisplayString(((tl=(el=(va=l.extraData)==null?void 0:va.consAnalysis)==null?void 0:el.fo)==null?void 0:tl.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ll=(al=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:al.dgo)==null?void 0:ll.totalExtraCons)} flex blue center`)},e.toDisplayString(((dl=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.dgo)==null?void 0:dl.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",qP,[uP,e.createElementVNode("div",vP,[e$,e.createElementVNode("div",t$,e.toDisplayString((rl=(il=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:il.fo)==null?void 0:rl.sailingCons),1),e.createElementVNode("div",o$,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.dgo)==null?void 0:hl.sailingCons),1)]),e.createElementVNode("div",a$,[l$,e.createElementVNode("div",n$,e.toDisplayString((yl=(El=(_l=l.extraData)==null?void 0:_l.consAnalysis)==null?void 0:El.fo)==null?void 0:yl.actualCons),1),e.createElementVNode("div",s$,e.toDisplayString((Nl=(Vl=(fl=l.extraData)==null?void 0:fl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:Nl.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",d$,[c$,e.createElementVNode("div",i$,e.toDisplayString((gl=(Ql=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:gl.portCons),1),e.createElementVNode("div",r$,e.toDisplayString((bl=(co=(K=l.extraData)==null?void 0:K.consAnalysis)==null?void 0:co.dgo)==null?void 0:bl.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",m$,[p$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Dl=(kl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Dl.totalExtraCons)} flex blue center`)},e.toDisplayString((Bl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.fo)==null?void 0:Bl.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Ol=(at=(wl=l.extraData)==null?void 0:wl.consAnalysis)==null?void 0:at.dgo)==null?void 0:Ol.totalExtraCons)} flex blue center`)},e.toDisplayString(($l=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:$l.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="


"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="


"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(Q,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=q=>l.advisory=q),height:"320px",onBlur:s[9]||(s[9]=q=>n.handleCommit("comments","comments",q))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...q)=>n.decideDisable&&n.decideDisable(...q)),innerHTML:l.advisory&&l.advisory!=="


"?l.advisory:"Please double click to modify remark"},null,40,h$))],2)])}const hd=We(OA,[["render",_$],["__scopeId","data-v-eba493df"]]),E$={install(o){o.component("DeviationReport",pd),o.component("FliDeviationReport",hd)}},AX="",y$={name:"OrmStoppage",components:{IdmBrand:aa,Editor:la},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/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+A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SHOH8UomAbhRci/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?`${u(o).utc().format(s)}`:""}},computeLat(){return function(o){return he.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return he.LngLatHelper.lng2pretty(o,2)}},computeRoundPrecision(){return function(o,s=3){return o==="-"?"-":he.LngLatHelper.roundPrecision(o,s)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o){var s;o&&(this.remarks=(s=this.report)==null?void 0:s.remarks)},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.remarks=o,this.$emit("commit",o)}}},Ye=o=>(e.pushScopeId("data-v-47a82ae7"),o=o(),e.popScopeId(),o),f$={class:"stoppage-report"},V$={class:"content-box"},N$={class:"info-box border"},T$={class:"flex-between row"},Q$={class:"flex-between",style:{width:"48%"}},g$=Ye(()=>e.createElementVNode("label",{class:"label"},"Prepared For:",-1)),b$={class:"flex-between",style:{width:"48%"}},x$=Ye(()=>e.createElementVNode("label",{class:"label"},"Departure Port:",-1)),k$={style:{"margin-left":"5px"}},D$={class:"flex-between row"},C$={class:"flex-between",style:{width:"48%"}},S$=Ye(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),B$={class:"flex-between",style:{width:"48%"}},w$=Ye(()=>e.createElementVNode("label",{class:"label"},"Arrival Port:",-1)),A$={style:{"margin-left":"5px"}},H$={class:"flex-between row"},L$={class:"flex-between",style:{width:"48%"}},O$=Ye(()=>e.createElementVNode("label",{class:"label"},"Voyage No:",-1)),F$={class:"flex-between",style:{width:"48%"}},P$=Ye(()=>e.createElementVNode("label",{class:"label"},"Load Condition:",-1)),$$={class:"section summary-section"},M$=Ye(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),W$={class:"formula-block flex-between border"},I$={class:"item"},G$=Ye(()=>e.createElementVNode("div",{class:"title"},"Total Time Lost",-1)),R$={class:"value flex-end"},Z$={key:0},z$=Ye(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),U$={class:"gain"},Y$=Ye(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),j$={key:1},J$=Ye(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),K$={class:"lost"},X$=Ye(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),q$={key:2},u$={class:"item"},v$=Ye(()=>e.createElementVNode("div",{class:"title"},"FO Total Consumption",-1)),eM={class:"value flex-end"},tM={key:0},oM=Ye(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),aM={class:"gain"},lM=Ye(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),nM={key:1},sM=Ye(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),dM={class:"lost"},cM=Ye(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),iM={key:2},rM={class:"item"},mM=Ye(()=>e.createElementVNode("div",{class:"title"},"MGO Total Consumption",-1)),pM={class:"value flex-end"},hM={key:0},_M=Ye(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),EM={class:"gain"},yM=Ye(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),fM={key:1},VM=Ye(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),NM={class:"lost"},TM=Ye(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),QM={key:2},gM=Ye(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),bM={class:"section-content"},xM={key:0,class:""},kM=["innerHTML"],DM={key:1},CM={class:"section table-section"},SM=Ye(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),BM=Ye(()=>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)),wM=Ye(()=>e.createElementVNode("td",{rowspan:2},"1",-1)),AM=Ye(()=>e.createElementVNode("td",null,"Stopped",-1)),HM={rowspan:2},LM={rowspan:2},OM={rowspan:2},FM=Ye(()=>e.createElementVNode("td",null,"Resumed",-1)),PM={class:"section map-section"},$M=Ye(()=>e.createElementVNode("div",{class:"subtitle"},"Voayge Map",-1)),MM=["src"];function WM(o,s,t,i,l,n){var p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",f$,[e.createVNode(E,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",V$,[e.createElementVNode("div",N$,[e.createElementVNode("div",T$,[e.createElementVNode("div",Q$,[g$,e.createElementVNode("div",null,e.toDisplayString((p=t.report)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",b$,[x$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Q=(T=t.report)==null?void 0:T.departure)==null?void 0:Q.name),1),e.createTextVNode(" , "),e.createElementVNode("span",k$,e.toDisplayString(n.computeUTCTime(((y=(h=t.report)==null?void 0:h.departure)==null?void 0:y.atd)||((g=(x=t.report)==null?void 0:x.departure)==null?void 0:g.etd))),1)])])]),e.createElementVNode("div",D$,[e.createElementVNode("div",C$,[S$,e.createElementVNode("div",null,e.toDisplayString((b=(k=t.report)==null?void 0:k.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((A=(w=t.report)==null?void 0:w.arrival)==null?void 0:A.name),1),e.createTextVNode(" , "),e.createElementVNode("span",A$,e.toDisplayString(n.computeUTCTime(((S=(C=t.report)==null?void 0:C.arrival)==null?void 0:S.ata)||((H=(V=t.report)==null?void 0:V.arrival)==null?void 0:H.eta))),1)])])]),e.createElementVNode("div",H$,[e.createElementVNode("div",L$,[O$,e.createElementVNode("div",null,e.toDisplayString((I=(W=t.report)==null?void 0:W.voyage)==null?void 0:I.number),1)]),e.createElementVNode("div",F$,[P$,e.createElementVNode("div",null,e.toDisplayString((R=(G=t.report)==null?void 0:G.voyage)==null?void 0:R.loadCondition),1)])])]),e.createElementVNode("div",$$,[M$,e.createElementVNode("div",W$,[e.createElementVNode("div",I$,[G$,e.createElementVNode("div",R$,[((_=t.report)==null?void 0:_.totalTime)<0?(e.openBlock(),e.createElementBlock("div",Z$,[z$,e.createElementVNode("span",U$,e.toDisplayString((O=t.report)==null?void 0:O.totalTime),1),Y$])):(($=t.report)==null?void 0:$.totalTime)>=0?(e.openBlock(),e.createElementBlock("div",j$,[J$,e.createElementVNode("span",K$,e.toDisplayString((F=t.report)==null?void 0:F.totalTime),1),X$])):(e.openBlock(),e.createElementBlock("div",q$,"N/A"))])]),e.createElementVNode("div",u$,[v$,e.createElementVNode("div",eM,[((L=t.report)==null?void 0:L.totalFoCons)<0?(e.openBlock(),e.createElementBlock("div",tM,[oM,e.createElementVNode("span",aM,e.toDisplayString((M=t.report)==null?void 0:M.totalFoCons),1),lM])):((j=t.report)==null?void 0:j.totalFoCons)>=0?(e.openBlock(),e.createElementBlock("div",nM,[sM,e.createElementVNode("span",dM,e.toDisplayString((z=t.report)==null?void 0:z.totalFoCons),1),cM])):(e.openBlock(),e.createElementBlock("div",iM,"N/A"))])]),e.createElementVNode("div",rM,[mM,e.createElementVNode("div",pM,[((J=t.report)==null?void 0:J.totalDgoCons)<0?(e.openBlock(),e.createElementBlock("div",hM,[_M,e.createElementVNode("span",EM,e.toDisplayString((de=t.report)==null?void 0:de.totalDgoCons),1),yM])):((ce=t.report)==null?void 0:ce.totalDgoCons)>=0?(e.openBlock(),e.createElementBlock("div",fM,[VM,e.createElementVNode("span",NM,e.toDisplayString((a=t.report)==null?void 0:a.totalDgoCons),1),TM])):(e.openBlock(),e.createElementBlock("div",QM,"N/A"))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(l.remarks)?"print-hidden":""])},[gM,e.createElementVNode("div",bM,[l.editable?(e.openBlock(),e.createElementBlock("div",xM,[l.editable?(e.openBlock(),e.createBlock(d,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.remarks=pe),class:"editor",height:"80px",onBlur:s[1]||(s[1]=pe=>n.handleCommit(pe))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=pe=>l.editable=!0)},[n.computeBlankHtml(l.remarks)?(e.openBlock(),e.createElementBlock("div",DM,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:l.remarks},null,8,kM))],32))])],2),e.createElementVNode("div",CM,[SM,e.createElementVNode("table",null,[BM,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[wM,AM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((X=t.report)==null?void 0:X.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((oe=t.report)==null?void 0:oe.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((ae=t.report)==null?void 0:ae.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=t.report)==null?void 0:le.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ne=t.report)==null?void 0:ne.stopDgoBrob)??"-")),1),e.createElementVNode("td",HM,e.toDisplayString(n.computeRoundPrecision(((se=t.report)==null?void 0:se.totalTime)??"-")),1),e.createElementVNode("td",LM,e.toDisplayString(n.computeRoundPrecision(((ie=t.report)==null?void 0:ie.totalFoCons)??"-")),1),e.createElementVNode("td",OM,e.toDisplayString(n.computeRoundPrecision(((re=t.report)==null?void 0:re.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[FM,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((me=t.report)==null?void 0:me.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((fe=t.report)==null?void 0:fe.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((v=t.report)==null?void 0:v.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ee=t.report)==null?void 0:Ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((Ve=t.report)==null?void 0:Ve.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",PM,[$M,e.createElementVNode("img",{src:(Ne=t.report)==null?void 0:Ne.chartUrl,alt:""},null,8,MM)])])])}const _d=We(y$,[["render",WM],["__scopeId","data-v-47a82ae7"]]),IM={install(o){o.component("StoppageReport",_d)}},HX="",GM={name:"OrmComparison",components:{Editor:la,IdmBrand:aa},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?`${u(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?he.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})}}},Ie=o=>(e.pushScopeId("data-v-99108259"),o=o(),e.popScopeId(),o),RM={class:"comparison-report"},ZM={class:"report-summary"},zM={class:"summary-item"},UM=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),YM={class:"flexL gray"},jM={class:"summary-item"},JM=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),KM={class:"flexL gray"},XM={class:"summary-item"},qM=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),uM={class:"flexL gray"},vM={class:"summary-item"},eW=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),tW={class:"flexL gray"},oW={class:"summary-item"},aW=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),lW={class:"flexL gray"},nW={class:"summary-item"},sW=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),dW={class:"flexL gray",style:{display:"flex"}},cW={class:"flex"},iW={class:"flexM"},rW={class:"summary-item"},mW=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),pW={class:"flexL gray",style:{display:"flex"}},hW={class:"flex"},_W={class:"flexM"},EW=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),yW={class:"report-summary"},fW={class:"summary-item"},VW=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),NW={class:"summary-item"},TW=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),QW={class:"summary-item"},gW=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),bW=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),xW={class:"report-map"},kW=["src"],DW=e.createStaticVNode('
Actual Route
Recommended Route
',1),CW={key:0,class:"subtitle"},SW={key:1,class:"report-summary"},BW={class:"summary-item"},wW=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),AW={class:"flexL blue center"},HW={class:"summary-item"},LW=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),OW={class:"flexL blue center"},FW={class:"summary-item"},PW=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),$W={class:"flexL blue center"},MW=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),WW={class:"report-summary"},IW=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),GW={class:"summary-item"},RW=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),ZW={class:"flex blue-light center"},zW={class:"flex blue-light center"},UW={class:"summary-item"},YW=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),jW={class:"flex blue-light center"},JW={class:"flex blue-light center"},KW={class:"summary-item"},XW=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),qW={class:"flex blue-light center"},uW={class:"flex blue-light center"},vW={class:"summary-item"},eI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),tI={class:"flex blue-light center"},oI={class:"flex blue-light center"},aI={class:"summary-item"},lI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),nI={class:"flex blue-light center"},sI={class:"flex blue-light center"},dI={class:"summary-item"},cI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),iI={class:"flex blue-light center"},rI={class:"flex blue-light center"},mI={class:"summary-item"},pI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),hI={class:"flex blue-light center italic"},_I=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),EI={class:"report-summary"},yI=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),fI={class:"summary-item"},VI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),NI={class:"flex blue-light center"},TI={class:"flex blue-light center"},QI={class:"summary-item"},gI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),bI={class:"flex blue-light center"},xI={class:"flex blue-light center"},kI={class:"summary-item"},DI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),CI={class:"flex blue-light center"},SI={class:"flex blue-light center"},BI={class:"summary-item"},wI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),AI={class:"flex blue-light center"},HI={class:"flex blue-light center"},LI={class:"summary-item"},OI=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),FI={class:"flex blue-light center italic"},PI={class:"summary-item"},$I=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),MI={class:"flex blue-light center italic"},WI=["innerHTML"];function II(o,s,t,i,l,n){var p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",RM,[e.createVNode(E,{name:"Voyage Comparison Report"}),e.createElementVNode("div",ZM,[e.createElementVNode("div",zM,[UM,e.createElementVNode("div",YM,e.toDisplayString((T=(p=t.report)==null?void 0:p.vessel)==null?void 0:T.name),1)]),e.createElementVNode("div",jM,[JM,e.createElementVNode("div",KM,e.toDisplayString((Q=t.report)==null?void 0:Q.preparedFor),1)]),e.createElementVNode("div",XM,[qM,e.createElementVNode("div",uM,e.toDisplayString((y=(h=t.report)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",vM,[eW,e.createElementVNode("div",tW,e.toDisplayString((g=(x=t.report)==null?void 0:x.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",oW,[aW,e.createElementVNode("div",lW,e.toDisplayString((b=(k=t.report)==null?void 0:k.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",nW,[sW,e.createElementVNode("div",dW,[e.createElementVNode("span",cW,e.toDisplayString((A=(w=t.report)==null?void 0:w.departure)==null?void 0:A.name),1),e.createElementVNode("span",iW,e.toDisplayString(n.computeUTCTime(((S=(C=t.report)==null?void 0:C.departure)==null?void 0:S.atd)||((H=(V=t.report)==null?void 0:V.departure)==null?void 0:H.etd))),1)])]),e.createElementVNode("div",rW,[mW,e.createElementVNode("div",pW,[e.createElementVNode("span",hW,e.toDisplayString((I=(W=t.report)==null?void 0:W.arrival)==null?void 0:I.name),1),e.createElementVNode("span",_W,e.toDisplayString(n.computeUTCTime(((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.ata)||((O=(_=t.report)==null?void 0:_.arrival)==null?void 0:O.eta))),1)])])]),EW,e.createElementVNode("div",yW,[e.createElementVNode("div",fW,[VW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor(($=t.report)==null?void 0:$.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((F=t.report)==null?void 0:F.diffTime,"time")),3)]),e.createElementVNode("div",NW,[TW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((L=t.report)==null?void 0:L.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=t.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",QW,[gW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=t.report)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((z=t.report)==null?void 0:z.diffDgoCons,"oil")),3)])]),bW,e.createElementVNode("div",xW,[e.createElementVNode("img",{style:{width:"100%"},src:(J=t.report)==null?void 0:J.chartUrl,alt:""},null,8,kW),DW]),(de=t.report)!=null&&de.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",CW,"CP Terms")),(ce=t.report)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",SW,[e.createElementVNode("div",BW,[wW,e.createElementVNode("div",AW,e.toDisplayString(((X=(a=t.report)==null?void 0:a.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",HW,[LW,e.createElementVNode("div",OW,e.toDisplayString(((ae=(oe=t.report)==null?void 0:oe.cp)==null?void 0:ae.fo)??"—"),1)]),e.createElementVNode("div",FW,[PW,e.createElementVNode("div",$W,e.toDisplayString(((ne=(le=t.report)==null?void 0:le.cp)==null?void 0:ne.dgo)??"—"),1)])])),MW,e.createElementVNode("div",WW,[IW,e.createElementVNode("div",GW,[RW,e.createElementVNode("div",ZW,e.toDisplayString(((se=t.report)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",zW,e.toDisplayString(((ie=t.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",UW,[YW,e.createElementVNode("div",jW,e.toDisplayString(((re=t.report)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",JW,e.toDisplayString(((me=t.report)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",KW,[XW,e.createElementVNode("div",qW,e.toDisplayString(((fe=t.report)==null?void 0:fe.actualAvgSpd)??"—"),1),e.createElementVNode("div",uW,e.toDisplayString(((v=t.report)==null?void 0:v.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",vW,[eI,e.createElementVNode("div",tI,e.toDisplayString(((Ee=t.report)==null?void 0:Ee.actualAvgCF)??"—"),1),e.createElementVNode("div",oI,e.toDisplayString(((Ve=t.report)==null?void 0:Ve.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",aI,[lI,e.createElementVNode("div",nI,e.toDisplayString(((Ne=t.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",sI,e.toDisplayString(((pe=t.report)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",dI,[cI,e.createElementVNode("div",iI,e.toDisplayString(((Qe=t.report)==null?void 0:Qe.actualPfmSpd)??"—"),1),e.createElementVNode("div",rI,e.toDisplayString(((ge=t.report)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString(n.compareTime((be=t.report)==null?void 0:be.actualTime,(xe=t.report)==null?void 0:xe.recmdTime)),1)])]),_I,e.createElementVNode("div",EI,[yI,e.createElementVNode("div",fI,[VI,e.createElementVNode("div",NI,e.toDisplayString(((ke=t.report)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",TI,e.toDisplayString(((De=t.report)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",QI,[gI,e.createElementVNode("div",bI,e.toDisplayString(((we=t.report)==null?void 0:we.actualFoCons)??"-"),1),e.createElementVNode("div",xI,e.toDisplayString(((Ae=t.report)==null?void 0:Ae.recmdFoCons)??"-"),1)]),e.createElementVNode("div",kI,[DI,e.createElementVNode("div",CI,e.toDisplayString(((He=t.report)==null?void 0:He.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",SI,e.toDisplayString(((Le=t.report)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString(((Oe=t.report)==null?void 0:Oe.actualDgoCons)??"-"),1),e.createElementVNode("div",HI,e.toDisplayString(((Fe=t.report)==null?void 0:Fe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",LI,[OI,e.createElementVNode("div",FI,e.toDisplayString(((Pe=t.report)==null?void 0:Pe.diffFoCons)??"-"),1)]),e.createElementVNode("div",PI,[$I,e.createElementVNode("div",MI,e.toDisplayString((($e=t.report)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(l.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(l.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(d,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=Te=>l.advisory=Te),height:"320px",onBlur:s[1]||(s[1]=Te=>n.handleCommit("comments",Te))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=Te=>l.editable=!l.editable),innerHTML:n.computeBlankHtml(l.advisory)?"Please double click to modify remark":l.advisory},null,40,WI))],2)])}const Ed=We(GM,[["render",II],["__scopeId","data-v-99108259"]]),LX="",GI={name:"ComparisonFli",components:{Editor:la},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+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977dKcAVpfDnziFScLj4CklVkXb1KO0TtY4i6kf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J+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?`${u(o).utc().format(s)}Z`:"-"}},computeColor(){return function(o){return o>0?"fail":o<0?"success":""}},compareTime(){return function(o,s){return o&&s?he.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 Jl.put(`${this.gateway}/api/als/comparisons/${this.id}`,t,{headers:{Authorization:this.token}}),this.advisory=s}}},Be=o=>(e.pushScopeId("data-v-24b3bc72"),o=o(),e.popScopeId(),o),RI={class:"comparison-report"},ZI=Be(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),zI={class:"report-header"},UI={class:"header-title",style:{position:"relative !important"}},YI={class:"header-title-content"},jI=Be(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),JI={class:"title-date"},KI={class:"report-summary"},XI={class:"summary-item"},qI=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),uI={class:"flexL gray"},vI={class:"summary-item"},eG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),tG={class:"flexL gray"},oG={class:"summary-item"},aG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),lG={class:"flexL gray"},nG={class:"summary-item"},sG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),dG={class:"flexL gray"},cG={class:"summary-item"},iG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),rG={class:"flexL gray"},mG={class:"summary-item"},pG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),hG={class:"flexL gray",style:{display:"flex"}},_G={class:"flex"},EG={class:"flexM"},yG={class:"summary-item"},fG=Be(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),VG={class:"flexL gray",style:{display:"flex"}},NG={class:"flex"},TG={class:"flexM"},QG=Be(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),gG={class:"report-summary"},bG={class:"summary-item"},xG=Be(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),kG={class:"summary-item"},DG=Be(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),CG={class:"summary-item"},SG=Be(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),BG=Be(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),wG={class:"report-map"},AG=["src"],HG=e.createStaticVNode('
Actual Route
Ocean π Recommended Route
',1),LG=Be(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),OG={key:0,class:"subtitle"},FG={key:1,class:"report-summary"},PG={class:"summary-item"},$G=Be(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),MG={class:"flexL blue center"},WG={class:"summary-item"},IG=Be(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),GG={class:"flexL blue center"},RG={class:"summary-item"},ZG=Be(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),zG={class:"flexL blue center"},UG=Be(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),YG={class:"report-summary"},jG=Be(()=>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)),JG={class:"summary-item"},KG=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),XG={class:"flex blue-light center"},qG={class:"flex blue-light center"},uG={class:"summary-item"},vG=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),eR={class:"flex blue-light center"},tR={class:"flex blue-light center"},oR={class:"summary-item"},aR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),lR={class:"flex blue-light center"},nR={class:"flex blue-light center"},sR={class:"summary-item"},dR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),cR={class:"flex blue-light center"},iR={class:"flex blue-light center"},rR={class:"summary-item"},mR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),pR={class:"flex blue-light center"},hR={class:"flex blue-light center"},_R={class:"summary-item"},ER=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),yR={class:"flex blue-light center"},fR={class:"flex blue-light center"},VR={class:"summary-item"},NR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),TR={class:"flex blue-light center italic"},QR=Be(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),gR={class:"report-summary"},bR=Be(()=>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)),xR={class:"summary-item"},kR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),DR={class:"flex blue-light center"},CR={class:"flex blue-light center"},SR={class:"summary-item"},BR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),wR={class:"flex blue-light center"},AR={class:"flex blue-light center"},HR={class:"summary-item"},LR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),OR={class:"flex blue-light center"},FR={class:"flex blue-light center"},PR={class:"summary-item"},$R=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),MR={class:"flex blue-light center"},WR={class:"flex blue-light center"},IR={class:"summary-item"},GR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),RR={class:"flex blue-light center italic"},ZR={class:"summary-item"},zR=Be(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),UR={class:"flex blue-light center italic"},YR=["innerHTML"];function jR(o,s,t,i,l,n){var d,p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e;const E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",RI,[ZI,e.createElementVNode("div",zI,[e.createElementVNode("div",UI,[e.createElementVNode("div",YI,[jI,e.createElementVNode("div",JI,e.toDisplayString(n.computeUTCTime(((d=l.comparisonData)==null?void 0:d.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",KI,[e.createElementVNode("div",XI,[qI,e.createElementVNode("div",uI,e.toDisplayString((T=(p=l.comparisonData)==null?void 0:p.vessel)==null?void 0:T.name),1)]),e.createElementVNode("div",vI,[eG,e.createElementVNode("div",tG,e.toDisplayString((Q=l.comparisonData)==null?void 0:Q.preparedFor),1)]),e.createElementVNode("div",oG,[aG,e.createElementVNode("div",lG,e.toDisplayString((y=(h=l.comparisonData)==null?void 0:h.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",dG,e.toDisplayString((g=(x=l.comparisonData)==null?void 0:x.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",cG,[iG,e.createElementVNode("div",rG,e.toDisplayString((b=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,[e.createElementVNode("span",_G,e.toDisplayString((A=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:A.name),1),e.createElementVNode("span",EG,e.toDisplayString(n.computeUTCTime(((S=(C=l.comparisonData)==null?void 0:C.departure)==null?void 0:S.atd)||((H=(V=l.comparisonData)==null?void 0:V.departure)==null?void 0:H.etd))),1)])]),e.createElementVNode("div",yG,[fG,e.createElementVNode("div",VG,[e.createElementVNode("span",NG,e.toDisplayString((I=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:I.name),1),e.createElementVNode("span",TG,e.toDisplayString(n.computeUTCTime(((R=(G=l.comparisonData)==null?void 0:G.arrival)==null?void 0:R.ata)||((O=(_=l.comparisonData)==null?void 0:_.arrival)==null?void 0:O.eta))),1)])])]),QG,e.createElementVNode("div",gG,[e.createElementVNode("div",bG,[xG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor(($=l.comparisonData)==null?void 0:$.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((F=l.comparisonData)==null?void 0:F.diffTime,"time")),3)]),e.createElementVNode("div",kG,[DG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((L=l.comparisonData)==null?void 0:L.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",CG,[SG,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((z=l.comparisonData)==null?void 0:z.diffDgoCons,"oil")),3)])]),BG,e.createElementVNode("div",wG,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,AG),HG]),LG,(de=l.comparisonData)!=null&&de.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",OG,"CP Terms")),(ce=l.comparisonData)!=null&&ce.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",FG,[e.createElementVNode("div",PG,[$G,e.createElementVNode("div",MG,e.toDisplayString(((X=(a=l.comparisonData)==null?void 0:a.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",WG,[IG,e.createElementVNode("div",GG,e.toDisplayString(((ae=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ae.fo)??"—"),1)]),e.createElementVNode("div",RG,[ZG,e.createElementVNode("div",zG,e.toDisplayString(((ne=(le=l.comparisonData)==null?void 0:le.cp)==null?void 0:ne.dgo)??"—"),1)])])),UG,e.createElementVNode("div",YG,[jG,e.createElementVNode("div",JG,[KG,e.createElementVNode("div",XG,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",qG,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",uG,[vG,e.createElementVNode("div",eR,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",tR,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",oR,[aR,e.createElementVNode("div",lR,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgSpd)??"—"),1),e.createElementVNode("div",nR,e.toDisplayString(((v=l.comparisonData)==null?void 0:v.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",sR,[dR,e.createElementVNode("div",cR,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgCF)??"—"),1),e.createElementVNode("div",iR,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",hR,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",_R,[ER,e.createElementVNode("div",yR,e.toDisplayString(((Qe=l.comparisonData)==null?void 0:Qe.actualPfmSpd)??"—"),1),e.createElementVNode("div",fR,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",VR,[NR,e.createElementVNode("div",TR,e.toDisplayString(n.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),QR,e.createElementVNode("div",gR,[bR,e.createElementVNode("div",xR,[kR,e.createElementVNode("div",DR,e.toDisplayString(((ke=l.comparisonData)==null?void 0:ke.actualAvgFoCons)??"-"),1),e.createElementVNode("div",CR,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",SR,[BR,e.createElementVNode("div",wR,e.toDisplayString(((we=l.comparisonData)==null?void 0:we.actualFoCons)??"-"),1),e.createElementVNode("div",AR,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.recmdFoCons)??"-"),1)]),e.createElementVNode("div",HR,[LR,e.createElementVNode("div",OR,e.toDisplayString(((He=l.comparisonData)==null?void 0:He.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",FR,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",PR,[$R,e.createElementVNode("div",MR,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualDgoCons)??"-"),1),e.createElementVNode("div",WR,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",IR,[GR,e.createElementVNode("div",RR,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.diffFoCons)??"-"),1)]),e.createElementVNode("div",ZR,[zR,e.createElementVNode("div",UR,e.toDisplayString((($e=l.comparisonData)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="


"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="


"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=Te=>l.advisory=Te),height:"320px",onBlur:s[1]||(s[1]=Te=>n.handleCommit("comments",Te))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...Te)=>n.decideDisable&&n.decideDisable(...Te)),innerHTML:l.advisory&&l.advisory!=="


"?l.advisory:"Please double click to modify remark"},null,40,YR))],2)])}const yd=We(GI,[["render",jR],["__scopeId","data-v-24b3bc72"]]),JR={install(o){o.component("OrmComparisonReport",Ed),o.component("FliComparisonReport",yd)}},OX="",KR={name:"IdmThird",props:{name:{type:String,default:""}}},XR={class:"section brand-section flex-space"},qR=e.createStaticVNode('',1),uR={class:"report-box flex-space"},vR={class:"name flex-start"},eZ=e.createStaticVNode('
Technical Support & Consulting Center
',1);function tZ(o,s,t,i,l,n){return e.openBlock(),e.createElementBlock("div",XR,[qR,e.createElementVNode("div",uR,[e.createElementVNode("div",vR,e.toDisplayString(t.name),1),eZ])])}const fd=We(KR,[["render",tZ],["__scopeId","data-v-d5871b6a"]]),oZ={install(o){o.component("IdmBrand",aa),o.component("IdmThird",fd)}},FX="",PX="",aZ={name:"QuotaReport",components:{Brand:aa},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
CGH $1050","SUE $900
CGH $1050","SUE $900
CGH $1150
CHC $1150
PMP $1250","SUE 450
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
CHC $1000","CHC $1100","CHC $1100","PMP $550
CHC $700","PMP $600
CHC $1000","PMP $650
CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050
CGH $1150
SUE $1100","SUE $800
CGH $1100","SUE $750
CGH $1000","$500","$600","$600","$500","PMP $450
CHC $1150","$280",0],["$750","$800","$800","SGP $900
PMP $1350
CHC $1350","SGP $900
PMP $1000
CHC $1200","PMP $900
CHC $1150","$850","PMP $900
CHC $1250","PMP $900
CHC $1050","PMP $450
CHC $1150","PMP $540
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}})}}},Vd=o=>(e.pushScopeId("data-v-87e6fc01"),o=o(),e.popScopeId(),o),lZ={class:"quota-report"},nZ=Vd(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),sZ={class:"section quota-section"},dZ=Vd(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),cZ={class:"label"},iZ={class:"label"},rZ=["innerHTML"],mZ=e.createStaticVNode('
DIRECT
via PANAMA CHANNEL
via SUEZ CHANNEL
Passing CAPE OF GOOD HOPE
Passing CAPE HORN
Passing SINGAPORE
',1);function pZ(o,s,t,i,l,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",lZ,[e.createVNode(E,{name:"Quotation Sheet"}),nZ,e.createElementVNode("div",sZ,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[dZ,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,class:"label"},e.toDisplayString(d.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,style:e.normalizeStyle({width:d.width}),class:"label"},e.toDisplayString(d.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(d,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",cZ,e.toDisplayString(d.rank),1),e.createElementVNode("td",iZ,e.toDisplayString(d.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,T=>(e.openBlock(),e.createElementBlock("td",{key:T,innerHTML:l.quota[p][T-1]||""},null,8,rZ))),128))]))),128))])]),mZ])])}const Nd=We(aZ,[["render",pZ],["__scopeId","data-v-87e6fc01"]]),$X="",hZ={name:"QuotaReport",components:{Brand:aa},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
CGH $1250","SUE $1100
CGH $1250","SUE $1100
CGH $1350
CHC $1350
PMP $1450","SUE 650
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
CHC $1200","CHC $1300","CHC $1300","PMP $750
CHC $900","PMP $800
CHC $1200","PMP $850
CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250
CGH $1350
SUE $1300","SUE $1000
CGH $1300","SUE $950
CGH $1200","$700","$800","$800","$700","PMP $650
CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100
PMP $1550
CHC $1550","SGP $1100
PMP $1200
CHC $1400","PMP $1100
CHC $1350","$1050","PMP $1100
CHC $1450","PMP $1100
CHC $1250","PMP $650
CHC $1350","PMP $740
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}})}}},Td=o=>(e.pushScopeId("data-v-992fcad2"),o=o(),e.popScopeId(),o),_Z={class:"quota-report"},EZ=Td(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),yZ={class:"section quota-section"},fZ=Td(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),VZ={class:"label"},NZ={class:"label"},TZ=["innerHTML"],QZ=e.createStaticVNode('
DIRECT
via PANAMA CHANNEL
via SUEZ CHANNEL
Passing CAPE OF GOOD HOPE
Passing CAPE HORN
Passing SINGAPORE
',1);function gZ(o,s,t,i,l,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",_Z,[e.createVNode(E,{name:"Quotation Sheet"}),EZ,e.createElementVNode("div",yZ,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[fZ,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,class:"label"},e.toDisplayString(d.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,style:e.normalizeStyle({width:d.width}),class:"label"},e.toDisplayString(d.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(d,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",VZ,e.toDisplayString(d.rank),1),e.createElementVNode("td",NZ,e.toDisplayString(d.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,T=>(e.openBlock(),e.createElementBlock("td",{key:T,innerHTML:l.quota[p][T-1]||""},null,8,TZ))),128))]))),128))])]),QZ])])}const Qd=We(hZ,[["render",gZ],["__scopeId","data-v-992fcad2"]]),MX="",bZ={name:"QuotaReport",components:{Brand:aa},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
CGH $690","SUE $595
CGH $690","SUE $595
CGH $760
CHC $760
PMP $830","SUE 280
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
CHC $660","CHC $730","CHC $730","PMP $365
CHC $460","PMP $395
CHC $660","PMP $430
CHC $660","$280","$150",0,0],["$690","$730","PMP $690
CGH $760
SUE $730","SUE $530
CGH $730","SUE $495
CGH $660","$330","$395","$395","$330","PMP $280
CHC $760","$150",0],["$495","$530","$530","SGP $595
PMP $890
CHC $890","SGP $595
PMP $660
CHC $790","PMP $595
CHC $760","$560","PMP $595
CHC $830","PMP $595
CHC $690","PMP $280
CHC $760","PMP $360
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}})}}},gd=o=>(e.pushScopeId("data-v-54ba7765"),o=o(),e.popScopeId(),o),xZ={class:"quota-report"},kZ=gd(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),DZ={class:"section quota-section"},CZ=gd(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),SZ={class:"label"},BZ={class:"label"},wZ=["innerHTML"],AZ=e.createStaticVNode('
DIRECT
via PANAMA CHANNEL
via SUEZ CHANNEL
Passing CAPE OF GOOD HOPE
Passing CAPE HORN
Passing SINGAPORE
',1);function HZ(o,s,t,i,l,n){const E=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",xZ,[e.createVNode(E,{name:"Quotation Sheet for TONGLI"}),kZ,e.createElementVNode("div",DZ,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[CZ,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,class:"label"},e.toDisplayString(d.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,d=>(e.openBlock(),e.createElementBlock("td",{key:d.rank,style:e.normalizeStyle({width:d.width}),class:"label"},e.toDisplayString(d.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(d,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",SZ,e.toDisplayString(d.rank),1),e.createElementVNode("td",BZ,e.toDisplayString(d.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,T=>(e.openBlock(),e.createElementBlock("td",{key:T,innerHTML:l.quota[p][T-1]||""},null,8,wZ))),128))]))),128))])]),AZ])])}const bd=We(bZ,[["render",HZ],["__scopeId","data-v-54ba7765"]]),LZ={install(o){o.component("OrmQuoteReport",Nd),o.component("OrmQuoteReport4SEOA",Qd),o.component("OrmQuoteReport4TongLi",bd)}},WX="",OZ={name:"PrecipitationReport",components:{IdmBrand:aa,IdmLoading:vl},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 he.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return he.LngLatHelper.lng2pretty(o,2)}},computeLTime(){return function(o,s=8,t="MMM-DD/HHmm[LT]"){return`${u(o).utcOffset(s).format(t)}`}},computeTZ(){return function(o="0"){return he.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 i=(16-t)*22.5;return s||(i=i+180),`transform:rotate(${i}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(o){var l,n,E,d,p,T,Q;const s=he.LngLatHelper.guessTimeZoneOffset(o.lng,o.lat);o.localTZ=s;const t={};for(let h=0;h<((l=o==null?void 0:o.extend)==null?void 0:l.length);h++){const y=o==null?void 0:o.extend[h];if(h===0)y.precip.pacc=0;else{const x=u(y.utc).utcOffset(s),g=(n=y.precip)==null?void 0:n.acc;if(y.precip.pacc=g,g>0){const k=t[x.format("MMM-DD")],b=Math.floor(x.get("hour")/6);k?(k.pacc=this.roundPrecision(k.pacc+g,1),k[`${b}`]?k[`${b}`]+=g:(k[`${b}`]=g,k.colspan+=1)):(t[x.format("MMM-DD")]={pacc:g,colspan:1},t[x.format("MMM-DD")][`${b}`]=g)}}}o.paccInDays=t;let i=0;for(const h of Object.keys(t))i+=(E=t[h])==null?void 0:E.colspan,t[h].level=((d=t[h])==null?void 0:d.pacc)<10?"Light":((p=t[h])==null?void 0:p.pacc)<24.9?"Moderate":((T=t[h])==null?void 0:T.pacc)<49.9?"Heavy":((Q=t[h])==null?void 0:Q.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return o.span=i,o}}},watch:{report:{handler(){var o,s,t;if((o=this.report)!=null&&o.rows){this.loading=!1;for(const i of(s=this.report)==null?void 0:s.rows)this.computeForm(i);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(ul.init(this.$refs.echart)));const t=[],i=[],l={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(d=>{var T,Q,h,y,x,g,k,b,w,A,C,S,V,H;const p=u(d.utc).utcOffset((T=this.form)==null?void 0:T.localTZ).format("MMM-DD/HHmm[LT]");t.push(p),n=((h=(Q=d.wave)==null?void 0:Q.sig)==null?void 0:h.height)>n?(x=(y=d.wave)==null?void 0:y.sig)==null?void 0:x.height:n,i.push([p,(g=d.wind)==null?void 0:g.kts,(k=d.gusts)==null?void 0:k.kts,(w=(b=d.wave)==null?void 0:b.sig)==null?void 0:w.height,(A=d.wind)==null?void 0:A.direction,(C=d.wind)==null?void 0:C.degree,(S=d.wind)==null?void 0:S.scale,(V=d.current)==null?void 0:V.kts,(H=d.precip)==null?void 0:H.pacc,this.roundPrecision(d.visibility/1852,0),d.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:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:i,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:i,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:i,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:i,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:i,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})}}},yt=o=>(e.pushScopeId("data-v-eb7562dc"),o=o(),e.popScopeId(),o),FZ={class:"precipitation-report"},PZ={class:"section area-section"},$Z={class:"area-block"},MZ={class:"area-header flex-space"},WZ={class:"flex-start"},IZ=["onClick"],GZ={class:"flex-end"},RZ={class:"area-body"},ZZ=e.createStaticVNode('
Precipitation Accumulation (mm) in the next 10 days
Light (<10mm)
Moderate (<24.9mm)
Heavy (<49.9mm)
Rainstorm (<99.9mm)
Heavy Rainstorm (>100mm)
',2),zZ={class:"flex-evenly"},UZ={key:0},YZ=["colspan"],jZ=["colspan"],JZ={style:{"font-size":"10px"}},KZ={key:0},XZ={key:1},qZ={key:2},uZ={key:3},vZ={key:0},ez={key:1,style:{"font-size":"14px"}},tz=yt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),oz={class:"section echart-section"},az={ref:"echart",class:"echart"},lz={class:"section sample-section"},nz=yt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),sz=["colspan"],dz=yt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),cz=yt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),iz=yt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),rz=yt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),mz=yt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),pz=yt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),hz={key:0},_z={key:1},Ez=yt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),yz=yt(()=>e.createElementVNode("th",null,"Dir",-1)),fz=yt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Vz=yt(()=>e.createElementVNode("th",null,"BF",-1)),Nz=yt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Tz=yt(()=>e.createElementVNode("th",null,"Dir",-1)),Qz=yt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),gz=yt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),bz=yt(()=>e.createElementVNode("th",null,"Dir",-1)),xz=yt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),kz=yt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Dz=yt(()=>e.createElementVNode("th",null,"°C",-1)),Cz={width:"120px"},Sz={key:0},Bz={key:1},wz={key:0,class:"degree-box"},Az={key:1},Hz={key:0,class:"degree-box"},Lz={key:1},Oz={key:0,class:"degree-box"},Fz={key:1},Pz={class:"section area-section"},$z={class:"area-block"},Mz={class:"area-header flex-end"},Wz={class:"flex-end"},Iz={class:"area-body"},Gz=e.createStaticVNode('
Precipitation Accumulation (mm) in the next 10 days
Light (<10mm)
Moderate (<24.9mm)
Heavy (<49.9mm)
Rainstorm (<99.9mm)
Heavy Rainstorm (>100mm)
',2),Rz=["colspan"],Zz=["colspan"],zz={style:{"font-size":"10px"}},Uz={key:0},Yz={key:1},jz={key:2},Jz={key:3},Kz={key:1,style:{"font-size":"14px"}},Xz={key:0};function qz(o,s,t,i,l,n){var p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",FZ,[e.createVNode(E,{name:"Precipitation Accumulation"}),e.createVNode(d,{loading:l.loading,onTimeout:s[0]||(s[0]=_=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",PZ,[e.createElementVNode("div",$Z,[e.createElementVNode("div",MZ,[e.createElementVNode("div",WZ,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.report)==null?void 0:p.rows,(_,O)=>(e.openBlock(),e.createElementBlock("div",{key:O,class:e.normalizeClass(l.index===O?"header-item active":"header-item"),onClick:$=>{var F;l.index=O,l.form=(F=t.report)==null?void 0:F.rows[l.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,IZ))),128))]),e.createElementVNode("div",GZ,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",RZ,[ZZ,e.createElementVNode("div",zZ,[l.form?(e.openBlock(),e.createElementBlock("table",UZ,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((T=l.form)==null?void 0:T.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((Q=l.form)==null?void 0:Q.name)+" ("+e.toDisplayString(n.computeLat((h=l.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((y=l.form)==null?void 0:y.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((g=(x=l.form)==null?void 0:x.extend)==null?void 0:g[0].utc,(k=l.form)==null?void 0:k.localTZ))+" to "+e.toDisplayString(n.computeLTime((w=(b=l.form)==null?void 0:b.extend)==null?void 0:w.at(-1).utc,(A=l.form)==null?void 0:A.localTZ))+", "+e.toDisplayString(n.computeTZ((C=l.form)==null?void 0:C.localTZ))+")",1)],8,YZ)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((S=l.form)==null?void 0:S.paccInDays),(_,O)=>{var $;return e.openBlock(),e.createElementBlock("th",{key:O,colspan:l.form.paccInDays[_].colspan,class:e.normalizeClass(($=l.form.paccInDays[_])==null?void 0:$.level)},e.toDisplayString(_)+" ("+e.toDisplayString(l.form.paccInDays[_].pacc)+")",11,jZ)}),128))]),e.createElementVNode("tr",JZ,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=l.form)==null?void 0:V.paccInDays),(_,O)=>{var $;return e.openBlock(),e.createElementBlock(e.Fragment,{key:O},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(($=l.form)==null?void 0:$.paccInDays[_]),(F,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[F==="0"?(e.openBlock(),e.createElementBlock("th",KZ,"00-06")):e.createCommentVNode("",!0),F==="1"?(e.openBlock(),e.createElementBlock("th",XZ,"06-12")):e.createCommentVNode("",!0),F==="2"?(e.openBlock(),e.createElementBlock("th",qZ,"12-18")):e.createCommentVNode("",!0),F==="3"?(e.openBlock(),e.createElementBlock("th",uZ,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(W=Object.keys((H=l.form)==null?void 0:H.paccInDays))!=null&&W.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((I=l.form)==null?void 0:I.paccInDays),(_,O)=>{var $;return e.openBlock(),e.createElementBlock(e.Fragment,{key:O},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(($=l.form)==null?void 0:$.paccInDays[_]),(F,L)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[["0","1","2","3"].includes(F)?(e.openBlock(),e.createElementBlock("td",vZ,e.toDisplayString(n.roundPrecision((M=l.form)==null?void 0:M.paccInDays[_][F],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",ez,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),tz,e.createElementVNode("div",oz,[e.createElementVNode("div",az,null,512)]),e.createElementVNode("div",lz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[nz,e.createElementVNode("th",{colspan:t.showPrate?2:1},"Precip",8,sz),dz,cz,iz,rz,mz,pz]),e.createElementVNode("tr",null,[t.showPrate?(e.openBlock(),e.createElementBlock("th",hz,"Rate (mm/h)")):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("th",_z,"Acc (mm)")):e.createCommentVNode("",!0),Ez,yz,fz,Vz,Nz,Tz,Qz,gz,bz,xz,kz,Dz])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((G=l.form)==null?void 0:G.extend,(_,O)=>{var $,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De;return e.openBlock(),e.createElementBlock("tr",{key:O},[e.createElementVNode("td",Cz,e.toDisplayString(n.computeLTime(_.utc,($=l.form)==null?void 0:$.localTZ)),1),t.showPrate?(e.openBlock(),e.createElementBlock("td",Sz,e.toDisplayString(n.roundPrecision((F=_.precip)==null?void 0:F.prate,2)),1)):e.createCommentVNode("",!0),t.showAcc?(e.openBlock(),e.createElementBlock("td",Bz,e.toDisplayString((L=_.precip)==null?void 0:L.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",wz,[e.createTextVNode(e.toDisplayString((j=_.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((z=_.wind)==null?void 0:z.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Az,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((de=_.wind)==null?void 0:de.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ce=_.gusts)==null?void 0:ce.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((X=(a=_.wave)==null?void 0:a.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(ae=(oe=_.wave)==null?void 0:oe.swell)!=null&&ae.height?(e.openBlock(),e.createElementBlock("span",Hz,[e.createTextVNode(e.toDisplayString((ne=(le=_.wave)==null?void 0:le.swell)==null?void 0:ne.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(se=_.wave)==null?void 0:se.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Lz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((me=(re=_.wave)==null?void 0:re.swell)==null?void 0:me.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((v=(fe=_.wave)==null?void 0:fe.swell)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(Ve=(Ee=_.wave)==null?void 0:Ee.sig)!=null&&Ve.height?(e.openBlock(),e.createElementBlock("span",Oz,[e.createTextVNode(e.toDisplayString((pe=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ge=(Qe=_.wave)==null?void 0:Qe.sig)==null?void 0:ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((xe=(be=_.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((De=(ke=_.wave)==null?void 0:ke.sig)==null?void 0:De.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Pz,[e.createElementVNode("div",$z,[e.createElementVNode("div",Mz,[e.createElementVNode("div",Wz,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Iz,[Gz,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=t.report)==null?void 0:R.rows,(_,O)=>{var $,F,L;return e.openBlock(),e.createElementBlock("div",{key:O,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(($=_==null?void 0:_.extend)==null?void 0:$[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((F=_==null?void 0:_.extend)==null?void 0:F.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,Rz)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,j)=>{var z;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((z=_.paccInDays[M])==null?void 0:z.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+")",11,Zz)}),128))]),e.createElementVNode("tr",zz,[(L=Object.keys(_==null?void 0:_.paccInDays))!=null&&L.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(z,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[z==="0"?(e.openBlock(),e.createElementBlock("th",Uz,"00-06")):e.createCommentVNode("",!0),z==="1"?(e.openBlock(),e.createElementBlock("th",Yz,"06-12")):e.createCommentVNode("",!0),z==="2"?(e.openBlock(),e.createElementBlock("th",jz,"12-18")):e.createCommentVNode("",!0),z==="3"?(e.openBlock(),e.createElementBlock("th",Jz,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Kz,"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,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(z,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(z)?(e.openBlock(),e.createElementBlock("td",Xz,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][z],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const xd=We(OZ,[["render",qz],["__scopeId","data-v-eb7562dc"]]),uz={install(o){o.component("PrecipitationReport",xd)}},vz={install(o){o.component("IdmLoading",vl)}},IX="",eU={name:"OrmEeas",components:{IdmBrand:aa,Lng:Kl,Lat:Xl,Editor:la},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{remarks:void 0,editable:!1,loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${u(o).utc().format(s)}`:"-"}},computeLat(){return function(o){return he.LngLatHelper.lat2pretty(o,2)}},computeLng(){return function(o){return he.LngLatHelper.lng2pretty(o,2)}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{var t;this.remarks=(t=this.report)==null?void 0:t.remarks}))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)}}},Z=o=>(e.pushScopeId("data-v-503d6868"),o=o(),e.popScopeId(),o),tU={class:"eeas-report"},oU={class:"section info-section flex-space border"},aU={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},lU={class:"flex-space label-block row",style:{width:"100%"}},nU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),sU={style:{"text-transform":"uppercase"}},dU={class:"flex-space label-block row",style:{width:"100%"}},cU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),iU={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},rU={class:"flex-space label-block row",style:{width:"100%"}},mU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),pU={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},hU={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},_U={class:"flex-space label-block row",style:{width:"100%"}},EU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),yU={key:0,class:"flex-end",style:{flex:"1"}},fU={key:1,class:"flex-end",style:{flex:"1"}},VU=Z(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),NU={class:"flex-end",style:{width:"150px"}},TU={class:"flex-space label-block row",style:{width:"100%"}},QU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),gU={key:0,class:"flex-end",style:{flex:"1"}},bU={key:1,class:"flex-end",style:{flex:"1"}},xU=Z(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),kU={class:"flex-end",style:{width:"150px"}},DU={class:"flex-space label-block row",style:{width:"100%"}},CU=Z(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),SU={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},BU={class:"section summary-section"},wU=Z(()=>e.createElementVNode("div",{class:"section-title"},"Report Summary",-1)),AU={class:"section-content"},HU=Z(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",colspan:"2"},"CP"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily FO Cons (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Daily MGO Cons (mt)")])],-1)),LU=Z(()=>e.createElementVNode("td",{colspan:"2"},"Idle",-1)),OU={colspan:"2"},FU={colspan:"2"},PU=Z(()=>e.createElementVNode("td",{colspan:"2"},"Working",-1)),$U={colspan:"2"},MU={colspan:"2"},WU={class:"phase-box flex-between"},IU={class:"item",style:{width:"22%"}},GU=Z(()=>e.createElementVNode("div",{class:"phase-title"},"Total Idle Time",-1)),RU={class:"text"},ZU=Z(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),zU={class:"item",style:{width:"22%"}},UU=Z(()=>e.createElementVNode("div",{class:"phase-title"},"Total Working Time",-1)),YU={class:"text"},jU=Z(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),JU={class:"item",style:{width:"26%"}},KU=Z(()=>e.createElementVNode("div",{class:"phase-title"},"FO Total Consumption",-1)),XU={class:"text",style:{"text-align":"left"}},qU=Z(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),uU={key:0,class:"value"},vU=[Z(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],eY={key:1,class:"value"},tY={class:"phase-title"},oY=Z(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),aY={class:"item",style:{width:"26%"}},lY=Z(()=>e.createElementVNode("div",{class:"phase-title"},"MGO Total Consumption",-1)),nY={class:"text",style:{"text-align":"left"}},sY=Z(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),dY={key:0,class:"value"},cY=[Z(()=>e.createElementVNode("div",{class:"phase-title"},"N/A",-1))],iY={key:1,class:"value"},rY={class:"phase-title"},mY=Z(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),pY=Z(()=>e.createElementVNode("div",{class:"section-title"},"Remarks",-1)),hY={class:"section-content"},_Y={key:0,class:""},EY=["innerHTML"],yY={key:1,class:"txt"},fY={class:"section port-bunker-section"},VY=Z(()=>e.createElementVNode("div",{class:"section-title"},"Port Bunker Analysis",-1)),NY={class:"section-content"},TY=Z(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Total Time (hrs)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Cons (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Actual Daily 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)),QY={rowspan:"2"},gY=Z(()=>e.createElementVNode("td",null,"Idle",-1)),bY=Z(()=>e.createElementVNode("td",null,"Working",-1)),xY={class:"section consumption-section"},kY=Z(()=>e.createElementVNode("div",{class:"section-title"},"CP Consumption Caculation",-1)),DY={class:"section-content flex-start",style:{"margin-bottom":"20px"}},CY={class:"formula-block",style:{flex:"1"}},SY={class:"flex-start"},BY=e.createStaticVNode('
CP FO Consumption at Idle Period
=
Total Idle Time
x
CP Daily FO Consumption
24
=
',6),wY={class:"fraction"},AY=Z(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),HY={class:"fraction flex-center"},LY={class:"content"},OY=Z(()=>e.createElementVNode("div",{class:"line"},null,-1)),FY=Z(()=>e.createElementVNode("div",null,"24",-1)),PY=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),$Y={class:"fraction"},MY={class:"flex-start"},WY=e.createStaticVNode('
CP FO Consumption at Working Period
=
Total Working Time
x
CP Daily FO Consumption
24
=
',6),IY={class:"fraction"},GY=Z(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),RY={class:"fraction flex-center"},ZY={class:"content"},zY=Z(()=>e.createElementVNode("div",{class:"line"},null,-1)),UY=Z(()=>e.createElementVNode("div",null,"24",-1)),YY=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),jY={class:"fraction"},JY={class:"flex-start"},KY=e.createStaticVNode('
CP FO Total Consumption
=
FO Consumption at Idle Period
+
FO Consumption at Working Period
=
',6),XY={class:"fraction"},qY=Z(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),uY={class:"fraction"},vY=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),ej={class:"fraction"},tj={key:0,class:"flex-start"},oj={class:"fraction",style:{width:"260px"}},aj=e.createStaticVNode('
=
CP FO Total Consumption
-
Actual FO Total Consumption
=
',5),lj={class:"fraction"},nj=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),sj={class:"fraction"},dj=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),cj={class:"fraction"},ij={key:1,class:"flex-start"},rj={class:"fraction",style:{width:"260px"}},mj=e.createStaticVNode('
=
Actual FO Total Consumption
-
CP FO Total Consumption
=
',5),pj={class:"fraction"},hj=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),_j={class:"fraction"},Ej=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),yj={class:"fraction"},fj={key:2,class:"flex-start"},Vj=e.createStaticVNode('
FO Over/Saving-Consumption
=
CP FO Total Consumption
-
Actual FO Total Consumption
=
',6),Nj={class:"fraction"},Tj=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),Qj={class:"fraction"},gj=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),bj={class:"fraction"},xj={class:"section-content flex-start"},kj={class:"formula-block",style:{flex:"1"}},Dj={class:"flex-start"},Cj=e.createStaticVNode('
CP MGO Consumption at Idle Period
=
Total Idle Time
x
CP Daily MGO Consumption
24
=
',6),Sj={class:"fraction"},Bj=Z(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),wj={class:"fraction flex-center"},Aj={class:"content"},Hj=Z(()=>e.createElementVNode("div",{class:"line"},null,-1)),Lj=Z(()=>e.createElementVNode("div",null,"24",-1)),Oj=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Fj={class:"fraction"},Pj={class:"flex-start"},$j=e.createStaticVNode('
CP MGO Consumption at Working Period
=
Total Working Time
x
CP Daily MGO Consumption
24
=
',6),Mj={class:"fraction"},Wj=Z(()=>e.createElementVNode("div",{class:"sig"},"x",-1)),Ij={class:"fraction flex-center"},Gj={class:"content"},Rj=Z(()=>e.createElementVNode("div",{class:"line"},null,-1)),Zj=Z(()=>e.createElementVNode("div",null,"24",-1)),zj=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),Uj={class:"fraction"},Yj={class:"flex-start"},jj=e.createStaticVNode('
CP MGO Total Consumption
=
MGO Consumption at Idle Period
+
MGO Consumption at Working Period
=
',6),Jj={class:"fraction"},Kj=Z(()=>e.createElementVNode("div",{class:"sig"},"+",-1)),Xj={class:"fraction"},qj=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),uj={class:"fraction"},vj={key:0,class:"flex-start"},eJ={class:"fraction",style:{width:"260px"}},tJ=e.createStaticVNode('
=
CP MGO Total Consumption
-
Actual MGO Total Consumption
=
',5),oJ={class:"fraction"},aJ=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),lJ={class:"fraction"},nJ=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),sJ={class:"fraction"},dJ={key:1,class:"flex-start"},cJ={class:"fraction",style:{width:"260px"}},iJ=e.createStaticVNode('
=
Actual MGO Total Consumption
-
CP MGO Total Consumption
=
',5),rJ={class:"fraction"},mJ=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),pJ={class:"fraction"},hJ=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),_J={class:"fraction"},EJ={key:2,class:"flex-start"},yJ=e.createStaticVNode('
MGO Over/Saving-Consumption
=
CP MGO Total Consumption
-
Actual MGO Total Consumption
=
',6),fJ={class:"fraction"},VJ=Z(()=>e.createElementVNode("div",{class:"sig"},"-",-1)),NJ={class:"fraction"},TJ=Z(()=>e.createElementVNode("div",{class:"sig"},"=",-1)),QJ={class:"fraction"},gJ={class:"section vessel-report-section"},bJ=Z(()=>e.createElementVNode("div",{class:"section-title"},"Vessel Reports",-1)),xJ={class:"section-content"},kJ=Z(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Port"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Type"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Date (UTC)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Position"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Time"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Dist"),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Cons (mt)"),e.createElementVNode("th",{class:"label",colspan:"2"},"Brob (mt)"),e.createElementVNode("th",{class:"label",colspan:"3"},"Working Period"),e.createElementVNode("th",{class:"label",colspan:"3"},"Idle Period"),e.createElementVNode("th",{class:"label",rowspan:"2"},"Port ETD (UTC)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"LAT"),e.createElementVNode("th",{class:"label"},"LON"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO"),e.createElementVNode("th",{class:"label"},"hrs"),e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"MGO")])],-1));function DJ(o,s,t,i,l,n){var Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt,Y,pt,ht,ft,Vt,Nt,Tt,Qt,gt,bt,xt,kt,Dt,Ct,St,Bt,wt,At,Ht,Lt,Ot,Ft,Pt,io,ro,mo,po,ho,_o,Eo,yo,fo,Vo,No,To,Qo,go,bo,xo,ko,Do,Co,So,Bo,D,Ze,nt,st,Et,$t,Mt,Wt,It,Gt,Rt,Zt,zt,Ut,Yt,jt,Jt,Kt,Xt,qt,ut,vt,eo,to,oo,ao,lo,no,so,wo,Ao,Ho,Lo,Oo,Fo,Po,$o,Mo,Wo,Io,Go,Ro,Zo,zo,Uo,Yo,jo,Jo,Ko,Xo,qo,uo,vo,ea,ta,na,sa,da,ca,ia,ra,ma,pa,ha,it,_a,Ea,ya,fa,Va,Na,Ta,Qa,ga,ba,xa,ka,Da,Ca,Sa,Ba,wa,Aa,Ha,La,Oa,Fa,Pa,$a,Ma,Wa,Ia,Ga,Ra,Za,za,Ua,Ya,ja,Ja,Ka,Xa,qa,ua,va,el,tl,ol,al,ll,nl,sl,dl,cl,il,rl,ml,pl,hl,_l,El,yl,fl,Vl,Nl,Tl,Ql,gl,K,co,bl,xl,kl,Dl,Cl,Sl,Bl,wl,at,Ol,Fl,Pl,$l,q,oa,Ml,Wl,Il,Gl,Rl,Zl,zl,Ul,rt,en,tn,on,an,ln,nn,sn,dn,cn,rn,mn,pn,hn,_n,En,yn,fn,Vn,Nn,Tn,Qn,gn,bn,xn,kn,Dn,Cn,Sn,Bn,wn,An,Hn,Ln,On,Fn,Pn,$n,Mn,Wn,In,Gn,Rn,Zn,zn,Un,Yn,jn,Jn,Kn;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("Lat"),p=e.resolveComponent("Lng"),T=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",tU,[e.createVNode(E,{name:"Energy Efficiency Analysis Report"}),e.createElementVNode("div",oU,[e.createElementVNode("div",aU,[e.createElementVNode("div",lU,[nU,e.createElementVNode("span",sU,e.toDisplayString((y=(h=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:h.company)==null?void 0:y.name),1)]),e.createElementVNode("div",dU,[cU,e.createElementVNode("span",iU,e.toDisplayString((k=(g=(x=t.report)==null?void 0:x.voyage)==null?void 0:g.vessel)==null?void 0:k.name)+" ("+e.toDisplayString((A=(w=(b=t.report)==null?void 0:b.voyage)==null?void 0:w.vessel)==null?void 0:A.type)+")",1)]),e.createElementVNode("div",rU,[mU,e.createElementVNode("span",pU,e.toDisplayString((S=(C=t.report)==null?void 0:C.voyage)==null?void 0:S.number),1)])]),e.createElementVNode("div",hU,[e.createElementVNode("div",_U,[EU,(H=(V=t.report)==null?void 0:V.departure)!=null&&H.name?(e.openBlock(),e.createElementBlock("span",yU,e.toDisplayString((I=(W=t.report)==null?void 0:W.departure)==null?void 0:I.name),1)):(e.openBlock(),e.createElementBlock("div",fU,[e.createVNode(d,{lat:(R=(G=t.report)==null?void 0:G.departure)==null?void 0:R.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),VU,e.createVNode(p,{lng:(_=t.report.departure)==null?void 0:_.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",NU,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.atd,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",TU,[QU,(F=($=t.report)==null?void 0:$.destination)!=null&&F.name?(e.openBlock(),e.createElementBlock("span",gU,e.toDisplayString((M=(L=t.report)==null?void 0:L.destination)==null?void 0:M.name),1)):(e.openBlock(),e.createElementBlock("div",bU,[e.createVNode(d,{lat:(z=(j=t.report)==null?void 0:j.destination)==null?void 0:z.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),xU,e.createVNode(p,{lng:(de=(J=t.report)==null?void 0:J.destination)==null?void 0:de.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",kU,e.toDisplayString(n.computeUTCTime((a=(ce=t.report)==null?void 0:ce.destination)==null?void 0:a.ata,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",DU,[CU,e.createElementVNode("span",SU,e.toDisplayString((oe=(X=t.report)==null?void 0:X.voyage)==null?void 0:oe.loadCondition),1)])])]),e.createElementVNode("div",BU,[wU,e.createElementVNode("div",AU,[e.createElementVNode("table",null,[HU,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[LU,e.createElementVNode("td",OU,e.toDisplayString((ie=(se=(ne=(le=(ae=t.report)==null?void 0:ae.eeas)==null?void 0:le.extend)==null?void 0:ne.cp)==null?void 0:se.idle)==null?void 0:ie.fo),1),e.createElementVNode("td",FU,e.toDisplayString((Ee=(v=(fe=(me=(re=t.report)==null?void 0:re.eeas)==null?void 0:me.extend)==null?void 0:fe.cp)==null?void 0:v.idle)==null?void 0:Ee.dgo),1)]),e.createElementVNode("tr",null,[PU,e.createElementVNode("td",$U,e.toDisplayString((ge=(Qe=(pe=(Ne=(Ve=t.report)==null?void 0:Ve.eeas)==null?void 0:Ne.extend)==null?void 0:pe.cp)==null?void 0:Qe.working)==null?void 0:ge.fo),1),e.createElementVNode("td",MU,e.toDisplayString((we=(De=(ke=(xe=(be=t.report)==null?void 0:be.eeas)==null?void 0:xe.extend)==null?void 0:ke.cp)==null?void 0:De.working)==null?void 0:we.dgo),1)])])]),e.createElementVNode("div",WU,[e.createElementVNode("div",IU,[GU,e.createElementVNode("div",RU,[e.createTextVNode(e.toDisplayString((Fe=(Oe=(Le=(He=(Ae=t.report)==null?void 0:Ae.eeas)==null?void 0:He.extend)==null?void 0:Le.actual)==null?void 0:Oe.idle)==null?void 0:Fe.totalTime),1),ZU])]),e.createElementVNode("div",zU,[UU,e.createElementVNode("div",YU,[e.createTextVNode(e.toDisplayString((Je=(je=(Te=($e=(Pe=t.report)==null?void 0:Pe.eeas)==null?void 0:$e.extend)==null?void 0:Te.actual)==null?void 0:je.working)==null?void 0:Je.totalTime),1),jU])]),e.createElementVNode("div",JU,[KU,e.createElementVNode("div",XU,[e.createTextVNode(e.toDisplayString((Ge=(Ce=(B=(Ke=t.report)==null?void 0:Ke.eeas)==null?void 0:B.extend)==null?void 0:Ce.actual)==null?void 0:Ge.totalFoCons),1),qU]),((et=(ve=(ue=(qe=(Xe=t.report)==null?void 0:Xe.eeas)==null?void 0:qe.extend)==null?void 0:ue.summary)==null?void 0:ve.fo)==null?void 0:et.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",uU,vU)):(e.openBlock(),e.createElementBlock("div",eY,[e.createElementVNode("div",null,[e.createElementVNode("span",tY,e.toDisplayString((Re=(Me=(Se=(P=(m=t.report)==null?void 0:m.eeas)==null?void 0:P.extend)==null?void 0:Se.summary)==null?void 0:Me.fo)==null?void 0:Re.status)+"-consumption ",1),e.createElementVNode("i",{class:e.normalizeClass(["iconfont",((lt=(ot=(tt=(ze=(ye=t.report)==null?void 0:ye.eeas)==null?void 0:ze.extend)==null?void 0:tt.summary)==null?void 0:ot.fo)==null?void 0:lt.status)==="Saving"?"gain":"lost"])},e.toDisplayString(((Vt=(ft=(ht=(pt=(Y=t.report)==null?void 0:Y.eeas)==null?void 0:pt.extend)==null?void 0:ht.summary)==null?void 0:ft.fo)==null?void 0:Vt.status)==="Saving"?"":""),3),e.createElementVNode("span",{class:e.normalizeClass(((bt=(gt=(Qt=(Tt=(Nt=t.report)==null?void 0:Nt.eeas)==null?void 0:Tt.extend)==null?void 0:Qt.summary)==null?void 0:gt.fo)==null?void 0:bt.status)==="Saving"?"gain":"lost")},e.toDisplayString((St=(Ct=(Dt=(kt=(xt=t.report)==null?void 0:xt.eeas)==null?void 0:kt.extend)==null?void 0:Dt.summary)==null?void 0:Ct.fo)==null?void 0:St.margin),3),oY])]))]),e.createElementVNode("div",aY,[lY,e.createElementVNode("div",nY,[e.createTextVNode(e.toDisplayString((Ht=(At=(wt=(Bt=t.report)==null?void 0:Bt.eeas)==null?void 0:wt.extend)==null?void 0:At.actual)==null?void 0:Ht.totalDgoCons),1),sY]),((io=(Pt=(Ft=(Ot=(Lt=t.report)==null?void 0:Lt.eeas)==null?void 0:Ot.extend)==null?void 0:Ft.summary)==null?void 0:Pt.dgo)==null?void 0:io.status)==="N/A"?(e.openBlock(),e.createElementBlock("div",dY,cY)):(e.openBlock(),e.createElementBlock("div",iY,[e.createElementVNode("div",null,[e.createElementVNode("span",rY,e.toDisplayString((_o=(ho=(po=(mo=(ro=t.report)==null?void 0:ro.eeas)==null?void 0:mo.extend)==null?void 0:po.summary)==null?void 0:ho.dgo)==null?void 0:_o.status)+"-consumption",1),e.createElementVNode("i",{class:e.normalizeClass(["iconfont",((No=(Vo=(fo=(yo=(Eo=t.report)==null?void 0:Eo.eeas)==null?void 0:yo.extend)==null?void 0:fo.summary)==null?void 0:Vo.dgo)==null?void 0:No.status)==="Saving"?"gain":"lost"])},e.toDisplayString(((xo=(bo=(go=(Qo=(To=t.report)==null?void 0:To.eeas)==null?void 0:Qo.extend)==null?void 0:go.summary)==null?void 0:bo.dgo)==null?void 0:xo.status)==="Saving"?"":""),3),e.createElementVNode("span",{class:e.normalizeClass(((Bo=(So=(Co=(Do=(ko=t.report)==null?void 0:ko.eeas)==null?void 0:Do.extend)==null?void 0:Co.summary)==null?void 0:So.dgo)==null?void 0:Bo.status)==="Saving"?"gain":"lost")},e.toDisplayString((Et=(st=(nt=(Ze=(D=t.report)==null?void 0:D.eeas)==null?void 0:Ze.extend)==null?void 0:nt.summary)==null?void 0:st.dgo)==null?void 0:Et.margin),3),mY])]))])])])]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(l.remarks)?"print-hidden":""])},[pY,e.createElementVNode("div",hY,[l.editable?(e.openBlock(),e.createElementBlock("div",_Y,[l.editable?(e.openBlock(),e.createBlock(T,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=te=>l.remarks=te),class:"editor",height:"80px",onBlur:s[1]||(s[1]=te=>n.handleCommit(te))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=te=>l.editable=!0)},[n.computeBlankHtml(l.remarks)?(e.openBlock(),e.createElementBlock("div",yY,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:l.remarks},null,8,EY))],32))])],2),e.createElementVNode("div",fY,[VY,e.createElementVNode("div",NY,[e.createElementVNode("table",null,[TY,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Wt=(Mt=($t=t.report)==null?void 0:$t.eeas)==null?void 0:Mt.extend)==null?void 0:Wt.ports,te=>{var Yl,jl,Xn,qn,un,vn,es,ts,os,as,ls,ns,ss,ds,cs,is,rs,ms,ps,hs,_s,Es,ys,fs,Vs,Ns,Ts,Qs,gs,bs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Hs,Ls,Os,Fs,Ps,$s,Ms,Ws,Is,Gs,Rs,Zs,zs,Us,Ys,js,Js,Ks,Xs,qs;return e.openBlock(),e.createElementBlock("tbody",{key:te.port},[e.createElementVNode("tr",null,[e.createElementVNode("td",QY,e.toDisplayString(te.port),1),gY,e.createElementVNode("td",null,e.toDisplayString((Yl=te.idle)==null?void 0:Yl.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((jl=te.idle)==null?void 0:jl.totalFoCons)>((es=(vn=(un=(qn=(Xn=t.report)==null?void 0:Xn.eeas)==null?void 0:qn.extend)==null?void 0:un.cp)==null?void 0:vn.idle)==null?void 0:es.totalFoCons)?"lost":"")},e.toDisplayString((ts=te.idle)==null?void 0:ts.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((os=te.idle)==null?void 0:os.totalDgoCons)>((ds=(ss=(ns=(ls=(as=t.report)==null?void 0:as.eeas)==null?void 0:ls.extend)==null?void 0:ns.cp)==null?void 0:ss.idle)==null?void 0:ds.totalDgoCons)?"lost":"")},e.toDisplayString((cs=te.idle)==null?void 0:cs.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((is=te.idle)==null?void 0:is.dailyFoCons)>((_s=(hs=(ps=(ms=(rs=t.report)==null?void 0:rs.eeas)==null?void 0:ms.extend)==null?void 0:ps.cp)==null?void 0:hs.idle)==null?void 0:_s.fo)?"lost":"")},e.toDisplayString((Es=te.idle)==null?void 0:Es.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((ys=te.idle)==null?void 0:ys.dailyDgoCons)>((Qs=(Ts=(Ns=(Vs=(fs=t.report)==null?void 0:fs.eeas)==null?void 0:Vs.extend)==null?void 0:Ns.cp)==null?void 0:Ts.idle)==null?void 0:Qs.dgo)?"lost":"")},e.toDisplayString((gs=te.idle)==null?void 0:gs.dailyDgoCons),3)]),e.createElementVNode("tr",null,[bY,e.createElementVNode("td",null,e.toDisplayString((bs=te.working)==null?void 0:bs.totalTime),1),e.createElementVNode("td",{class:e.normalizeClass(((xs=te.working)==null?void 0:xs.totalFoCons)>((Bs=(Ss=(Cs=(Ds=(ks=t.report)==null?void 0:ks.eeas)==null?void 0:Ds.extend)==null?void 0:Cs.cp)==null?void 0:Ss.working)==null?void 0:Bs.totalFoCons)?"lost":"")},e.toDisplayString((ws=te.working)==null?void 0:ws.totalFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((As=te.working)==null?void 0:As.totalDgoCons)>((Ps=(Fs=(Os=(Ls=(Hs=t.report)==null?void 0:Hs.eeas)==null?void 0:Ls.extend)==null?void 0:Os.cp)==null?void 0:Fs.working)==null?void 0:Ps.totalDgoCons)?"lost":"")},e.toDisplayString(($s=te.working)==null?void 0:$s.totalDgoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Ms=te.working)==null?void 0:Ms.dailyFoCons)>((Zs=(Rs=(Gs=(Is=(Ws=t.report)==null?void 0:Ws.eeas)==null?void 0:Is.extend)==null?void 0:Gs.cp)==null?void 0:Rs.working)==null?void 0:Zs.fo)?"lost":"")},e.toDisplayString((zs=te.working)==null?void 0:zs.dailyFoCons),3),e.createElementVNode("td",{class:e.normalizeClass(((Us=te.working)==null?void 0:Us.dailyDgoCons)>((Xs=(Ks=(Js=(js=(Ys=t.report)==null?void 0:Ys.eeas)==null?void 0:js.extend)==null?void 0:Js.cp)==null?void 0:Ks.working)==null?void 0:Xs.dgo)?"lost":"")},e.toDisplayString((qs=te.working)==null?void 0:qs.dailyDgoCons),3)])])}),128))])])]),e.createElementVNode("div",xY,[kY,e.createElementVNode("div",DY,[e.createElementVNode("div",CY,[e.createElementVNode("div",SY,[BY,e.createElementVNode("div",wY,e.toDisplayString((zt=(Zt=(Rt=(Gt=(It=t.report)==null?void 0:It.eeas)==null?void 0:Gt.extend)==null?void 0:Rt.actual)==null?void 0:Zt.idle)==null?void 0:zt.totalTime),1),AY,e.createElementVNode("div",HY,[e.createElementVNode("div",LY,[e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=(jt=(Yt=(Ut=t.report)==null?void 0:Ut.eeas)==null?void 0:Yt.extend)==null?void 0:jt.cp)==null?void 0:Jt.idle)==null?void 0:Kt.fo),1),OY,FY])]),PY,e.createElementVNode("div",$Y,e.toDisplayString((eo=(vt=(ut=(qt=(Xt=t.report)==null?void 0:Xt.eeas)==null?void 0:qt.extend)==null?void 0:ut.cp)==null?void 0:vt.idle)==null?void 0:eo.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",MY,[WY,e.createElementVNode("div",IY,e.toDisplayString((no=(lo=(ao=(oo=(to=t.report)==null?void 0:to.eeas)==null?void 0:oo.extend)==null?void 0:ao.actual)==null?void 0:lo.working)==null?void 0:no.totalTime),1),GY,e.createElementVNode("div",RY,[e.createElementVNode("div",ZY,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Ho=(Ao=(wo=(so=t.report)==null?void 0:so.eeas)==null?void 0:wo.extend)==null?void 0:Ao.cp)==null?void 0:Ho.working)==null?void 0:Lo.fo),1),zY,UY])]),YY,e.createElementVNode("div",jY,e.toDisplayString((Mo=($o=(Po=(Fo=(Oo=t.report)==null?void 0:Oo.eeas)==null?void 0:Fo.extend)==null?void 0:Po.cp)==null?void 0:$o.working)==null?void 0:Mo.totalFoCons)+" (mt)",1)]),e.createElementVNode("div",JY,[KY,e.createElementVNode("div",XY,e.toDisplayString((Zo=(Ro=(Go=(Io=(Wo=t.report)==null?void 0:Wo.eeas)==null?void 0:Io.extend)==null?void 0:Go.cp)==null?void 0:Ro.idle)==null?void 0:Zo.totalFoCons),1),qY,e.createElementVNode("div",uY,e.toDisplayString((Jo=(jo=(Yo=(Uo=(zo=t.report)==null?void 0:zo.eeas)==null?void 0:Uo.extend)==null?void 0:Yo.cp)==null?void 0:jo.working)==null?void 0:Jo.totalFoCons),1),vY,e.createElementVNode("div",ej,e.toDisplayString((uo=(qo=(Xo=(Ko=t.report)==null?void 0:Ko.eeas)==null?void 0:Xo.extend)==null?void 0:qo.cp)==null?void 0:uo.totalFoCons)+" (mt)",1)]),((na=(ta=(ea=(vo=t.report)==null?void 0:vo.eeas)==null?void 0:ea.extend)==null?void 0:ta.summary)==null?void 0:na.fo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",tj,[e.createElementVNode("div",oj,"FO "+e.toDisplayString((ia=(ca=(da=(sa=t.report)==null?void 0:sa.eeas)==null?void 0:da.extend)==null?void 0:ca.summary)==null?void 0:ia.fo.status)+"-Consumption",1),aj,e.createElementVNode("div",lj,e.toDisplayString((ha=(pa=(ma=(ra=t.report)==null?void 0:ra.eeas)==null?void 0:ma.extend)==null?void 0:pa.cp)==null?void 0:ha.totalFoCons),1),nj,e.createElementVNode("div",sj,e.toDisplayString((ya=(Ea=(_a=(it=t.report)==null?void 0:it.eeas)==null?void 0:_a.extend)==null?void 0:Ea.actual)==null?void 0:ya.totalFoCons),1),dj,e.createElementVNode("div",cj,e.toDisplayString((Ta=(Na=(Va=(fa=t.report)==null?void 0:fa.eeas)==null?void 0:Va.extend)==null?void 0:Na.summary)==null?void 0:Ta.fo.margin)+" (mt)",1)])):((xa=(ba=(ga=(Qa=t.report)==null?void 0:Qa.eeas)==null?void 0:ga.extend)==null?void 0:ba.summary)==null?void 0:xa.fo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",ij,[e.createElementVNode("div",rj,"FO "+e.toDisplayString((Sa=(Ca=(Da=(ka=t.report)==null?void 0:ka.eeas)==null?void 0:Da.extend)==null?void 0:Ca.summary)==null?void 0:Sa.fo.status)+"-Consumption",1),mj,e.createElementVNode("div",pj,e.toDisplayString((Ha=(Aa=(wa=(Ba=t.report)==null?void 0:Ba.eeas)==null?void 0:wa.extend)==null?void 0:Aa.actual)==null?void 0:Ha.totalFoCons),1),hj,e.createElementVNode("div",_j,e.toDisplayString((Pa=(Fa=(Oa=(La=t.report)==null?void 0:La.eeas)==null?void 0:Oa.extend)==null?void 0:Fa.cp)==null?void 0:Pa.totalFoCons),1),Ej,e.createElementVNode("div",yj,e.toDisplayString((Ia=(Wa=(Ma=($a=t.report)==null?void 0:$a.eeas)==null?void 0:Ma.extend)==null?void 0:Wa.summary)==null?void 0:Ia.fo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",fj,[Vj,e.createElementVNode("div",Nj,e.toDisplayString((za=(Za=(Ra=(Ga=t.report)==null?void 0:Ga.eeas)==null?void 0:Ra.extend)==null?void 0:Za.cp)==null?void 0:za.totalFoCons),1),Tj,e.createElementVNode("div",Qj,e.toDisplayString((Ja=(ja=(Ya=(Ua=t.report)==null?void 0:Ua.eeas)==null?void 0:Ya.extend)==null?void 0:ja.actual)==null?void 0:Ja.totalFoCons),1),gj,e.createElementVNode("div",bj,e.toDisplayString((ua=(qa=(Xa=(Ka=t.report)==null?void 0:Ka.eeas)==null?void 0:Xa.extend)==null?void 0:qa.summary)==null?void 0:ua.fo.margin)+" (mt)",1)]))])]),e.createElementVNode("div",xj,[e.createElementVNode("div",kj,[e.createElementVNode("div",Dj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString((al=(ol=(tl=(el=(va=t.report)==null?void 0:va.eeas)==null?void 0:el.extend)==null?void 0:tl.actual)==null?void 0:ol.idle)==null?void 0:al.totalTime),1),Bj,e.createElementVNode("div",wj,[e.createElementVNode("div",Aj,[e.createElementVNode("div",null,e.toDisplayString((cl=(dl=(sl=(nl=(ll=t.report)==null?void 0:ll.eeas)==null?void 0:nl.extend)==null?void 0:sl.cp)==null?void 0:dl.idle)==null?void 0:cl.dgo),1),Hj,Lj])]),Oj,e.createElementVNode("div",Fj,e.toDisplayString((hl=(pl=(ml=(rl=(il=t.report)==null?void 0:il.eeas)==null?void 0:rl.extend)==null?void 0:ml.cp)==null?void 0:pl.idle)==null?void 0:hl.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",Pj,[$j,e.createElementVNode("div",Mj,e.toDisplayString((Vl=(fl=(yl=(El=(_l=t.report)==null?void 0:_l.eeas)==null?void 0:El.extend)==null?void 0:yl.actual)==null?void 0:fl.working)==null?void 0:Vl.totalTime),1),Wj,e.createElementVNode("div",Ij,[e.createElementVNode("div",Gj,[e.createElementVNode("div",null,e.toDisplayString((K=(gl=(Ql=(Tl=(Nl=t.report)==null?void 0:Nl.eeas)==null?void 0:Tl.extend)==null?void 0:Ql.cp)==null?void 0:gl.working)==null?void 0:K.dgo),1),Rj,Zj])]),zj,e.createElementVNode("div",Uj,e.toDisplayString((Dl=(kl=(xl=(bl=(co=t.report)==null?void 0:co.eeas)==null?void 0:bl.extend)==null?void 0:xl.cp)==null?void 0:kl.working)==null?void 0:Dl.totalDgoCons)+" (mt)",1)]),e.createElementVNode("div",Yj,[jj,e.createElementVNode("div",Jj,e.toDisplayString((at=(wl=(Bl=(Sl=(Cl=t.report)==null?void 0:Cl.eeas)==null?void 0:Sl.extend)==null?void 0:Bl.cp)==null?void 0:wl.idle)==null?void 0:at.totalDgoCons),1),Kj,e.createElementVNode("div",Xj,e.toDisplayString((q=($l=(Pl=(Fl=(Ol=t.report)==null?void 0:Ol.eeas)==null?void 0:Fl.extend)==null?void 0:Pl.cp)==null?void 0:$l.working)==null?void 0:q.totalDgoCons),1),qj,e.createElementVNode("div",uj,e.toDisplayString((Il=(Wl=(Ml=(oa=t.report)==null?void 0:oa.eeas)==null?void 0:Ml.extend)==null?void 0:Wl.cp)==null?void 0:Il.totalDgoCons)+" (mt)",1)]),((zl=(Zl=(Rl=(Gl=t.report)==null?void 0:Gl.eeas)==null?void 0:Rl.extend)==null?void 0:Zl.summary)==null?void 0:zl.dgo.status)==="Saving"?(e.openBlock(),e.createElementBlock("div",vj,[e.createElementVNode("div",eJ,"MGO "+e.toDisplayString((tn=(en=(rt=(Ul=t.report)==null?void 0:Ul.eeas)==null?void 0:rt.extend)==null?void 0:en.summary)==null?void 0:tn.dgo.status)+"-Consumption",1),tJ,e.createElementVNode("div",oJ,e.toDisplayString((nn=(ln=(an=(on=t.report)==null?void 0:on.eeas)==null?void 0:an.extend)==null?void 0:ln.cp)==null?void 0:nn.totalDgoCons),1),aJ,e.createElementVNode("div",lJ,e.toDisplayString((rn=(cn=(dn=(sn=t.report)==null?void 0:sn.eeas)==null?void 0:dn.extend)==null?void 0:cn.actual)==null?void 0:rn.totalDgoCons),1),nJ,e.createElementVNode("div",sJ,e.toDisplayString((_n=(hn=(pn=(mn=t.report)==null?void 0:mn.eeas)==null?void 0:pn.extend)==null?void 0:hn.summary)==null?void 0:_n.dgo.margin)+" (mt)",1)])):((Vn=(fn=(yn=(En=t.report)==null?void 0:En.eeas)==null?void 0:yn.extend)==null?void 0:fn.summary)==null?void 0:Vn.dgo.status)==="Over"?(e.openBlock(),e.createElementBlock("div",dJ,[e.createElementVNode("div",cJ,"MGO "+e.toDisplayString((gn=(Qn=(Tn=(Nn=t.report)==null?void 0:Nn.eeas)==null?void 0:Tn.extend)==null?void 0:Qn.summary)==null?void 0:gn.dgo.status)+"-Consumption",1),iJ,e.createElementVNode("div",rJ,e.toDisplayString((Dn=(kn=(xn=(bn=t.report)==null?void 0:bn.eeas)==null?void 0:xn.extend)==null?void 0:kn.actual)==null?void 0:Dn.totalDgoCons),1),mJ,e.createElementVNode("div",pJ,e.toDisplayString((wn=(Bn=(Sn=(Cn=t.report)==null?void 0:Cn.eeas)==null?void 0:Sn.extend)==null?void 0:Bn.cp)==null?void 0:wn.totalDgoCons),1),hJ,e.createElementVNode("div",_J,e.toDisplayString((On=(Ln=(Hn=(An=t.report)==null?void 0:An.eeas)==null?void 0:Hn.extend)==null?void 0:Ln.summary)==null?void 0:On.dgo.margin)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",EJ,[yJ,e.createElementVNode("div",fJ,e.toDisplayString((Mn=($n=(Pn=(Fn=t.report)==null?void 0:Fn.eeas)==null?void 0:Pn.extend)==null?void 0:$n.cp)==null?void 0:Mn.totalDgoCons),1),VJ,e.createElementVNode("div",NJ,e.toDisplayString((Rn=(Gn=(In=(Wn=t.report)==null?void 0:Wn.eeas)==null?void 0:In.extend)==null?void 0:Gn.actual)==null?void 0:Rn.totalDgoCons),1),TJ,e.createElementVNode("div",QJ,e.toDisplayString((Yn=(Un=(zn=(Zn=t.report)==null?void 0:Zn.eeas)==null?void 0:zn.extend)==null?void 0:Un.summary)==null?void 0:Yn.dgo.margin)+" (mt)",1)]))])])]),e.createElementVNode("div",gJ,[bJ,e.createElementVNode("div",xJ,[e.createElementVNode("table",null,[kJ,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Kn=(Jn=(jn=t.report)==null?void 0:jn.eeas)==null?void 0:Jn.extend)==null?void 0:Kn.eecs,te=>{var Yl,jl;return e.openBlock(),e.createElementBlock("tr",{key:te.id},[e.createElementVNode("td",null,e.toDisplayString(te.Port),1),e.createElementVNode("td",null,e.toDisplayString(te.ManoeuvringType||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(te.Date)),1),e.createElementVNode("td",null,e.toDisplayString((Yl=n.computeLat(te.Lat))==null?void 0:Yl.pretty),1),e.createElementVNode("td",null,e.toDisplayString((jl=n.computeLng(te.Lng))==null?void 0:jl.pretty),1),e.createElementVNode("td",null,e.toDisplayString(te.ManoeuvringHours||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.ManoeuvringDist||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.TotCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.TotCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.BROB_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.BROB_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.TTLDailyWorkingHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.WorkingPeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.WorkingPeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.TTLDailyIdleHrs||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.IdlePeriodCons_FO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.IdlePeriodCons_DGO||"-"),1),e.createElementVNode("td",null,e.toDisplayString(te.PortETD||"-"),1)])}),128))])])])])])}const kd=We(eU,[["render",DJ],["__scopeId","data-v-503d6868"]]),CJ={install(o){o.component("EeasReport",kd)}},ZX="",SJ={name:"OrmEts",components:{EditableItem:td,Editor:la,IdmBrand:aa},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{remarks:void 0,editable:!1}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return o?`${u(o).utc().format(s)}`:"-"}},computedLngLat(){return function(o,s){return`${he.LngLatHelper.lat2pretty(o).pretty} / ${he.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.fetchData()},immediate:!0}},methods:{fetchData(){var o;this.remarks=(o=this.report)==null?void 0:o.remarks},handleCommit(o){this.editable=!1,this.$emit("commit",o)}}},_t=o=>(e.pushScopeId("data-v-cf4268e8"),o=o(),e.popScopeId(),o),BJ={class:"ets-report"},wJ={class:"content-box"},AJ={class:"info-box border-dashed"},HJ={class:"flex-between row"},LJ={class:"flex-between",style:{width:"48%"}},OJ=_t(()=>e.createElementVNode("label",{class:"label"},"Vessel:",-1)),FJ={class:"flex-between",style:{width:"48%"}},PJ=_t(()=>e.createElementVNode("label",{class:"label"},"IMO:",-1)),$J={class:"flex-between row"},MJ={class:"flex-between",style:{width:"48%"}},WJ=_t(()=>e.createElementVNode("label",{class:"label"},"Report Year:",-1)),IJ={class:"flex-between",style:{width:"48%"}},GJ=_t(()=>e.createElementVNode("label",{class:"label"},"GT:",-1)),RJ={class:"section summary-section"},ZJ=_t(()=>e.createElementVNode("div",{class:"subtitle"},"Summary",-1)),zJ={class:"phase-box flex-between"},UJ={class:"item",style:{width:"24%"}},YJ=_t(()=>e.createElementVNode("div",{class:"phase-title"},"EU ETS Cost",-1)),jJ={class:"text"},JJ=_t(()=>e.createElementVNode("span",{class:"unit"},"€",-1)),KJ={class:"value"},XJ={class:"phase-title"},qJ={class:"item",style:{width:"24%"}},uJ=_t(()=>e.createElementVNode("div",{class:"phase-title"},"EUAs",-1)),vJ={class:"text"},eK=_t(()=>e.createElementVNode("div",{class:"value"},[e.createElementVNode("div",{class:"phase-title"},"Covered emissions 40%")],-1)),tK={class:"item",style:{width:"24%"}},oK=_t(()=>e.createElementVNode("div",{class:"phase-title"},"EU MRV CO2 emissions",-1)),aK={class:"text"},lK=_t(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),nK=e.createStaticVNode('
Total Fuel Consumption
FO
mt
MGO
mt
',1),sK=_t(()=>e.createElementVNode("div",{class:"row"},"* Current price of EUAs will be updated at regular intervals from ICE Endex, last update time is Oct-14/0902Z,2024.",-1)),dK=_t(()=>e.createElementVNode("div",{class:"subtitle"},"Remarks",-1)),cK={class:"section-content"},iK={key:0,class:""},rK=["innerHTML"],mK={key:1},pK={class:"section co2-emissions-section"},hK=_t(()=>e.createElementVNode("div",{class:"flex-between"},[e.createElementVNode("div",{class:"subtitle"},"CO2 emissions Caculation")],-1)),_K={class:"flex-between"},EK={style:{width:"480px","margin-right":"15px"}},yK=_t(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2,class:"label"},"Fuel Type"),e.createElementVNode("th",{rowspan:2,class:"label"},"Cons (mt)"),e.createElementVNode("th",{colspan:3,class:"label"},"Emissions (t CO2e)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"CO2"),e.createElementVNode("th",{class:"label"},"CH4"),e.createElementVNode("th",{class:"label"},"N2O")])],-1)),fK=_t(()=>e.createElementVNode("td",null,"HFO",-1)),VK=_t(()=>e.createElementVNode("td",null,"LFO",-1)),NK=_t(()=>e.createElementVNode("td",null,"MGO",-1)),TK=_t(()=>e.createElementVNode("td",null,"LNG",-1)),QK=_t(()=>e.createElementVNode("td",{colspan:2,class:"label",style:{"font-weight":"bold"}},"Total(ETS/MRV)",-1)),gK={colspan:3,class:"label",style:{"font-weight":"bold"}},bK={class:"flex-between border-dashed"},xK={class:"emission-formula"},kK={class:"formula-row formula-row-1 flex-center"},DK={viewBox:"0 -1749.5 22710.2 2999",role:"img",height:"6.785ex",width:"51.381ex",xmlns:"http://www.w3.org/2000/svg",style:{"vertical-align":"-2.827ex"}},CK=[e.createStaticVNode('',1)],SK={class:"formula-row formula-row-2 flex-center"},BK={viewBox:"0 -950 16934.2 2142.2",role:"img",height:"4.847ex",width:"38.313ex",xmlns:"http://www.w3.org/2000/svg",style:{"vertical-align":"-2.697ex"}},wK=[e.createStaticVNode('',1)],AK={class:"formula-row formula-row-3 flex-center"},HK={viewBox:"0 -1749.5 22710.2 2999",role:"img",height:"6.785ex",width:"51.381ex",xmlns:"http://www.w3.org/2000/svg",style:{"vertical-align":"-2.827ex"}},LK=[e.createStaticVNode('',1)],OK={class:"formula-row formula-row-4 flex-center"},FK={viewBox:"0 -705 30723.1 961.1",role:"img",height:"2.174ex",width:"69.509ex",xmlns:"http://www.w3.org/2000/svg",style:{"vertical-align":"-0.579ex"}},PK=[e.createStaticVNode('',1)],$K=_t(()=>e.createElementVNode("div",{class:"emission-divider"},null,-1)),MK=_t(()=>e.createElementVNode("div",{class:"emission-info"},[e.createElementVNode("p",null,"Mi:   Fuel consumption, as total mass of the specific fuel i used, in tonnes;"),e.createElementVNode("p",null,"Mi,NC:   Total mass of fuel i (in tonnes) not combusted but released into the atmosphere;"),e.createElementVNode("p",null,"EF:   emission factor for the combustion of fuel i;"),e.createElementVNode("p",null,"GWP:   Global warming potential;"),e.createElementVNode("p",null,"GHG:   Greenhouse gas emissions to be reported under the MRV Maritime Regulation, expressed in tonnes CO2 equivalent;")],-1)),WK=e.createStaticVNode('
Leg Consumptions
From - ToDate (dep-arr)EU MRV let typeTime (days)Dist (nm)Fuel consumed at sea (mt)Fuel consumed with port (mt)
HFOLFOMGOLNGHFOLFOMGOLNG
Notes
1.Greenhouse gas emissions covered by the EU ETS Directive

Emission factors:The greenhouse gases covered by the EU ETS Directive are: CO2, and from 1 January 2026 onwards CH4 and N2O.

Ships:The EU ETS has been extended to include maritime transport emissions from 2024. Cargo and passenger ships of or above 5 000 gross tonnage (GT) are included in the EU ETS. From 2027 onwards, offshore ships of or above 5 000 GT will be included.

Voyages:

● 100% of emissions from all voyages between EEA ports;

● 100% of emissions which occurred within EEA ports (and which occurred when at berth within EEA ports);

● 50% of emissions from all voyages which departed from EEA portsand arrived in non EEA ports;

● 50% of emissions from all voyages from non-EEA ports to EEA ports.

2.Phase-in of obligation under EU ETS

Shipping companies must surrender EU ETS allowances(EUAs) equal to the amount of verified aggregated emissions data at company level by 30 September every year following the reporting year, i.e. the first time by 30 September 2025 for emissions reported for the year 2024.

The share of emissions that must be covered by the surrendering of allowances gradually increases each year:

● 2025: 40% of emissions reported for 2024 must be covered by emission allowances;

● 2026: 70% of emissions reported for 2025;

● 2027 and beyond: 100% of reported emissions.

3.Emission factors

Regarding the emission factor, the shipping company shall identify the emission factor values to be applied to each fuel type reported over the reporting period. As a general rule, the shipping company apply the default (tank-to-wake) emission factor values as listed under point 2, Part A of Annex I to the MRV Maritime Regulation, which cover both those applicable to fuel combustion (for CO2, CH4, N2O) and to slippage (Cj values).

4.Legislative texts

EU ETS Directive: Directive 2003/87/EC of the European Parliament and of the Council of 13 October 2003 establishing a system for greenhouse gas emission allowance trading within the Community and amending Council Directive 96/61/EC, amended several times. Download of the consolidated version:

http://data.europa.eu/eli/dir/2003/87/2024-03-01

MRV Maritime Regulation: Regulation (EU) 2015/757 of the European Parliament and of the Council of 29 April 2015 on the monitoring, reporting and verification of carbon dioxide emissions from maritime transport, and amending Directive 2009/16/EC, http://data.europa.eu/eli/reg/2015/757/2024-01-01

',2);function IK(o,s,t,i,l,n){var p,T,Q,h,y,x,g,k,b,w,A,C,S,V,H,W,I,G,R,_,O,$,F,L,M,j,z,J,de,ce,a,X,oe,ae,le,ne,se,ie,re,me,fe,v,Ee,Ve,Ne,pe,Qe,ge,be,xe,ke,De,we,Ae,He,Le,Oe,Fe,Pe,$e,Te,je,Je,Ke,B,Ce,Ge,Xe,qe,ue,ve,et,m,P,Se,Me,Re,ye,ze,tt,ot,lt;const E=e.resolveComponent("IdmBrand"),d=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",BJ,[e.createVNode(E,{name:"EU ETS Compliance Cost Analysis Report"}),e.createElementVNode("div",wJ,[e.createElementVNode("div",AJ,[e.createElementVNode("div",HJ,[e.createElementVNode("div",LJ,[OJ,e.createElementVNode("div",null,e.toDisplayString((T=(p=t.report)==null?void 0:p.vessel)==null?void 0:T.name),1)]),e.createElementVNode("div",FJ,[PJ,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((h=(Q=t.report)==null?void 0:Q.vessel)==null?void 0:h.imo),1)])])]),e.createElementVNode("div",$J,[e.createElementVNode("div",MJ,[WJ,e.createElementVNode("div",null,e.toDisplayString((y=t.report)==null?void 0:y.reportYear),1)]),e.createElementVNode("div",IJ,[GJ,e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.GT),1)])])])]),e.createElementVNode("div",RJ,[ZJ,e.createElementVNode("div",zJ,[e.createElementVNode("div",UJ,[YJ,e.createElementVNode("div",jJ,[e.createTextVNode(e.toDisplayString((k=(g=t.report)==null?void 0:g.summary)==null?void 0:k.cost),1),JJ]),e.createElementVNode("div",KJ,[e.createElementVNode("div",XJ,"*Current price "+e.toDisplayString((w=(b=t.report)==null?void 0:b.summary)==null?void 0:w.price)+" €/EUA",1)])]),e.createElementVNode("div",qJ,[uJ,e.createElementVNode("div",vJ,e.toDisplayString((C=(A=t.report)==null?void 0:A.summary)==null?void 0:C.euas),1),eK]),e.createElementVNode("div",tK,[oK,e.createElementVNode("div",aK,[e.createTextVNode(e.toDisplayString((V=(S=t.report)==null?void 0:S.summary)==null?void 0:V.co2),1),lK])]),nK]),sK]),e.createElementVNode("div",{class:e.normalizeClass(["section remark-section",n.computeBlankHtml(l.remarks)?"print-hidden":""])},[dK,e.createElementVNode("div",cK,[l.editable?(e.openBlock(),e.createElementBlock("div",iK,[l.editable?(e.openBlock(),e.createBlock(d,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=Y=>l.remarks=Y),class:"editor",height:"80px",onBlur:s[1]||(s[1]=Y=>n.handleCommit(Y))},null,8,["modelValue"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-block",onDblclick:s[2]||(s[2]=Y=>l.editable=!0)},[n.computeBlankHtml(l.remarks)?(e.openBlock(),e.createElementBlock("div",mK,"Please double click to modify remark")):(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:l.remarks},null,8,rK))],32))])],2),e.createElementVNode("div",pK,[hK,e.createElementVNode("div",_K,[e.createElementVNode("table",EK,[yK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[fK,e.createElementVNode("td",null,e.toDisplayString(((G=(I=(W=(H=t.report)==null?void 0:H.fuels)==null?void 0:W.filter(Y=>Y.type==="HFO"))==null?void 0:I[0])==null?void 0:G.cons)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((($=(O=(_=(R=t.report)==null?void 0:R.fuels)==null?void 0:_.filter(Y=>Y.type==="HFO"))==null?void 0:O[0])==null?void 0:$.co2)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((j=(M=(L=(F=t.report)==null?void 0:F.fuels)==null?void 0:L.filter(Y=>Y.type==="HFO"))==null?void 0:M[0])==null?void 0:j.ch4)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((ce=(de=(J=(z=t.report)==null?void 0:z.fuels)==null?void 0:J.filter(Y=>Y.type==="HFO"))==null?void 0:de[0])==null?void 0:ce.n2o)||"-"),1)]),e.createElementVNode("tr",null,[VK,e.createElementVNode("td",null,e.toDisplayString(((ae=(oe=(X=(a=t.report)==null?void 0:a.fuels)==null?void 0:X.filter(Y=>Y.type==="LFO"))==null?void 0:oe[0])==null?void 0:ae.cons)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((ie=(se=(ne=(le=t.report)==null?void 0:le.fuels)==null?void 0:ne.filter(Y=>Y.type==="LFO"))==null?void 0:se[0])==null?void 0:ie.co2)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((v=(fe=(me=(re=t.report)==null?void 0:re.fuels)==null?void 0:me.filter(Y=>Y.type==="LFO"))==null?void 0:fe[0])==null?void 0:v.ch4)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((pe=(Ne=(Ve=(Ee=t.report)==null?void 0:Ee.fuels)==null?void 0:Ve.filter(Y=>Y.type==="LFO"))==null?void 0:Ne[0])==null?void 0:pe.n2o)||"-"),1)]),e.createElementVNode("tr",null,[NK,e.createElementVNode("td",null,e.toDisplayString(((xe=(be=(ge=(Qe=t.report)==null?void 0:Qe.fuels)==null?void 0:ge.filter(Y=>Y.type==="MGO"))==null?void 0:be[0])==null?void 0:xe.cons)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((Ae=(we=(De=(ke=t.report)==null?void 0:ke.fuels)==null?void 0:De.filter(Y=>Y.type==="MGO"))==null?void 0:we[0])==null?void 0:Ae.co2)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(Oe=(Le=(He=t.report)==null?void 0:He.fuels)==null?void 0:Le.filter(Y=>Y.type==="MGO"))==null?void 0:Oe[0])==null?void 0:Fe.ch4)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(Te=($e=(Pe=t.report)==null?void 0:Pe.fuels)==null?void 0:$e.filter(Y=>Y.type==="MGO"))==null?void 0:Te[0])==null?void 0:je.n2o)||"-"),1)]),e.createElementVNode("tr",null,[TK,e.createElementVNode("td",null,e.toDisplayString(((Ce=(B=(Ke=(Je=t.report)==null?void 0:Je.fuels)==null?void 0:Ke.filter(Y=>Y.type==="LNG"))==null?void 0:B[0])==null?void 0:Ce.cons)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(qe=(Xe=(Ge=t.report)==null?void 0:Ge.fuels)==null?void 0:Xe.filter(Y=>Y.type==="LNG"))==null?void 0:qe[0])==null?void 0:ue.co2)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((P=(m=(et=(ve=t.report)==null?void 0:ve.fuels)==null?void 0:et.filter(Y=>Y.type==="LNG"))==null?void 0:m[0])==null?void 0:P.ch4)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Re=(Me=(Se=t.report)==null?void 0:Se.fuels)==null?void 0:Me.filter(Y=>Y.type==="LNG"))==null?void 0:Re[0])==null?void 0:ye.n2o)||"-"),1)]),e.createElementVNode("tr",null,[QK,e.createElementVNode("td",gK,e.toDisplayString((tt=(ze=t.report)==null?void 0:ze.summary)==null?void 0:tt.cost)+" / "+e.toDisplayString((lt=(ot=t.report)==null?void 0:ot.summary)==null?void 0:lt.co2),1)])])]),e.createElementVNode("div",bK,[e.createElementVNode("div",xK,[e.createElementVNode("div",kK,[(e.openBlock(),e.createElementBlock("svg",DK,CK))]),e.createElementVNode("div",SK,[(e.openBlock(),e.createElementBlock("svg",BK,wK))]),e.createElementVNode("div",AK,[(e.openBlock(),e.createElementBlock("svg",HK,LK))]),e.createElementVNode("div",OK,[(e.openBlock(),e.createElementBlock("svg",FK,PK))])]),$K,MK])])]),WK])])}const Dd=We(SJ,[["render",IK],["__scopeId","data-v-cf4268e8"]]),GK={install(o){o.component("EtsReport",Dd)}};U.BrandPlugin=oZ,U.ComparisonPlugin=JR,U.DeviationPlugin=E$,U.DeviationReport=pd,U.EeasReport=kd,U.EeasReportPlugin=CJ,U.EtsReport=Dd,U.EtsReportPlugin=GK,U.FliComparisonReport=yd,U.FliDeviationReport=hd,U.FliInvoiceReport=md,U.FliPlanReport=nd,U.FliVoyageReport=dd,U.HurricanePlugin=Ib,U.IdmBrand=aa,U.IdmEditor=la,U.IdmEditorPlugin=H6,U.IdmLat=Xl,U.IdmLatPlugin=L6,U.IdmLng=Kl,U.IdmLngPlugin=O6,U.IdmLoading=vl,U.IdmThird=fd,U.InvoicePlugin=xk,U.LoadingPlugin=vz,U.ORMPointReport=ld,U.OrmComparisonReport=Ed,U.OrmInvoiceReport=rd,U.OrmPlanReport=us,U.OrmQuoteReport=Nd,U.OrmQuoteReport4SEOA=Qd,U.OrmQuoteReport4TongLi=bd,U.OrmVoyageReport=cd,U.PiLogo=sd,U.PiLogoPlugin=G6,U.PointReportPlugin=li,U.PrecipitationReport=xd,U.PrecipitationReportPlugin=uz,U.QuoteReportPlugin=LZ,U.RouteReport=us,U.RouteReportPlugin=A6,U.StoppageReport=_d,U.StoppageReportPlugin=IM,U.TropicalReport=id,U.VoyageReportPlugin=Pb,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});