@idmwx/idmui-report 3.3.8 → 3.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,45 @@
1
- (function(u,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(u=typeof globalThis<"u"?globalThis:u||self,ae(u["idmui-report"]={},u["@idm-plugin/geo"],u.moment,u.Vue,u.echarts,u["@wangeditor/editor-for-vue"],u["@idmui/tropical"],u["@element-plus/icons-vue"],u["element-plus"],u.axios,u["mapbox-gl"]))})(this,function(u,ae,K,e,$i,on,Hi,Ya,ln,ua,hl){"use strict";function Mi(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(s,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return s.default=t,Object.freeze(s)}const Za=Mi($i),xU="",Ce=(t,s)=>{const l=t.__vccOpts||t;for(const[r,a]of s)l[r]=a;return l},Ii={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?K(t):K()).utc().format(s)}`}}}},an=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Ri={class:"section brand-section flex-space"},Gi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),zi={class:"report-box flex-space"},Ui={class:"name flex-start"},ui={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Yi={class:"flex-start",style:{width:"100%"}},Zi={class:"label-block flex-evenly",style:{flex:"1"}},Qi=an(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Ji={class:"flex-end",style:{flex:"2"}},Ki=an(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function ji(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",Ri,[Gi,e.createElementVNode("div",zi,[e.createElementVNode("div",Ui,e.toDisplayString(l.name),1),e.createElementVNode("div",ui,[e.createElementVNode("div",Yi,[e.createElementVNode("div",Zi,[Qi,e.createElementVNode("span",Ji,e.toDisplayString(n.computeUTCTime(l.issued,"MMM-DD, YYYY")),1)])]),Ki])])])}const no=Ce(Ii,[["render",ji],["__scopeId","data-v-609af107"]]),qi={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}}},Xi={key:0,class:"loading"},vi=e.createElementVNode("i",{class:"iconfont"},"",-1);function ec(t,s,l,r,a,n){return l.loading?(e.openBlock(),e.createElementBlock("div",Xi,[vi,e.createElementVNode("div",null,e.toDisplayString(l.text),1)])):e.createCommentVNode("",!0)}const Qa=Ce(qi,[["render",ec]]),bU="",tc={name:"ORMPointReport",components:{IdmLoading:Qa,IdmBrand:no},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,l,r;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((l=this.report)==null?void 0:l.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var r,a,n,y,i,p,x,g,h,E;const s={};for(let k=0;k<((a=(r=t==null?void 0:t.extend)==null?void 0:r.data)==null?void 0:a.length);k++){const b=(n=t==null?void 0:t.extend)==null?void 0:n.data[k];if(k===0)b.precip.pacc=0;else{const C=(y=t==null?void 0:t.extend)==null?void 0:y.data[k-1],D=K(b.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(i=C==null?void 0:C.precip)==null?void 0:i.prate,B=D.diff(T,"h"),w=this.roundPrecision(F*B,1);if(b.precip.pacc=w,w>0){const V=s[D.format("MMM-DD")],O=Math.floor(D.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.colspan+=1)):(s[D.format("MMM-DD")]={pacc:w,colspan:1},s[D.format("MMM-DD")][`${O}`]=w)}}}t.paccInDays=s;let l=0;for(const k of Object.keys(s))l+=(p=s[k])==null?void 0:p.colspan,s[k].level=((x=s[k])==null?void 0:x.pacc)<10?"Light":((g=s[k])==null?void 0:g.pacc)<24.9?"Moderate":((h=s[k])==null?void 0:h.pacc)<49.9?"Heavy":((E=s[k])==null?void 0:E.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=l,t}}},methods:{initEchart(){var n,y,i;this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const t=[],s=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(i=(y=(n=this.report)==null?void 0:n.extend)==null?void 0:y.data)==null||i.forEach(p=>{var g,h,E,k,b,C,D,T,F,B,w,V,O;const x=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(x),r=((h=(g=p.wave)==null?void 0:g.sig)==null?void 0:h.height)>r?(k=(E=p.wave)==null?void 0:E.sig)==null?void 0:k.height:r,s.push([x,(b=p.wind)==null?void 0:b.kts,(C=p.gusts)==null?void 0:C.kts,(T=(D=p.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(V=p.current)==null?void 0:V.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:r,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},Ge=t=>(e.pushScopeId("data-v-e7748764"),t=t(),e.popScopeId(),t),oc={class:"point-report"},lc={class:"section info-section"},ac={class:"flex-evenly"},nc={class:"flex-space label-block",style:{width:"100%"}},sc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),ic={class:"flex-space label-block",style:{width:"100%"}},cc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),dc={class:"flex-evenly"},rc={class:"flex-space label-block",style:{width:"100%"}},mc=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pc={class:"flex-space label-block",style:{width:"100%"}},hc={class:"flex-end",style:{width:"180px"}},_c={class:"section echart-section"},yc={ref:"echart",class:"echart"},Ec={class:"section sample-section"},Nc=Ge(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vc=Ge(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fc=Ge(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xc=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),bc=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),gc=Ge(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Dc=["colspan"],kc=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Cc=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Sc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Bc=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wc=Ge(()=>e.createElementVNode("th",null,"BF",-1)),Ac=Ge(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Tc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Fc=Ge(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Oc=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pc=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Lc=Ge(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wc=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$c=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Hc=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Mc={key:0},Ic={key:1},Rc=Ge(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Gc=Ge(()=>e.createElementVNode("th",null,"°C",-1)),zc={width:"120px"},Uc={key:0,class:"degree-box"},uc={key:1},Yc={key:0,class:"degree-box"},Zc={key:1},Qc={key:0,class:"degree-box"},Jc={key:1},Kc={key:0,class:"degree-box"},jc={key:1},qc={key:0},Xc={key:1};function vc(t,s,l,r,a,n){var p,x,g,h;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",oc,[e.createVNode(y,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",lc,[e.createElementVNode("div",ac,[e.createElementVNode("div",nc,[sc,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=l.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((x=l.report)==null?void 0:x.lng).pretty),1)]),e.createElementVNode("div",ic,[cc,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",dc,[e.createElementVNode("div",rc,[mc,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",pc,[e.createElementVNode("label",hc,"("+e.toDisplayString(n.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_c,[e.createElementVNode("div",yc,null,512)]),e.createElementVNode("div",Ec,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Nc,Vc,fc,xc,bc,gc,e.createElementVNode("th",{colspan:l.showPrate&&l.showAcc?2:1},"Precip",8,Dc),kc,Cc]),e.createElementVNode("tr",null,[Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc,$c,Hc,l.showPrate?(e.openBlock(),e.createElementBlock("th",Mc,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Ic,"Acc (mm)")):e.createCommentVNode("",!0),Rc,Gc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(g=l.report)==null?void 0:g.extend)==null?void 0:h.data,(E,k)=>{var b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",zc,e.toDisplayString(n.computeLTime(E.utc,this.localTZ)),1),e.createElementVNode("td",null,[(b=E.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",Uc,[e.createTextVNode(e.toDisplayString((C=E.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((D=E.wind)==null?void 0:D.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",uc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=E.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=E.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=E.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((V=(w=E.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(I=(O=E.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Yc,[e.createTextVNode(e.toDisplayString((G=(R=E.wave)==null?void 0:R.swell)==null?void 0:G.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=E.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=E.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=E.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=E.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Qc,[e.createTextVNode(e.toDisplayString((J=(U=E.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=E.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=E.wave)==null?void 0:o.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=E.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=E.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",Kc,[e.createTextVNode(e.toDisplayString((oe=E.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=E.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",jc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=E.current)==null?void 0:ie.kts,1)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",qc,e.toDisplayString(n.roundPrecision((re=E.precip)==null?void 0:re.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",Xc,e.toDisplayString(n.roundPrecision((me=E.precip)==null?void 0:me.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.temp,1)),1)])}),128))])])])])}const nn=Ce(tc,[["render",vc],["__scopeId","data-v-e7748764"]]),ed={install(t){t.component("ORMPointReport",nn)}},gU="",td={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{pretty:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){const t=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(t).pretty}},immediate:!0}}},od={class:"lng-box"},ld={key:0};function ad(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",od,[l.label?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ja=Ce(td,[["render",ad],["__scopeId","data-v-0d3c152f"]]),DU="",nd={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sd={class:"lat-box"},id={key:0};function cd(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",sd,[l.label?(e.openBlock(),e.createElementBlock("span",id,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ka=Ce(nd,[["render",cd],["__scopeId","data-v-3d953d12"]]),kU="",dd={name:"IdmEditor",components:{Editor:on.Editor,Toolbar:on.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,l;t?(s=this.editor)==null||s.disable():(l=this.editor)==null||l.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},rd={class:"editor-box"};function md(t,s,l,r,a,n){const y=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rd,[e.withDirectives(e.createVNode(y,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!l.disabled]]),e.createVNode(i,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:l.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Ro=Ce(dd,[["render",md],["__scopeId","data-v-0d3b5c3c"]]),CU="",pd={name:"OrmRouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro,Brand:no,Loading:Qa},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s,l){let r=0;return l&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,l)),`${K(t).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var l,r,a,n,y;if(s===0)return"-";{const i=K((a=(r=(l=t==null?void 0:t.speeds)==null?void 0:l[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((y=(n=t==null?void 0:t.speeds)==null?void 0:n[0])==null?void 0:y.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const l=[];if(s.length)return s.forEach(r=>{l.push(r),r.suspend&&(t!=null&&t.useRouteParam)&&l.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),l}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var n,y,i,p;const l=(p=(i=(y=(n=t==null?void 0:t.speeds)==null?void 0:n[s])==null?void 0:y.speed)==null?void 0:i.sample)==null?void 0:p.hours,r=l[0],a=l[l.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,x,g,h,E,k,b;const t=[],s=[],l={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,D)=>{r[C]=Math.PI/8*D});const n=18;let y=4;(k=(E=(h=(g=(x=(p=this.plan)==null?void 0:p.speeds)==null?void 0:x[this.speedIndex])==null?void 0:g.speed)==null?void 0:h.sample)==null?void 0:E.hours)==null||k.forEach(C=>{var T,F,B,w,V,O,I,R,G,z;const D=C.meteo;if(D){const _=K(D.utc).utc().format("MMM-DD/HHmm[Z]");t.push(_),y=Math.ceil(((F=(T=D.wave)==null?void 0:T.sig)==null?void 0:F.height)>y?(w=(B=D.wave)==null?void 0:B.sig)==null?void 0:w.height:y),s.push([_,(V=D.wind)==null?void 0:V.kts,(I=(O=D.wave)==null?void 0:O.sig)==null?void 0:I.height,(R=D.wind)==null?void 0:R.direction,(G=D.wind)==null?void 0:G.degree,(z=D.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:y,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,D)=>{const T=D.coord([D.value(l.dateTime),D.value(l.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[D.value(l.windDirection)],position:T,style:D.style({stroke:"#555",lineWidth:1})}},encode:{x:l.dateTime,y:l.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:l.dateTime,y:l.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:l.dateTime,y:l.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(b=this.echart)==null||b.setOption(i)}}},Ue=t=>(e.pushScopeId("data-v-76808fbe"),t=t(),e.popScopeId(),t),hd={class:"voyage-plan"},_d={class:"plan-report"},yd={class:"section voyage-section flex-space"},Ed={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nd={class:"flex-start label-block",style:{width:"100%"}},Vd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fd={style:{"text-transform":"uppercase"},class:"text-ellipsis"},xd={class:"flex-start label-block",style:{width:"100%"}},bd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),gd={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Dd={class:"flex-start label-block",style:{width:"100%"}},kd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cd={class:"flex-end"},Sd={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bd={class:"flex-start label-block",style:{width:"100%"}},wd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ad={key:0,class:"flex-end",style:{flex:"1"}},Td={key:1,class:"flex-end",style:{flex:"1"}},Fd=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Od={class:"flex-end",style:{width:"120px"}},Pd={class:"flex-space label-block",style:{width:"100%"}},Ld=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wd={key:0,class:"flex-end",style:{flex:"1"}},$d={key:1,class:"flex-end",style:{flex:"1"}},Hd=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Md={class:"flex-end",style:{width:"120px"}},Id={class:"flex-space label-block",style:{width:"100%"}},Rd=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Gd={class:"flex-end",style:{"text-transform":"uppercase"}},zd={class:"section chart-section"},Ud=Ue(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),ud={class:"flex-center"},Yd=["src"],Zd={class:"legends"},Qd=e.createStaticVNode('<div class="legend" data-v-76808fbe><label style="background-color:var(--idm-dangerous);" data-v-76808fbe></label><span data-v-76808fbe>Dangerous</span></div><div class="legend" data-v-76808fbe><label style="background-color:var(--idm-severe);" data-v-76808fbe></label><span data-v-76808fbe>Severe</span></div><div class="legend" data-v-76808fbe><label style="background-color:var(--idm-heavy);" data-v-76808fbe></label><span data-v-76808fbe>Heavy</span></div>',3),Jd={class:"legend"},Kd=Ue(()=>e.createElementVNode("b",{class:"route1"},null,-1)),jd={key:0,class:"legend"},qd=Ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Xd={key:1,class:"legend"},vd=Ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ue(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ue(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ue(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ue(()=>e.createElementVNode("th",null,"*FO",-1)),ir=Ue(()=>e.createElementVNode("th",null,"*DO",-1)),cr={colspan:"3"},dr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},yr={rowspan:"2"},Er={rowspan:"2"},Nr={rowspan:"2"},Vr=Ue(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},xr={class:"header-block flex-start"},br=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),gr={class:"title"},Dr={key:0,class:"flex-end",style:{flex:"1"}},kr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-76808fbe><div class="cell-item flex" style="flex:1.5;" data-v-76808fbe>Major waypoint</div><div class="cell-item flex" data-v-76808fbe>Time</div><div class="cell-item flex" data-v-76808fbe>Nav</div><div class="cell-item flex" data-v-76808fbe>Dist</div><div class="cell-item flex" data-v-76808fbe>SOG</div><div class="cell-item flex" data-v-76808fbe>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Rr={key:4,class:"cell-item flex offset"},Gr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},ur={class:"section forecast-section"},Yr={class:"header-block flex-start"},Zr=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Qr={class:"title"},Jr={key:0,class:"flex-end",style:{flex:"1"}},Kr=["onClick"],jr={class:"echart-block"},qr={ref:"echart",class:"echart"},Xr=Ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ue(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},im={key:0,class:"degree-box"},cm={key:1},dm=Ue(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(t,s,l,r,a,n){var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),x=e.resolveComponent("Lng"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("div",_d,[e.createVNode(y,{name:"Voyage Planning",issued:(h=l.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",yd,[e.createElementVNode("div",Ed,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",fd,e.toDisplayString((b=(k=(E=l.plan)==null?void 0:E.voyage)==null?void 0:k.company)==null?void 0:b.name),1)]),e.createElementVNode("div",xd,[bd,e.createElementVNode("span",gd,e.toDisplayString((T=(D=(C=l.plan)==null?void 0:C.voyage)==null?void 0:D.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((V=(w=(B=(F=l.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:V.name)+")",1)]),e.createElementVNode("div",Dd,[kd,e.createElementVNode("span",Cd,e.toDisplayString((I=(O=l.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sd,[e.createElementVNode("div",Bd,[wd,(z=(G=(R=l.plan)==null?void 0:R.leg)==null?void 0:G.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString((L=(_=l.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(p,{lat:(P=(W=(H=l.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fd,e.createVNode(x,{lng:(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Od,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(j=(o=l.plan)==null?void 0:o.leg)==null?void 0:j.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=l.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pd,[Ld,(me=(re=(ie=l.plan)==null?void 0:ie.leg)==null?void 0:re.destination)!=null&&me.name?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString((he=(q=(ye=l.plan)==null?void 0:ye.leg)==null?void 0:q.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(p,{lat:(Ve=(Ne=(Ee=l.plan)==null?void 0:Ee.leg)==null?void 0:Ne.destination)==null?void 0:Ve.lat,label:""},null,8,["lat"]),Hd,e.createVNode(x,{lng:(be=(xe=(fe=l.plan)==null?void 0:fe.leg)==null?void 0:xe.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Md,e.toDisplayString(n.computeUTCTime(((Ae=(ke=(De=(ge=l.plan)==null?void 0:ge.speeds)==null?void 0:De[a.speedIndex])==null?void 0:ke.speed)==null?void 0:Ae.ata)||((Pe=(Oe=(Fe=(Te=l.plan)==null?void 0:Te.speeds)==null?void 0:Fe[a.speedIndex])==null?void 0:Oe.speed)==null?void 0:Pe.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Id,[Rd,e.createElementVNode("span",Gd,e.toDisplayString((We=(Le=l.plan)==null?void 0:Le.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",zd,[Ud,($e=l.plan)!=null&&$e.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ud,[e.createElementVNode("img",{src:l.plan.chartUrl},null,8,Yd)]),e.createElementVNode("div",Zd,[Qd,e.createElementVNode("div",Jd,[Kd,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>(a.speedIndex=0,n.renderEchart()))},e.toDisplayString((A=(Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds)==null?void 0:Qe[0])==null?void 0:Je.speed)==null?void 0:Ke.lane)==null?void 0:A.name),1)]),((Ie=(Se=l.plan)==null?void 0:Se.speeds)==null?void 0:Ie.length)>1?(e.openBlock(),e.createElementBlock("div",jd,[qd,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>(a.speedIndex=1,n.renderEchart()))},e.toDisplayString((et=(ve=(Xe=(qe=(je=l.plan)==null?void 0:je.speeds)==null?void 0:qe[1])==null?void 0:Xe.speed)==null?void 0:ve.lane)==null?void 0:et.name),1)])):e.createCommentVNode("",!0),(($=(m=l.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",Xd,[vd,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>(a.speedIndex=2,n.renderEchart()))},e.toDisplayString((ze=(ce=(Re=(He=(Be=l.plan)==null?void 0:Be.speeds)==null?void 0:He[2])==null?void 0:Re.speed)==null?void 0:ce.lane)==null?void 0:ze.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(ot=(tt=l.plan)==null?void 0:tt.speeds)!=null&&ot.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,ir,e.createElementVNode("th",cr,"*days (with in the next "+e.toDisplayString(n.computeDay(l.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ct=l.plan)==null?void 0:ct.speeds,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Me},[e.createElementVNode("tr",null,[e.createElementVNode("td",dr,e.toDisplayString(Me+1),1),e.createElementVNode("td",rr,e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((pt=S.speed)==null?void 0:pt.label)??"CP"} ${((Pt=S.speed)==null?void 0:Pt.v0)??((Wt=(Lt=S.speed)==null?void 0:Lt.cpCopy)==null?void 0:Wt.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision(($t=S.speed)==null?void 0:$t.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Ht=S.speed)==null?void 0:Ht.eta,(Rt=(It=(Mt=l.plan)==null?void 0:Mt.leg)==null?void 0:It.destination)==null?void 0:Rt.lng,(Ut=(zt=(Gt=l.plan)==null?void 0:Gt.leg)==null?void 0:zt.destination)==null?void 0:Ut.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((ut=S.speed)==null?void 0:ut.eta))+"]",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(l.plan,Me)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Yt=S.speed)==null?void 0:Yt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Zt=S.speed)==null?void 0:Zt.totalDgoCons,3)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((Qt=S.speed)==null?void 0:Qt.dangerous)/24,1)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Jt=S.speed)==null?void 0:Jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(jt=S.speed)==null?void 0:jt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((vt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:vt.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((eo=S.speed)==null?void 0:eo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",xr,[br,e.createElementVNode("div",gr,"Advisory & Major Waypoint of Route "+e.toDisplayString((ht=(mt=(rt=(dt=l.plan.speeds)==null?void 0:dt[a.speedIndex])==null?void 0:rt.speed)==null?void 0:mt.lane)==null?void 0:ht.name),1),((yt=(_t=l.plan)==null?void 0:_t.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",Dr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=l.plan)==null?void 0:Et.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(Vt=(Nt=l.plan)==null?void 0:Nt.speeds)!=null&&Vt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((gt=(bt=(xt=(ft=l.plan)==null?void 0:ft.speeds)==null?void 0:xt[a.speedIndex])==null?void 0:bt.speed)==null?void 0:gt.argv,(Bt=(St=(Ct=(kt=(Dt=l.plan)==null?void 0:Dt.speeds)==null?void 0:kt[a.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:Bt.wps),(S,Me)=>(e.openBlock(),e.createElementBlock("div",{key:Me,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Me?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Me?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Me?(e.openBlock(),e.createElementBlock("div",Rr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Gr)),Me?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ur,[(At=(wt=l.plan)==null?void 0:wt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yr,[Zr,e.createElementVNode("div",Qr,"Weather Forecast for the Next "+e.toDisplayString(n.computeDay(l.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((co=(io=(Ot=(Ft=(Tt=l.plan)==null?void 0:Tt.speeds)==null?void 0:Ft[a.speedIndex])==null?void 0:Ot.speed)==null?void 0:io.lane)==null?void 0:co.name),1),((mo=(ro=l.plan)==null?void 0:ro.speeds)==null?void 0:mo.length)>1?(e.openBlock(),e.createElementBlock("div",Jr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((po=l.plan)==null?void 0:po.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S==null?void 0:S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,Kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",jr,[e.createElementVNode("div",qr,null,512)]),e.createElementVNode("table",null,[Xr,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((No=(Eo=(yo=(_o=(ho=l.plan)==null?void 0:ho.speeds)==null?void 0:_o[a.speedIndex])==null?void 0:yo.speed)==null?void 0:Eo.sample)==null?void 0:No.hours,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io;return e.openBlock(),e.createElementBlock("tr",{key:Me,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(at=(lt=S.meteo)==null?void 0:lt.wind)!=null&&at.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Pt=(pt=S.meteo)==null?void 0:pt.wind)==null?void 0:Pt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wt=(Lt=S.meteo)==null?void 0:Lt.wind)==null?void 0:Wt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ht=($t=S.meteo)==null?void 0:$t.wind)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(It=(Mt=S.meteo)==null?void 0:Mt.wave)==null?void 0:It.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Ut=(zt=(Gt=S.meteo)==null?void 0:Gt.wave)==null?void 0:zt.swell)!=null&&Ut.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Zt=(Yt=(ut=S.meteo)==null?void 0:ut.wave)==null?void 0:Yt.swell)==null?void 0:Zt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Kt=(Jt=(Qt=S.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)==null?void 0:Kt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Xt=(qt=(jt=S.meteo)==null?void 0:jt.wave)==null?void 0:qt.swell)==null?void 0:Xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=(eo=(vt=S.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.period,1)),1),e.createElementVNode("td",null,[(fo=(Vo=(oo=S.meteo)==null?void 0:oo.wave)==null?void 0:Vo.sig)!=null&&fo.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((go=(bo=(xo=S.meteo)==null?void 0:xo.wave)==null?void 0:bo.sig)==null?void 0:go.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Co=(ko=(Do=S.meteo)==null?void 0:Do.wave)==null?void 0:ko.sig)==null?void 0:Co.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((wo=(Bo=(So=S.meteo)==null?void 0:So.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Fo=(To=(Ao=S.meteo)==null?void 0:Ao.wave)==null?void 0:To.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(Po=(Oo=S.meteo)==null?void 0:Oo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",im,[e.createTextVNode(e.toDisplayString((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Io=(Mo=S.meteo)==null?void 0:Mo.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),dm])])])}const en=Ce(pd,[["render",rm],["__scopeId","data-v-76808fbe"]]),SU="",mm={name:"RouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s){const l=K(t);return l.utcOffset(s),`${l.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,l,r,a;return(a=(r=(l=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:l.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var l,r,a;if(s===0)return"-";{const n=K((r=(l=t==null?void 0:t.speeds[s])==null?void 0:l.speed)==null?void 0:r.eta).diff(K((a=t==null?void 0:t.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t){var a,n,y;const s=(y=(n=(a=t==null?void 0:t.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:y.hours,l=s[0],r=s[s.length-1];return K(r.eta).diff(K(l.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ue=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),pm={class:"route-report"},hm=ue(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},ym=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Em={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),xm={class:"flex-start"},bm={class:"flex-start"},gm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Dm={class:"flex-start flex"},km={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},$m={key:1,class:"flex-space"},Hm=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Rm={class:"flex-start"},Gm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},um=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Ym={class:"flex-start flex"},Zm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Qm=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Jm={class:"section-body detail"},Km={class:"flex-space",style:{"align-items":"stretch"}},jm={class:"chart"},qm=["src"],Xm={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=ue(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 2",-1))],ip={key:1,class:"legend"},cp=[ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 3",-1))],dp={class:"section"},rp=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),yp={class:"section",style:{"page-break-inside":"avoid"}},Ep=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},xp=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),bp={class:"body"},gp={class:"cell-item flexM"},Dp={class:"flex-center"},kp=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},$p=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Hp={class:"section-body sample"},Mp={key:0},Ip=ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Rp={class:"flex-center"},Gp=ue(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},up={key:0,class:"degree-box"},Yp={key:1},Zp={key:0,class:"degree-box"},Qp={key:1},Jp={key:0,class:"degree-box"},Kp={key:1},jp=ue(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function qp(t,s,l,r,a,n){var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[ym,e.createElementVNode("div",Em,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",xm,e.toDisplayString((h=(g=(x=l.plan)==null?void 0:x.voyage)==null?void 0:g.company)==null?void 0:h.name),1)]),e.createElementVNode("div",bm,[gm,e.createElementVNode("div",Dm,[(b=(k=(E=l.plan)==null?void 0:E.leg)==null?void 0:k.departure)!=null&&b.name?(e.openBlock(),e.createElementBlock("div",km,e.toDisplayString((D=(C=l.plan)==null?void 0:C.leg)==null?void 0:D.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(y,{lat:(B=(F=(T=l.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(i,{lng:(O=(V=(w=l.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((G=(R=(I=l.plan)==null?void 0:I.leg)==null?void 0:R.departure)==null?void 0:G.atd)||((L=(_=(z=l.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=(H=l.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(y,{lat:(j=(o=(se=l.plan)==null?void 0:se.leg)==null?void 0:o.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Hm,e.createVNode(i,{lng:(te=(ee=(v=l.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ie=(le=(oe=l.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ie.speed.ata)||((me=(re=l.plan)==null?void 0:re.speeds)==null?void 0:me[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Rm,[Gm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((ye=l.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[um,e.createElementVNode("div",Ym,[e.createElementVNode("div",null,e.toDisplayString((he=(q=l.plan)==null?void 0:q.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Zm,[Qm,e.createElementVNode("div",Jm,[e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[(Ee=l.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=l.plan)==null?void 0:Ne.chartUrl},null,8,qm)):(e.openBlock(),e.createElementBlock("div",Xm,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(Ve=l.plan)==null?void 0:Ve.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((be=(xe=l.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",ip,cp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",dp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(De=(ge=l.plan)==null?void 0:ge.speeds)!=null&&De.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ke=l.plan)==null?void 0:ke.speeds,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ie=A.speed)==null?void 0:Ie.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((je=A.speed)==null?void 0:je.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((ve=(Xe=A.speed)==null?void 0:Xe.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=A.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((He=A.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((ce=A.speed)==null?void 0:ce.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((ze=A.speed)==null?void 0:ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=A.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",yp,[Ep,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[xp,e.createElementVNode("div",bp,[(Te=(Ae=l.plan)==null?void 0:Ae.speeds)!=null&&Te.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Le=(Pe=(Oe=(Fe=l.plan)==null?void 0:Fe.speeds[0])==null?void 0:Oe.speed)==null?void 0:Pe.sample)==null?void 0:Le.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",gp,[e.createElementVNode("div",Dp,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),kp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[$p,e.createElementVNode("div",Hp,[($e=(We=l.plan)==null?void 0:We.speeds)!=null&&$e.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds[0])==null?void 0:Qe.speed)==null?void 0:Je.sample)==null?void 0:Ke.hours,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Rp,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),Gp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(je=(Ie=A.meteo)==null?void 0:Ie.wind)!=null&&je.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((Xe=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:Xe.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=A.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(ce=(Re=(He=A.meteo)==null?void 0:He.wave)==null?void 0:Re.swell)!=null&&ce.height?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ot=(tt=(ze=A.meteo)==null?void 0:ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",Yp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((rt=(dt=(ct=A.meteo)==null?void 0:ct.wave)==null?void 0:dt.swell)==null?void 0:rt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((_t=(ht=(mt=A.meteo)==null?void 0:mt.wave)==null?void 0:ht.swell)==null?void 0:_t.period,1)),1),e.createElementVNode("td",null,[(Nt=(Et=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)!=null&&Nt.height?(e.openBlock(),e.createElementBlock("span",Zp,e.toDisplayString((xt=(ft=(Vt=A.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:xt.direction),1)):(e.openBlock(),e.createElementBlock("span",Qp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Dt=(gt=(bt=A.meteo)==null?void 0:bt.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((St=(Ct=(kt=A.meteo)==null?void 0:kt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(wt=(Bt=A.meteo)==null?void 0:Bt.current)!=null&&wt.kts?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((Tt=(At=A.meteo)==null?void 0:At.current)==null?void 0:Tt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Kp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ot=(Ft=A.meteo)==null?void 0:Ft.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),jp])}const sn=Ce(mm,[["render",qp],["__scopeId","data-v-afd0f0bf"]]),Xp={install(t){t.component("RouteReport",en),t.component("FliPlanReport",sn),t.component("OrmPlanReport",en)}},vp={install(t){t.component("IdmEditor",Ro)}},eh={install(t){t.component("IdmLat",Ka)}},th={install(t){t.component("IdmLng",Ja)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
2
- -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
3
- -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
4
- -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
5
- -234 -584 -250 -654 -2 -8 -8 -37 -14 -63 -27 -117 -16 -290 23 -366 40 -76
6
- 162 -100 372 -73 118 16 204 44 274 92 61 41 136 119 179 185 14 22 28 42 31
7
- 45 3 3 19 25 35 50 17 25 34 50 38 55 4 6 34 46 65 90 101 143 233 300 336
8
- 398 289 278 518 397 871 452 58 10 122 14 328 25 184 10 214 9 256 -5 106 -35
9
- 121 -98 96 -410 -3 -38 -7 -104 -10 -145 -17 -256 -42 -587 -50 -670 -20 -206
10
- -26 -262 -39 -400 -19 -190 -34 -332 -41 -385 -3 -22 -10 -76 -15 -120 -6 -44
11
- -17 -132 -25 -195 -8 -63 -19 -142 -24 -175 -5 -33 -14 -94 -20 -135 -15 -102
12
- -38 -247 -57 -355 -9 -49 -18 -101 -20 -115 -5 -26 -42 -220 -50 -255 -8 -40
13
- -24 -120 -28 -140 -24 -118 -69 -303 -131 -535 -146 -551 -395 -1063 -780
14
- -1610 -25 -36 -53 -76 -63 -90 -9 -14 -19 -27 -22 -30 -17 -17 -182 -264 -250
15
- -375 -152 -247 -219 -413 -276 -680 -27 -127 -26 -365 2 -505 64 -314 256
16
- -557 538 -685 244 -110 548 -108 857 5 74 26 235 110 272 140 152 125 200 168
17
- 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
18
- 184 265 381 726 493 1154 89 340 192 880 255 1346 70 507 116 894 162 1355 2
19
- 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
20
- 10 112 15 175 9 106 63 792 75 955 3 39 7 99 10 135 7 94 14 192 20 295 3 50
21
- 8 119 10 155 3 36 10 135 15 220 37 580 40 602 75 657 9 14 38 35 63 46 47 22
22
- 49 22 963 25 862 2 919 2 965 -15 33 -13 56 -30 72 -53 23 -33 24 -41 18 -140
23
- -3 -58 -8 -121 -11 -140 -2 -19 -9 -82 -15 -140 -5 -58 -14 -150 -20 -205 -24
24
- -227 -44 -430 -55 -550 -3 -27 -7 -72 -10 -100 -14 -139 -14 -137 -45 -465
25
- -30 -318 -48 -523 -55 -615 -2 -33 -7 -85 -10 -115 -2 -30 -7 -86 -10 -125 -3
26
- -38 -7 -92 -10 -120 -3 -27 -7 -84 -10 -125 -20 -286 -26 -373 -35 -512 -5
27
- -86 -11 -190 -14 -230 -3 -40 -8 -127 -11 -193 -3 -66 -10 -219 -16 -340 -20
28
- -390 6 -1130 52 -1530 6 -49 12 -107 15 -127 2 -21 9 -68 15 -105 6 -38 12
29
- -79 14 -93 3 -31 32 -192 44 -245 111 -505 245 -828 465 -1115 27 -36 56 -72
30
- 65 -81 9 -8 32 -34 51 -58 61 -75 230 -220 345 -297 333 -222 693 -309 1115
31
- -270 217 21 480 98 697 206 120 59 284 160 348 212 229 190 372 331 457 451
32
- 12 18 30 41 40 51 10 11 18 23 18 27 0 4 6 14 13 21 62 66 217 356 300 563
33
- 157 394 304 1011 333 1401 20 271 -119 446 -361 453 -165 5 -295 -61 -373
34
- -191 -17 -30 -52 -107 -77 -171 -109 -290 -191 -439 -303 -553 -85 -88 -95
35
- -96 -167 -140 -229 -138 -516 -160 -774 -57 -70 28 -167 83 -216 123 -47 39
36
- -148 142 -175 178 -14 18 -33 43 -43 54 -33 40 -126 243 -156 343 -59 191 -96
37
- 423 -109 670 -18 350 -2 1241 33 1805 15 249 36 562 40 615 3 33 7 85 10 115
38
- 39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
39
- 7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
40
- 17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
41
- -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ih(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:l.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const cn=Ce(oh,[["render",ih]]),ch={install(t){t.component("PiLogo",cn)}},OU="",PU="",dh={name:"FliVygSummary",components:{Editor:Ro},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,l;return(l=(s=this.reportData)==null?void 0:s.weather)!=null&&l.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(t).utc().format("MMMM D, HHmm[Z]"):s?K(t).utc().format(s):K(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} ${r}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),l=this.computedTime(t.departure.utcTime,"summary"),r=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),n=this.computedTime(t.arrival.utcTime,"summary"),y=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:l,fullTime1:r,port2:a,time2:n,fullTime2:y}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return s=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):s=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${t.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${t.timeGain} hrs`),l}},computedFuleConclusion(){return function(t,s){let l=t.conclusionStatus,r={conclusion:"",className:"",cons:""};return l==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):l==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${t.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${t.saving} mt`),r}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let l=t==null?void 0:t.windScale,r="",a=0;return t!=null&&t.waveSwitch?(r+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,a++):t!=null&&t.swellSwitch?(r+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,a++):t!=null&&t.sigSwitch&&(r+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${l} or less${r}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,l){let r="";if(t==="No")return r=l?"bg-color-normal":"color-normal",r;switch(s){case"time":t==="Lost"?r="color-fail":r="color-success";break;case"fuel":t==="Over"?r="color-fail":r="color-success";break;case"pfm":t==="Under"?r="color-fail":r="color-success";break}return l&&(r="bg-"+r),r}},computedAbt4Spd(){return function(t){var s,l,r;return(s=t.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(t.extend.cp.speed*(((l=t==null?void 0:t.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(r=t==null?void 0:t.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(t,s){var l;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(l=(s=this.reportData)==null?void 0:s.segments)==null||l.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(i=>{let p={begin:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(r.seg)){t.push(r.seg);let i=Object.assign({},r.extend.cp);i.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,i.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let y=[];r.extend.segTimes.forEach(i=>{y.push(this.computedSeg(i))}),this.segDetail.push(y),this.goodDays.push(r.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},d=t=>(e.pushScopeId("data-v-d1bfb44b"),t=t(),e.popScopeId(),t),rh=d(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},yh={class:"item"},Eh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),xh={class:"content flex"},bh={class:"item"},gh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),Dh={class:"content flex"},kh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Rh={class:"item"},Gh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},uh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Yh={class:"content"},Zh={key:1,class:"item"},Qh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Jh={class:"content"},Kh={key:2,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),qh={class:"content"},Xh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},i1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),c1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),y1={class:"main-content"},E1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),x1={class:"main-content"},b1={key:0},g1={key:1},D1={class:"card"},k1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),I1={class:"card",style:{flex:"1.5"}},R1={class:"card-title"},G1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},u1={class:"card-segment"},Y1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Z1={class:"uppercase"},Q1={class:"card summary-card",style:{flex:"1"}},J1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},q1={key:1,class:"iconfont error"},X1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},i_={class:"card summary-card",style:{flex:"1"}},c_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},y_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),E_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},x_={class:"uppercase"},b_={class:"item"},g_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),D_={key:0,class:"remark-detail"},k_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},R_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),G_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),u_=d(()=>e.createElementVNode("span",null,"mt",-1)),Y_={class:"card-content"},Z_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),Q_=d(()=>e.createElementVNode("span",null,"mt",-1)),J_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),q_={class:"card-content"},X_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),ey=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),ty={class:"card phase-card",style:{flex:"1"}},oy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),ly={class:"main-content"},ay=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),ny={class:"main-content"},sy={class:"card-content"},iy=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"mt",-1)),dy={class:"card-content"},ry=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),my=d(()=>e.createElementVNode("span",null,"mt",-1)),py={class:"card-content"},hy=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_y=d(()=>e.createElementVNode("span",null,"mt",-1)),yy={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),Ny=d(()=>e.createElementVNode("span",null,"mt",-1)),Vy=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fy={class:"phase-analysis"},xy={class:"card phase-card",style:{flex:"1"}},by=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),gy={class:"main-content"},Dy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),ky={class:"main-content"},Cy={class:"card-content"},Sy=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),By=d(()=>e.createElementVNode("span",null,"nm",-1)),wy={class:"card-content"},Ay=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),Ty=d(()=>e.createElementVNode("span",null,"nm",-1)),Fy={class:"card-content"},Oy=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),Py=d(()=>e.createElementVNode("span",null,"nm",-1)),Ly={class:"card-content"},Wy=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$y=d(()=>e.createElementVNode("span",null,"nm",-1)),Hy={class:"card phase-card",style:{flex:"1"}},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),Iy={class:"main-content"},Ry=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),Gy={class:"main-content"},zy={class:"card-content"},Uy=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"hrs",-1)),Yy={class:"card-content"},Zy=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),Qy=d(()=>e.createElementVNode("span",null,"hrs",-1)),Jy={class:"card-content"},Ky=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jy=d(()=>e.createElementVNode("span",null,"hrs",-1)),qy={class:"card-content"},Xy=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vy=d(()=>e.createElementVNode("span",null,"hrs",-1)),eE={class:"card phase-card",style:{flex:"1"}},tE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oE={class:"main-content"},lE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),aE={class:"main-content"},nE={class:"card-content"},sE=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"kts",-1)),cE={class:"card-content"},dE=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),rE=d(()=>e.createElementVNode("span",null,"kts",-1)),mE={class:"card-content"},pE=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hE=d(()=>e.createElementVNode("span",null,"kts",-1)),_E={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),EE=d(()=>e.createElementVNode("span",null,"kts",-1)),NE={class:"phase-analysis"},VE={class:"card phase-card",style:{flex:"1"}},fE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),xE={class:"main-content"},bE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),gE={class:"main-content"},DE={class:"card-content"},kE=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),CE=d(()=>e.createElementVNode("span",null,"mt",-1)),SE={class:"card-content"},BE=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wE=d(()=>e.createElementVNode("span",null,"mt",-1)),AE={class:"card-content"},TE=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),FE=d(()=>e.createElementVNode("span",null,"mt",-1)),OE={class:"card-content"},PE=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),LE=d(()=>e.createElementVNode("span",null,"mt",-1)),WE={class:"card phase-card",style:{flex:"1"}},$E=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),HE={class:"main-content"},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),IE={class:"main-content"},RE={class:"card-content"},GE=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zE=d(()=>e.createElementVNode("span",null,"mt",-1)),UE={class:"card-content"},uE=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"mt",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"mt",-1)),KE={class:"card-content"},jE=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),qE=d(()=>e.createElementVNode("span",null,"mt",-1)),XE={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},iN={class:"card",style:{flex:"1"}},cN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},yN={key:0},EN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},xN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gN={style:{width:"10%"}},DN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),kN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),RN={class:"phase-card"},GN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},uN={key:0,class:"iconfont success"},YN={key:1,class:"iconfont error"},ZN={key:1,class:"main-content"},QN={class:"nogwd"},JN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},qN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),iV={class:"equation"},cV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yV=d(()=>e.createElementVNode("div",null,"24",-1)),EV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},xV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),bV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gV={style:{width:"8%"}},DV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},RV={key:0},GV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uV={style:{width:"8%"}},YV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),QV={style:{width:"120px"}},JV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={style:{width:"10%"}},qV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),XV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},yf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bf={style:{width:"10%"}},gf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Df=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),kf={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Gf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),uf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Yf={style:{width:"50%"},class:"fraction"},Zf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Qf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Jf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=d(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},qf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),Xf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),i0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),c0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),x0={style:{width:"25%"},class:"fraction"},b0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),B0=d(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function w0(t,s,l,r,a,n){var y,i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",yh,[Eh,e.createElementVNode("div",Nh,e.toDisplayString((p=l.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",xh,e.toDisplayString((g=(x=l.reportData)==null?void 0:x.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",bh,[gh,e.createElementVNode("div",Dh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",kh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((E=(h=l.reportData)==null?void 0:h.departure)==null?void 0:E.portName)||n.computedLngLat((b=(k=l.reportData)==null?void 0:k.departure)==null?void 0:b.lat,(D=(C=l.reportData)==null?void 0:C.departure)==null?void 0:D.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=l.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=l.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(R=(I=l.reportData)==null?void 0:I.arrival)==null?void 0:R.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(G=l.reportData)==null?void 0:G.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=l.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=l.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Rh,[Gh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=l.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=l.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[uh,e.createElementVNode("div",Yh,e.toDisplayString(((ne=(J=l.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(o=(se=l.reportData)==null?void 0:se.weather)!=null&&o.swellSwitch?(e.openBlock(),e.createElementBlock("div",Zh,[Qh,e.createElementVNode("div",Jh,e.toDisplayString(((v=(j=l.reportData)==null?void 0:j.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=l.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",Kh,[jh,e.createElementVNode("div",qh,e.toDisplayString(((le=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(re=(ie=l.reportData)==null?void 0:ie.weather)!=null&&re.waveSwitch||(ye=(me=l.reportData)==null?void 0:me.weather)!=null&&ye.swellHeight||(he=(q=l.reportData)==null?void 0:q.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Xh,[vh,e.createElementVNode("div",e1,e.toDisplayString((Ne=(Ee=l.reportData)==null?void 0:Ee.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(fe=(Ve=l.reportData)==null?void 0:Ve.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(be=(xe=l.reportData)==null?void 0:xe.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[i1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),c1,e.createElementVNode("div",d1,[((De=(ge=l.reportData)==null?void 0:ge.segments)==null?void 0:De.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",y1,[(Ae=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&Ae.avgSpd?(e.openBlock(),e.createElementBlock("div",E1,e.toDisplayString((Fe=(Te=l.reportData)==null?void 0:Te.goodWx)==null?void 0:Fe.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",x1,[(Pe=(Oe=l.reportData)==null?void 0:Oe.goodWx)!=null&&Pe.avgSpd?(e.openBlock(),e.createElementBlock("div",b1,e.toDisplayString((We=(Le=l.reportData)==null?void 0:Le.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",D1,[k1,e.createElementVNode("div",C1,[(pe=($e=l.reportData)==null?void 0:$e.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Je=(Qe=l.reportData)==null?void 0:Qe.goodWx)==null?void 0:Je.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(Ke=l.reportData)==null?void 0:Ke.allWx)==null?void 0:A.avgSpd)+" kts ",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ie=(Se=l.reportData)==null?void 0:Se.allWx)==null?void 0:Ie.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((qe=(je=l.reportData)==null?void 0:je.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt ",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Xe=l.reportData)==null?void 0:Xe.segments,(m,$)=>{var Be,He,Re;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:$},[e.createElementVNode("div",I1,[e.createElementVNode("div",R1,[G1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(ce,ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ze,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port1),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port2),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time2),1)])],2))),128)),e.createElementVNode("div",u1,[Y1,e.createElementVNode("div",null,[e.createElementVNode("span",Z1,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",Q1,[J1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",q1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",X1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[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",e_,[t_,(He=m.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[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",i_,[c_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[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",__,[y_,e.createElementVNode("div",E_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=l.reportData)==null?void 0:ve.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:$},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",x_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",b_,[g_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",D_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",k_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=l.reportData)==null?void 0:et.segments,(m,$)=>{var Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:$},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(nt,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port1),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port2),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,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)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),R_,e.createElementVNode("div",G_,[e.createElementVNode("span",null,e.toDisplayString(((He=m.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),u_])]),e.createElementVNode("div",Y_,[Z_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ce=m.goodWx)==null?void 0:ce.inEca.avgFoEcaCons)||"-"),1),Q_])]),e.createElementVNode("div",J_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.allWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",q_,[X_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),v_])]),ey]),e.createElementVNode("div",ty,[oy,e.createElementVNode("div",ly,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),ay,e.createElementVNode("div",ny,[e.createElementVNode("span",null,e.toDisplayString(((ct=m.allWx)==null?void 0:ct.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sy,[iy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=m.goodWx)==null?void 0:dt.outEca.avgDgoCons)||"-"),1),cy])]),e.createElementVNode("div",dy,[ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.inEca.avgDgoEcaCons)||"-"),1),my])]),e.createElementVNode("div",py,[hy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.allWx)==null?void 0:mt.outEca.avgDgoCons)||"-"),1),_y])]),e.createElementVNode("div",yy,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),Ny])]),Vy])]),e.createElementVNode("div",fy,[e.createElementVNode("div",xy,[by,e.createElementVNode("div",gy,[e.createElementVNode("span",null,e.toDisplayString(((_t=m.goodWx)==null?void 0:_t.distance)||"-")+" nm",1)]),Dy,e.createElementVNode("div",ky,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",Cy,[Sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),By])]),e.createElementVNode("div",wy,[Ay,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),Ty])]),e.createElementVNode("div",Fy,[Oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),Py])]),e.createElementVNode("div",Ly,[Wy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.inEca.distance)||"-"),1),$y])])]),e.createElementVNode("div",Hy,[My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.goodWx)==null?void 0:xt.time)||"-")+" hrs",1)]),Ry,e.createElementVNode("div",Gy,[e.createElementVNode("span",null,e.toDisplayString(((bt=m.allWx)==null?void 0:bt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zy,[Uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.outEca.time)||"-"),1),uy])]),e.createElementVNode("div",Yy,[Zy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),Qy])]),e.createElementVNode("div",Jy,[Ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.allWx)==null?void 0:kt.outEca.time)||"-"),1),jy])]),e.createElementVNode("div",qy,[Xy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.inEca.time)||"-"),1),vy])])]),e.createElementVNode("div",eE,[tE,e.createElementVNode("div",oE,[e.createElementVNode("span",null,e.toDisplayString(((St=m.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),lE,e.createElementVNode("div",aE,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",nE,[sE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=m.goodWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),iE])]),e.createElementVNode("div",cE,[dE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),rE])]),e.createElementVNode("div",mE,[pE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),hE])]),e.createElementVNode("div",_E,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.inEca.avgSpd)||"-"),1),EE])])])]),e.createElementVNode("div",NE,[e.createElementVNode("div",VE,[fE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Ot=m.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),bE,e.createElementVNode("div",gE,[e.createElementVNode("span",null,e.toDisplayString(((io=m.allWx)==null?void 0:io.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",DE,[kE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.outEca.sumFoCons)||"-"),1),CE])]),e.createElementVNode("div",SE,[BE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),wE])]),e.createElementVNode("div",AE,[TE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.allWx)==null?void 0:mo.outEca.sumFoCons)||"-"),1),FE])]),e.createElementVNode("div",OE,[PE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.inEca.sumFoCons)||"-"),1),LE])])]),e.createElementVNode("div",WE,[$E,e.createElementVNode("div",HE,[e.createElementVNode("span",null,e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.sumDgoCons)||"-")+" mt",1)]),ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.allWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",RE,[GE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.outEca.sumDgoCons)||"-"),1),zE])]),e.createElementVNode("div",UE,[uE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.goodWx)==null?void 0:Eo.inEca.sumDgoCons)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.outEca.sumDgoCons)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),qE])])]),e.createElementVNode("div",XE,[vE,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.goodWx)==null?void 0:Me.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(lt=m.goodWx)!=null&&lt.distance&&!((pt=(at=l.reportData)==null?void 0:at.weather)!=null&&pt.favorableCur&&((Pt=m.goodWx)==null?void 0:Pt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Lt=m.goodWx)==null?void 0:Lt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",iN,[cN,(Wt=m.goodWx)!=null&&Wt.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=m.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(Ht=m.goodWx)!=null&&Ht.distance?(e.openBlock(),e.createElementBlock("div",yN,[e.createElementVNode("div",EN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((It=(Mt=l.reportData)==null?void 0:Mt.weather)!=null&&It.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(Gt=m.allWx)==null?void 0:Gt.distance),1),xN,e.createElementVNode("div",null,e.toDisplayString((zt=m.goodWx)==null?void 0:zt.pfmSpd),1)]),bN,e.createElementVNode("div",gN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),DN]),e.createElementVNode("div",kN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=l.reportData)==null?void 0:Ut.weather)!=null&&ut.noExtrapolation?(Yt=m.goodWx)==null?void 0:Yt.distance:(Zt=m.allWx)==null?void 0:Zt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.reportData)==null?void 0:Qt.weather)!=null&&Jt.noExtrapolation?(Kt=m.goodWx)==null?void 0:Kt.distance:(jt=m.allWx)==null?void 0:jt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",RN,[e.createElementVNode("div",GN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",uN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",ZN,[e.createElementVNode("span",QN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",JN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Xt=m.goodWx)!=null&&Xt.distance?"":"analysis-none"} card analysis-card`)},[(vt=m.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",jN,[qN,XN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=l.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=m.goodWx)==null?void 0:oo.distance:(Vo=m.allWx)==null?void 0:Vo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((fo=m.goodWx)==null?void 0:fo.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((xo=m.goodWx)==null?void 0:xo.sumFoCons)+" "+e.toDisplayString(((bo=m.allWx)==null?void 0:bo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((go=m.goodWx)==null?void 0:go.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",iV,[cV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((ko=(Do=l.reportData)==null?void 0:Do.weather)!=null&&ko.noExtrapolation?(Co=m.goodWx)==null?void 0:Co.distance:(So=m.allWx)==null?void 0:So.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,yV]),EV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[xV,bV,e.createElementVNode("div",gV,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=l.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(Ao=m.goodWx)==null?void 0:Ao.distance:(To=m.allWx)==null?void 0:To.distance),1),DV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),kV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((Oo=(Fo=m==null?void 0:m.extend)==null?void 0:Fo.cp)==null?void 0:Oo.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lo=m.goodWx)!=null&&Lo.distance?"":"analysis-none"} card analysis-card`)},[(Wo=m.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",RV,[e.createElementVNode("div",GV,[zV,UV,e.createElementVNode("div",uV,[e.createElementVNode("div",null,e.toDisplayString((Ho=($o=l.reportData)==null?void 0:$o.weather)!=null&&Ho.noExtrapolation?(Mo=m.goodWx)==null?void 0:Mo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),YV,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),ZV,e.createElementVNode("div",QV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),JV,e.createElementVNode("div",null,e.toDisplayString((uo=m.goodWx)==null?void 0:uo.time),1)]),KV,e.createElementVNode("div",jV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),qV]),e.createElementVNode("div",XV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.reportData)==null?void 0:Yo.weather)!=null&&Zo.noExtrapolation?(Qo=m.goodWx)==null?void 0:Qo.distance:(Jo=m.allWx)==null?void 0:Jo.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=l.reportData)==null?void 0:Ko.weather)!=null&&jo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(Xo=m.allWx)==null?void 0:Xo.distance),1),yf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Ef,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),xf,e.createElementVNode("div",bf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),gf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),Df,e.createElementVNode("div",kf,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Rf]),Gf]),e.createElementVNode("div",zf,[Uf,uf,e.createElementVNode("div",Yf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=l.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Zf,Qf]),Jf]),Kf])]),e.createElementVNode("div",jf,[qf,e.createElementVNode("div",Xf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=l.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,i0]),e.createElementVNode("div",c0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=l.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,y0,E0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",x0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),b0,g0]),D0,k0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-d1bfb44b"]]),MU="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,l,r){var y;let a="";const n=((y=this.summaryTable)==null?void 0:y.length)-1;return l&&s!==n&&(a=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!r&&(a=a+" good-weather"),(t==null?void 0:t.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(t,s){var r,a;const l=((r=this.summaryTable)==null?void 0:r.length)-1;if(l>-1){if(t.isFirstSeg&&s!==l)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):K(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ae.LngLatHelper.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var r,a,n,y;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let t=[];(y=(n=this.reportData)==null?void 0:n.segments)==null||y.forEach((i,p)=>{let x=i.extend.cp;i.inventory.sample.hours.forEach((g,h)=>{let E=JSON.parse(JSON.stringify(g));E.cp=x,t.push(E)})}),t.sort(function(i,p){let x=i.date,g=p.date;return x-g});let s="",l="";t.forEach((i,p)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let x=i.type.charAt(0);i.abbreviation=x;const g=K(i.utc).utc().format("D-MMM");g!==l&&(i.lastdate=g,l=g),x==="A"?i.type="":x==="M"&&(i.type="*"),i.time=K(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},tn=t=>(e.pushScopeId("data-v-0a0050fb"),t=t(),e.popScopeId(),t),F0=tn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={class:"table",id:"second-table"},P0={class:"summary-table"},L0=tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"},"   Date   "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-0a0050fb><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg gwd" data-v-0a0050fb></div></div> Good Weather Days </div><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg adverse" data-v-0a0050fb></div></div> Adverse Weather Days </div><div class="item" data-v-0a0050fb><div class="legend" data-v-0a0050fb><div class="legend-bg excluded" data-v-0a0050fb></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=tn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],R0=e.createStaticVNode('<div class="legend-block" data-v-0a0050fb><div style="position:relative;left:-20px;" data-v-0a0050fb><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-0a0050fb><div data-v-0a0050fb>7</div><br data-v-0a0050fb><div data-v-0a0050fb>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-0a0050fb></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-0a0050fb> LEGEND: <br data-v-0a0050fb> Wind from NE(045) <br data-v-0a0050fb> Each barb = 10 kts <br data-v-0a0050fb> 1/2 barb = 5 kts <br data-v-0a0050fb></div></div><div style="transform:scale(0.95);" data-v-0a0050fb> 7 - DAY OF THE MONTH <br data-v-0a0050fb> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-0a0050fb><div class="goodWx" data-v-0a0050fb>Date</div> Good weather days<br data-v-0a0050fb></div></div>',1);function G0(t,s,l,r,a,n){var y,i,p,x,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly||(x=(p=l.reportData)==null?void 0:p.weather)!=null&&x.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,E)=>{var k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,E))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString((k=h.noon)==null?void 0:k.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(b=h.cp)==null?void 0:b.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((D=(C=h.meteo)==null?void 0:C.wind)==null?void 0:D.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((O=(V=(w=h.meteo)==null?void 0:w.wave)==null?void 0:V.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((G=(R=(I=h.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(g=l.reportData)==null?void 0:g.chartUrl,alt:""},null,8,I0),R0])],2)}const z0=Ce(T0,[["render",G0],["__scopeId","data-v-0a0050fb"]]),IU="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},u0={class:"voyage-report"};function Y0(t,s,l,r,a,n){const y=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",u0,[e.createVNode(y,{reportData:a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:n.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:l.isAdmin,reportData:a.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const dn=Ce(U0,[["render",Y0],["__scopeId","data-v-7345a543"]]),RU="",Z0={name:"OrmVoyageSummary",components:{Lng:Ja,Lat:Ka,Editor:Ro},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let l=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(l+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(l+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(l+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?l+=" Wx Factor is ignored.":t.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,l){return l==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((l,r)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const y={time:K(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+K(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(y)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},c=t=>(e.pushScopeId("data-v-f1b0225f"),t=t(),e.popScopeId(),t),Q0={class:"report-summary"},J0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},q0=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),X0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},i2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),c2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},y2={key:1,class:"flex-end",style:{flex:"1"}},E2=c(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=c(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),x2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},b2={class:"section weather-section"},g2=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),D2={class:"definition"},k2={class:"txt"},C2={class:"section summary-section"},S2=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=c(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=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)),R2={class:"flex-space"},G2=c(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),u2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Y2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Z2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Q2=c(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),J2=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},q2=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),X2={class:"value flex-start"},v2=c(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),ex={key:0,class:"label flex-end"},tx={key:0},ox={key:1},lx={key:2},ax={key:1,class:"label flex-end"},nx={key:2,class:"value flex-end"},sx={key:0},ix=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),cx={class:"gain"},dx=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rx={key:1},mx=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),px={class:"lost"},hx=c(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_x={key:2},yx={class:"item-conclusion"},Ex=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nx={class:"value flex-start"},Vx=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fx={key:0,class:"label flex-end"},xx={key:0},bx={key:1},gx={key:2},Dx={key:1,class:"label flex-end"},kx={key:2,class:"value flex-end"},Cx={key:0},Sx=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bx={class:"gain"},wx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ax={key:1},Tx=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fx={class:"lost"},Ox=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Px={key:2},Lx={class:"item-conclusion"},Wx=c(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$x={class:"value flex-start"},Hx=c(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mx={key:0,class:"label flex-end"},Ix={key:0},Rx={key:1},Gx={key:2},zx={key:1,class:"label flex-end"},Ux={key:2,class:"value flex-end"},ux={key:0},Yx=c(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Zx={class:"gain"},Qx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Jx={key:1},Kx=c(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jx={class:"lost"},qx=c(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Xx={key:2},vx=c(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),eb=c(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tb={key:0,class:"exclusion-block"},ob=c(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lb=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)),ab={style:{margin:"8px 0"}},nb={class:"remark-table"},sb=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)),ib=["innerHTML"],cb={class:"section segment-section"},db=c(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rb={class:"segment-index flex-center"},mb={class:"segment-position"},pb={key:0},hb={key:1},_b=c(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),yb={class:"segment-position"},Eb={key:0},Nb={key:1},Vb=c(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fb={style:{margin:"10px 0 0"}},xb=c(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),bb=c(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),gb=c(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Db={class:"good-wx"},kb={class:"good-wx"},Cb=c(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sb={class:"good-wx"},Bb={class:"good-wx"},wb=c(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ab={class:"good-wx"},Tb={class:"good-wx"},Fb=c(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Ob={class:"good-wx"},Pb={class:"good-wx"},Lb=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wb={class:"good-wx"},$b={class:"good-wx"},Hb=c(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mb={class:"good-wx"},Ib={class:"good-wx"},Rb=c(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Gb={class:"good-wx"},zb={class:"good-wx"},Ub={key:0,class:"flex-end tip"},ub={key:1,class:"segment-speed"},Yb={class:"flex-center"},Zb=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qb={class:"speed-right flex-space"},Jb=c(()=>e.createElementVNode("span",null,"-",-1)),Kb=c(()=>e.createElementVNode("label",null,"=",-1)),jb={class:"speed"},qb={key:1,class:"speed"},Xb={key:0,class:"speed"},vb=c(()=>e.createElementVNode("span",null,"-",-1)),eg=c(()=>e.createElementVNode("label",null,"=",-1)),tg={class:"speed"},og=c(()=>e.createElementVNode("span",null,"-",-1)),lg=c(()=>e.createElementVNode("label",null,"=",-1)),ag={class:"speed"},ng=c(()=>e.createElementVNode("span",null,"-",-1)),sg=c(()=>e.createElementVNode("span",null,"-",-1)),ig=c(()=>e.createElementVNode("label",null,"=",-1)),cg={class:"speed"},dg={key:2,class:"under"},rg={key:3,class:"over"},mg={class:"flex-center"},pg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hg={class:"speed-right formula flex-space"},_g=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),yg=c(()=>e.createElementVNode("label",null,"-",-1)),Eg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ng=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vg=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fg={key:0},xg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),bg=c(()=>e.createElementVNode("label",null,"-",-1)),gg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Dg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kg=c(()=>e.createElementVNode("label",null,"-",-1)),Cg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sg=c(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bg=c(()=>e.createElementVNode("label",null,"-",-1)),wg=c(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ag=c(()=>e.createElementVNode("label",null,"-",-1)),Tg=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fg={key:2,class:"segment-speed"},Og={class:"flex-center"},Pg=c(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lg={class:"speed-right flex-space"},Wg=c(()=>e.createElementVNode("span",null,"-",-1)),$g=c(()=>e.createElementVNode("span",null,"-",-1)),Hg=c(()=>e.createElementVNode("label",null,"=",-1)),Mg={class:"speed"},Ig=c(()=>e.createElementVNode("span",null,"-",-1)),Rg=c(()=>e.createElementVNode("label",null,"=",-1)),Gg={class:"speed"},zg={key:2,class:"under"},Ug={key:3,class:"over"},ug={class:"flex-center"},Yg=c(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Zg={class:"speed-right formula flex-space"},Qg=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),Jg=c(()=>e.createElementVNode("label",null,"-",-1)),Kg=c(()=>e.createElementVNode("label",null,"Current Factor",-1)),jg=c(()=>e.createElementVNode("label",null,"-",-1)),qg=c(()=>e.createElementVNode("label",null,"Weather Factor",-1)),Xg=c(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vg=c(()=>e.createElementVNode("label",null,"-",-1)),eD=c(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tD=c(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),oD=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lD={class:"segment-formula"},aD={class:"header-block flex-start"},nD=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sD={class:"title"},iD={key:0,style:{"margin-left":"4px","font-weight":"300"}},cD={class:"formula-block"},dD={class:"flex-evenly"},rD=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)),mD={class:"formula-right flex-evenly"},pD={class:"fraction",style:{width:"240px"}},hD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),_D=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),yD=c(()=>e.createElementVNode("div",null,"(a)",-1)),ED={class:"flex-center"},ND={class:"formula-left flex-space"},VD=c(()=>e.createElementVNode("label",null,"=",-1)),fD={class:"formula-right flex-evenly"},xD={class:"fraction",style:{width:"240px"}},bD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),gD=c(()=>e.createElementVNode("div",null,"(b)",-1)),DD={class:"flex-center"},kD={class:"formula-left flex-space"},CD=c(()=>e.createElementVNode("label",null,"=",-1)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"240px"}},wD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),AD=c(()=>e.createElementVNode("div",null,"(c)",-1)),TD=e.createStaticVNode('<div class="flex-start" data-v-f1b0225f><div class="flex-space" style="width:300px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Time Lost</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(a)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Time Gained</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(c)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(a)</div></div></div>',1),FD={class:"formula-desc"},OD={class:"flex-end"},PD=c(()=>e.createElementVNode("label",null,"Time Lost",-1)),LD={class:"flex-end"},WD=c(()=>e.createElementVNode("label",null,"Time Gained",-1)),$D={class:"flex-end"},HD=c(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),MD={key:0,class:"formula-block",style:{"font-weight":"400"}},ID={class:"flex-evenly"},RD=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)),GD={class:"formula-right flex-evenly"},zD={class:"fraction",style:{width:"240px"}},UD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),uD=c(()=>e.createElementVNode("div",null,"=",-1)),YD=c(()=>e.createElementVNode("div",null,"(a')",-1)),ZD={class:"flex-center"},QD={class:"formula-left flex-space"},JD=c(()=>e.createElementVNode("label",null,"=",-1)),KD={class:"formula-right flex-evenly"},jD={class:"fraction",style:{width:"240px"}},qD=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),XD=c(()=>e.createElementVNode("div",null,"=",-1)),vD=c(()=>e.createElementVNode("div",null,"(b')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=c(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=c(()=>e.createElementVNode("div",null,"=",-1)),i3=c(()=>e.createElementVNode("div",null,"(c')",-1)),c3={class:"formula-conclusion",style:{"margin-bottom":"0"}},d3={key:0,class:"flex-evenly",style:{width:"500px"}},r3=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),m3=c(()=>e.createElementVNode("div",null,"=",-1)),p3=c(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),h3=c(()=>e.createElementVNode("div",null,"=",-1)),_3=c(()=>e.createElementVNode("div",null,"-",-1)),y3=c(()=>e.createElementVNode("div",null,"=",-1)),E3={key:1,class:"flex-evenly",style:{width:"500px"}},N3=c(()=>e.createElementVNode("div",null,"Time Lost",-1)),V3=c(()=>e.createElementVNode("div",null,"=",-1)),f3=c(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),x3=c(()=>e.createElementVNode("div",null,"=",-1)),b3=c(()=>e.createElementVNode("div",null,"-",-1)),g3=c(()=>e.createElementVNode("div",null,"=",-1)),D3=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),k3={key:1,class:"formula-conclusion"},C3=c(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),S3={class:"segment-formula"},B3={class:"header-block flex-start"},w3=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),A3={class:"title"},T3={key:0,style:{"margin-left":"4px","font-weight":"300"}},F3={class:"formula-block"},O3={class:"flex-evenly"},P3=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)),L3={class:"formula-right flex-evenly"},W3={class:"fraction",style:{width:"240px"}},$3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),H3=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M3=c(()=>e.createElementVNode("div",null,"x",-1)),I3=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)),R3=c(()=>e.createElementVNode("div",null,"(d)",-1)),G3={style:{"line-height":"1"}},z3=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)),U3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},u3={class:"flex-center"},Y3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Z3={class:"formula-right flex-evenly"},Q3={class:"fraction",style:{width:"240px"}},J3=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),K3=c(()=>e.createElementVNode("div",null,"x",-1)),j3=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)),q3=c(()=>e.createElementVNode("div",null,"(e)",-1)),X3={class:"flex-center"},v3=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),ek={class:"formula-right flex-evenly"},tk={class:"fraction",style:{width:"240px"}},ok=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),lk=c(()=>e.createElementVNode("div",null,"x",-1)),ak=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)),nk=c(()=>e.createElementVNode("div",null,"(f)",-1)),sk=e.createStaticVNode('<div class="flex-start" data-v-f1b0225f><div class="flex-space" style="width:300px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Fuel Over-consumption</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(d)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-f1b0225f><label data-v-f1b0225f>Fuel Saving</label><div data-v-f1b0225f>=</div><div data-v-f1b0225f>(f)</div><div data-v-f1b0225f>-</div><div data-v-f1b0225f>(d)</div></div></div>',1),ik={class:"flex-center"},ck=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dk={class:"formula-right flex-evenly"},rk={class:"fraction",style:{width:"270px"}},mk=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),hk={class:"flex-center"},_k=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),yk={class:"formula-right flex-evenly"},Ek={class:"fraction",style:{width:"270px"}},Nk=c(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Vk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),fk=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)),xk={class:"header-block flex-start",style:{"margin-top":"10px"}},bk=c(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),gk={class:"title"},Dk={key:0,class:"formula-block"},kk={key:0,class:"flex-evenly"},Ck=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)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"60px"}},wk=c(()=>e.createElementVNode("div",null,"-",-1)),Ak={class:"fraction",style:{width:"60px"}},Tk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Fk=c(()=>e.createElementVNode("div",null,"24",-1)),Ok=c(()=>e.createElementVNode("div",null,"*",-1)),Pk=c(()=>e.createElementVNode("div",null,"=",-1)),Lk={class:"flex-evenly"},Wk=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)),$k={class:"formula-right flex-evenly"},Hk={class:"fraction",style:{width:"240px"}},Mk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ik=c(()=>e.createElementVNode("div",null,"x",-1)),Rk={class:"fraction",style:{width:"240px"}},Gk={key:0},zk=c(()=>e.createElementVNode("span",null," + ",-1)),Uk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),uk=c(()=>e.createElementVNode("div",null,"=",-1)),Yk=c(()=>e.createElementVNode("div",null,"(d')",-1)),Zk={class:"flex-evenly"},Qk=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Jk={class:"formula-right flex-evenly"},Kk={class:"fraction",style:{width:"240px"}},jk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=c(()=>e.createElementVNode("div",null,"x",-1)),Xk={class:"fraction",style:{width:"240px"}},vk=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=c(()=>e.createElementVNode("div",null,"24",-1)),tC=c(()=>e.createElementVNode("div",null,"=",-1)),oC=c(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},iC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),cC=c(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=c(()=>e.createElementVNode("div",null,"24",-1)),pC=c(()=>e.createElementVNode("div",null,"=",-1)),hC=c(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},yC={class:"flex-evenly",style:{width:"500px"}},EC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=c(()=>e.createElementVNode("div",null,"=",-1)),VC=c(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=c(()=>e.createElementVNode("div",null,"=",-1)),xC=c(()=>e.createElementVNode("div",null,"-",-1)),bC=c(()=>e.createElementVNode("div",null,"=",-1)),gC={key:0,class:"flex-evenly"},DC=c(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),kC=c(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=c(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=c(()=>e.createElementVNode("div",null,"=",-1)),FC=c(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=c(()=>e.createElementVNode("div",null,"=",-1)),PC=c(()=>e.createElementVNode("div",null,"-",-1)),LC=c(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=c(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=c(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=c(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),RC=c(()=>e.createElementVNode("div",null,"=",-1)),GC=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},uC=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),YC={class:"title"},ZC={key:0,class:"formula-block"},QC={class:"flex-evenly"},JC=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)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},qC=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),XC=c(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=c(()=>e.createElementVNode("span",null," - ",-1)),oS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=c(()=>e.createElementVNode("div",null,"=",-1)),aS=c(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),iS={class:"formula-right flex-evenly"},cS={class:"fraction",style:{width:"240px"}},dS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=c(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=c(()=>e.createElementVNode("div",null,"24",-1)),_S=c(()=>e.createElementVNode("div",null,"=",-1)),yS=c(()=>e.createElementVNode("div",null,"(e'')",-1)),ES={class:"flex-evenly"},NS=c(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},xS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),bS=c(()=>e.createElementVNode("div",null,"x",-1)),gS={class:"fraction",style:{width:"240px"}},DS=c(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=c(()=>e.createElementVNode("div",null,"24",-1)),CS=c(()=>e.createElementVNode("div",null,"=",-1)),SS=c(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=c(()=>e.createElementVNode("div",null,"=",-1)),FS=c(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=c(()=>e.createElementVNode("div",null,"=",-1)),PS=c(()=>e.createElementVNode("div",null,"-",-1)),LS=c(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=c(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=c(()=>e.createElementVNode("div",null,"=",-1)),MS=c(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=c(()=>e.createElementVNode("div",null,"=",-1)),RS=c(()=>e.createElementVNode("div",null,"-",-1)),GS=c(()=>e.createElementVNode("div",null,"=",-1)),zS=c(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function uS(t,s,l,r,a,n){var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Q0,[e.createElementVNode("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[q0,e.createElementVNode("span",X0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((g=(x=l.report)==null?void 0:x.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((b=(k=l.report)==null?void 0:k.voyage)==null?void 0:b.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[i2,(D=(C=l.report)==null?void 0:C.departure)!=null&&D.portName?(e.openBlock(),e.createElementBlock("span",c2,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(y,{lat:(w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(i,{lng:(V=l.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=l.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(R=(I=l.report)==null?void 0:I.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",y2,[e.createVNode(y,{lat:(L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),E2,e.createVNode(i,{lng:(W=(H=l.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=l.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",x2,e.toDisplayString((U=(Q=l.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",b2,[g2,e.createElementVNode("div",D2,[e.createElementVNode("div",k2,e.toDisplayString(n.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=l.report)==null?void 0:J.segments,(o,j)=>{var v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,($,Be)=>{var He,Re,ce,ze,tt,ot,ct,dt,rt,mt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Be},[e.createElementVNode("div",A2,[(He=$==null?void 0:$.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((ce=$==null?void 0:$.departure)==null?void 0:ce.lat).pretty)+", "+e.toDisplayString(n.computeLng((ze=$==null?void 0:$.departure)==null?void 0:ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=$==null?void 0:$.departure)==null?void 0:tt.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(ot=$==null?void 0:$.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((ct=$==null?void 0:$.arrival)==null?void 0:ct.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((dt=$==null?void 0:$.arrival)==null?void 0:dt.lat).pretty)+", "+e.toDisplayString(n.computeLng((rt=$==null?void 0:$.arrival)==null?void 0:rt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((mt=$==null?void 0:$.arrival)==null?void 0:mt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",R2,[G2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=o==null?void 0:o.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(le=(oe=o==null?void 0:o.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(re=(ie=o==null?void 0:o.extend)==null?void 0:ie.cp)==null?void 0:re.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(me=o==null?void 0:o.extend)==null?void 0:me.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[u2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(q=o==null?void 0:o.extend)==null?void 0:q.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])])])])]),J2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[q2,e.createElementVNode("div",X2,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.time),1),v2]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ex,[((Ee=o==null?void 0:o.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tx," Time Gained ")):((Ne=o==null?void 0:o.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ox," Time Lost ")):(e.openBlock(),e.createElementBlock("div",lx,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ax,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nx,[((Ve=o==null?void 0:o.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sx,[ix,e.createElementVNode("span",cx,e.toDisplayString((fe=o==null?void 0:o.timeConclusion)==null?void 0:fe.timeGain),1),dx])):((xe=o==null?void 0:o.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rx,[mx,e.createElementVNode("span",px,e.toDisplayString((be=o==null?void 0:o.timeConclusion)==null?void 0:be.timeLost),1),hx])):(e.openBlock(),e.createElementBlock("div",_x,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yx,[Ex,e.createElementVNode("div",Nx,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumFoCons),1),Vx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fx,[((De=(ge=o==null?void 0:o.fuelConclusion)==null?void 0:ge.fo)==null?void 0:De.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",xx," FO Saving ")):((Ae=(ke=o==null?void 0:o.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",bx," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",gx,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Dx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",kx,[((Fe=(Te=o==null?void 0:o.fuelConclusion)==null?void 0:Te.fo)==null?void 0:Fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cx,[Sx,e.createElementVNode("span",Bx,e.toDisplayString((Pe=(Oe=o==null?void 0:o.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.saving),1),wx])):((We=(Le=o==null?void 0:o.fuelConclusion)==null?void 0:Le.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ax,[Tx,e.createElementVNode("span",Fx,e.toDisplayString((pe=($e=o==null?void 0:o.fuelConclusion)==null?void 0:$e.fo)==null?void 0:pe.overCons),1),Ox])):(e.openBlock(),e.createElementBlock("div",Px,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lx,[Wx,e.createElementVNode("div",$x,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumDgoCons),1),Hx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mx,[((Je=(Qe=o==null?void 0:o.fuelConclusion)==null?void 0:Qe.dgo)==null?void 0:Je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ix," DO/GO Saving ")):((A=(Ke=o==null?void 0:o.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Rx," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Gx,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ux,[((Ie=(Se=o==null?void 0:o.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ie.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ux,[Yx,e.createElementVNode("span",Zx,e.toDisplayString((qe=(je=o==null?void 0:o.fuelConclusion)==null?void 0:je.dgo)==null?void 0:qe.saving),1),Qx])):((ve=(Xe=o==null?void 0:o.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jx,[Kx,e.createElementVNode("span",jx,e.toDisplayString((m=(et=o==null?void 0:o.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),qx])):(e.openBlock(),e.createElementBlock("div",Xx,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vx]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eb,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tb,[ob,lb,e.createElementVNode("div",ab,[e.createElementVNode("table",nb,[sb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(o,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(o.time),1),e.createElementVNode("td",null,e.toDisplayString(o.duration),1),e.createElementVNode("td",null,e.toDisplayString(o.distance),1),e.createElementVNode("td",null,e.toDisplayString(o.fo),1),e.createElementVNode("td",null,e.toDisplayString(o.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=l.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=o=>a.remarks=o),class:"editor",height:"120px",onBlur:s[1]||(s[1]=o=>n.handleCommit(o))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...o)=>n.handleEdit&&n.handleEdit(...o)),innerHTML:a.remarks},null,40,ib))],2)],2),e.createElementVNode("div",cb,[db,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(o,j)=>{var v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Y,lo,Ma,Ia,Ra,Z,ao,Ga,za,Ua,Ye,ja,qa,Xa,va,st,wn,An,Tn,Fn,On,Pn,Ln,Wn,$n,Hn,Mn,In,Rn,Gn,zn,Un,un,Yn,Zn,Qn,Jn,Kn,jn,qn,Xn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,_s,ys,Es,Ns,Vs,fs,xs,bs,gs,Ds,ks,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Rs,Gs,zs,Us,us,Ys,Zs,Qs,Js,Ks,js,qs,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi,pi,hi,_i,yi,Ei,Ni,Vi,fi,xi,bi,gi,Di,ki,Ci;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",rb,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,(we,fU)=>{var Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:fU},[e.createElementVNode("div",mb,[(Si=we==null?void 0:we.departure)!=null&&Si.portName?(e.openBlock(),e.createElementBlock("span",pb,e.toDisplayString((Bi=we==null?void 0:we.departure)==null?void 0:Bi.portName),1)):(e.openBlock(),e.createElementBlock("span",hb,e.toDisplayString(n.computeLat((wi=we==null?void 0:we.departure)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ai=we==null?void 0:we.departure)==null?void 0:Ai.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Ti=we==null?void 0:we.departure)==null?void 0:Ti.utcTime))+")",1)]),_b,e.createElementVNode("div",yb,[(Fi=we==null?void 0:we.arrival)!=null&&Fi.portName?(e.openBlock(),e.createElementBlock("span",Eb,e.toDisplayString((Oi=we==null?void 0:we.arrival)==null?void 0:Oi.portName),1)):(e.openBlock(),e.createElementBlock("span",Nb,e.toDisplayString(n.computeLat((Pi=we==null?void 0:we.arrival)==null?void 0:Pi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Li=we==null?void 0:we.arrival)==null?void 0:Li.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wi=we==null?void 0:we.arrival)==null?void 0:Wi.utcTime))+")",1)])])}),128)),Vb,e.createElementVNode("div",fb,[e.createElementVNode("table",null,[xb,bb,e.createElementVNode("tr",null,[gb,e.createElementVNode("td",Db,e.toDisplayString((te=(ee=o==null?void 0:o.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",kb,e.toDisplayString((le=(oe=o==null?void 0:o.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(ie=o==null?void 0:o.allWx)==null?void 0:ie.outEca)==null?void 0:re.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(me=o==null?void 0:o.allWx)==null?void 0:me.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[Cb,e.createElementVNode("td",Sb,e.toDisplayString((he=(q=o==null?void 0:o.goodWx)==null?void 0:q.outEca)==null?void 0:he.time),1),e.createElementVNode("td",Bb,e.toDisplayString((Ne=(Ee=o==null?void 0:o.goodWx)==null?void 0:Ee.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=o==null?void 0:o.allWx)==null?void 0:Ve.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=o==null?void 0:o.allWx)==null?void 0:xe.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[wb,e.createElementVNode("td",Ab,e.toDisplayString(((De=(ge=o==null?void 0:o.goodWx)==null?void 0:ge.outEca)==null?void 0:De.avgSpd)||"--"),1),e.createElementVNode("td",Tb,e.toDisplayString(((Ae=(ke=o==null?void 0:o.goodWx)==null?void 0:ke.inEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(Te=o==null?void 0:o.allWx)==null?void 0:Te.outEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=o==null?void 0:o.allWx)==null?void 0:Oe.inEca)==null?void 0:Pe.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fb,e.createElementVNode("td",Ob,e.toDisplayString(((We=(Le=o==null?void 0:o.goodWx)==null?void 0:Le.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Pb,e.toDisplayString(((pe=($e=o==null?void 0:o.goodWx)==null?void 0:$e.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=o==null?void 0:o.allWx)==null?void 0:Qe.outEca)==null?void 0:Je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(Ke=o==null?void 0:o.allWx)==null?void 0:Ke.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lb,e.createElementVNode("td",Wb,e.toDisplayString(((Ie=(Se=o==null?void 0:o.goodWx)==null?void 0:Se.outEca)==null?void 0:Ie.avgFoCons)||"--"),1),e.createElementVNode("td",$b,e.toDisplayString(((qe=(je=o==null?void 0:o.goodWx)==null?void 0:je.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=o==null?void 0:o.allWx)==null?void 0:Xe.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=o==null?void 0:o.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hb,e.createElementVNode("td",Mb,e.toDisplayString(((Be=($=o==null?void 0:o.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ib,e.toDisplayString(((Re=(He=o==null?void 0:o.goodWx)==null?void 0:He.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(ce=o==null?void 0:o.allWx)==null?void 0:ce.outEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=o==null?void 0:o.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Rb,e.createElementVNode("td",Gb,e.toDisplayString(((dt=(ct=o==null?void 0:o.goodWx)==null?void 0:ct.outEca)==null?void 0:dt.avgDgoCons)||"--"),1),e.createElementVNode("td",zb,e.toDisplayString(((mt=(rt=o==null?void 0:o.goodWx)==null?void 0:rt.inEca)==null?void 0:mt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(ht=o==null?void 0:o.allWx)==null?void 0:ht.outEca)==null?void 0:_t.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(yt=o==null?void 0:o.allWx)==null?void 0:yt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(Nt=a.exclusion[j])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Ub," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=o==null?void 0:o.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",ub,[e.createElementVNode("div",Yb,[Zb,e.createElementVNode("div",Qb,[(xt=(ft=l.report)==null?void 0:ft.weather)!=null&&xt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ft=(Tt=l.report)==null?void 0:Tt.weather)!=null&&Ft.disableWxFactor&&((io=(Ot=l.report)==null?void 0:Ot.weather)!=null&&io.disableCFactor)?(e.openBlock(),e.createElementBlock("span",Xb,e.toDisplayString((co=o==null?void 0:o.goodWx)==null?void 0:co.pfmSpd)+" (kts)",1)):(mo=(ro=l.report)==null?void 0:ro.weather)!=null&&mo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((po=o==null?void 0:o.goodWx)==null?void 0:po.avgSpd),1),vb,e.createElementVNode("span",null,e.toDisplayString(((ho=o==null?void 0:o.goodWx)==null?void 0:ho.avgCf)>0?(_o=o==null?void 0:o.goodWx)==null?void 0:_o.avgCf:`(${(yo=o==null?void 0:o.goodWx)==null?void 0:yo.avgCf})`),1),eg,e.createElementVNode("span",tg,e.toDisplayString((Eo=o==null?void 0:o.goodWx)==null?void 0:Eo.pfmSpd)+" (kts)",1)],64)):(S=(No=l.report)==null?void 0:No.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Me=o==null?void 0:o.goodWx)==null?void 0:Me.avgSpd),1),og,e.createElementVNode("span",null,e.toDisplayString(((lt=o==null?void 0:o.goodWx)==null?void 0:lt.avgWf)>0?(at=o==null?void 0:o.goodWx)==null?void 0:at.avgWf:`(${(pt=o==null?void 0:o.goodWx)==null?void 0:pt.avgWf})`),1),lg,e.createElementVNode("span",ag,e.toDisplayString((Pt=o==null?void 0:o.goodWx)==null?void 0:Pt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Lt=o==null?void 0:o.goodWx)==null?void 0:Lt.avgSpd),1),ng,e.createElementVNode("span",null,e.toDisplayString(((Wt=o==null?void 0:o.goodWx)==null?void 0:Wt.avgWf)>0?($t=o==null?void 0:o.goodWx)==null?void 0:$t.avgWf:`(${(Ht=o==null?void 0:o.goodWx)==null?void 0:Ht.avgWf})`),1),sg,e.createElementVNode("span",null,e.toDisplayString(((Mt=o==null?void 0:o.goodWx)==null?void 0:Mt.avgCf)>0?(It=o==null?void 0:o.goodWx)==null?void 0:It.avgCf:`(${(Rt=o==null?void 0:o.goodWx)==null?void 0:Rt.avgCf})`),1),ig,e.createElementVNode("span",cg,e.toDisplayString((Gt=o==null?void 0:o.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(bt=l.report)==null?void 0:bt.weather)!=null&&gt.favorableCur&&((Dt=o==null?void 0:o.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",qb,e.toDisplayString((At=o==null?void 0:o.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((kt=o==null?void 0:o.goodWx)==null?void 0:kt.avgSpd),1),Jb,e.createElementVNode("span",null,e.toDisplayString(((Ct=o==null?void 0:o.goodWx)==null?void 0:Ct.avgCf)>0?(St=o==null?void 0:o.goodWx)==null?void 0:St.avgCf:`(${(Bt=o==null?void 0:o.goodWx)==null?void 0:Bt.avgCf})`),1),Kb,e.createElementVNode("span",jb,e.toDisplayString((wt=o==null?void 0:o.goodWx)==null?void 0:wt.pfmSpd)+" (kts)",1)],64))],64)),((zt=o==null?void 0:o.goodWx)==null?void 0:zt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dg,"(Under-performance)")):e.createCommentVNode("",!0),((Ut=o==null?void 0:o.goodWx)==null?void 0:Ut.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rg,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mg,[pg,e.createElementVNode("div",hg,[(Yt=(ut=l.report)==null?void 0:ut.weather)!=null&&Yt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(jt=(Kt=l.report)==null?void 0:Kt.weather)!=null&&jt.disableWxFactor&&((Xt=(qt=l.report)==null?void 0:qt.weather)!=null&&Xt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fg,"GW Average Speed")):(eo=(vt=l.report)==null?void 0:vt.weather)!=null&&eo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[xg,bg,gg],64)):(oo=(to=l.report)==null?void 0:to.weather)!=null&&oo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[Dg,kg,Cg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sg,Bg,wg,Ag,Tg],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Qt=(Zt=l.report)==null?void 0:Zt.weather)!=null&&Qt.favorableCur&&((Jt=o==null?void 0:o.goodWx)==null?void 0:Jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ng,Vg],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_g,yg,Eg],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fg,[e.createElementVNode("div",Og,[Pg,e.createElementVNode("div",Lg,[(fo=(Vo=l.report)==null?void 0:Vo.weather)!=null&&fo.favorableCur&&((xo=o==null?void 0:o.allWx)==null?void 0:xo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Ao=o==null?void 0:o.allWx)==null?void 0:Ao.avgSpd),1),Ig,e.createElementVNode("span",null,e.toDisplayString(((To=o==null?void 0:o.allWx)==null?void 0:To.avgWf)>0?(Fo=o==null?void 0:o.allWx)==null?void 0:Fo.avgWf:`(${(Oo=o==null?void 0:o.allWx)==null?void 0:Oo.avgWf})`),1),Rg,e.createElementVNode("span",Gg,e.toDisplayString((Po=o==null?void 0:o.allWx)==null?void 0:Po.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bo=o==null?void 0:o.allWx)==null?void 0:bo.avgSpd),1),Wg,e.createElementVNode("span",null,e.toDisplayString(((go=o==null?void 0:o.allWx)==null?void 0:go.avgCf)>0?(Do=o==null?void 0:o.allWx)==null?void 0:Do.avgCf:`(${(ko=o==null?void 0:o.allWx)==null?void 0:ko.avgCf})`),1),$g,e.createElementVNode("span",null,e.toDisplayString(((Co=o==null?void 0:o.allWx)==null?void 0:Co.avgWf)>0?(So=o==null?void 0:o.allWx)==null?void 0:So.avgWf:`(${(Bo=o==null?void 0:o.allWx)==null?void 0:Bo.avgWf})`),1),Hg,e.createElementVNode("span",Mg,e.toDisplayString((wo=o==null?void 0:o.allWx)==null?void 0:wo.pfmSpd)+" (kts)",1)],64)),((Lo=o==null?void 0:o.allWx)==null?void 0:Lo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zg,"(Under-performance)")):e.createCommentVNode("",!0),((Wo=o==null?void 0:o.allWx)==null?void 0:Wo.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ug,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ug,[Yg,e.createElementVNode("div",Zg,[(Ho=($o=l.report)==null?void 0:$o.weather)!=null&&Ho.favorableCur&&((Mo=o==null?void 0:o.allWx)==null?void 0:Mo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Xg,vg,eD,tD],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Qg,Jg,Kg,jg,qg],64))])])])),oD,e.createElementVNode("div",lD,[e.createElementVNode("div",aD,[nD,e.createElementVNode("div",sD,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Go=(Io=l.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",iD,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cD,[e.createElementVNode("div",dD,[rD,e.createElementVNode("div",mD,[e.createElementVNode("div",pD,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=l.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hD,_D]),yD])]),e.createElementVNode("div",ED,[e.createElementVNode("div",ND,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Yo=(uo=o==null?void 0:o.extend)==null?void 0:uo.cp)==null?void 0:Yo.speed,"Under"))+"kts)",1),VD]),e.createElementVNode("div",fD,[e.createElementVNode("div",xD,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.report)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),bD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Ko=(Jo=o==null?void 0:o.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),gD])]),e.createElementVNode("div",DD,[e.createElementVNode("div",kD,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(qo=(jo=o==null?void 0:o.extend)==null?void 0:jo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),CD]),e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=l.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wD,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(tl=(el=o==null?void 0:o.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),AD])]),TD]),e.createElementVNode("div",FD,[e.createElementVNode("div",OD,[PD,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ll=(ol=o==null?void 0:o.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(nl=(al=o==null?void 0:o.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$D,[HD,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(il=(sl=o==null?void 0:o.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(dl=(cl=o==null?void 0:o.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Under"))+" kts)",1)])]),(rl=o==null?void 0:o.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",MD,[e.createElementVNode("div",ID,[RD,e.createElementVNode("div",GD,[e.createElementVNode("div",zD,[e.createElementVNode("div",null,e.toDisplayString((pl=(nt=l.report)==null?void 0:nt.weather)!=null&&pl.noExtrapolation?(yl=o==null?void 0:o.goodWx)==null?void 0:yl.distance:(El=o==null?void 0:o.allWx)==null?void 0:El.distance),1),UD,e.createElementVNode("div",null,e.toDisplayString((Nl=o==null?void 0:o.goodWx)==null?void 0:Nl.pfmSpd),1)]),uD,e.createElementVNode("div",null,e.toDisplayString((Vl=o==null?void 0:o.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),YD])]),e.createElementVNode("div",ZD,[e.createElementVNode("div",QD,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(xl=(fl=o==null?void 0:o.extend)==null?void 0:fl.cp)==null?void 0:xl.speed,"Under"))+"kts)",1),JD]),e.createElementVNode("div",KD,[e.createElementVNode("div",jD,[e.createElementVNode("div",null,e.toDisplayString((gl=(bl=l.report)==null?void 0:bl.weather)!=null&&gl.noExtrapolation?(Dl=o==null?void 0:o.goodWx)==null?void 0:Dl.distance:(kl=o==null?void 0:o.allWx)==null?void 0:kl.distance),1),qD,e.createElementVNode("div",null,e.toDisplayString((Cl=o==null?void 0:o.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),XD,e.createElementVNode("div",null,e.toDisplayString((Sl=o==null?void 0:o.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vD])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(wl=(Bl=o==null?void 0:o.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=l.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=o==null?void 0:o.goodWx)==null?void 0:Fl.distance:(Ol=o==null?void 0:o.allWx)==null?void 0:Ol.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Pl=o==null?void 0:o.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Ll=o==null?void 0:o.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),i3])]),e.createElementVNode("div",c3,[((Wl=o==null?void 0:o.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",d3,[r3,m3,p3,h3,e.createElementVNode("div",null,e.toDisplayString(($l=o==null?void 0:o.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_3,e.createElementVNode("div",null,e.toDisplayString((Hl=o==null?void 0:o.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),y3,e.createElementVNode("div",null,e.toDisplayString((Ml=o==null?void 0:o.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=o==null?void 0:o.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",E3,[N3,V3,f3,x3,e.createElementVNode("div",null,e.toDisplayString((Rl=o==null?void 0:o.timeConclusion)==null?void 0:Rl.timeAtPlusAbtSpd),1),b3,e.createElementVNode("div",null,e.toDisplayString((Gl=o==null?void 0:o.timeConclusion)==null?void 0:Gl.timeAtPfmSpd),1),g3,e.createElementVNode("div",null,e.toDisplayString((zl=o==null?void 0:o.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=o==null?void 0:o.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((ul=o==null?void 0:o.timeConclusion)==null?void 0:ul.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[D3,e.createElementVNode("div",null,e.toDisplayString(((Yl=o==null?void 0:o.timeConclusion)==null?void 0:Yl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",k3,e.toDisplayString(a.noGoodWxDay),1))]),C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[w3,e.createElementVNode("div",A3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ql=(Zl=l.report)==null?void 0:Zl.weather)!=null&&Ql.noExtrapolation?(e.openBlock(),e.createElementBlock("span",T3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=l.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,R3])]),e.createElementVNode("div",G3,[z3,((ql=(jl=o.extend)==null?void 0:jl.cp)==null?void 0:ql.dgo)>0?(e.openBlock(),e.createElementBlock("div",U3,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",u3,[Y3,e.createElementVNode("div",Z3,[e.createElementVNode("div",Q3,[e.createElementVNode("div",null,e.toDisplayString((vl=(Xl=l.report)==null?void 0:Xl.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),J3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ta=(ea=o==null?void 0:o.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),K3,j3,q3])]),e.createElementVNode("div",X3,[v3,e.createElementVNode("div",ek,[e.createElementVNode("div",tk,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=l.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ok,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(na=(aa=o==null?void 0:o.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lk,ak,nk])]),sk,((ia=(sa=o.extend)==null?void 0:sa.cp)==null?void 0:ia.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ik,[ck,e.createElementVNode("div",dk,[e.createElementVNode("div",rk,[mk,pk,e.createElementVNode("div",null,e.toDisplayString((da=(ca=l.report)==null?void 0:ca.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hk,[_k,e.createElementVNode("div",yk,[e.createElementVNode("div",Ek,[Nk,Vk,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=l.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fk,e.createElementVNode("div",xk,[bk,e.createElementVNode("div",gk,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=o==null?void 0:o.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",Dk,[((_a=(ha=o==null?void 0:o.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",kk,[Ck,e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((Ea=(ya=o==null?void 0:o.goodWx)==null?void 0:ya.inEca)==null?void 0:Ea.sumDgoCons),1)]),wk,e.createElementVNode("div",Ak,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o==null?void 0:o.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),Tk,Fk]),Ok,e.createElementVNode("div",null,e.toDisplayString((xa=(fa=o==null?void 0:o.goodWx)==null?void 0:fa.inEca)==null?void 0:xa.time),1),Pk,e.createElementVNode("div",null,e.toDisplayString((ga=(ba=o==null?void 0:o.fuelConclusion)==null?void 0:ba.fo)==null?void 0:ga.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",$k,[e.createElementVNode("div",Hk,[e.createElementVNode("div",null,e.toDisplayString((ka=(Da=l.report)==null?void 0:Da.weather)!=null&&ka.noExtrapolation?(Ca=o==null?void 0:o.goodWx)==null?void 0:Ca.distance:(Sa=o==null?void 0:o.allWx)==null?void 0:Sa.distance),1),Mk,e.createElementVNode("div",null,e.toDisplayString((Ba=o==null?void 0:o.goodWx)==null?void 0:Ba.pfmSpd),1)]),Ik,e.createElementVNode("div",Rk,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((wa=o==null?void 0:o.goodWx)==null?void 0:wa.sumFoCons),1),((Ta=(Aa=o==null?void 0:o.goodWx)==null?void 0:Aa.inEca)==null?void 0:Ta.distance)>0?(e.openBlock(),e.createElementBlock("span",Gk,[zk,e.createElementVNode("span",null,e.toDisplayString((Oa=(Fa=o==null?void 0:o.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Oa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Uk,e.createElementVNode("div",null,e.toDisplayString((Pa=o==null?void 0:o.goodWx)==null?void 0:Pa.time),1)]),uk,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=o.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.entireCons)+" (mt)",1),Yk])]),e.createElementVNode("div",Zk,[Qk,e.createElementVNode("div",Jk,[e.createElementVNode("div",Kk,[e.createElementVNode("div",null,e.toDisplayString((Ha=($a=l.report)==null?void 0:$a.weather)!=null&&Ha.noExtrapolation?(Y=o==null?void 0:o.goodWx)==null?void 0:Y.distance:(lo=o==null?void 0:o.allWx)==null?void 0:lo.distance),1),jk,e.createElementVNode("div",null,e.toDisplayString((Ma=o==null?void 0:o.timeConclusion)==null?void 0:Ma.minusAbtSpd),1)]),qk,e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=o==null?void 0:o.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overTolerance),1),vk,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((ao=(Z=o.fuelConclusion)==null?void 0:Z.fo)==null?void 0:ao.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((za=(Ga=l.report)==null?void 0:Ga.weather)!=null&&za.noExtrapolation?(Ua=o==null?void 0:o.goodWx)==null?void 0:Ua.distance:(Ye=o==null?void 0:o.allWx)==null?void 0:Ye.distance),1),iC,e.createElementVNode("div",null,e.toDisplayString((ja=o==null?void 0:o.timeConclusion)==null?void 0:ja.minusAbtSpd),1)]),cC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=o==null?void 0:o.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((st=(va=o.fuelConclusion)==null?void 0:va.fo)==null?void 0:st.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=o==null?void 0:o.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",yC,[EC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=o==null?void 0:o.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),xC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=o==null?void 0:o.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=o==null?void 0:o.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=o==null?void 0:o.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",gC,[DC,kC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=o==null?void 0:o.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Gn=(Rn=o==null?void 0:o.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:Gn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=l.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(un=o==null?void 0:o.goodWx)==null?void 0:un.distance:(Yn=o==null?void 0:o.allWx)==null?void 0:Yn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Qn=(Zn=o==null?void 0:o.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Qn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Kn=(Jn=o==null?void 0:o.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((qn=(jn=o==null?void 0:o.fuelConclusion)==null?void 0:jn.fo)==null?void 0:qn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(Xn=o==null?void 0:o.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o==null?void 0:o.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=o==null?void 0:o.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=l.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(is=(ss=o==null?void 0:o.goodWx)==null?void 0:ss.inEca)==null?void 0:is.distance:(ds=(cs=o==null?void 0:o.allWx)==null?void 0:cs.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=o==null?void 0:o.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=o==null?void 0:o.goodWx)==null?void 0:_s.distance:(ys=o==null?void 0:o.allWx)==null?void 0:ys.distance),1)]),RC,e.createElementVNode("div",null,e.toDisplayString((Ns=(Es=o==null?void 0:o.fuelConclusion)==null?void 0:Es.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=o==null?void 0:o.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((bs=(xs=o==null?void 0:o.fuelConclusion)==null?void 0:xs.fo)==null?void 0:bs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[GC,e.createElementVNode("div",null,e.toDisplayString(((Ds=(gs=o==null?void 0:o.fuelConclusion)==null?void 0:gs.fo)==null?void 0:Ds.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(ks=o==null?void 0:o.extend)==null?void 0:ks.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[uC,e.createElementVNode("div",YC,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(Ss=o==null?void 0:o.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",ZC,[e.createElementVNode("div",QC,[JC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=l.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=o==null?void 0:o.goodWx)==null?void 0:As.distance:(Ts=o==null?void 0:o.allWx)==null?void 0:Ts.distance),1),qC,e.createElementVNode("div",null,e.toDisplayString((Fs=o==null?void 0:o.goodWx)==null?void 0:Fs.pfmSpd),1)]),XC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=o==null?void 0:o.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=o==null?void 0:o.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=o==null?void 0:o.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=o==null?void 0:o.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=o.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",iS,[e.createElementVNode("div",cS,[e.createElementVNode("div",null,e.toDisplayString((Gs=(Rs=l.report)==null?void 0:Rs.weather)!=null&&Gs.noExtrapolation?(zs=o==null?void 0:o.goodWx)==null?void 0:zs.distance:(Us=o==null?void 0:o.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((us=o==null?void 0:o.timeConclusion)==null?void 0:us.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=o==null?void 0:o.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=o.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.maxCons)+" (mt)",1),yS])]),e.createElementVNode("div",ES,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=l.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(qs=o==null?void 0:o.goodWx)==null?void 0:qs.distance:(Xs=o==null?void 0:o.allWx)==null?void 0:Xs.distance),1),xS,e.createElementVNode("div",null,e.toDisplayString((vs=o==null?void 0:o.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),bS,e.createElementVNode("div",gS,[e.createElementVNode("div",null,e.toDisplayString((ti=(ei=o==null?void 0:o.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.underTolerance),1),DS,kS]),CS,e.createElementVNode("div",null,e.toDisplayString((li=(oi=o.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((ni=(ai=o==null?void 0:o.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((ii=(si=o==null?void 0:o.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((di=(ci=o==null?void 0:o.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:di.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=o==null?void 0:o.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.overCons),1)])):((hi=(pi=o==null?void 0:o.fuelConclusion)==null?void 0:pi.fo)==null?void 0:hi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((yi=(_i=o==null?void 0:o.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:yi.minCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((Ni=(Ei=o==null?void 0:o.fuelConclusion)==null?void 0:Ei.dgo)==null?void 0:Ni.entireCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=o==null?void 0:o.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((bi=(xi=o==null?void 0:o.fuelConclusion)==null?void 0:xi.dgo)==null?void 0:bi.conclusionStatus)==="Over"?"flex-center lost":((Di=(gi=o==null?void 0:o.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Ci=(ki=o==null?void 0:o.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Ci.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const YS=Ce(Z0,[["render",uS],["__scopeId","data-v-f1b0225f"]]),GU="",ZS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,l="0.0"){return t?ae.LngLatHelper.roundPrecision(t,s):l}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,l,r,a,n,y,i,p,x,g,h;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(l=this.report)==null?void 0:l.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((i=(y=this.report)==null?void 0:y.weather)==null?void 0:i.showSwell)??!0,this.showWave=((x=(p=this.report)==null?void 0:p.weather)==null?void 0:x.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},X=t=>(e.pushScopeId("data-v-d9a0628b"),t=t(),e.popScopeId(),t),QS={class:"report-inventory"},JS={class:"section summary-section"},KS=X(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={class:"summary-block"},qS=X(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),XS={class:"label",rowspan:"4"},vS=X(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e5=X(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t5=X(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o5=X(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l5={class:"section inventory-section"},a5=e.createStaticVNode('<div class="legends flex-space" data-v-d9a0628b><div class="flex-start" style="flex:1.2;" data-v-d9a0628b><div class="legend good-wx" data-v-d9a0628b></div><div class="label flex-end" data-v-d9a0628b>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-d9a0628b><div class="legend adverse-wx" data-v-d9a0628b></div><div class="label" data-v-d9a0628b>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-d9a0628b><div class="legend excluded" data-v-d9a0628b></div><div class="label" data-v-d9a0628b>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-d9a0628b><div data-v-d9a0628b><label data-v-d9a0628b>B</label><span data-v-d9a0628b>BOSP</span></div><div data-v-d9a0628b><label data-v-d9a0628b>N</label><span data-v-d9a0628b>NOON</span></div><div data-v-d9a0628b><label data-v-d9a0628b>E</label><span data-v-d9a0628b>EOSP</span></div><div data-v-d9a0628b><label data-v-d9a0628b>*</label><span data-v-d9a0628b>Ship Reported Position</span></div></div></div>',1),n5={class:"inventory-block flex-center"},s5={style:{"font-size":"12px"}},i5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),c5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r5=X(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m5=["colspan"],p5={key:0,class:"label",colspan:"2"},h5=X(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),y5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),E5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f5={key:0,class:"label",rowspan:"2"},x5=X(()=>e.createElementVNode("br",null,null,-1)),b5={key:1,class:"label",rowspan:"2"},g5=X(()=>e.createElementVNode("br",null,null,-1)),D5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),k5={key:2,class:"label",rowspan:"2"},C5=X(()=>e.createElementVNode("br",null,null,-1)),S5={key:3,class:"label",colspan:"2"},B5={key:4,class:"label",rowspan:"2"},w5=X(()=>e.createElementVNode("br",null,null,-1)),A5={key:5,class:"label",colspan:"2"},T5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F5={key:6,class:"label",rowspan:"2"},O5={key:7,class:"label",rowspan:"2"},P5={key:8,class:"label",rowspan:"2"},L5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),R5=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),G5=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z5=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U5=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),u5=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Y5=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Z5={key:0,class:"label"},Q5={key:1,class:"label"},J5={key:2,class:"label"},K5={key:3,class:"label"},j5=X(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),q5=X(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),X5=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v5=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e4=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t4=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o4=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l4=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a4={class:"summary-tbody"};function n4(t,s,l,r,a,n){var y;return e.openBlock(),e.createElementBlock("div",QS,[e.createElementVNode("div",JS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[qS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=l.report)==null?void 0:y.segments,(i,p)=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",XS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((E=i==null?void 0:i.allWx)==null?void 0:E.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=i==null?void 0:i.allWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=i==null?void 0:i.goodWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=i==null?void 0:i.goodWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=i==null?void 0:i.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=i==null?void 0:i.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((V=i==null?void 0:i.badWx)==null?void 0:V.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=i==null?void 0:i.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o5,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=i==null?void 0:i.excluded)==null?void 0:G.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=i==null?void 0:i.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=i==null?void 0:i.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[e.createElementVNode("table",s5,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[i5,c5,d5,r5,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m5),l.showFactor?(e.openBlock(),e.createElementBlock("th",p5,"Factor")):e.createCommentVNode("",!0),h5,_5]),e.createElementVNode("tr",null,[y5,E5,N5,V5,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f5,[e.createTextVNode("Spd"),x5,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",b5,[e.createTextVNode("Dis"),g5,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),D5,a.showWave?(e.openBlock(),e.createElementBlock("th",k5,[e.createTextVNode("Sea HT"),C5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S5,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B5,[e.createTextVNode("Sig Wave"),w5,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A5,"Current")):e.createCommentVNode("",!0),T5,l.showFactor?(e.openBlock(),e.createElementBlock("th",F5,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",O5,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P5,"Water Temp.")):e.createCommentVNode("",!0),L5,W5,$5,H5,M5,I5,R5,G5]),e.createElementVNode("tr",null,[z5,U5,u5,Y5,a.showSwell?(e.openBlock(),e.createElementBlock("th",Z5,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",Q5,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",J5,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K5,"CF(kts)")):e.createCommentVNode("",!0),j5,q5,X5,v5,e4,t4,o4,l4])]),e.createElementVNode("tbody",a4,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(i,p)=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((x=i.noon)!=null&&x.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=i.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((E=(h=i.meteo)==null?void 0:h.wind)==null?void 0:E.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((b=(k=i.meteo)==null?void 0:k.wind)==null?void 0:b.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(D=(C=i.meteo)==null?void 0:C.wave)==null?void 0:D.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=i.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(V=i.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((z=(G=(R=i.meteo)==null?void 0:R.wave)==null?void 0:G.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=i.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=i.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=i.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s4=Ce(ZS,[["render",n4],["__scopeId","data-v-d9a0628b"]]),zU="",i4={name:"OrmVoyageChart",components:{Lng:Ja,Lat:Ka},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Za.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Za.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Za.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,x,g,h,E,k;const t=[],s=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(b=>b.noonLength)||[];n.unshift(n[0]),n.forEach((b,C)=>{var T,F,B,w,V,O,I,R,G,z,_,L,H,W;const D=this.computeUTCTime(C===0?b.utc:b.noonUtc,"MM-DD/HHmm[Z]");if(t.push(D),r=Math.ceil(((T=b.noon)==null?void 0:T.foCons)>r?(F=b.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=b.cp)==null?void 0:B.fo)>r?(w=b.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=b.noon)==null?void 0:V.dgoCons)>a?(O=b.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=b.cp)==null?void 0:I.dgo)>a?(R=b.cp)==null?void 0:R.dgo:a),s.push([D,(G=b.noon)==null?void 0:G.avgSpd,(z=b.noon)==null?void 0:z.foCons,(_=b.noon)==null?void 0:_.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([D,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:l.dateTime,y:l.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(x=(p=this.report)==null?void 0:p.weather)!=null&&x.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(y);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:l.dateTime,y:l.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(E=(h=this.report)==null?void 0:h.weather)!=null&&E.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(k=this.spdDgoConsChart)==null||k.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,x)=>{var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(x===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(g),r=Math.ceil(((k=(E=(h=p.meteo)==null?void 0:h.wave)==null?void 0:E.sig)==null?void 0:k.height)>r?(D=(C=(b=p.meteo)==null?void 0:b.wave)==null?void 0:C.sig)==null?void 0:D.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(V=(w=p.meteo)==null?void 0:w.wind)==null?void 0:V.direction,(O=p.noon)==null?void 0:O.seasHt,(G=(R=(I=p.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),x<n.length-1){const J=n[x+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const y={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(y)}}},ml=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),c4={class:"report-summary"},d4={class:"section chart-section"},r4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m4={class:"chart-block"},p4={ref:"spdFoConsChart",class:"chart"},h4={ref:"spdDgoConsChart",class:"chart"},_4={ref:"currChart",class:"chart"},y4={class:"section map-section"},E4=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N4={class:"map-block"},V4={class:"flex-space"},f4={class:"voyage-block",style:{height:"197px"}},x4={class:"flex-space label-block",style:{width:"100%"}},b4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),g4={style:{"text-transform":"uppercase"}},D4={class:"flex-space label-block",style:{width:"100%"}},k4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S4={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B4={class:"flex-space label-block",style:{width:"100%"}},w4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T4={class:"flex-space label-block",style:{width:"100%"}},F4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O4={key:0,class:"flex-end",style:{flex:"1"}},P4={key:1,class:"flex-end",style:{flex:"1"}},L4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W4={class:"flex-end",style:{width:"160px"}},$4={class:"flex-space label-block",style:{width:"100%"}},H4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M4={key:0,class:"flex-end",style:{flex:"1"}},I4={key:1,class:"flex-end",style:{flex:"1"}},R4=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),G4={class:"flex-end",style:{width:"160px"}},z4={class:"flex-space label-block",style:{width:"100%"}},U4=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),u4={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Y4=e.createStaticVNode('<div class="legend-block" data-v-24e80f66><div style="position:absolute;margin-top:-8px;" data-v-24e80f66>LEGEND</div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>0812</div><div data-v-24e80f66><div data-v-24e80f66>08 - Day of the month</div><div data-v-24e80f66>12 - Hours of the day</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-24e80f66></i></div><div data-v-24e80f66><div data-v-24e80f66>Wind from N (000)</div><div data-v-24e80f66>Each bard = 10 kts</div><div data-v-24e80f66>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>W 4</div><div data-v-24e80f66> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-24e80f66><div class="good-wx" data-v-24e80f66>Date</div><div data-v-24e80f66>Good weather days</div></div></div>',1),Z4=["src"],Q4=e.createStaticVNode('<div class="section method-section" data-v-24e80f66><div class="header-block flex-center" data-v-24e80f66><i class="iconfont" data-v-24e80f66></i><div class="title" data-v-24e80f66>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>1. Good Weather Method</div><div class="method-body" data-v-24e80f66> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-24e80f66> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-24e80f66> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-24e80f66> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>4. “About”</div><div class="method-body" data-v-24e80f66> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-24e80f66> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-24e80f66> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-24e80f66> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-24e80f66> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>6. Further reference materials</div><div class="method-body" data-v-24e80f66>Please send mail to <a href="mailto:op@ormwx.com" data-v-24e80f66>op@ormwx.com</a>.</div></div></div></div>',1);function J4(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",c4,[e.createElementVNode("div",d4,[r4,e.createElementVNode("div",m4,[e.createElementVNode("div",p4,null,512),e.createElementVNode("div",h4,null,512),e.createElementVNode("div",_4,null,512)])]),e.createElementVNode("div",y4,[E4,e.createElementVNode("div",N4,[e.createElementVNode("div",V4,[e.createElementVNode("div",f4,[e.createElementVNode("div",x4,[b4,e.createElementVNode("span",g4,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",D4,[k4,e.createElementVNode("span",C4,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1),e.createElementVNode("span",S4,"("+e.toDisplayString((h=(g=l.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B4,[w4,e.createElementVNode("span",A4,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T4,[F4,(C=(b=l.report)==null?void 0:b.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O4,e.toDisplayString((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P4,[e.createVNode(y,{lat:(B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L4,e.createVNode(i,{lng:(w=l.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W4,e.toDisplayString(n.computeUTCTime((V=l.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$4,[H4,(I=(O=l.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M4,e.toDisplayString((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",I4,[e.createVNode(y,{lat:(_=(z=l.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),R4,e.createVNode(i,{lng:(H=(L=l.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",G4,e.toDisplayString(n.computeUTCTime((P=(W=l.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z4,[U4,e.createElementVNode("span",u4,e.toDisplayString((Q=(M=l.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Y4]),e.createElementVNode("img",{src:(U=l.report)==null?void 0:U.chartUrl,alt:""},null,8,Z4)])]),Q4])}const K4=Ce(i4,[["render",J4],["__scopeId","data-v-24e80f66"]]),UU="",j4={name:"OrmVoyageIndex",components:{Brand:no,VoySummary:YS,Inventory:s4,Chart:K4,Loading:Qa},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,l;const t=[];(l=(s=this.report)==null?void 0:s.segments)==null||l.forEach(r=>{const a=r.extend.cp;let n,y,i=!1;r.inventory.sample.hours.forEach((p,x)=>{n||(n=p),(!y||i)&&(y=p,i=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),y.noonLength=(y.noonLength||0)+1;let g=p.type.charAt(0);["N","M","E"].includes(g)&&(i=!0,y.dailyAvgCf=p.dailyAvgCf,y.avgSpdCalc=p.avgSpdCalc,y.distanceCalc=p.distanceCalc,y.noonUtc=p.utc),p.abbrev=g,g=g==="M"?"*":g==="A"?"":g,p.time=`${g} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,t.push(p)})}),t.sort((r,a)=>r.date-a.date),this.inventory=t}}};function q4(t,s,l,r,a,n){var h,E;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),x=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((E=(h=l.report)==null?void 0:h.weather)!=null&&E.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(y,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=k=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:l.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(x,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(g,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const rn=Ce(j4,[["render",q4],["__scopeId","data-v-894b875a"]]),X4={install(t){t.component("FliVoyageReport",dn),t.component("OrmVoyageReport",rn)}},uU="",YU="",ZU="",v4={name:"IdmTropical",components:{TropicalReport:Hi.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},eB={class:"typhoon-report-container"};function tB(t,s,l,r,a,n){const y=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",eB,[l.report?(e.openBlock(),e.createBlock(y,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const mn=Ce(v4,[["render",tB],["__scopeId","data-v-a14ce9ba"]]),oB={install(t){t.component("TropicalReport",mn)}},QU="",lB={name:"OrmInvoice",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Ze=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),aB={class:"invoice-report"},nB={class:"section items-section"},sB={class:"flex-start"},iB=Ze(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),cB=["innerHTML"],dB={class:"flex-space"},rB={class:"invoice-item"},mB={key:0,class:"invoice-item"},pB=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),hB=Ze(()=>e.createElementVNode("td",null,"NO.",-1)),_B=["colspan"],yB=Ze(()=>e.createElementVNode("td",null,"Amounts",-1)),EB=["colspan"],NB=["colspan"],VB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],fB={class:"total"},xB=["colspan"],bB=[Ze(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],gB={class:"total"},DB=["colspan"],kB={class:"total"},CB={key:1},SB=["colspan"],BB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],wB={class:"total"},AB={key:0,class:"memo-block"},TB=Ze(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),FB=["innerHTML"],OB={class:"section company-section"},PB=Ze(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),LB={class:"company-item"},WB=Ze(()=>e.createElementVNode("label",null,"Bank",-1)),$B={class:"company-item"},HB=Ze(()=>e.createElementVNode("label",null,"Account",-1)),MB={class:"company-item"},IB=Ze(()=>e.createElementVNode("label",null,"Title",-1)),RB={class:"company-item"},GB=Ze(()=>e.createElementVNode("label",null,"Addr",-1)),zB={class:"company-item"},UB=Ze(()=>e.createElementVNode("label",null,"Tel",-1)),uB={class:"company-item"},YB=Ze(()=>e.createElementVNode("label",null,"Tax ID",-1)),ZB={class:"company-item"},QB=Ze(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),JB={class:"company-item"},KB=Ze(()=>e.createElementVNode("label",null,"Bank Name",-1)),jB={class:"company-item"},qB=Ze(()=>e.createElementVNode("label",null,"Bank Address",-1)),XB={class:"company-item"},vB=Ze(()=>e.createElementVNode("label",null,"Account No.",-1)),ew={class:"company-item"},tw=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),ow={class:"company-item"},lw=Ze(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),aw={class:"company-item"},nw=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),sw={class:"company-item"},iw=Ze(()=>e.createElementVNode("label",null,"ABA NO.",-1)),cw=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function dw(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",aB,[e.createVNode(y,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",nB,[e.createElementVNode("div",sB,[iB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(x=(p=(i=l.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:x.replace(`
42
- `,"<br/>")},null,8,cB)]),e.createElementVNode("div",dB,[e.createElementVNode("div",rB,"Invoice No. "+e.toDisplayString(l.report.number),1),(g=l.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",mB,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[pB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(q,he)=>{var Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((Ve=(Ne=(Ee=q.props)==null?void 0:Ee[0])==null?void 0:Ne.voyage)==null?void 0:Ve.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(xe=(fe=q.props)==null?void 0:fe[0])==null?void 0:xe.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((ke=(De=(ge=q.props)==null?void 0:ge[0])==null?void 0:De.vessel)==null?void 0:ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(Te=(Ae=q.props)==null?void 0:Ae[0])==null?void 0:Te.voyage)==null?void 0:Fe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Le=(Pe=(Oe=q.props)==null?void 0:Oe[0])==null?void 0:Pe.departure)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString((pe=($e=(We=q.props)==null?void 0:We[0])==null?void 0:$e.departure)==null?void 0:pe.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=(Qe=q.props)==null?void 0:Qe[0])==null?void 0:Je.destination)==null?void 0:Ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Ie=(Se=(A=q.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ie.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(E=a.reservations4Point)!=null&&E.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,_B),yB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(q,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(q.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(q.items),9,EB),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((k=l.report)==null?void 0:k.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},VB,8,NB),e.createElementVNode("td",fB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},bB,8,xB),e.createElementVNode("td",gB,[e.createElementVNode("span",null,e.toDisplayString((b=l.report)==null?void 0:b.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,DB),e.createElementVNode("td",kB,"¥"+e.toDisplayString((C=l.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",CB,[e.createElementVNode("td",{colspan:a.maxColspans},BB,8,SB),e.createElementVNode("td",wB,[e.createElementVNode("span",null,e.toDisplayString(`$${(D=l.report)==null?void 0:D.paymentAmount}`),1)])]))])]),(T=l.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",AB,[TB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=l.report)==null?void 0:F.memo)==null?void 0:B.replace(`
43
- `,"<br/>")},null,8,FB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OB,[PB,((w=l.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LB,[WB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(V=l.report)==null?void 0:V.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",$B,[HB,e.createElementVNode("span",null,e.toDisplayString((R=a.account[(I=l.report)==null?void 0:I.paymentType])==null?void 0:R.number),1)]),e.createElementVNode("div",MB,[IB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(G=l.report)==null?void 0:G.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",RB,[GB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=l.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",zB,[UB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=l.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",uB,[YB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=l.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=l.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",JB,[KB,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=l.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",jB,[qB,e.createElementVNode("span",null,e.toDisplayString((o=a.account[(se=l.report)==null?void 0:se.paymentType])==null?void 0:o.bankAddr),1)]),e.createElementVNode("div",XB,[vB,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=l.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",ew,[tw,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=l.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",ow,[lw,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=l.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",aw,[nw,e.createElementVNode("span",null,e.toDisplayString((re=a.account[(ie=l.report)==null?void 0:ie.paymentType])==null?void 0:re.intermediaryBankSwift),1)]),e.createElementVNode("div",sw,[iw,e.createElementVNode("span",null,e.toDisplayString((ye=a.account[(me=l.report)==null?void 0:me.paymentType])==null?void 0:ye.intermediaryBankAbaNo),1)])],64))]),cw])}const pn=Ce(lB,[["render",dw],["__scopeId","data-v-95c80c22"]]),qU="",rw={components:{IdmBrand:no},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},_l=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),mw={class:"invoice-report"},pw={class:"section items-section"},hw={class:"flex-start"},_w=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),yw=["innerHTML"],Ew={class:"flex-space"},Nw={class:"invoice-item"},Vw={key:0,class:"invoice-item"},fw=_l(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),xw=_l(()=>e.createElementVNode("td",null,"NO.",-1)),bw=["colspan"],gw=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),Dw=["colspan"],kw=["colspan"],Cw=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],Sw={class:"total"},Bw=["colspan"],ww=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],Aw={class:"total"},Tw=["colspan"],Fw={class:"total"},Ow={key:1},Pw=["colspan"],Lw=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],Ww={class:"total"},$w={key:0,class:"memo-block"},Hw=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),Mw=["innerHTML"];function Iw(t,s,l,r,a,n){var y,i,p,x,g,h,E,k,b,C,D,T,F;return e.openBlock(),e.createElementBlock("div",mw,[e.createElementVNode("div",pw,[e.createElementVNode("div",hw,[_w,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(y=l.report)==null?void 0:y.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
44
- `,"<br/>")},null,8,yw)]),e.createElementVNode("div",Ew,[e.createElementVNode("div",Nw,"Invoice No. "+e.toDisplayString(l.report.number),1),(x=l.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",Vw,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[fw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(V=B.props)==null?void 0:V[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(G=(R=B.props)==null?void 0:R[0])==null?void 0:G.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((o=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:o.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(j=B.props)==null?void 0:j[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[xw,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,bw),gw])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,Dw),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((E=l.report)==null?void 0:E.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},Cw,8,kw),e.createElementVNode("td",Sw,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},ww,8,Bw),e.createElementVNode("td",Aw,[e.createElementVNode("span",null,e.toDisplayString((k=l.report)==null?void 0:k.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,Tw),e.createElementVNode("td",Fw,"¥"+e.toDisplayString((b=l.report)==null?void 0:b.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",Ow,[e.createElementVNode("td",{colspan:a.maxColspans},Lw,8,Pw),e.createElementVNode("td",Ww,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=l.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(D=l.report)!=null&&D.memo?(e.openBlock(),e.createElementBlock("div",$w,[Hw,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=l.report)==null?void 0:T.memo)==null?void 0:F.replace(`
45
- `,"<br/>")},null,8,Mw)])):e.createCommentVNode("",!0)])])}const hn=Ce(rw,[["render",Iw],["__scopeId","data-v-744130ab"]]),Rw={install(t){t.component("OrmInvoiceReport",pn),t.component("FliInvoiceReport",hn)}},Gw=t=>((typeof t=="string"||typeof t=="number")&&(t=K(t)),t),zw=(t,s="MMM-DD,YYYY/HHmm[Z]")=>Uw(t,s),Uw=(t,s="MMM-DD/HHmm[Z]")=>(t=Gw(t),t?`${t.utc().format(s)}`:"-"),tu="",uw={name:"IdmEditableItem",components:{Edit:Ya.Edit,Close:Ya.Close,IdmEditor:Ro},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return zw(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},Yw={class:"idm-editable-item"},Zw=["innerHTML"],Qw={key:3,class:"buttons"};function Jw(t,s,l,r,a,n){const y=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),x=e.resolveComponent("ElInputNumber"),g=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),E=e.resolveComponent("ElSelect"),k=e.resolveComponent("ElRadio"),b=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),D=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Yw,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:l.align})},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:l.width+"px"})},e.toDisplayString(l.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=V=>a.model=V),size:l.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),l.type==="number"?(e.openBlock(),e.createBlock(x,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),size:l.size,controls:l.controls,min:l.min,max:l.max,step:l.step,precision:l.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),l.type==="datetime"?(e.openBlock(),e.createBlock(g,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),size:l.size,type:"datetime",class:"datetime",format:l.format,"value-format":l.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),l.type==="select"?(e.openBlock(),e.createBlock(E,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=V=>a.model=V),size:l.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="remoteSelect"?(e.openBlock(),e.createBlock(E,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="remotePortSelect"?(e.openBlock(),e.createBlock(E,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="radio"?(e.openBlock(),e.createBlock(b,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:l.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.radios,V=>(e.openBlock(),e.createBlock(k,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="checkbox"?(e.openBlock(),e.createBlock(D,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=V=>a.model=V),size:l.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.checkboxs,V=>(e.openBlock(),e.createBlock(C,{label:V.value,key:V.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.raw?(e.openBlock(),e.createBlock(y,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(y,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(l.value,l.format)),33)):l.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l.value||""},null,8,Zw)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[typeof l.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value||"-"),1)],64))],32))],64))],64)),!l.disabled&&l.iconable&&typeof l.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",Qw,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:l.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:l.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const _n=Ce(uw,[["render",Jw]]),ou="",Kw={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:_n,Editor:Ro,IdmBrand:no},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ae.LngLatHelper.lat2pretty(t).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,l,r;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(l=this.report)!=null&&l.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(y=this.report)==null?void 0:y.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,l,r){var y,i,p,x,g;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.report)!=null&&x.comments?(g=this.report)==null?void 0:g.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=t=>(e.pushScopeId("data-v-c2e105cd"),t=t(),e.popScopeId(),t),jw={class:"deviation-report"},qw={class:"section vessel-section"},Xw={class:"report-summary"},vw={class:"summary-item"},e8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),t8={class:"flexL gray"},o8={class:"summary-item"},l8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),a8={class:"flexL gray"},n8={class:"summary-item"},s8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),i8={class:"flexL gray"},c8={class:"summary-item"},d8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),r8={class:"flexL gray"},m8={class:"summary-item"},p8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),h8={class:"flexL gray",style:{display:"flex"}},_8={class:"flex"},y8={class:"flexM"},E8={class:"summary-item"},N8=f(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),V8={class:"flexL gray",style:{display:"flex"}},f8={class:"flex"},x8={class:"flexM"},b8={class:"section summary-section"},g8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),D8={class:"report-summary"},k8={class:"summary-item"},C8=f(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),S8={class:"summary-item"},B8=f(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),w8={class:"summary-item"},A8=f(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),T8={class:"summary-item"},F8=f(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),O8={class:"section map-section"},P8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),L8={class:"report-map"},W8=["src"],$8=e.createStaticVNode('<div class="legend" data-v-c2e105cd><div class="legend-item" data-v-c2e105cd><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c2e105cd></div><div data-v-c2e105cd>Actual Route</div></div><div class="legend-item" data-v-c2e105cd><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c2e105cd></div><div data-v-c2e105cd>Route prior to deviation</div></div></div>',1),H8={key:0,class:"section deviation-section"},M8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),I8={class:"report-summary"},R8=e.createStaticVNode('<div class="summary-item" data-v-c2e105cd><div class="blue center" style="width:17%;" data-v-c2e105cd>Deviation</div><div class="blue center" style="width:20%;" data-v-c2e105cd>Position</div><div class="blue center" style="width:17%;" data-v-c2e105cd>Date Time</div><div class="flex blue center" data-v-c2e105cd>FO BROB<br data-v-c2e105cd>(mt)</div><div class="flex blue center" data-v-c2e105cd>DO/GO<br data-v-c2e105cd>BROB (mt)</div><div class="flex blue center" data-v-c2e105cd>Bunkering<br data-v-c2e105cd>FO (mt)</div><div class="flex blue center" data-v-c2e105cd>Bunkering<br data-v-c2e105cd>DO/GO (mt)</div></div>',1),G8={class:"summary-item"},z8=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),U8={class:"blue center",style:{width:"20%"}},u8={class:"blue center",style:{width:"17%"}},Y8={class:"flex blue center"},Z8={class:"flex blue center"},Q8=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),J8=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),K8={class:"summary-item"},j8=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),q8={class:"blue center",style:{width:"20%"}},X8={class:"blue center",style:{width:"17%"}},v8={class:"flex blue center"},e6={class:"flex blue center"},t6={class:"flex blue center"},o6={class:"flex blue center"},l6={class:"summary-item"},a6=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),n6=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),s6={class:"blue center",style:{width:"17%"}},i6={class:"flex blue center"},c6={class:"flex blue center"},d6=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),r6=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),m6={class:"section cp-section"},p6=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),h6={class:"report-summary"},_6={class:"summary-item"},y6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),E6={class:"flexL blue center"},N6={class:"summary-item"},V6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),f6={class:"flexL blue center"},x6={class:"summary-item"},b6=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),g6={class:"flexL blue center"},D6={class:"section port-section"},k6={class:"subtitle port"},C6=f(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),S6={class:"print-hidden"},B6={class:"report-port"},w6=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),A6={rowspan:2},T6=f(()=>e.createElementVNode("td",null,"Arrival",-1)),F6=f(()=>e.createElementVNode("td",null,null,-1)),O6=f(()=>e.createElementVNode("td",null,null,-1)),P6={rowspan:2,class:"print-hidden"},L6=f(()=>e.createElementVNode("td",null,"Departure",-1)),W6=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),$6=f(()=>e.createElementVNode("td",null,null,-1)),H6=f(()=>e.createElementVNode("td",null,null,-1)),M6=f(()=>e.createElementVNode("td",null,null,-1)),I6=f(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),R6={class:"section distance-section"},G6=f(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),z6={class:"report-summary"},U6=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),u6={class:"summary-item"},Y6=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),Z6={class:"flex blue center"},Q6={class:"flex blue center"},J6={class:"summary-item"},K6=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),j6={class:"flex blue center"},q6={class:"section time-section"},X6=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),v6={key:0,class:"report-formular"},e9={class:"equation"},t9=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-c2e105cd>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-c2e105cd>=</div><div class="function" style="width:20%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:5%;" data-v-c2e105cd>=</div>',4),o9={class:"function",style:{width:"20%"}},l9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),n9={style:{width:"10%"}},s9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),i9={class:"equation"},c9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:28%;" data-v-c2e105cd>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>+</div><div style="width:23%;" data-v-c2e105cd>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',6),d9={style:{width:"5%"}},r9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),m9={style:{width:"8%"}},p9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),h9={style:{width:"4%"}},_9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),y9={key:1,class:"report-formular"},E9={class:"equation"},N9=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-c2e105cd>=</div><div class="function" style="width:20%;" data-v-c2e105cd><div data-v-c2e105cd>Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:5%;" data-v-c2e105cd>=</div>',4),V9={class:"function",style:{width:"20%"}},f9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b9={style:{width:"10%"}},g9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),D9={key:0,class:"equation"},k9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:24%;" data-v-c2e105cd>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:30%;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',6),C9={style:{width:"5%"}},S9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),B9={style:{width:"5%"}},w9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),A9={style:{width:"5%"}},T9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),F9={key:1,class:"equation"},O9=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-c2e105cd>Total extra Time (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:24%;" data-v-c2e105cd>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>Time spent in port (hrs)</div><div style="width:2%;" data-v-c2e105cd>=</div>',8),P9={style:{width:"5%"}},L9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),W9={style:{width:"5%"}},$9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),H9={style:{width:"5%"}},M9=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),I9={style:{width:"5%"}},R9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),G9={key:2,class:"report-summary"},z9={class:"summary-item"},U9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),u9={class:"flex blue center"},Y9={class:"summary-item"},Z9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),Q9={class:"flex blue center"},J9={class:"summary-item"},K9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),j9={class:"flex blue center"},q9={key:3,class:"report-summary"},X9={class:"summary-item"},v9=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),eA={class:"flex blue center"},tA={class:"summary-item"},oA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),lA={class:"flex blue center"},aA={key:0,class:"summary-item"},nA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),sA={class:"flex blue center"},iA={class:"summary-item"},cA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),dA={class:"flex blue center"},rA={class:"section consumption-section"},mA=f(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),pA={key:0,class:"report-formular"},hA={class:"equation"},_A=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>Daily FO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),yA={class:"function",style:{width:"5%"}},EA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VA={class:"function",style:{width:"5%"}},fA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xA=f(()=>e.createElementVNode("div",null,"24",-1)),bA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),gA={style:{width:"5%"}},DA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kA={class:"equation"},CA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-c2e105cd>+</div><div style="width:23%;" data-v-c2e105cd>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),SA={style:{width:"5%"}},BA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),wA={style:{width:"5%"}},AA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TA={style:{width:"5%"}},FA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OA={class:"equation"},PA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>Daily DO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),LA={class:"function",style:{width:"5%"}},WA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$A=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HA={class:"function",style:{width:"5%"}},MA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IA=f(()=>e.createElementVNode("div",null,"24",-1)),RA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GA={style:{width:"5%"}},zA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UA={class:"equation"},uA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),YA={style:{width:"5%"}},ZA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QA={style:{width:"5%"}},JA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KA={style:{width:"5%"}},jA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qA={key:1,class:"report-formular"},XA={class:"equation"},vA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Route prior to deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>CP Daily FO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),e7={class:"function",style:{width:"5%"}},t7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),l7={class:"function",style:{width:"5%"}},a7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n7=f(()=>e.createElementVNode("div",null,"24",-1)),s7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),i7={style:{width:"5%"}},c7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),d7={class:"equation"},r7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-c2e105cd>=</div><div class="function" style="width:30%;" data-v-c2e105cd><div data-v-c2e105cd>Route prior to deviation Distance</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>CP Speed</div></div><div style="width:3%;" data-v-c2e105cd>×</div><div class="function" style="width:23%;" data-v-c2e105cd><div data-v-c2e105cd>CP Daily DO Consumption</div><div class="fractional-line" data-v-c2e105cd></div><div data-v-c2e105cd>24</div></div><div style="width:3%;" data-v-c2e105cd>=</div>',6),m7={class:"function",style:{width:"5%"}},p7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_7={class:"function",style:{width:"5%"}},y7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E7=f(()=>e.createElementVNode("div",null,"24",-1)),N7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),V7={style:{width:"5%"}},f7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),x7={key:0,class:"equation"},b7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>FO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),g7={style:{width:"5%"}},D7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),k7={style:{width:"5%"}},C7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),S7={style:{width:"5%"}},B7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),w7={key:1,class:"equation"},A7=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-c2e105cd>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:15%;" data-v-c2e105cd>FO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>FO Consumption in port</div><div style="width:3%;" data-v-c2e105cd>=</div>',8),T7={style:{width:"5%"}},F7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),O7={style:{width:"5%"}},P7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),L7={style:{width:"5%"}},W7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$7={style:{width:"5%"}},H7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),M7={key:2,class:"equation"},I7=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:30%;" data-v-c2e105cd>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:23%;" data-v-c2e105cd>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>=</div>',6),R7={style:{width:"5%"}},G7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),z7={style:{width:"5%"}},U7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),u7={style:{width:"5%"}},Y7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Z7={key:3,class:"equation"},Q7=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-c2e105cd>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-c2e105cd>=</div><div style="width:15%;" data-v-c2e105cd>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:20%;" data-v-c2e105cd>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-c2e105cd>-</div><div style="width:10%;" data-v-c2e105cd>DO/GO Consumption in port</div><div style="width:3%;" data-v-c2e105cd>=</div>',8),J7={style:{width:"5%"}},K7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),j7={style:{width:"5%"}},q7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),X7={style:{width:"5%"}},v7=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eT={style:{width:"5%"}},tT=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oT={key:2,class:"report-summary"},lT=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),aT={class:"summary-item"},nT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),sT={class:"flex blue center"},iT={class:"flex blue center"},cT={class:"summary-item"},dT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),rT={class:"flex blue center"},mT={class:"flex blue center"},pT={class:"summary-item"},hT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),_T={key:3,class:"report-summary"},yT=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),ET={class:"summary-item"},NT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),VT={class:"flex blue center"},fT={class:"flex blue center"},xT={class:"summary-item"},bT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),gT={class:"flex blue center"},DT={class:"flex blue center"},kT={key:0,class:"summary-item"},CT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),ST={class:"flex blue center"},BT={class:"flex blue center"},wT={class:"summary-item"},AT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),TT={class:"section comment-section"},FT=["innerHTML"];function OT(t,s,l,r,a,n){var E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Y,lo,Ma,Ia,Ra;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),p=e.resolveComponent("CirclePlus"),x=e.resolveComponent("el-icon"),g=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jw,[e.createVNode(y,{name:"Voyage Deviation Report"}),e.createElementVNode("div",qw,[e.createElementVNode("div",Xw,[e.createElementVNode("div",vw,[e8,e.createElementVNode("div",t8,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",o8,[l8,e.createElementVNode("div",a8,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",n8,[s8,e.createElementVNode("div",i8,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",c8,[d8,e.createElementVNode("div",r8,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",m8,[p8,e.createElementVNode("div",h8,[e.createElementVNode("span",_8,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",y8,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",E8,[N8,e.createElementVNode("div",V8,[e.createElementVNode("span",f8,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",x8,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])])]),e.createElementVNode("div",b8,[g8,e.createElementVNode("div",D8,[e.createElementVNode("div",k8,[C8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",S8,[B8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",w8,[A8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",T8,[F8,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",O8,[P8,e.createElementVNode("div",L8,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,W8),$8])]),((he=l.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",H8,[M8,e.createElementVNode("div",I8,[R8,e.createElementVNode("div",G8,[z8,e.createElementVNode("div",U8,e.toDisplayString(n.computedLngLat((Ee=a.extraData)==null?void 0:Ee.startLat,(Ne=a.extraData)==null?void 0:Ne.startLng)),1),e.createElementVNode("div",u8,e.toDisplayString(n.computeUTCTime((Ve=a.extraData)==null?void 0:Ve.startTime)),1),e.createElementVNode("div",Y8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",Z8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(xe=a.extraData)==null?void 0:xe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),Q8,J8]),e.createElementVNode("div",K8,[j8,e.createElementVNode("div",q8,e.toDisplayString(n.computedLngLat((be=a.extraData)==null?void 0:be.endLat,(ge=a.extraData)==null?void 0:ge.endLng)),1),e.createElementVNode("div",X8,e.toDisplayString(n.computeUTCTime((De=a.extraData)==null?void 0:De.endTime)),1),e.createElementVNode("div",v8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",e6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",t6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("div",o6,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("div",l6,[a6,n6,e.createElementVNode("div",s6,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",i6,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",c6,e.toDisplayString(((Je=(Qe=(pe=a.extraData)==null?void 0:pe.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Je.actualCons)??"—"),1),d6,r6])])])):e.createCommentVNode("",!0),e.createElementVNode("div",m6,[p6,e.createElementVNode("div",h6,[e.createElementVNode("div",_6,[y6,e.createElementVNode("div",E6,e.toDisplayString(((A=(Ke=a.extraData)==null?void 0:Ke.cp)==null?void 0:A.speed)??"—"),1)]),e.createElementVNode("div",N6,[V6,e.createElementVNode("div",f6,e.toDisplayString(((Ie=(Se=a.extraData)==null?void 0:Se.cp)==null?void 0:Ie.fo)??"—"),1)]),e.createElementVNode("div",x6,[b6,e.createElementVNode("div",g6,e.toDisplayString(((qe=(je=a.extraData)==null?void 0:je.cp)==null?void 0:qe.dgo)??"—"),1)])])]),e.createElementVNode("div",D6,[e.createElementVNode("div",k6,[C6,e.createElementVNode("div",S6,[e.createVNode(x,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["onClick"])])]),e.createElementVNode("div",B6,[e.createElementVNode("table",null,[w6,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var Ga,za,Ua,Ye,ja,qa,Xa,va;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",A6,[e.createVNode(i,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:st=>n.handleCommit("port","name",st,ao)},null,8,["value","options","onSelect","onCommit"])]),T6,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ga=Z==null?void 0:Z.arrival)==null?void 0:Ga.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","arrival.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(za=Z==null?void 0:Z.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ua=Z==null?void 0:Z.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.dgoBrob",st,ao)},null,8,["value","onCommit"])]),F6,O6,e.createElementVNode("td",P6,[e.createVNode(x,{size:20,onClick:st=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createVNode(g)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[L6,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ye=Z==null?void 0:Z.departure)==null?void 0:Ye.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","departure.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ja=Z==null?void 0:Z.departure)==null?void 0:ja.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=Z==null?void 0:Z.departure)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.dgoBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=Z==null?void 0:Z.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringFo",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(va=Z==null?void 0:Z.departure)==null?void 0:va.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringDgo",st,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[W6,$6,e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=a.extraData)==null?void 0:Xe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString((($=(m=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:m.fo)==null?void 0:$.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=(He=(Be=a.extraData)==null?void 0:Be.consAnalysis)==null?void 0:He.dgo)==null?void 0:Re.portCons)??"—"),1),H6,M6,I6])])])])]),e.createElementVNode("div",R6,[G6,e.createElementVNode("div",z6,[U6,e.createElementVNode("div",u6,[Y6,e.createElementVNode("div",Z6,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(ce=a.extraData)==null?void 0:ce.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extraData","actualDist",Z,t.index))},null,8,["value"])]),e.createElementVNode("div",Q6,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(ze=a.extraData)==null?void 0:ze.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extraData","priorDist",Z,t.index))},null,8,["value"])])]),e.createElementVNode("div",J6,[K6,e.createElementVNode("div",j6,e.toDisplayString(((tt=a.extraData)==null?void 0:tt.extraDist)??"—"),1)])])]),e.createElementVNode("div",q6,[X6,((ot=l.report)==null?void 0:ot.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",v6,[e.createElementVNode("div",e9,[t9,e.createElementVNode("div",o9,[e.createElementVNode("div",null,e.toDisplayString((ct=a.extraData)==null?void 0:ct.extraDist),1),l9,e.createElementVNode("div",null,e.toDisplayString((rt=(dt=a.extraData)==null?void 0:dt.cp)==null?void 0:rt.speed),1)]),a9,e.createElementVNode("div",n9,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),s9]),e.createElementVNode("div",i9,[c9,e.createElementVNode("div",d9,e.toDisplayString((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.sailingTime),1),r9,e.createElementVNode("div",m9,e.toDisplayString(n.computeNum((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.portTime)),1),p9,e.createElementVNode("div",h9,e.toDisplayString((ft=(Vt=a.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:ft.totalExtraTime),1),_9])])):(e.openBlock(),e.createElementBlock("div",y9,[e.createElementVNode("div",E9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("div",null,e.toDisplayString((xt=a.extraData)==null?void 0:xt.priorDist),1),f9,e.createElementVNode("div",null,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.cp)==null?void 0:gt.speed),1)]),x9,e.createElementVNode("div",b9,e.toDisplayString((kt=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:kt.sailingTime),1),g9]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",D9,[k9,e.createElementVNode("div",C9,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),S9,e.createElementVNode("div",B9,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.sailingTime),1),w9,e.createElementVNode("div",A9,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.totalExtraTime),1),T9])):(e.openBlock(),e.createElementBlock("div",F9,[O9,e.createElementVNode("div",P9,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.actualTime),1),L9,e.createElementVNode("div",W9,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.sailingTime),1),$9,e.createElementVNode("div",H9,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.portTime),1),M9,e.createElementVNode("div",I9,e.toDisplayString((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.totalExtraTime),1),R9]))])),((_o=l.report)==null?void 0:_o.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",G9,[e.createElementVNode("div",z9,[U9,e.createElementVNode("div",u9,e.toDisplayString(((Eo=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:Eo.sailingTime)??"—"),1)]),e.createElementVNode("div",Y9,[Z9,e.createElementVNode("div",Q9,e.toDisplayString(((S=(No=a.extraData)==null?void 0:No.timeAnalysis)==null?void 0:S.portTime)??"—"),1)]),e.createElementVNode("div",J9,[K9,e.createElementVNode("div",j9,e.toDisplayString(((lt=(Me=a.extraData)==null?void 0:Me.timeAnalysis)==null?void 0:lt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",q9,[e.createElementVNode("div",X9,[v9,e.createElementVNode("div",eA,e.toDisplayString((pt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:pt.sailingTime),1)]),e.createElementVNode("div",tA,[oA,e.createElementVNode("div",lA,e.toDisplayString((Lt=(Pt=a.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Lt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aA,[nA,e.createElementVNode("div",sA,e.toDisplayString((($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",iA,[cA,e.createElementVNode("div",dA,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:Mt.totalExtraTime),1)])]))]),e.createElementVNode("div",rA,[mA,((It=l.report)==null?void 0:It.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",pA,[e.createElementVNode("div",hA,[_A,e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((Rt=a.extraData)==null?void 0:Rt.extraDist),1),EA,e.createElementVNode("div",null,e.toDisplayString((zt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:zt.speed),1)]),NA,e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=a.extraData)==null?void 0:Ut.cp)==null?void 0:ut.fo),1),fA,xA]),bA,e.createElementVNode("div",gA,e.toDisplayString((Qt=(Zt=(Yt=a.extraData)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.sailingCons),1),DA]),e.createElementVNode("div",kA,[CA,e.createElementVNode("div",SA,e.toDisplayString((jt=(Kt=(Jt=a.extraData)==null?void 0:Jt.consAnalysis)==null?void 0:Kt.fo)==null?void 0:jt.sailingCons),1),BA,e.createElementVNode("div",wA,e.toDisplayString(n.computeNum((vt=(Xt=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.portCons)),1),AA,e.createElementVNode("div",TA,e.toDisplayString((oo=(to=(eo=a.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.totalExtraCons),1),FA]),e.createElementVNode("div",OA,[PA,e.createElementVNode("div",LA,[e.createElementVNode("div",null,e.toDisplayString((Vo=a.extraData)==null?void 0:Vo.extraDist),1),WA,e.createElementVNode("div",null,e.toDisplayString((xo=(fo=a.extraData)==null?void 0:fo.cp)==null?void 0:xo.speed),1)]),$A,e.createElementVNode("div",HA,[e.createElementVNode("div",null,e.toDisplayString((go=(bo=a.extraData)==null?void 0:bo.cp)==null?void 0:go.dgo),1),MA,IA]),RA,e.createElementVNode("div",GA,e.toDisplayString((Co=(ko=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Co.sailingCons),1),zA]),e.createElementVNode("div",UA,[uA,e.createElementVNode("div",YA,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),ZA,e.createElementVNode("div",QA,e.toDisplayString(n.computeNum((Fo=(To=(Ao=a.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:To.dgo)==null?void 0:Fo.portCons)),1),JA,e.createElementVNode("div",KA,e.toDisplayString((Lo=(Po=(Oo=a.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),jA])])):(e.openBlock(),e.createElementBlock("div",qA,[e.createElementVNode("div",XA,[vA,e.createElementVNode("div",e7,[e.createElementVNode("div",null,e.toDisplayString((Wo=a.extraData)==null?void 0:Wo.priorDist),1),t7,e.createElementVNode("div",null,e.toDisplayString((Ho=($o=a.extraData)==null?void 0:$o.cp)==null?void 0:Ho.speed),1)]),o7,e.createElementVNode("div",l7,[e.createElementVNode("div",null,e.toDisplayString((Io=(Mo=a.extraData)==null?void 0:Mo.cp)==null?void 0:Io.fo),1),a7,n7]),s7,e.createElementVNode("div",i7,e.toDisplayString((Uo=(zo=(Go=a.extraData)==null?void 0:Go.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),c7]),e.createElementVNode("div",d7,[r7,e.createElementVNode("div",m7,[e.createElementVNode("div",null,e.toDisplayString((uo=a.extraData)==null?void 0:uo.priorDist),1),p7,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=a.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),h7,e.createElementVNode("div",_7,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=a.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.dgo),1),y7,E7]),N7,e.createElementVNode("div",V7,e.toDisplayString((qo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.dgo)==null?void 0:qo.sailingCons),1),f7]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",x7,[b7,e.createElementVNode("div",g7,e.toDisplayString((el=(vo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:vo.fo)==null?void 0:el.actualCons),1),D7,e.createElementVNode("div",k7,e.toDisplayString(n.computeNum((ll=(ol=(tl=a.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.sailingCons)),1),C7,e.createElementVNode("div",S7,e.toDisplayString((sl=(nl=(al=a.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.totalExtraCons),1),B7])):(e.openBlock(),e.createElementBlock("div",w7,[A7,e.createElementVNode("div",T7,e.toDisplayString((dl=(cl=(il=a.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.actualCons),1),F7,e.createElementVNode("div",O7,e.toDisplayString(n.computeNum((pl=(nt=(rl=a.extraData)==null?void 0:rl.consAnalysis)==null?void 0:nt.fo)==null?void 0:pl.sailingCons)),1),P7,e.createElementVNode("div",L7,e.toDisplayString(n.computeNum((Nl=(El=(yl=a.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:Nl.portCons)),1),W7,e.createElementVNode("div",$7,e.toDisplayString((xl=(fl=(Vl=a.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:fl.fo)==null?void 0:xl.totalExtraCons),1),H7])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",M7,[I7,e.createElementVNode("div",R7,e.toDisplayString((Dl=(gl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:Dl.actualCons),1),G7,e.createElementVNode("div",z7,e.toDisplayString((Sl=(Cl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Cl.dgo)==null?void 0:Sl.sailingCons),1),U7,e.createElementVNode("div",u7,e.toDisplayString((Al=(wl=(Bl=a.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Al.totalExtraCons),1),Y7])):(e.openBlock(),e.createElementBlock("div",Z7,[Q7,e.createElementVNode("div",J7,e.toDisplayString((Ol=(Fl=(Tl=a.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.actualCons),1),K7,e.createElementVNode("div",j7,e.toDisplayString(n.computeNum((Wl=(Ll=(Pl=a.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons)),1),q7,e.createElementVNode("div",X7,e.toDisplayString(n.computeNum((Ml=(Hl=($l=a.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),v7,e.createElementVNode("div",eT,e.toDisplayString((Gl=(Rl=(Il=a.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:Gl.totalExtraCons),1),tT]))])),((zl=l.report)==null?void 0:zl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",oT,[lT,e.createElementVNode("div",aT,[nT,e.createElementVNode("div",sT,e.toDisplayString(((Yl=(ul=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:ul.fo)==null?void 0:Yl.sailingCons)??"—"),1),e.createElementVNode("div",iT,e.toDisplayString(((Jl=(Ql=(Zl=a.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.sailingCons)??"—"),1)]),e.createElementVNode("div",cT,[dT,e.createElementVNode("div",rT,e.toDisplayString(((ql=(jl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:ql.portCons)??"—"),1),e.createElementVNode("div",mT,e.toDisplayString(((ea=(vl=(Xl=a.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:vl.dgo)==null?void 0:ea.portCons)??"—"),1)]),e.createElementVNode("div",pT,[hT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((la=(oa=(ta=a.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.fo)==null?void 0:la.totalExtraCons)} flex blue center`)},e.toDisplayString(((sa=(na=(aa=a.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((da=(ca=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:ca.dgo)==null?void 0:da.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ma=(ra=a.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",_T,[yT,e.createElementVNode("div",ET,[NT,e.createElementVNode("div",VT,e.toDisplayString((ya=(_a=(ha=a.extraData)==null?void 0:ha.consAnalysis)==null?void 0:_a.fo)==null?void 0:ya.sailingCons),1),e.createElementVNode("div",fT,e.toDisplayString((Va=(Na=(Ea=a.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1)]),e.createElementVNode("div",xT,[bT,e.createElementVNode("div",gT,e.toDisplayString((ba=(xa=(fa=a.extraData)==null?void 0:fa.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",DT,e.toDisplayString((ka=(Da=(ga=a.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.dgo)==null?void 0:ka.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",kT,[CT,e.createElementVNode("div",ST,e.toDisplayString((Ba=(Sa=(Ca=a.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.fo)==null?void 0:Ba.portCons),1),e.createElementVNode("div",BT,e.toDisplayString((Ta=(Aa=(wa=a.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ta.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wT,[AT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Oa=(Fa=a.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Oa.fo)==null?void 0:Pa.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Wa=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:$a.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((lo=(Y=(Ha=a.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Y.dgo)==null?void 0:lo.totalExtraCons)} flex blue center`)},e.toDisplayString((Ra=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons),3)])]))]),e.createElementVNode("div",TT,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Z=>a.advisory=Z),height:"320px",onBlur:s[9]||(s[9]=Z=>n.handleCommit("comments","comments",Z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Z)=>n.decideDisable&&n.decideDisable(...Z)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,FT))],2)])])}const yn=Ce(Kw,[["render",OT],["__scopeId","data-v-c2e105cd"]]),lu="",PT={name:"FliDvtRpt",components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:_n,Editor:Ro},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoA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93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} / ${r}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var t,s,l,r;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(l=this.data)!=null&&l.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(y=this.data)==null?void 0:y.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,l,r){var y,i,p,x,g;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.data)!=null&&x.comments?(g=this.data)==null?void 0:g.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=t=>(e.pushScopeId("data-v-eba493df"),t=t(),e.popScopeId(),t),LT={class:"deviation-report"},WT=N(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),$T={class:"report-header"},HT={class:"header-title",style:{position:"relative !important"}},MT={class:"header-title-content"},IT=N(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),RT={class:"title-date"},GT={class:"report-summary"},zT={class:"summary-item"},UT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),uT={class:"flexL gray"},YT={class:"summary-item"},ZT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),QT={class:"flexL gray"},JT={class:"summary-item"},KT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),jT={class:"flexL gray"},qT={class:"summary-item"},XT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),vT={class:"flexL gray"},eF={class:"summary-item"},tF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),oF={class:"flexL gray",style:{display:"flex"}},lF={class:"flex"},aF={class:"flexM"},nF={class:"summary-item"},sF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),iF={class:"flexL gray",style:{display:"flex"}},cF={class:"flex"},dF={class:"flexM"},rF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),mF={class:"report-summary"},pF={class:"summary-item"},hF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),_F={class:"summary-item"},yF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),EF={class:"summary-item"},NF=N(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),VF={class:"summary-item"},fF=N(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),xF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),bF={class:"report-map"},gF=["src"],DF=e.createStaticVNode('<div class="legend" data-v-eba493df><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-eba493df></div><div data-v-eba493df>Actual Route</div></div><div class="legend-item" data-v-eba493df><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-eba493df></div><div data-v-eba493df>Route prior to deviation</div></div></div>',1),kF=N(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),CF={key:0,class:"subtitle"},SF={key:1,class:"report-summary"},BF=e.createStaticVNode('<div class="summary-item" data-v-eba493df><div class="blue center" style="width:16%;" data-v-eba493df>Diversion</div><div class="blue center" style="width:20%;" data-v-eba493df>Position</div><div class="blue center" style="width:17%;" data-v-eba493df>Date Time</div><div class="flex blue center" data-v-eba493df>FO BROB<br data-v-eba493df>(mt)</div><div class="flex blue center" data-v-eba493df>DO/GO<br data-v-eba493df>BROB (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>FO (mt)</div><div class="flex blue center" data-v-eba493df>Bunkering<br data-v-eba493df>DO/GO (mt)</div></div>',1),wF={class:"summary-item"},AF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),TF={class:"blue center",style:{width:"20%"}},FF={class:"blue center",style:{width:"17%"}},OF={class:"flex blue center"},PF={class:"flex blue center"},LF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),WF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),$F={class:"summary-item"},HF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),MF={class:"blue center",style:{width:"20%"}},IF={class:"blue center",style:{width:"17%"}},RF={class:"flex blue center"},GF={class:"flex blue center"},zF={class:"flex blue center"},UF={class:"flex blue center"},uF={class:"summary-item"},YF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),ZF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),QF={class:"blue center",style:{width:"17%"}},JF={class:"flex blue center"},KF={class:"flex blue center"},jF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XF=N(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),vF={class:"report-summary"},eO={class:"summary-item"},tO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),oO={class:"flexL blue center"},lO={class:"summary-item"},aO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),nO={class:"flexL blue center"},sO={class:"summary-item"},iO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),cO={class:"flexL blue center"},dO={class:"subtitle port"},rO=N(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),mO={class:"print-hidden"},pO={class:"report-port"},hO=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)),_O={rowspan:2},yO=N(()=>e.createElementVNode("td",null,"Arrival",-1)),EO=N(()=>e.createElementVNode("td",null,null,-1)),NO=N(()=>e.createElementVNode("td",null,null,-1)),VO={rowspan:2,class:"print-hidden"},fO=N(()=>e.createElementVNode("td",null,"Departure",-1)),xO=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),bO=N(()=>e.createElementVNode("td",null,null,-1)),gO=N(()=>e.createElementVNode("td",null,null,-1)),DO=N(()=>e.createElementVNode("td",null,null,-1)),kO=N(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),CO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),SO={class:"report-summary"},BO=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)),wO={class:"summary-item"},AO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),TO={class:"flex blue center"},FO={class:"flex blue center"},OO={class:"summary-item"},PO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),LO={class:"flex blue center"},WO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),$O={key:2,class:"report-formular"},HO={class:"equation"},MO=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),IO={class:"function",style:{width:"20%"}},RO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zO={style:{width:"10%"}},UO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uO={class:"equation"},YO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:28%;" data-v-eba493df>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),ZO={style:{width:"5%"}},QO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),JO={style:{width:"8%"}},KO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jO={style:{width:"4%"}},qO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),XO={key:3,class:"report-formular"},vO={class:"equation"},eP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-eba493df>=</div><div class="function" style="width:20%;" data-v-eba493df><div data-v-eba493df>Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:5%;" data-v-eba493df>=</div>',4),tP={class:"function",style:{width:"20%"}},oP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),aP={style:{width:"10%"}},nP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),sP={key:0,class:"equation"},iP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:30%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',6),cP={style:{width:"5%"}},dP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),rP={style:{width:"5%"}},mP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),pP={style:{width:"5%"}},hP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),_P={key:1,class:"equation"},yP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-eba493df>Total extra Time (hrs)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:24%;" data-v-eba493df>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>Time spent in port (hrs)</div><div style="width:2%;" data-v-eba493df>=</div>',8),EP={style:{width:"5%"}},NP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),VP={style:{width:"5%"}},fP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),xP={style:{width:"5%"}},bP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),gP={style:{width:"5%"}},DP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kP={key:4,class:"report-summary"},CP={class:"summary-item"},SP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),BP={class:"flex blue center"},wP={class:"summary-item"},AP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),TP={class:"flex blue center"},FP={class:"summary-item"},OP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),PP={class:"flex blue center"},LP={key:5,class:"report-summary"},WP={class:"summary-item"},$P=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),HP={class:"flex blue center"},MP={class:"summary-item"},IP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),RP={class:"flex blue center"},GP={key:0,class:"summary-item"},zP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),UP={class:"flex blue center"},uP={class:"summary-item"},YP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),ZP={class:"flex blue center"},QP=N(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),JP={key:6,class:"report-formular"},KP={class:"equation"},jP=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),qP={class:"function",style:{width:"5%"}},XP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),eL={class:"function",style:{width:"5%"}},tL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oL=N(()=>e.createElementVNode("div",null,"24",-1)),lL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),aL={style:{width:"5%"}},nL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),sL={class:"equation"},iL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-eba493df>+</div><div style="width:23%;" data-v-eba493df>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),cL={style:{width:"5%"}},dL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),rL={style:{width:"5%"}},mL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),pL={style:{width:"5%"}},hL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_L={class:"equation"},yL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),EL={class:"function",style:{width:"5%"}},NL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),fL={class:"function",style:{width:"5%"}},xL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bL=N(()=>e.createElementVNode("div",null,"24",-1)),gL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DL={style:{width:"5%"}},kL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),CL={class:"equation"},SL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-eba493df>=</div>',6),BL={style:{width:"5%"}},wL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AL={style:{width:"5%"}},TL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FL={style:{width:"5%"}},OL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PL={key:7,class:"report-formular"},LL={class:"equation"},WL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily FO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),$L={class:"function",style:{width:"5%"}},HL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ML=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),IL={class:"function",style:{width:"5%"}},RL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GL=N(()=>e.createElementVNode("div",null,"24",-1)),zL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UL={style:{width:"5%"}},uL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YL={class:"equation"},ZL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-eba493df>=</div><div class="function" style="width:30%;" data-v-eba493df><div data-v-eba493df>Route prior to deviation Distance</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>CP Speed</div></div><div style="width:3%;" data-v-eba493df>×</div><div class="function" style="width:23%;" data-v-eba493df><div data-v-eba493df>CP Daily DO Consumption</div><div class="fractional-line" data-v-eba493df></div><div data-v-eba493df>24</div></div><div style="width:3%;" data-v-eba493df>=</div>',6),QL={class:"function",style:{width:"5%"}},JL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jL={class:"function",style:{width:"5%"}},qL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=N(()=>e.createElementVNode("div",null,"24",-1)),vL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eW={style:{width:"5%"}},tW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oW={key:0,class:"equation"},lW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),aW={style:{width:"5%"}},nW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sW={style:{width:"5%"}},iW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cW={style:{width:"5%"}},dW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rW={key:1,class:"equation"},mW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>FO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>FO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),pW={style:{width:"5%"}},hW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_W={style:{width:"5%"}},yW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EW={style:{width:"5%"}},NW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VW={style:{width:"5%"}},fW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xW={key:2,class:"equation"},bW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:30%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:23%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>=</div>',6),gW={style:{width:"5%"}},DW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kW={style:{width:"5%"}},CW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SW={style:{width:"5%"}},BW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wW={key:3,class:"equation"},AW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-eba493df>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-eba493df>=</div><div style="width:15%;" data-v-eba493df>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:20%;" data-v-eba493df>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-eba493df>-</div><div style="width:10%;" data-v-eba493df>DO/GO Consumption in port</div><div style="width:3%;" data-v-eba493df>=</div>',8),TW={style:{width:"5%"}},FW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),OW={style:{width:"5%"}},PW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LW={style:{width:"5%"}},WW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$W={style:{width:"5%"}},HW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MW={key:8,class:"report-summary"},IW=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)),RW={class:"summary-item"},GW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),zW={class:"flex blue center"},UW={class:"flex blue center"},uW={class:"summary-item"},YW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),ZW={class:"flex blue center"},QW={class:"flex blue center"},JW={class:"summary-item"},KW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jW={key:9,class:"report-summary"},qW=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)),XW={class:"summary-item"},vW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),e$={class:"flex blue center"},t$={class:"flex blue center"},o$={class:"summary-item"},l$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),a$={class:"flex blue center"},n$={class:"flex blue center"},s$={key:0,class:"summary-item"},i$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),c$={class:"flex blue center"},d$={class:"flex blue center"},r$={class:"summary-item"},m$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),p$=["innerHTML"];function h$(t,s,l,r,a,n){var h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,ce,ze,tt,ot,ct,dt,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,bt,gt,Dt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,bo,go,Do,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,bl,gl,Dl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ba,ga,Da,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha;const y=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),x=e.resolveComponent("Remove"),g=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",LT,[WT,e.createElementVNode("div",$T,[e.createElementVNode("div",HT,[e.createElementVNode("div",MT,[IT,e.createElementVNode("div",RT,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",GT,[e.createElementVNode("div",zT,[UT,e.createElementVNode("div",uT,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,e.toDisplayString((b=a.extraData)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",JT,[KT,e.createElementVNode("div",jT,e.toDisplayString((D=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",vT,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,[e.createElementVNode("span",lF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",aF,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",nF,[sF,e.createElementVNode("div",iF,[e.createElementVNode("span",cF,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",dF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),rF,e.createElementVNode("div",mF,[e.createElementVNode("div",pF,[hF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",_F,[yF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",EF,[NF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",VF,[fF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),xF,e.createElementVNode("div",bF,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,gF),DF]),kF,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",CF,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",SF,[BF,e.createElementVNode("div",wF,[AF,e.createElementVNode("div",TF,e.toDisplayString(n.computedLngLat((he=a.extraData)==null?void 0:he.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",FF,e.toDisplayString(n.computeUTCTime((Ne=a.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",OF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ve=a.extraData)==null?void 0:Ve.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Y=>n.handleCommit("extra","startFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",PF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Y=>n.handleCommit("extra","startDgoBrob",Y))},null,8,["value"])]),LF,WF]),e.createElementVNode("div",$F,[HF,e.createElementVNode("div",MF,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(be=a.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",IF,e.toDisplayString(n.computeUTCTime((ge=a.extraData)==null?void 0:ge.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",RF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(De=a.extraData)==null?void 0:De.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Y=>n.handleCommit("extra","endFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",GF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Y=>n.handleCommit("extra","endDgoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",zF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Y=>n.handleCommit("extra","endFoBunkering",Y))},null,8,["value"])]),e.createElementVNode("div",UF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Y=>n.handleCommit("extra","endDgoBunkering",Y))},null,8,["value"])])]),e.createElementVNode("div",uF,[YF,ZF,e.createElementVNode("div",QF,e.toDisplayString(((Oe=(Fe=a.extraData)==null?void 0:Fe.timeAnalysis)==null?void 0:Oe.actualTime)??"—"),1),e.createElementVNode("div",JF,e.toDisplayString(((We=(Le=(Pe=a.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",KF,e.toDisplayString(((Qe=(pe=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:pe.dgo)==null?void 0:Qe.actualCons)??"—"),1),jF,qF])])),XF,e.createElementVNode("div",vF,[e.createElementVNode("div",eO,[tO,e.createElementVNode("div",oO,e.toDisplayString(((Ke=(Je=a.extraData)==null?void 0:Je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",lO,[aO,e.createElementVNode("div",nO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",sO,[iO,e.createElementVNode("div",cO,e.toDisplayString(((je=(Ie=a.extraData)==null?void 0:Ie.cp)==null?void 0:je.dgo)??"—"),1)])]),e.createElementVNode("div",dO,[rO,e.createElementVNode("div",mO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",pO,[e.createElementVNode("table",null,[hO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Y,lo)=>{var Ma,Ia,Ra,Z,ao,Ga,za,Ua;return e.openBlock(),e.createElementBlock(e.Fragment,{key:lo},[e.createElementVNode("tr",null,[e.createElementVNode("td",_O,[e.createVNode(y,{class:"editable-item",value:Y==null?void 0:Y.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Ye=>n.handleCommit("port","name",Ye,lo)},null,8,["value","options","onSelect","onCommit"])]),yO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Ma=Y==null?void 0:Y.arrival)==null?void 0:Ma.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ia=Y==null?void 0:Y.arrival)==null?void 0:Ia.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ra=Y==null?void 0:Y.arrival)==null?void 0:Ra.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),EO,NO,e.createElementVNode("td",VO,[e.createVNode(p,{size:20,onClick:Ye=>n.handleRemove(lo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[fO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Z=Y==null?void 0:Y.departure)==null?void 0:Z.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","departure.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(ao=Y==null?void 0:Y.departure)==null?void 0:ao.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ga=Y==null?void 0:Y.departure)==null?void 0:Ga.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(za=Y==null?void 0:Y.departure)==null?void 0:za.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringFo",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ua=Y==null?void 0:Y.departure)==null?void 0:Ua.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringDgo",Ye,lo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[xO,bO,e.createElementVNode("td",null,e.toDisplayString(((Xe=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:Xe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:He.portCons)??"—"),1),gO,DO,kO])])])]),CO,e.createElementVNode("div",SO,[BO,e.createElementVNode("div",wO,[AO,e.createElementVNode("div",TO,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Y=>n.handleCommit("extraData","actualDist",Y,t.index))},null,8,["value"])]),e.createElementVNode("div",FO,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(ce=a.extraData)==null?void 0:ce.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Y=>n.handleCommit("extraData","priorDist",Y,t.index))},null,8,["value"])])]),e.createElementVNode("div",OO,[PO,e.createElementVNode("div",LO,e.toDisplayString(((ze=a.extraData)==null?void 0:ze.extraDist)??"—"),1)])]),WO,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",$O,[e.createElementVNode("div",HO,[MO,e.createElementVNode("div",IO,[e.createElementVNode("div",null,e.toDisplayString((tt=a.extraData)==null?void 0:tt.extraDist),1),RO,e.createElementVNode("div",null,e.toDisplayString((ct=(ot=a.extraData)==null?void 0:ot.cp)==null?void 0:ct.speed),1)]),GO,e.createElementVNode("div",zO,e.toDisplayString((rt=(dt=a.extraData)==null?void 0:dt.timeAnalysis)==null?void 0:rt.sailingTime),1),UO]),e.createElementVNode("div",uO,[YO,e.createElementVNode("div",ZO,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),QO,e.createElementVNode("div",JO,e.toDisplayString(n.computeNum((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.portTime)),1),KO,e.createElementVNode("div",jO,e.toDisplayString((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),qO])])):(e.openBlock(),e.createElementBlock("div",XO,[e.createElementVNode("div",vO,[eP,e.createElementVNode("div",tP,[e.createElementVNode("div",null,e.toDisplayString((Vt=a.extraData)==null?void 0:Vt.priorDist),1),oP,e.createElementVNode("div",null,e.toDisplayString((xt=(ft=a.extraData)==null?void 0:ft.cp)==null?void 0:xt.speed),1)]),lP,e.createElementVNode("div",aP,e.toDisplayString((gt=(bt=a.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:gt.sailingTime),1),nP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",sP,[iP,e.createElementVNode("div",cP,e.toDisplayString((kt=(Dt=a.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:kt.actualTime),1),dP,e.createElementVNode("div",rP,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),mP,e.createElementVNode("div",pP,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.totalExtraTime),1),hP])):(e.openBlock(),e.createElementBlock("div",_P,[yP,e.createElementVNode("div",EP,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.actualTime),1),NP,e.createElementVNode("div",VP,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.sailingTime),1),fP,e.createElementVNode("div",xP,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.portTime),1),bP,e.createElementVNode("div",gP,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.totalExtraTime),1),DP]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",kP,[e.createElementVNode("div",CP,[SP,e.createElementVNode("div",BP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.sailingTime)??"—"),1)]),e.createElementVNode("div",wP,[AP,e.createElementVNode("div",TP,e.toDisplayString(((yo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:yo.portTime)??"—"),1)]),e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,e.toDisplayString(((No=(Eo=a.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:No.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",LP,[e.createElementVNode("div",WP,[$P,e.createElementVNode("div",HP,e.toDisplayString((Me=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Me.sailingTime),1)]),e.createElementVNode("div",MP,[IP,e.createElementVNode("div",RP,e.toDisplayString((at=(lt=a.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",GP,[zP,e.createElementVNode("div",UP,e.toDisplayString(((Pt=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:Pt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",uP,[YP,e.createElementVNode("div",ZP,e.toDisplayString((Wt=(Lt=a.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:Wt.totalExtraTime),1)])])),QP,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",JP,[e.createElementVNode("div",KP,[jP,e.createElementVNode("div",qP,[e.createElementVNode("div",null,e.toDisplayString(($t=a.extraData)==null?void 0:$t.extraDist),1),XP,e.createElementVNode("div",null,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.cp)==null?void 0:Mt.speed),1)]),vP,e.createElementVNode("div",eL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(It=a.extraData)==null?void 0:It.cp)==null?void 0:Rt.fo),1),tL,oL]),lL,e.createElementVNode("div",aL,e.toDisplayString((Ut=(zt=(Gt=a.extraData)==null?void 0:Gt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.sailingCons),1),nL]),e.createElementVNode("div",sL,[iL,e.createElementVNode("div",cL,e.toDisplayString((Zt=(Yt=(ut=a.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Yt.fo)==null?void 0:Zt.sailingCons),1),dL,e.createElementVNode("div",rL,e.toDisplayString(n.computeNum((Kt=(Jt=(Qt=a.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:Kt.portCons)),1),mL,e.createElementVNode("div",pL,e.toDisplayString((Xt=(qt=(jt=a.extraData)==null?void 0:jt.consAnalysis)==null?void 0:qt.fo)==null?void 0:Xt.totalExtraCons),1),hL]),e.createElementVNode("div",_L,[yL,e.createElementVNode("div",EL,[e.createElementVNode("div",null,e.toDisplayString((vt=a.extraData)==null?void 0:vt.extraDist),1),NL,e.createElementVNode("div",null,e.toDisplayString((to=(eo=a.extraData)==null?void 0:eo.cp)==null?void 0:to.speed),1)]),VL,e.createElementVNode("div",fL,[e.createElementVNode("div",null,e.toDisplayString((Vo=(oo=a.extraData)==null?void 0:oo.cp)==null?void 0:Vo.dgo),1),xL,bL]),gL,e.createElementVNode("div",DL,e.toDisplayString((bo=(xo=(fo=a.extraData)==null?void 0:fo.consAnalysis)==null?void 0:xo.dgo)==null?void 0:bo.sailingCons),1),kL]),e.createElementVNode("div",CL,[SL,e.createElementVNode("div",BL,e.toDisplayString((ko=(Do=(go=a.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.dgo)==null?void 0:ko.sailingCons),1),wL,e.createElementVNode("div",AL,e.toDisplayString(n.computeNum((Bo=(So=(Co=a.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:Bo.portCons)),1),TL,e.createElementVNode("div",FL,e.toDisplayString((To=(Ao=(wo=a.extraData)==null?void 0:wo.consAnalysis)==null?void 0:Ao.dgo)==null?void 0:To.totalExtraCons),1),OL])])):(e.openBlock(),e.createElementBlock("div",PL,[e.createElementVNode("div",LL,[WL,e.createElementVNode("div",$L,[e.createElementVNode("div",null,e.toDisplayString((Fo=a.extraData)==null?void 0:Fo.priorDist),1),HL,e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.speed),1)]),ML,e.createElementVNode("div",IL,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=a.extraData)==null?void 0:Lo.cp)==null?void 0:Wo.fo),1),RL,GL]),zL,e.createElementVNode("div",UL,e.toDisplayString((Mo=(Ho=($o=a.extraData)==null?void 0:$o.consAnalysis)==null?void 0:Ho.fo)==null?void 0:Mo.sailingCons),1),uL]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("div",QL,[e.createElementVNode("div",null,e.toDisplayString((Io=a.extraData)==null?void 0:Io.priorDist),1),JL,e.createElementVNode("div",null,e.toDisplayString((zo=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:zo.speed),1)]),KL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((uo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:uo.dgo),1),qL,XL]),vL,e.createElementVNode("div",eW,e.toDisplayString((Qo=(Zo=(Yo=a.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.dgo)==null?void 0:Qo.sailingCons),1),tW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",oW,[lW,e.createElementVNode("div",aW,e.toDisplayString((jo=(Ko=(Jo=a.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:jo.actualCons),1),nW,e.createElementVNode("div",sW,e.toDisplayString(n.computeNum((vo=(Xo=(qo=a.extraData)==null?void 0:qo.consAnalysis)==null?void 0:Xo.fo)==null?void 0:vo.sailingCons)),1),iW,e.createElementVNode("div",cW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),dW])):(e.openBlock(),e.createElementBlock("div",rW,[mW,e.createElementVNode("div",pW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),hW,e.createElementVNode("div",_W,e.toDisplayString(n.computeNum((cl=(il=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.sailingCons)),1),yW,e.createElementVNode("div",EW,e.toDisplayString(n.computeNum((nt=(rl=(dl=a.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:nt.portCons)),1),NW,e.createElementVNode("div",VW,e.toDisplayString((El=(yl=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.totalExtraCons),1),fW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",xW,[bW,e.createElementVNode("div",gW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),DW,e.createElementVNode("div",kW,e.toDisplayString((gl=(bl=(xl=a.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.dgo)==null?void 0:gl.sailingCons),1),CW,e.createElementVNode("div",SW,e.toDisplayString((Cl=(kl=(Dl=a.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Cl.totalExtraCons),1),BW])):(e.openBlock(),e.createElementBlock("div",wW,[AW,e.createElementVNode("div",TW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),FW,e.createElementVNode("div",OW,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),PW,e.createElementVNode("div",LW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),WW,e.createElementVNode("div",$W,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),HW]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",MW,[IW,e.createElementVNode("div",RW,[GW,e.createElementVNode("div",zW,e.toDisplayString(((Rl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Rl.sailingCons)??"—"),1),e.createElementVNode("div",UW,e.toDisplayString(((Ul=(zl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",uW,[YW,e.createElementVNode("div",ZW,e.toDisplayString(((Zl=(Yl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Yl.fo)==null?void 0:Zl.portCons)??"—"),1),e.createElementVNode("div",QW,e.toDisplayString(((Kl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.portCons)??"—"),1)]),e.createElementVNode("div",JW,[KW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Xl=(ql=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:ql.fo)==null?void 0:Xl.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ia=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",jW,[qW,e.createElementVNode("div",XW,[vW,e.createElementVNode("div",e$,e.toDisplayString((ra=(da=(ca=a.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",t$,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",o$,[l$,e.createElementVNode("div",a$,e.toDisplayString((Ea=(ya=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:ya.fo)==null?void 0:Ea.actualCons),1),e.createElementVNode("div",n$,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",s$,[i$,e.createElementVNode("div",c$,e.toDisplayString((ga=(ba=(xa=a.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ba.fo)==null?void 0:ga.portCons),1),e.createElementVNode("div",d$,e.toDisplayString((Ca=(ka=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Ca.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",r$,[m$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Fa=(Ta=(Aa=a.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Fa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((La=(Pa=(Oa=a.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ha=($a=(Wa=a.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ha.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(g,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Y=>a.advisory=Y),height:"320px",onBlur:s[9]||(s[9]=Y=>n.handleCommit("comments","comments",Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Y)=>n.decideDisable&&n.decideDisable(...Y)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,p$))],2)])}const En=Ce(PT,[["render",h$],["__scopeId","data-v-eba493df"]]),_$={install(t){t.component("DeviationReport",yn),t.component("FliDeviationReport",En)}},au="",y$={name:"OrmStoppage",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAo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ShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:""}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ae.LngLatHelper.roundPrecision(t,s)}}}},so=t=>(e.pushScopeId("data-v-3114937f"),t=t(),e.popScopeId(),t),E$={class:"stoppage-report"},N$={class:"report-summary"},V$={class:"summary-item"},f$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),x$={class:"flexL gray"},b$={class:"summary-item"},g$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),D$={class:"flexL gray"},k$={class:"summary-item"},C$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),S$={class:"flexL gray"},B$={class:"summary-item"},w$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),A$={class:"flexL gray"},T$={class:"summary-item"},F$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),O$={class:"flexL gray",style:{display:"flex"}},P$={class:"flex"},L$={class:"flexM"},W$={class:"summary-item"},$$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),H$={class:"flexL gray",style:{display:"flex"}},M$={class:"flex"},I$={class:"flexM"},R$=so(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),G$={class:"report-summary"},z$={class:"summary-item"},U$=so(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),u$={class:"summary-item"},Y$=so(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),Z$={class:"summary-item"},Q$=so(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),J$=so(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),K$={class:"report-table"},j$=so(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),q$=so(()=>e.createElementVNode("td",null,"Stopped",-1)),X$={rowspan:2},v$={rowspan:2},eH={rowspan:2},tH=so(()=>e.createElementVNode("td",null,"Resumed",-1)),oH={class:"report-map flex-center"},lH=["src"];function aH(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",E$,[e.createVNode(y,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",N$,[e.createElementVNode("div",V$,[f$,e.createElementVNode("div",x$,e.toDisplayString((p=(i=l.report)==null?void 0:i.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",b$,[g$,e.createElementVNode("div",D$,e.toDisplayString((x=l.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",k$,[C$,e.createElementVNode("div",S$,e.toDisplayString((h=(g=l.report)==null?void 0:g.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",A$,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T$,[F$,e.createElementVNode("div",O$,[e.createElementVNode("span",P$,e.toDisplayString((C=(b=l.report)==null?void 0:b.departure)==null?void 0:C.name),1),e.createElementVNode("span",L$,e.toDisplayString(n.computeUTCTime(((T=(D=l.report)==null?void 0:D.departure)==null?void 0:T.atd)||((B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.etd))),1)])]),e.createElementVNode("div",W$,[$$,e.createElementVNode("div",H$,[e.createElementVNode("span",M$,e.toDisplayString((V=(w=l.report)==null?void 0:w.arrival)==null?void 0:V.name),1),e.createElementVNode("span",I$,e.toDisplayString(n.computeUTCTime(((I=(O=l.report)==null?void 0:O.arrival)==null?void 0:I.ata)||((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.eta))),1)])])]),R$,e.createElementVNode("div",G$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((z=l.report)==null?void 0:z.totalTime))},e.toDisplayString(((_=l.report)==null?void 0:_.totalTime)??"—"),5)]),e.createElementVNode("div",u$,[Y$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((L=l.report)==null?void 0:L.totalFoCons))},e.toDisplayString(((H=l.report)==null?void 0:H.totalFoCons)??"—"),5)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((W=l.report)==null?void 0:W.totalDgoCons))},e.toDisplayString(((P=l.report)==null?void 0:P.totalDgoCons)??"—"),5)])]),J$,e.createElementVNode("div",K$,[e.createElementVNode("table",null,[j$,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[q$,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((M=l.report)==null?void 0:M.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((Q=l.report)==null?void 0:Q.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((U=l.report)==null?void 0:U.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((J=l.report)==null?void 0:J.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ne=l.report)==null?void 0:ne.stopDgoBrob)??"-")),1),e.createElementVNode("td",X$,e.toDisplayString(n.computeRoundPrecision(((se=l.report)==null?void 0:se.totalTime)??"-")),1),e.createElementVNode("td",v$,e.toDisplayString(n.computeRoundPrecision(((o=l.report)==null?void 0:o.totalFoCons)??"-")),1),e.createElementVNode("td",eH,e.toDisplayString(n.computeRoundPrecision(((j=l.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[tH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((v=l.report)==null?void 0:v.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((ee=l.report)==null?void 0:ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((te=l.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=l.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=l.report)==null?void 0:le.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",oH,[e.createElementVNode("img",{src:(ie=l.report)==null?void 0:ie.chartUrl,alt:""},null,8,lH)])])}const Nn=Ce(y$,[["render",aH],["__scopeId","data-v-3114937f"]]),nH={install(t){t.component("StoppageReport",Nn)}},nu="",sH={name:"OrmComparison",components:{Editor:Ro,IdmBrand:no},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},_e=t=>(e.pushScopeId("data-v-99108259"),t=t(),e.popScopeId(),t),iH={class:"comparison-report"},cH={class:"report-summary"},dH={class:"summary-item"},rH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),mH={class:"flexL gray"},pH={class:"summary-item"},hH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),_H={class:"flexL gray"},yH={class:"summary-item"},EH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),NH={class:"flexL gray"},VH={class:"summary-item"},fH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),xH={class:"flexL gray"},bH={class:"summary-item"},gH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),DH={class:"flexL gray"},kH={class:"summary-item"},CH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),SH={class:"flexL gray",style:{display:"flex"}},BH={class:"flex"},wH={class:"flexM"},AH={class:"summary-item"},TH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),FH={class:"flexL gray",style:{display:"flex"}},OH={class:"flex"},PH={class:"flexM"},LH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),WH={class:"report-summary"},$H={class:"summary-item"},HH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),MH={class:"summary-item"},IH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),RH={class:"summary-item"},GH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),zH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),UH={class:"report-map"},uH=["src"],YH=e.createStaticVNode('<div class="legend" data-v-99108259><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-99108259></div><div data-v-99108259>Actual Route</div></div><div class="legend-item" data-v-99108259><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-99108259></div><div data-v-99108259>Recommended Route</div></div></div>',1),ZH={key:0,class:"subtitle"},QH={key:1,class:"report-summary"},JH={class:"summary-item"},KH=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),jH={class:"flexL blue center"},qH={class:"summary-item"},XH=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),vH={class:"flexL blue center"},eM={class:"summary-item"},tM=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),oM={class:"flexL blue center"},lM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),aM={class:"report-summary"},nM=_e(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),sM={class:"summary-item"},iM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),cM={class:"flex blue-light center"},dM={class:"flex blue-light center"},rM={class:"summary-item"},mM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),pM={class:"flex blue-light center"},hM={class:"flex blue-light center"},_M={class:"summary-item"},yM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),EM={class:"flex blue-light center"},NM={class:"flex blue-light center"},VM={class:"summary-item"},fM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),xM={class:"flex blue-light center"},bM={class:"flex blue-light center"},gM={class:"summary-item"},DM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),kM={class:"flex blue-light center"},CM={class:"flex blue-light center"},SM={class:"summary-item"},BM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),wM={class:"flex blue-light center"},AM={class:"flex blue-light center"},TM={class:"summary-item"},FM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),OM={class:"flex blue-light center italic"},PM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),LM={class:"report-summary"},WM=_e(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),$M={class:"summary-item"},HM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),MM={class:"flex blue-light center"},IM={class:"flex blue-light center"},RM={class:"summary-item"},GM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),zM={class:"flex blue-light center"},UM={class:"flex blue-light center"},uM={class:"summary-item"},YM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),ZM={class:"flex blue-light center"},QM={class:"flex blue-light center"},JM={class:"summary-item"},KM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),jM={class:"flex blue-light center"},qM={class:"flex blue-light center"},XM={class:"summary-item"},vM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),eI={class:"flex blue-light center italic"},tI={class:"summary-item"},oI=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),lI={class:"flex blue-light center italic"},aI=["innerHTML"];function nI(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",iH,[e.createVNode(y,{name:"Voyage Comparison Report"}),e.createElementVNode("div",cH,[e.createElementVNode("div",dH,[rH,e.createElementVNode("div",mH,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",_H,e.toDisplayString((g=l.report)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",yH,[EH,e.createElementVNode("div",NH,e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",xH,e.toDisplayString((b=(k=l.report)==null?void 0:k.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",bH,[gH,e.createElementVNode("div",DH,e.toDisplayString((D=(C=l.report)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",kH,[CH,e.createElementVNode("div",SH,[e.createElementVNode("span",BH,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",wH,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=l.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",AH,[TH,e.createElementVNode("div",FH,[e.createElementVNode("span",OH,e.toDisplayString((R=(I=l.report)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",PH,e.toDisplayString(n.computeUTCTime(((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),LH,e.createElementVNode("div",WH,[e.createElementVNode("div",$H,[HH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=l.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=l.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",MH,[IH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=l.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",RH,[GH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=l.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=l.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),zH,e.createElementVNode("div",UH,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.report)==null?void 0:J.chartUrl,alt:""},null,8,uH),YH]),(ne=l.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ZH,"CP Terms")),(se=l.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QH,[e.createElementVNode("div",JH,[KH,e.createElementVNode("div",jH,e.toDisplayString(((j=(o=l.report)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",qH,[XH,e.createElementVNode("div",vH,e.toDisplayString(((ee=(v=l.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString(((oe=(te=l.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),lM,e.createElementVNode("div",aM,[nM,e.createElementVNode("div",sM,[iM,e.createElementVNode("div",cM,e.toDisplayString(((le=l.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",dM,e.toDisplayString(((ie=l.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",rM,[mM,e.createElementVNode("div",pM,e.toDisplayString(((re=l.report)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",hM,e.toDisplayString(((me=l.report)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",_M,[yM,e.createElementVNode("div",EM,e.toDisplayString(((ye=l.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",NM,e.toDisplayString(((q=l.report)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",VM,[fM,e.createElementVNode("div",xM,e.toDisplayString(((he=l.report)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",bM,e.toDisplayString(((Ee=l.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",gM,[DM,e.createElementVNode("div",kM,e.toDisplayString(((Ne=l.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",CM,e.toDisplayString(((Ve=l.report)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,e.toDisplayString(((fe=l.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",AM,e.toDisplayString(((xe=l.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",TM,[FM,e.createElementVNode("div",OM,e.toDisplayString(n.compareTime((be=l.report)==null?void 0:be.actualTime,(ge=l.report)==null?void 0:ge.recmdTime)),1)])]),PM,e.createElementVNode("div",LM,[WM,e.createElementVNode("div",$M,[HM,e.createElementVNode("div",MM,e.toDisplayString(((De=l.report)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",IM,e.toDisplayString(((ke=l.report)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",RM,[GM,e.createElementVNode("div",zM,e.toDisplayString(((Ae=l.report)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",UM,e.toDisplayString(((Te=l.report)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",uM,[YM,e.createElementVNode("div",ZM,e.toDisplayString(((Fe=l.report)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",QM,e.toDisplayString(((Oe=l.report)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",JM,[KM,e.createElementVNode("div",jM,e.toDisplayString(((Pe=l.report)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",qM,e.toDisplayString(((Le=l.report)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",XM,[vM,e.createElementVNode("div",eI,e.toDisplayString(((We=l.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,e.toDisplayString((($e=l.report)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,aI))],2)])}const Vn=Ce(sH,[["render",nI],["__scopeId","data-v-99108259"]]),su="",sI={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71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IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const l={[t]:s};await ua.put(`${this.gateway}/api/als/comparisons/${this.id}`,l,{headers:{Authorization:this.token}}),this.advisory=s}}},de=t=>(e.pushScopeId("data-v-f319bda0"),t=t(),e.popScopeId(),t),iI={class:"comparison-report"},cI=de(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),dI={class:"report-header"},rI={class:"header-title",style:{position:"relative !important"}},mI={class:"header-title-content"},pI=de(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),hI={class:"title-date"},_I={class:"report-summary"},yI={class:"summary-item"},EI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),NI={class:"flexL gray"},VI={class:"summary-item"},fI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),xI={class:"flexL gray"},bI={class:"summary-item"},gI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),DI={class:"flexL gray"},kI={class:"summary-item"},CI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),SI={class:"flexL gray"},BI={class:"summary-item"},wI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AI={class:"flexL gray"},TI={class:"summary-item"},FI=de(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OI={class:"flexL gray",style:{display:"flex"}},PI={class:"flex"},LI={class:"flexM"},WI={class:"summary-item"},$I=de(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),HI={class:"flexL gray",style:{display:"flex"}},MI={class:"flex"},II={class:"flexM"},RI=de(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),GI={class:"report-summary"},zI={class:"summary-item"},UI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),uI={class:"summary-item"},YI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),ZI={class:"summary-item"},QI=de(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),JI=de(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KI={class:"report-map"},jI=["src"],qI=e.createStaticVNode('<div class="legend" data-v-f319bda0><div class="legend-item" data-v-f319bda0><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-f319bda0></div><div data-v-f319bda0>Actual Route</div></div><div class="legend-item" data-v-f319bda0><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-f319bda0></div><div data-v-f319bda0>Ocean π Recommended Route</div></div></div>',1),XI=de(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),vI={key:0,class:"subtitle"},eR={key:1,class:"report-summary"},tR={class:"summary-item"},oR=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lR={class:"flexL blue center"},aR={class:"summary-item"},nR=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sR={class:"flexL blue center"},iR={class:"summary-item"},cR=de(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dR={class:"flexL blue center"},rR=de(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),mR={class:"report-summary"},pR=de(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),hR={class:"summary-item"},_R=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),yR={class:"flex blue-light center"},ER={class:"flex blue-light center"},NR={class:"summary-item"},VR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),fR={class:"flex blue-light center"},xR={class:"flex blue-light center"},bR={class:"summary-item"},gR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),DR={class:"flex blue-light center"},kR={class:"flex blue-light center"},CR={class:"summary-item"},SR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),BR={class:"flex blue-light center"},wR={class:"flex blue-light center"},AR={class:"summary-item"},TR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),FR={class:"flex blue-light center"},OR={class:"flex blue-light center"},PR={class:"summary-item"},LR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),WR={class:"flex blue-light center"},$R={class:"flex blue-light center"},HR={class:"summary-item"},MR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),IR={class:"flex blue-light center italic"},RR=de(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),GR={class:"report-summary"},zR=de(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),UR={class:"summary-item"},uR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),YR={class:"flex blue-light center"},ZR={class:"flex blue-light center"},QR={class:"summary-item"},JR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),KR={class:"flex blue-light center"},jR={class:"flex blue-light center"},qR={class:"summary-item"},XR=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),vR={class:"flex blue-light center"},eG={class:"flex blue-light center"},tG={class:"summary-item"},oG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),lG={class:"flex blue-light center"},aG={class:"flex blue-light center"},nG={class:"summary-item"},sG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),iG={class:"flex blue-light center italic"},cG={class:"summary-item"},dG=de(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),rG={class:"flex blue-light center italic"},mG=["innerHTML"];function pG(t,s,l,r,a,n){var i,p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",iI,[cI,e.createElementVNode("div",dI,[e.createElementVNode("div",rI,[e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString(n.computeUTCTime(((i=a.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",_I,[e.createElementVNode("div",yI,[EI,e.createElementVNode("div",NI,e.toDisplayString((x=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",VI,[fI,e.createElementVNode("div",xI,e.toDisplayString((g=a.comparisonData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",bI,[gI,e.createElementVNode("div",DI,e.toDisplayString((E=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",kI,[CI,e.createElementVNode("div",SI,e.toDisplayString((b=(k=a.comparisonData)==null?void 0:k.voyage)==null?void 0:b.loadCondition),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString((D=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",TI,[FI,e.createElementVNode("div",OI,[e.createElementVNode("span",PI,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",LI,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=a.comparisonData)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",WI,[$I,e.createElementVNode("div",HI,[e.createElementVNode("span",MI,e.toDisplayString((R=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",II,e.toDisplayString(n.computeUTCTime(((z=(G=a.comparisonData)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),RI,e.createElementVNode("div",GI,[e.createElementVNode("div",zI,[UI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",uI,[YI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",ZI,[QI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),JI,e.createElementVNode("div",KI,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,jI),qI]),XI,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",vI,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",eR,[e.createElementVNode("div",tR,[oR,e.createElementVNode("div",lR,e.toDisplayString(((j=(o=a.comparisonData)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",aR,[nR,e.createElementVNode("div",sR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",iR,[cR,e.createElementVNode("div",dR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),rR,e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,[_R,e.createElementVNode("div",yR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",ER,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",xR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",bR,[gR,e.createElementVNode("div",DR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",kR,e.toDisplayString(((q=a.comparisonData)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",CR,[SR,e.createElementVNode("div",BR,e.toDisplayString(((he=a.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",wR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",AR,[TR,e.createElementVNode("div",FR,e.toDisplayString(((Ne=a.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",OR,e.toDisplayString(((Ve=a.comparisonData)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",PR,[LR,e.createElementVNode("div",WR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",$R,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",HR,[MR,e.createElementVNode("div",IR,e.toDisplayString(n.compareTime((be=a.comparisonData)==null?void 0:be.actualTime,(ge=a.comparisonData)==null?void 0:ge.recmdTime)),1)])]),RR,e.createElementVNode("div",GR,[zR,e.createElementVNode("div",UR,[uR,e.createElementVNode("div",YR,e.toDisplayString(((De=a.comparisonData)==null?void 0:De.actualAvgFoCons)??"-"),1),e.createElementVNode("div",ZR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",QR,[JR,e.createElementVNode("div",KR,e.toDisplayString(((Ae=a.comparisonData)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",jR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",qR,[XR,e.createElementVNode("div",vR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",eG,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",aG,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",iG,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",cG,[dG,e.createElementVNode("div",rG,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>n.decideDisable&&n.decideDisable(...pe)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,mG))],2)])}const fn=Ce(sI,[["render",pG],["__scopeId","data-v-f319bda0"]]),hG={install(t){t.component("OrmComparisonReport",Vn),t.component("FliComparisonReport",fn)}},iu="",_G={props:{name:{type:String,default:""}}},yG={class:"section brand-section flex-space"},EG=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),NG={class:"report-box flex-space"},VG={class:"name flex-start"},fG=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function xG(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",yG,[EG,e.createElementVNode("div",NG,[e.createElementVNode("div",VG,e.toDisplayString(l.name),1),fG])])}const xn=Ce(_G,[["render",xG],["__scopeId","data-v-602c94e3"]]),bG={install(t){t.component("IdmBrand",no),t.component("IdmThird",xn)}},cu="",du="",gG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},bn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),DG={class:"quota-report"},kG=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),CG={class:"section quota-section"},SG=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),BG={class:"label"},wG={class:"label"},AG=["innerHTML"],TG=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function FG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",DG,[e.createVNode(y,{name:"Quotation Sheet"}),kG,e.createElementVNode("div",CG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[SG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",BG,e.toDisplayString(i.rank),1),e.createElementVNode("td",wG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,AG))),128))]))),128))])]),TG])])}const gn=Ce(gG,[["render",FG],["__scopeId","data-v-f3647134"]]),ru="",OG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Dn=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),PG={class:"quota-report"},LG=Dn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),WG={class:"section quota-section"},$G=Dn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),HG={class:"label"},MG={class:"label"},IG=["innerHTML"],RG=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function GG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",PG,[e.createVNode(y,{name:"Quotation Sheet"}),LG,e.createElementVNode("div",WG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$G,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",HG,e.toDisplayString(i.rank),1),e.createElementVNode("td",MG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,IG))),128))]))),128))])]),RG])])}const kn=Ce(OG,[["render",GG],["__scopeId","data-v-e3ab3a93"]]),mu="",zG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Cn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),UG={class:"quota-report"},uG=Cn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),YG={class:"section quota-section"},ZG=Cn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),QG={class:"label"},JG={class:"label"},KG=["innerHTML"],jG=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function qG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",UG,[e.createVNode(y,{name:"Quotation Sheet for TONGLI"}),uG,e.createElementVNode("div",YG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[ZG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",QG,e.toDisplayString(i.rank),1),e.createElementVNode("td",JG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,KG))),128))]))),128))])]),jG])])}const Sn=Ce(zG,[["render",qG],["__scopeId","data-v-fecdf217"]]),XG={install(t){t.component("OrmQuoteReport",gn),t.component("OrmQuoteReport4SEOA",kn),t.component("OrmQuoteReport4TongLi",Sn)}},pu="",vG={name:"PrecipitationReport",components:{IdmBrand:no,IdmLoading:Qa},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,l;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(l=this.report)==null?void 0:l.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var a,n,y,i,p,x,g;const s=ae.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const l={};for(let h=0;h<((a=t==null?void 0:t.extend)==null?void 0:a.length);h++){const E=t==null?void 0:t.extend[h];if(h===0)E.precip.pacc=0;else{const k=K(E.utc).utcOffset(s),b=(n=E.precip)==null?void 0:n.acc;if(E.precip.pacc=b,b>0){const C=l[k.format("MMM-DD")],D=Math.floor(k.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+b,1),C[`${D}`]?C[`${D}`]+=b:(C[`${D}`]=b,C.colspan+=1)):(l[k.format("MMM-DD")]={pacc:b,colspan:1},l[k.format("MMM-DD")][`${D}`]=b)}}}t.paccInDays=l;let r=0;for(const h of Object.keys(l))r+=(y=l[h])==null?void 0:y.colspan,l[h].level=((i=l[h])==null?void 0:i.pacc)<10?"Light":((p=l[h])==null?void 0:p.pacc)<24.9?"Moderate":((x=l[h])==null?void 0:x.pacc)<49.9?"Heavy":((g=l[h])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=r,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const l=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var x,g,h,E,k,b,C,D,T,F,B,w,V,O;const p=K(i.utc).utcOffset((x=this.form)==null?void 0:x.localTZ).format("MMM-DD/HHmm[LT]");l.push(p),n=((h=(g=i.wave)==null?void 0:g.sig)==null?void 0:h.height)>n?(k=(E=i.wave)==null?void 0:E.sig)==null?void 0:k.height:n,r.push([p,(b=i.wind)==null?void 0:b.kts,(C=i.gusts)==null?void 0:C.kts,(T=(D=i.wave)==null?void 0:D.sig)==null?void 0:T.height,(F=i.wind)==null?void 0:F.direction,(B=i.wind)==null?void 0:B.degree,(w=i.wind)==null?void 0:w.scale,(V=i.current)==null?void 0:V.kts,(O=i.precip)==null?void 0:O.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const y={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:l}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:n,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(y)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const l={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(l)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},it=t=>(e.pushScopeId("data-v-3c978159"),t=t(),e.popScopeId(),t),ez={class:"precipitation-report"},tz={class:"section area-section"},oz={class:"area-block"},lz={class:"area-header flex-space"},az={class:"flex-start"},nz=["onClick"],sz={class:"flex-end"},iz={class:"area-body"},cz=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-3c978159>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-3c978159><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-3c978159>Heavy Rainstorm (&gt;100mm)</div></div>',2),dz={class:"flex-evenly"},rz={key:0},mz=["colspan"],pz=["colspan"],hz={style:{"font-size":"10px"}},_z={key:0},yz={key:1},Ez={key:2},Nz={key:3},Vz={key:0},fz={key:1,style:{"font-size":"14px"}},xz=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),bz={class:"section echart-section"},gz={ref:"echart",class:"echart"},Dz={class:"section sample-section"},kz=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Cz=["colspan"],Sz=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bz=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),wz=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Az=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Tz=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Fz=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Oz={key:0},Pz={key:1},Lz=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Wz=it(()=>e.createElementVNode("th",null,"Dir",-1)),$z=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Hz=it(()=>e.createElementVNode("th",null,"BF",-1)),Mz=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Iz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Rz=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Gz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),zz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Uz=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),uz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Yz=it(()=>e.createElementVNode("th",null,"°C",-1)),Zz={width:"120px"},Qz={key:0},Jz={key:1},Kz={key:0,class:"degree-box"},jz={key:1},qz={key:0,class:"degree-box"},Xz={key:1},vz={key:0,class:"degree-box"},eU={key:1},tU={class:"section area-section"},oU={class:"area-block"},lU={class:"area-header flex-end"},aU={class:"flex-end"},nU={class:"area-body"},sU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-3c978159>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-3c978159><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-3c978159>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-3c978159>Heavy Rainstorm (&gt;100mm)</div></div>',2),iU=["colspan"],cU=["colspan"],dU={style:{"font-size":"10px"}},rU={key:0},mU={key:1},pU={key:2},hU={key:3},_U={key:1,style:{"font-size":"14px"}},yU={key:0};function EU(t,s,l,r,a,n){var p,x,g,h,E,k,b,C,D,T,F,B,w,V,O,I,R,G,z;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ez,[e.createVNode(y,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",tz,[e.createElementVNode("div",oz,[e.createElementVNode("div",lz,[e.createElementVNode("div",az,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=l.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;return a.index=L,a.form=(W=l.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,nz))),128))]),e.createElementVNode("div",sz,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",iz,[cz,e.createElementVNode("div",dz,[a.form?(e.openBlock(),e.createElementBlock("table",rz,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((x=a.form)==null?void 0:x.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((g=a.form)==null?void 0:g.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((E=a.form)==null?void 0:E.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((b=(k=a.form)==null?void 0:k.extend)==null?void 0:b[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(D=a.form)==null?void 0:D.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,mz)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+") ",11,pz)}),128))]),e.createElementVNode("tr",hz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",_z,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",yz,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",Ez,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",Nz,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((R=a.form)==null?void 0:R.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",Vz,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",fz,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),xz,e.createElementVNode("div",bz,[e.createElementVNode("div",gz,null,512)]),e.createElementVNode("div",Dz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kz,e.createElementVNode("th",{colspan:l.showPrate?2:1},"Precip",8,Cz),Sz,Bz,wz,Az,Tz,Fz]),e.createElementVNode("tr",null,[l.showPrate?(e.openBlock(),e.createElementBlock("th",Oz,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Pz,"Acc (mm)")):e.createCommentVNode("",!0),Lz,Wz,$z,Hz,Mz,Iz,Rz,Gz,zz,Uz,uz,Yz])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((G=a.form)==null?void 0:G.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,be,ge,De,ke;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",Zz,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",Qz,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",Jz,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",Kz,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=_.wave)==null?void 0:o.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",qz,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(le=_.wave)==null?void 0:le.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((me=(re=_.wave)==null?void 0:re.swell)==null?void 0:me.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(ye=_.wave)==null?void 0:ye.swell)==null?void 0:q.period,1)),1),e.createElementVNode("td",null,[(Ee=(he=_.wave)==null?void 0:he.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",vz,[e.createTextVNode(e.toDisplayString((Ve=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:Ve.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",eU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ge=(be=_.wave)==null?void 0:be.sig)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(De=_.wave)==null?void 0:De.sig)==null?void 0:ke.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",tU,[e.createElementVNode("div",oU,[e.createElementVNode("div",lU,[e.createElementVNode("div",aU,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",nU,[sU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,iU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+") ",11,cU)}),128))]),e.createElementVNode("tr",dU,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",rU,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",mU,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",pU,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",hU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",_U,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",yU,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const Bn=Ce(vG,[["render",EU],["__scopeId","data-v-3c978159"]]),NU={install(t){t.component("PrecipitationReport",Bn)}},VU={install(t){t.component("IdmLoading",Qa)}};u.BrandPlugin=bG,u.ComparisonPlugin=hG,u.DeviationPlugin=_$,u.DeviationReport=yn,u.FliComparisonReport=fn,u.FliDeviationReport=En,u.FliInvoiceReport=hn,u.FliPlanReport=sn,u.FliVoyageReport=dn,u.HurricanePlugin=oB,u.IdmBrand=no,u.IdmEditor=Ro,u.IdmEditorPlugin=vp,u.IdmLat=Ka,u.IdmLatPlugin=eh,u.IdmLng=Ja,u.IdmLngPlugin=th,u.IdmLoading=Qa,u.IdmThird=xn,u.InvoicePlugin=Rw,u.LoadingPlugin=VU,u.ORMPointReport=nn,u.OrmComparisonReport=Vn,u.OrmInvoiceReport=pn,u.OrmPlanReport=en,u.OrmQuoteReport=gn,u.OrmQuoteReport4SEOA=kn,u.OrmQuoteReport4TongLi=Sn,u.OrmVoyageReport=rn,u.PiLogo=cn,u.PiLogoPlugin=ch,u.PointReportPlugin=ed,u.PrecipitationReport=Bn,u.PrecipitationReportPlugin=NU,u.QuoteReportPlugin=XG,u.RouteReport=en,u.RouteReportPlugin=Xp,u.StoppageReport=Nn,u.StoppageReportPlugin=nH,u.TropicalReport=mn,u.VoyageReportPlugin=X4,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
1
+ (function(u,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("@idm-plugin/geo"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("@element-plus/icons-vue"),require("element-plus"),require("axios"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idm-plugin/geo","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","@element-plus/icons-vue","element-plus","axios","mapbox-gl"],ae):(u=typeof globalThis<"u"?globalThis:u||self,ae(u["idmui-report"]={},u["@idm-plugin/geo"],u.moment,u.Vue,u.echarts,u["@wangeditor/editor-for-vue"],u["@idmui/tropical"],u["@element-plus/icons-vue"],u["element-plus"],u.axios,u["mapbox-gl"]))})(this,function(u,ae,K,e,$i,on,Hi,Ya,ln,ua,hl){"use strict";function Mi(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(s,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return s.default=t,Object.freeze(s)}const Za=Mi($i),xU="",Ce=(t,s)=>{const l=t.__vccOpts||t;for(const[r,a]of s)l[r]=a;return l},Ii={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?K(t):K()).utc().format(s)}`}}}},an=t=>(e.pushScopeId("data-v-6210a97b"),t=t(),e.popScopeId(),t),Ri={class:"section brand-section flex-space"},Gi=e.createStaticVNode('<div class="logo-box flex-center" data-v-6210a97b><div class="logo" data-v-6210a97b><a href="https://fmp.idmwx.com" target="_blank" data-v-6210a97b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-6210a97b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-6210a97b><div class="brand" data-v-6210a97b><span style="text-decoration:underline;" data-v-6210a97b>Weather Routing</span><div class="company" data-v-6210a97b>Ocean Right Marine Service</div></div></a></div></div>',1),zi={class:"report-box flex-space"},Ui={class:"name flex-start"},ui={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Yi={class:"flex-start",style:{width:"100%"}},Zi={class:"label-block flex-evenly",style:{flex:"1"}},Qi=an(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Ji={class:"flex-end",style:{flex:"2"}},Ki=an(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function ji(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",Ri,[Gi,e.createElementVNode("div",zi,[e.createElementVNode("div",Ui,e.toDisplayString(l.name),1),e.createElementVNode("div",ui,[e.createElementVNode("div",Yi,[e.createElementVNode("div",Zi,[Qi,e.createElementVNode("span",Ji,e.toDisplayString(n.computeUTCTime(l.issued,"MMM-DD, YYYY")),1)])]),Ki])])])}const no=Ce(Ii,[["render",ji],["__scopeId","data-v-6210a97b"]]),qi={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}}},Xi={key:0,class:"loading"},vi=e.createElementVNode("i",{class:"iconfont"},"",-1);function ed(t,s,l,r,a,n){return l.loading?(e.openBlock(),e.createElementBlock("div",Xi,[vi,e.createElementVNode("div",null,e.toDisplayString(l.text),1)])):e.createCommentVNode("",!0)}const Qa=Ce(qi,[["render",ed]]),gU="",td={name:"ORMPointReport",components:{IdmLoading:Qa,IdmBrand:no},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,l,r;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ae.LngLatHelper.guessTimeZoneOffset((l=this.report)==null?void 0:l.lng,(r=this.report)==null?void 0:r.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var r,a,n,y,i,p,x,D,h,E;const s={};for(let k=0;k<((a=(r=t==null?void 0:t.extend)==null?void 0:r.data)==null?void 0:a.length);k++){const g=(n=t==null?void 0:t.extend)==null?void 0:n.data[k];if(k===0)g.precip.pacc=0;else{const C=(y=t==null?void 0:t.extend)==null?void 0:y.data[k-1],b=K(g.utc).utcOffset(this.localTZ),T=K(C.utc).utcOffset(this.localTZ),F=(i=C==null?void 0:C.precip)==null?void 0:i.prate,B=b.diff(T,"h"),w=this.roundPrecision(F*B,1);if(g.precip.pacc=w,w>0){const V=s[b.format("MMM-DD")],O=Math.floor(b.get("hour")/6);V?(V.pacc=this.roundPrecision(V.pacc+w,1),V[`${O}`]?V[`${O}`]+=w:(V[`${O}`]=w,V.colspan+=1)):(s[b.format("MMM-DD")]={pacc:w,colspan:1},s[b.format("MMM-DD")][`${O}`]=w)}}}t.paccInDays=s;let l=0;for(const k of Object.keys(s))l+=(p=s[k])==null?void 0:p.colspan,s[k].level=((x=s[k])==null?void 0:x.pacc)<10?"Light":((D=s[k])==null?void 0:D.pacc)<24.9?"Moderate":((h=s[k])==null?void 0:h.pacc)<49.9?"Heavy":((E=s[k])==null?void 0:E.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=l,t}}},methods:{initEchart(){var n,y,i;this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const t=[],s=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let r=4;(i=(y=(n=this.report)==null?void 0:n.extend)==null?void 0:y.data)==null||i.forEach(p=>{var D,h,E,k,g,C,b,T,F,B,w,V,O;const x=K(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(x),r=((h=(D=p.wave)==null?void 0:D.sig)==null?void 0:h.height)>r?(k=(E=p.wave)==null?void 0:E.sig)==null?void 0:k.height:r,s.push([x,(g=p.wind)==null?void 0:g.kts,(C=p.gusts)==null?void 0:C.kts,(T=(b=p.wave)==null?void 0:b.sig)==null?void 0:T.height,(F=p.wind)==null?void 0:F.direction,(B=p.wind)==null?void 0:B.degree,(w=p.wind)==null?void 0:w.scale,(V=p.current)==null?void 0:V.kts,(O=p.precip)==null?void 0:O.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const a={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:r,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:s,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(a)}}},Ge=t=>(e.pushScopeId("data-v-a2d81c97"),t=t(),e.popScopeId(),t),od={class:"point-report"},ld={class:"section info-section"},ad={class:"flex-evenly"},nd={class:"flex-space label-block",style:{width:"100%"}},sd=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),id={class:"flex-space label-block",style:{width:"100%"}},dd=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),cd={class:"flex-evenly"},rd={class:"flex-space label-block",style:{width:"100%"}},md=Ge(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),pd={class:"flex-space label-block",style:{width:"100%"}},hd={class:"flex-end",style:{width:"180px"}},_d={class:"section echart-section"},yd={ref:"echart",class:"echart"},Ed={class:"section sample-section"},Nd=Ge(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Vd=Ge(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fd=Ge(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xd=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gd=Ge(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Dd=Ge(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),bd=["colspan"],kd=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Cd=Ge(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Sd=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Bd=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),wd=Ge(()=>e.createElementVNode("th",null,"BF",-1)),Ad=Ge(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Td=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Fd=Ge(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Od=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pd=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Ld=Ge(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Wd=Ge(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$d=Ge(()=>e.createElementVNode("th",null,"Dir",-1)),Hd=Ge(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Md={key:0},Id={key:1},Rd=Ge(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Gd=Ge(()=>e.createElementVNode("th",null,"°C",-1)),zd={width:"120px"},Ud={key:0,class:"degree-box"},ud={key:1},Yd={key:0,class:"degree-box"},Zd={key:1},Qd={key:0,class:"degree-box"},Jd={key:1},Kd={key:0,class:"degree-box"},jd={key:1},qd={key:0},Xd={key:1};function vd(t,s,l,r,a,n){var p,x,D,h;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",od,[e.createVNode(y,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:a.loading},null,8,["loading"]),e.createElementVNode("div",ld,[e.createElementVNode("div",ad,[e.createElementVNode("div",nd,[sd,e.createElementVNode("span",null,e.toDisplayString(n.computeLat((p=l.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(n.computeLng((x=l.report)==null?void 0:x.lng).pretty),1)]),e.createElementVNode("div",id,[dd,e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",cd,[e.createElementVNode("div",rd,[md,e.createElementVNode("span",null,e.toDisplayString(n.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",pd,[e.createElementVNode("label",hd,"("+e.toDisplayString(n.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(n.computeLTime(l.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",_d,[e.createElementVNode("div",yd,null,512)]),e.createElementVNode("div",Ed,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Nd,Vd,fd,xd,gd,Dd,e.createElementVNode("th",{colspan:l.showPrate&&l.showAcc?2:1},"Precip",8,bd),kd,Cd]),e.createElementVNode("tr",null,[Sd,Bd,wd,Ad,Td,Fd,Od,Pd,Ld,Wd,$d,Hd,l.showPrate?(e.openBlock(),e.createElementBlock("th",Md,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Id,"Acc (mm)")):e.createCommentVNode("",!0),Rd,Gd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(D=l.report)==null?void 0:D.extend)==null?void 0:h.data,(E,k)=>{var g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",zd,e.toDisplayString(n.computeLTime(E.utc,this.localTZ)),1),e.createElementVNode("td",null,[(g=E.wind)!=null&&g.kts?(e.openBlock(),e.createElementBlock("span",Ud,[e.createTextVNode(e.toDisplayString((C=E.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((b=E.wind)==null?void 0:b.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ud,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((T=E.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((F=E.wind)==null?void 0:F.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((B=E.gusts)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((V=(w=E.wave)==null?void 0:w.wd)==null?void 0:V.height,1)),1),e.createElementVNode("td",null,[(I=(O=E.wave)==null?void 0:O.swell)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Yd,[e.createTextVNode(e.toDisplayString((G=(R=E.wave)==null?void 0:R.swell)==null?void 0:G.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((_=(z=E.wave)==null?void 0:z.swell)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((H=(L=E.wave)==null?void 0:L.swell)==null?void 0:H.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((P=(W=E.wave)==null?void 0:W.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(Q=(M=E.wave)==null?void 0:M.sig)!=null&&Q.height?(e.openBlock(),e.createElementBlock("span",Qd,[e.createTextVNode(e.toDisplayString((J=(U=E.wave)==null?void 0:U.sig)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((se=(ne=E.wave)==null?void 0:ne.sig)==null?void 0:se.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=E.wave)==null?void 0:o.sig)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ee=(v=E.wave)==null?void 0:v.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(te=E.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",Kd,[e.createTextVNode(e.toDisplayString((oe=E.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((le=E.current)==null?void 0:le.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",jd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ie=E.current)==null?void 0:ie.kts,1)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",qd,e.toDisplayString(n.roundPrecision((re=E.precip)==null?void 0:re.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",Xd,e.toDisplayString(n.roundPrecision((me=E.precip)==null?void 0:me.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(E.temp,1)),1)])}),128))])])])])}const nn=Ce(td,[["render",vd],["__scopeId","data-v-a2d81c97"]]),ec={install(t){t.component("ORMPointReport",nn)}},DU="",tc={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 t=ae.LngLatHelper.convertToStdLng(this.lng);this.pretty=ae.LngLatHelper.lng2pretty(t).pretty}},immediate:!0}}},oc={class:"lng-box"},lc={key:0};function ac(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",oc,[l.label?(e.openBlock(),e.createElementBlock("span",lc,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ja=Ce(tc,[["render",ac],["__scopeId","data-v-7071d0ee"]]),bU="",nc={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{pretty:void 0}},watch:{lat:{handler(){this.lat!==void 0&&(this.pretty=ae.LngLatHelper.lat2pretty(this.lat).pretty)},immediate:!0}}},sc={class:"lat-box"},ic={key:0};function dc(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",sc,[l.label?(e.openBlock(),e.createElementBlock("span",ic,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(a.pretty),1)])}const Ka=Ce(nc,[["render",dc],["__scopeId","data-v-20a4e6f5"]]),kU="",cc={name:"IdmEditor",components:{Editor:on.Editor,Toolbar:on.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,l;t?(s=this.editor)==null||s.disable():(l=this.editor)==null||l.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},rc={class:"editor-box"};function mc(t,s,l,r,a,n){const y=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",rc,[e.withDirectives(e.createVNode(y,{editor:a.editor,"default-config":a.toolbarConfig,mode:a.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!l.disabled]]),e.createVNode(i,{modelValue:a.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=p=>a.valueHtml=p),"default-config":a.editorConfig,mode:a.mode,class:"editor",style:e.normalizeStyle({height:l.height}),onOnCreated:n.handleCreated,onOnChange:n.handleChange,onOnBlur:n.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Ro=Ce(cc,[["render",mc],["__scopeId","data-v-77bdb773"]]),CU="",pc={name:"OrmRouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro,Brand:no,Loading:Qa},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s,l){let r=0;return l&&s&&(r=ae.LngLatHelper.guessTimeZoneOffset(s,l)),`${K(t).utcOffset(r).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var l,r,a,n,y;if(s===0)return"-";{const i=K((a=(r=(l=t==null?void 0:t.speeds)==null?void 0:l[s])==null?void 0:r.speed)==null?void 0:a.eta).diff(K((y=(n=t==null?void 0:t.speeds)==null?void 0:n[0])==null?void 0:y.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const l=[];if(s.length)return s.forEach(r=>{l.push(r),r.suspend&&(t!=null&&t.useRouteParam)&&l.push({etd:r.etd,eta:r.etd,isResume:!0,memo:`Stoppage: ${r.suspend}hrs`})}),l}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var n,y,i,p;const l=(p=(i=(y=(n=t==null?void 0:t.speeds)==null?void 0:n[s])==null?void 0:y.speed)==null?void 0:i.sample)==null?void 0:p.hours,r=l[0],a=l[l.length-1];return Math.round(K(a.eta).diff(K(r.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,x,D,h,E,k,g;const t=[],s=[],l={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},r={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,b)=>{r[C]=Math.PI/8*b});const n=18;let y=4;(k=(E=(h=(D=(x=(p=this.plan)==null?void 0:p.speeds)==null?void 0:x[this.speedIndex])==null?void 0:D.speed)==null?void 0:h.sample)==null?void 0:E.hours)==null||k.forEach(C=>{var T,F,B,w,V,O,I,R,G,z;const b=C.meteo;if(b){const _=K(b.utc).utc().format("MMM-DD/HHmm[Z]");t.push(_),y=Math.ceil(((F=(T=b.wave)==null?void 0:T.sig)==null?void 0:F.height)>y?(w=(B=b.wave)==null?void 0:B.sig)==null?void 0:w.height:y),s.push([_,(V=b.wind)==null?void 0:V.kts,(I=(O=b.wave)==null?void 0:O.sig)==null?void 0:I.height,(R=b.wind)==null?void 0:R.direction,(G=b.wind)==null?void 0:G.degree,(z=b.wind)==null?void 0:z.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:y,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,b)=>{const T=b.coord([b.value(l.dateTime),b.value(l.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-n/2,y:-n/2,width:n,height:n},rotation:r[b.value(l.windDirection)],position:T,style:b.style({stroke:"#555",lineWidth:1})}},encode:{x:l.dateTime,y:l.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:l.dateTime,y:l.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:l.dateTime,y:l.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(g=this.echart)==null||g.setOption(i)}}},Ue=t=>(e.pushScopeId("data-v-4a527441"),t=t(),e.popScopeId(),t),hc={class:"voyage-plan"},_c={class:"plan-report"},yc={class:"section voyage-section flex-space"},Ec={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Nc={class:"flex-start label-block",style:{width:"100%"}},Vc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),fc={style:{"text-transform":"uppercase"},class:"text-ellipsis"},xc={class:"flex-start label-block",style:{width:"100%"}},gc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),Dc={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},bc={class:"flex-start label-block",style:{width:"100%"}},kc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Cc={class:"flex-end"},Sc={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Bc={class:"flex-start label-block",style:{width:"100%"}},wc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Ac={key:0,class:"flex-end",style:{flex:"1"}},Tc={key:1,class:"flex-end",style:{flex:"1"}},Fc=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Oc={class:"flex-end",style:{width:"120px"}},Pc={class:"flex-space label-block",style:{width:"100%"}},Lc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Wc={key:0,class:"flex-end",style:{flex:"1"}},$c={key:1,class:"flex-end",style:{flex:"1"}},Hc=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mc={class:"flex-end",style:{width:"120px"}},Ic={class:"flex-space label-block",style:{width:"100%"}},Rc=Ue(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Gc={class:"flex-end",style:{"text-transform":"uppercase"}},zc={class:"section chart-section"},Uc=Ue(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),uc={class:"flex-center"},Yc=["src"],Zc={class:"legends"},Qc=e.createStaticVNode('<div class="legend" data-v-4a527441><label style="background-color:var(--idm-dangerous);" data-v-4a527441></label><span data-v-4a527441>Dangerous</span></div><div class="legend" data-v-4a527441><label style="background-color:var(--idm-severe);" data-v-4a527441></label><span data-v-4a527441>Severe</span></div><div class="legend" data-v-4a527441><label style="background-color:var(--idm-heavy);" data-v-4a527441></label><span data-v-4a527441>Heavy</span></div>',3),Jc={class:"legend"},Kc=Ue(()=>e.createElementVNode("b",{class:"route1"},null,-1)),jc={key:0,class:"legend"},qc=Ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Xc={key:1,class:"legend"},vc=Ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),er={key:1,class:"empty"},tr={class:"section comparison-section"},or={key:0},lr=Ue(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),ar=Ue(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),nr=Ue(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),sr=Ue(()=>e.createElementVNode("th",null,"*FO",-1)),ir=Ue(()=>e.createElementVNode("th",null,"*DO",-1)),dr={colspan:"3"},cr={rowspan:"2"},rr={rowspan:"2"},mr={rowspan:"2"},pr={rowspan:"2"},hr={rowspan:"2"},_r={rowspan:"2"},yr={rowspan:"2"},Er={rowspan:"2"},Nr={rowspan:"2"},Vr=Ue(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),fr={class:"section waypoint-section"},xr={class:"header-block flex-start"},gr=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Dr={class:"title"},br={key:0,class:"flex-end",style:{flex:"1"}},kr=["onClick"],Cr={class:"advisory"},Sr=["innerHTML"],Br={class:"major-waypoint"},wr=e.createStaticVNode('<div class="major-header" data-v-4a527441><div class="cell-item flex" style="flex:1.5;" data-v-4a527441>Major waypoint</div><div class="cell-item flex" data-v-4a527441>Time</div><div class="cell-item flex" data-v-4a527441>Nav</div><div class="cell-item flex" data-v-4a527441>Dist</div><div class="cell-item flex" data-v-4a527441>SOG</div><div class="cell-item flex" data-v-4a527441>Memo</div></div>',1),Ar={class:"major-body"},Tr={class:"cell-item flex",style:{flex:"1.5"}},Fr={key:0,class:"flex-center"},Or={key:1,class:"flex-center"},Pr=Ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Lr={key:0},Wr={class:"cell-item flex"},$r={key:0,class:"cell-item flex offset"},Hr={key:1,class:"cell-item flex nbsp"},Mr={key:2,class:"cell-item flex offset"},Ir={key:3,class:"cell-item flex nbsp"},Rr={key:4,class:"cell-item flex offset"},Gr={key:5,class:"cell-item flex nbsp"},zr={key:6,class:"cell-item flex offset"},Ur={key:7,class:"cell-item flex nbsp"},ur={class:"section forecast-section"},Yr={class:"header-block flex-start"},Zr=Ue(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Qr={class:"title"},Jr={key:0,class:"flex-end",style:{flex:"1"}},Kr=["onClick"],jr={class:"echart-block"},qr={ref:"echart",class:"echart"},Xr=Ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vr={class:"flex-center"},em=Ue(()=>e.createElementVNode("span",null,"/",-1)),tm={key:0,class:"degree-box"},om={key:1},lm={key:0,class:"degree-box"},am={key:1},nm={key:0,class:"degree-box"},sm={key:1},im={key:0,class:"degree-box"},dm={key:1},cm=Ue(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function rm(t,s,l,r,a,n){var h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,de,ze,tt,ot,dt,ct,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,gt,Dt,bt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),x=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",hc,[e.createElementVNode("div",_c,[e.createVNode(y,{name:"Voyage Planning",issued:(h=l.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=S=>a.loading=!1)},null,8,["loading"]),e.createElementVNode("div",yc,[e.createElementVNode("div",Ec,[e.createElementVNode("div",Nc,[Vc,e.createElementVNode("span",fc,e.toDisplayString((g=(k=(E=l.plan)==null?void 0:E.voyage)==null?void 0:k.company)==null?void 0:g.name),1)]),e.createElementVNode("div",xc,[gc,e.createElementVNode("span",Dc,e.toDisplayString((T=(b=(C=l.plan)==null?void 0:C.voyage)==null?void 0:b.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((V=(w=(B=(F=l.plan)==null?void 0:F.voyage)==null?void 0:B.vessel)==null?void 0:w.vesselType)==null?void 0:V.name)+")",1)]),e.createElementVNode("div",bc,[kc,e.createElementVNode("span",Cc,e.toDisplayString((I=(O=l.plan)==null?void 0:O.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",Sc,[e.createElementVNode("div",Bc,[wc,(z=(G=(R=l.plan)==null?void 0:R.leg)==null?void 0:G.departure)!=null&&z.name?(e.openBlock(),e.createElementBlock("span",Ac,e.toDisplayString((L=(_=l.plan)==null?void 0:_.leg)==null?void 0:L.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Tc,[e.createVNode(p,{lat:(P=(W=(H=l.plan)==null?void 0:H.leg)==null?void 0:W.departure)==null?void 0:P.lat,label:""},null,8,["lat"]),Fc,e.createVNode(x,{lng:(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.departure)==null?void 0:U.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Oc,e.toDisplayString(n.computeUTCTime(((se=(ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.departure)==null?void 0:se.atd)||((v=(j=(o=l.plan)==null?void 0:o.leg)==null?void 0:j.departure)==null?void 0:v.etd)||((le=(oe=(te=(ee=l.plan)==null?void 0:ee.speeds)==null?void 0:te[a.speedIndex])==null?void 0:oe.speed)==null?void 0:le.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Pc,[Lc,(me=(re=(ie=l.plan)==null?void 0:ie.leg)==null?void 0:re.destination)!=null&&me.name?(e.openBlock(),e.createElementBlock("span",Wc,e.toDisplayString((he=(q=(ye=l.plan)==null?void 0:ye.leg)==null?void 0:q.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",$c,[e.createVNode(p,{lat:(Ve=(Ne=(Ee=l.plan)==null?void 0:Ee.leg)==null?void 0:Ne.destination)==null?void 0:Ve.lat,label:""},null,8,["lat"]),Hc,e.createVNode(x,{lng:(ge=(xe=(fe=l.plan)==null?void 0:fe.leg)==null?void 0:xe.destination)==null?void 0:ge.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Mc,e.toDisplayString(n.computeUTCTime(((Ae=(ke=(be=(De=l.plan)==null?void 0:De.speeds)==null?void 0:be[a.speedIndex])==null?void 0:ke.speed)==null?void 0:Ae.ata)||((Pe=(Oe=(Fe=(Te=l.plan)==null?void 0:Te.speeds)==null?void 0:Fe[a.speedIndex])==null?void 0:Oe.speed)==null?void 0:Pe.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Ic,[Rc,e.createElementVNode("span",Gc,e.toDisplayString((We=(Le=l.plan)==null?void 0:Le.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",zc,[Uc,($e=l.plan)!=null&&$e.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",uc,[e.createElementVNode("img",{src:l.plan.chartUrl},null,8,Yc)]),e.createElementVNode("div",Zc,[Qc,e.createElementVNode("div",Jc,[Kc,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=S=>(a.speedIndex=0,n.renderEchart()))},e.toDisplayString((A=(Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds)==null?void 0:Qe[0])==null?void 0:Je.speed)==null?void 0:Ke.lane)==null?void 0:A.name),1)]),((Ie=(Se=l.plan)==null?void 0:Se.speeds)==null?void 0:Ie.length)>1?(e.openBlock(),e.createElementBlock("div",jc,[qc,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=S=>(a.speedIndex=1,n.renderEchart()))},e.toDisplayString((et=(ve=(Xe=(qe=(je=l.plan)==null?void 0:je.speeds)==null?void 0:qe[1])==null?void 0:Xe.speed)==null?void 0:ve.lane)==null?void 0:et.name),1)])):e.createCommentVNode("",!0),(($=(m=l.plan)==null?void 0:m.speeds)==null?void 0:$.length)>2?(e.openBlock(),e.createElementBlock("div",Xc,[vc,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=S=>(a.speedIndex=2,n.renderEchart()))},e.toDisplayString((ze=(de=(Re=(He=(Be=l.plan)==null?void 0:Be.speeds)==null?void 0:He[2])==null?void 0:Re.speed)==null?void 0:de.lane)==null?void 0:ze.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",er,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...S)=>n.handleRefresh&&n.handleRefresh(...S))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",tr,[(ot=(tt=l.plan)==null?void 0:tt.speeds)!=null&&ot.length?(e.openBlock(),e.createElementBlock("table",or,[e.createElementVNode("thead",null,[lr,e.createElementVNode("tr",null,[ar,nr,sr,ir,e.createElementVNode("th",dr,"*days (with in the next "+e.toDisplayString(n.computeDay(l.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((dt=l.plan)==null?void 0:dt.speeds,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Me},[e.createElementVNode("tr",null,[e.createElementVNode("td",cr,e.toDisplayString(Me+1),1),e.createElementVNode("td",rr,e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((pt=S.speed)==null?void 0:pt.label)??"CP"} ${((Pt=S.speed)==null?void 0:Pt.v0)??((Wt=(Lt=S.speed)==null?void 0:Lt.cpCopy)==null?void 0:Wt.speed)}`),1),e.createElementVNode("td",mr,e.toDisplayString(n.roundPrecision(($t=S.speed)==null?void 0:$t.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(n.computeLTime((Ht=S.speed)==null?void 0:Ht.eta,(Rt=(It=(Mt=l.plan)==null?void 0:Mt.leg)==null?void 0:It.destination)==null?void 0:Rt.lng,(Ut=(zt=(Gt=l.plan)==null?void 0:Gt.leg)==null?void 0:zt.destination)==null?void 0:Ut.lat)),1),e.createTextVNode(" ["+e.toDisplayString(n.computeUTCTime((ut=S.speed)==null?void 0:ut.eta))+"]",1)]),e.createElementVNode("td",pr,e.toDisplayString(n.computeTimeDiff(l.plan,Me)),1),e.createElementVNode("td",hr,e.toDisplayString(n.roundPrecision((Yt=S.speed)==null?void 0:Yt.totalFoCons,3)),1),e.createElementVNode("td",_r,e.toDisplayString(n.roundPrecision((Zt=S.speed)==null?void 0:Zt.totalDgoCons,3)),1),e.createElementVNode("td",yr,e.toDisplayString(n.roundPrecision(((Qt=S.speed)==null?void 0:Qt.dangerous)/24,1)),1),e.createElementVNode("td",Er,e.toDisplayString(n.roundPrecision(((Jt=S.speed)==null?void 0:Jt.severe)/24,1)),1),e.createElementVNode("td",Nr,e.toDisplayString(n.roundPrecision(((Kt=S.speed)==null?void 0:Kt.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qt=(jt=S.speed)==null?void 0:jt.cpCopy)==null?void 0:qt.fo)+" FO / "+e.toDisplayString((vt=(Xt=S.speed)==null?void 0:Xt.cpCopy)==null?void 0:vt.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((eo=S.speed)==null?void 0:eo.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((to=S.speed)==null?void 0:to.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((oo=S.speed)==null?void 0:oo.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),Vr]),e.createElementVNode("div",fr,[e.createElementVNode("div",xr,[gr,e.createElementVNode("div",Dr,"Advisory & Major Waypoint of Route "+e.toDisplayString((ht=(mt=(rt=(ct=l.plan.speeds)==null?void 0:ct[a.speedIndex])==null?void 0:rt.speed)==null?void 0:mt.lane)==null?void 0:ht.name),1),((yt=(_t=l.plan)==null?void 0:_t.speeds)==null?void 0:yt.length)>1?(e.openBlock(),e.createElementBlock("div",br,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=l.plan)==null?void 0:Et.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Cr,[a.editable?(e.openBlock(),e.createBlock(D,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[5]||(s[5]=S=>a.advisory=S),class:"editor",height:"120px",onBlur:s[6]||(s[6]=S=>n.handleCommit(S))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...S)=>n.handleEdit&&n.handleEdit(...S)),innerHTML:a.advisory},null,40,Sr))]),e.createElementVNode("div",Br,[wr,e.createElementVNode("div",Ar,[(Vt=(Nt=l.plan)==null?void 0:Nt.speeds)!=null&&Vt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.computeMajorPoints((Dt=(gt=(xt=(ft=l.plan)==null?void 0:ft.speeds)==null?void 0:xt[a.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(Bt=(St=(Ct=(kt=(bt=l.plan)==null?void 0:bt.speeds)==null?void 0:kt[a.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:Bt.wps),(S,Me)=>(e.openBlock(),e.createElementBlock("div",{key:Me,class:"cell-row"},[e.createElementVNode("div",Tr,[S.isResume?(e.openBlock(),e.createElementBlock("div",Fr,"Resume")):(e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),Pr,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"]),S.pilot?(e.openBlock(),e.createElementBlock("span",Lr," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Wr,e.toDisplayString(n.computeUTCTime(S.eta)),1),Me?(e.openBlock(),e.createElementBlock("div",$r,e.toDisplayString(n.computeNav(S)),1)):(e.openBlock(),e.createElementBlock("div",Hr)),Me?(e.openBlock(),e.createElementBlock("div",Mr,e.toDisplayString(n.roundPrecision(S.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Ir)),Me?(e.openBlock(),e.createElementBlock("div",Rr,e.toDisplayString(n.roundPrecision(S.avgSpd??S.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Gr)),Me?(e.openBlock(),e.createElementBlock("div",zr,e.toDisplayString(n.computeMemo(S)),1)):(e.openBlock(),e.createElementBlock("div",Ur))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ur,[(At=(wt=l.plan)==null?void 0:wt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Yr,[Zr,e.createElementVNode("div",Qr,"Weather Forecast for the Next "+e.toDisplayString(n.computeDay(l.plan,a.speedIndex))+" Days of Route "+e.toDisplayString((co=(io=(Ot=(Ft=(Tt=l.plan)==null?void 0:Tt.speeds)==null?void 0:Ft[a.speedIndex])==null?void 0:Ot.speed)==null?void 0:io.lane)==null?void 0:co.name),1),((mo=(ro=l.plan)==null?void 0:ro.speeds)==null?void 0:mo.length)>1?(e.openBlock(),e.createElementBlock("div",Jr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((po=l.plan)==null?void 0:po.speeds,(S,Me)=>{var lt,at;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:pt=>(a.speedIndex=Me,n.renderEchart())},e.toDisplayString((at=(lt=S==null?void 0:S.speed)==null?void 0:lt.lane)==null?void 0:at.name),9,Kr)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",jr,[e.createElementVNode("div",qr,null,512)]),e.createElementVNode("table",null,[Xr,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((No=(Eo=(yo=(_o=(ho=l.plan)==null?void 0:ho.speeds)==null?void 0:_o[a.speedIndex])==null?void 0:yo.speed)==null?void 0:Eo.sample)==null?void 0:No.hours,(S,Me)=>{var lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,go,Do,bo,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io;return e.openBlock(),e.createElementBlock("tr",{key:Me,class:e.normalizeClass(S.isDangerous?"dangerous":S.isSevere?"severe":S.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(S.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vr,[e.createVNode(p,{lat:S.lat,label:""},null,8,["lat"]),em,e.createVNode(x,{lng:S.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(at=(lt=S.meteo)==null?void 0:lt.wind)!=null&&at.kts?(e.openBlock(),e.createElementBlock("span",tm,[e.createTextVNode(e.toDisplayString((Pt=(pt=S.meteo)==null?void 0:pt.wind)==null?void 0:Pt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Wt=(Lt=S.meteo)==null?void 0:Lt.wind)==null?void 0:Wt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ht=($t=S.meteo)==null?void 0:$t.wind)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Rt=(It=(Mt=S.meteo)==null?void 0:Mt.wave)==null?void 0:It.wd)==null?void 0:Rt.height,1)),1),e.createElementVNode("td",null,[(Ut=(zt=(Gt=S.meteo)==null?void 0:Gt.wave)==null?void 0:zt.swell)!=null&&Ut.height?(e.openBlock(),e.createElementBlock("span",lm,[e.createTextVNode(e.toDisplayString((Zt=(Yt=(ut=S.meteo)==null?void 0:ut.wave)==null?void 0:Yt.swell)==null?void 0:Zt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Kt=(Jt=(Qt=S.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)==null?void 0:Kt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",am,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Xt=(qt=(jt=S.meteo)==null?void 0:jt.wave)==null?void 0:qt.swell)==null?void 0:Xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((to=(eo=(vt=S.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.period,1)),1),e.createElementVNode("td",null,[(fo=(Vo=(oo=S.meteo)==null?void 0:oo.wave)==null?void 0:Vo.sig)!=null&&fo.height?(e.openBlock(),e.createElementBlock("span",nm,[e.createTextVNode(e.toDisplayString((Do=(go=(xo=S.meteo)==null?void 0:xo.wave)==null?void 0:go.sig)==null?void 0:Do.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Co=(ko=(bo=S.meteo)==null?void 0:bo.wave)==null?void 0:ko.sig)==null?void 0:Co.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((wo=(Bo=(So=S.meteo)==null?void 0:So.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Fo=(To=(Ao=S.meteo)==null?void 0:Ao.wave)==null?void 0:To.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(Po=(Oo=S.meteo)==null?void 0:Oo.current)!=null&&Po.kts?(e.openBlock(),e.createElementBlock("span",im,[e.createTextVNode(e.toDisplayString((Wo=(Lo=S.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((Ho=($o=S.meteo)==null?void 0:$o.current)==null?void 0:Ho.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",dm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Io=(Mo=S.meteo)==null?void 0:Mo.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(S.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),cm])])])}const en=Ce(pc,[["render",rm],["__scopeId","data-v-4a527441"]]),SU="",mm={name:"RouteReport",components:{Lng:Ja,Lat:Ka,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLTime(){return function(t,s){const l=K(t);return l.utcOffset(s),`${l.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,l,r,a;return(a=(r=(l=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:l.port)==null?void 0:r.timezone)==null?void 0:a.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var l,r,a;if(s===0)return"-";{const n=K((r=(l=t==null?void 0:t.speeds[s])==null?void 0:l.speed)==null?void 0:r.eta).diff(K((a=t==null?void 0:t.speeds[0])==null?void 0:a.speed.eta),"h",!0);return Math.round(n*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);margin-left:3px;`}}},computeDay(){return function(t){var a,n,y;const s=(y=(n=(a=t==null?void 0:t.speeds[0])==null?void 0:a.speed)==null?void 0:n.sample)==null?void 0:y.hours,l=s[0],r=s[s.length-1];return K(r.eta).diff(K(l.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ue=t=>(e.pushScopeId("data-v-e0dbfbca"),t=t(),e.popScopeId(),t),pm={class:"route-report"},hm=ue(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),_m={class:"section"},ym=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Em={class:"section-body basics"},Nm={class:"flex-space section-row"},Vm={class:"flex-start"},fm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),xm={class:"flex-start"},gm={class:"flex-start"},Dm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),bm={class:"flex-start flex"},km={key:0,class:"flex"},Cm={key:1,class:"flex-space flex"},Sm=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Bm={class:"time flex"},wm={class:"flex-space section-row"},Am={class:"flex-start"},Tm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Fm={class:"flex-start"},Om={class:"flex-start"},Pm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Lm={class:"flex-start flex"},Wm={key:0,class:"flex"},$m={key:1,class:"flex-space"},Hm=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Mm={class:"time flex"},Im={class:"flex-space section-row"},Rm={class:"flex-start"},Gm=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),zm={class:"flex-start"},Um={class:"flex-start"},um=ue(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Ym={class:"flex-start flex"},Zm={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Qm=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Jm={class:"section-body detail"},Km={class:"flex-space",style:{"align-items":"stretch"}},jm={class:"chart"},qm=["src"],Xm={key:1,class:"empty flex-center"},vm={class:"route flex",style:{"justify-content":"space-between"}},ep=ue(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),tp={class:"suggestion"},op=["innerHTML"],lp={class:"flex-start legends"},ap=e.createStaticVNode('<div class="legend" data-v-e0dbfbca><label style="background-color:var(--severe);" data-v-e0dbfbca></label><span data-v-e0dbfbca>Dangerous</span></div><div class="legend" data-v-e0dbfbca><label style="background-color:var(--heavy);" data-v-e0dbfbca></label><span data-v-e0dbfbca>Severe</span></div><div class="legend" data-v-e0dbfbca><b class="route1" data-v-e0dbfbca></b><span data-v-e0dbfbca>Route 1</span></div>',3),np={key:0,class:"legend"},sp=[ue(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 2",-1))],ip={key:1,class:"legend"},dp=[ue(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ue(()=>e.createElementVNode("span",null,"Route 3",-1))],cp={class:"section"},rp=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),mp={class:"section-body comparison"},pp={class:"container"},hp={key:0},_p=ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),yp={class:"section",style:{"page-break-inside":"avoid"}},Ep=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Np={class:"section-body sample"},Vp={class:"major-waypoints"},fp={class:"container"},xp=e.createStaticVNode('<div class="header" data-v-e0dbfbca><div class="cell-item flexM" data-v-e0dbfbca>Major waypoint</div><div class="cell-item flexL" data-v-e0dbfbca>Name</div><div class="cell-item flex" data-v-e0dbfbca>Time</div><div class="cell-item flex" data-v-e0dbfbca>Nav</div><div class="cell-item flex" data-v-e0dbfbca>Dist</div><div class="cell-item flex" data-v-e0dbfbca>SOG</div></div>',1),gp={class:"body"},Dp={class:"cell-item flexM"},bp={class:"flex-center"},kp=ue(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Cp={class:"cell-item flexL"},Sp={key:0,class:"flex-center"},Bp={key:1},wp={class:"cell-item flex"},Ap={key:0,class:"cell-item flex offset"},Tp={key:1,class:"cell-item flex nbsp"},Fp={key:2,class:"cell-item flex offset"},Op={key:3,class:"cell-item flex nbsp"},Pp={key:4,class:"cell-item flex offset"},Lp={key:5,class:"cell-item flex nbsp"},Wp={class:"section"},$p=ue(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Hp={class:"section-body sample"},Mp={key:0},Ip=ue(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Rp={class:"flex-center"},Gp=ue(()=>e.createElementVNode("span",null,"/",-1)),zp={key:0,class:"degree-box"},Up={key:1},up={key:0,class:"degree-box"},Yp={key:1},Zp={key:0,class:"degree-box"},Qp={key:1},Jp={key:0,class:"degree-box"},Kp={key:1},jp=ue(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function qp(t,s,l,r,a,n){var x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",pm,[hm,e.createElementVNode("div",_m,[ym,e.createElementVNode("div",Em,[e.createElementVNode("div",Nm,[e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",xm,e.toDisplayString((h=(D=(x=l.plan)==null?void 0:x.voyage)==null?void 0:D.company)==null?void 0:h.name),1)]),e.createElementVNode("div",gm,[Dm,e.createElementVNode("div",bm,[(g=(k=(E=l.plan)==null?void 0:E.leg)==null?void 0:k.departure)!=null&&g.name?(e.openBlock(),e.createElementBlock("div",km,e.toDisplayString((b=(C=l.plan)==null?void 0:C.leg)==null?void 0:b.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cm,[e.createVNode(y,{lat:(B=(F=(T=l.plan)==null?void 0:T.leg)==null?void 0:F.departure)==null?void 0:B.lat,label:""},null,8,["lat"]),Sm,e.createVNode(i,{lng:(O=(V=(w=l.plan)==null?void 0:w.leg)==null?void 0:V.departure)==null?void 0:O.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Bm,e.toDisplayString(n.computeUTCTime(((G=(R=(I=l.plan)==null?void 0:I.leg)==null?void 0:R.departure)==null?void 0:G.atd)||((L=(_=(z=l.plan)==null?void 0:z.leg)==null?void 0:_.departure)==null?void 0:L.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",wm,[e.createElementVNode("div",Am,[Tm,e.createElementVNode("div",Fm,e.toDisplayString((P=(W=(H=l.plan)==null?void 0:H.voyage)==null?void 0:W.vessel)==null?void 0:P.name),1)]),e.createElementVNode("div",Om,[Pm,e.createElementVNode("div",Lm,[(U=(Q=(M=l.plan)==null?void 0:M.leg)==null?void 0:Q.destination)!=null&&U.name?(e.openBlock(),e.createElementBlock("div",Wm,e.toDisplayString((ne=(J=l.plan)==null?void 0:J.leg)==null?void 0:ne.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$m,[e.createVNode(y,{lat:(j=(o=(se=l.plan)==null?void 0:se.leg)==null?void 0:o.destination)==null?void 0:j.lat,label:""},null,8,["lat"]),Hm,e.createVNode(i,{lng:(te=(ee=(v=l.plan)==null?void 0:v.leg)==null?void 0:ee.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Mm,e.toDisplayString(n.computeUTCTime(((ie=(le=(oe=l.plan)==null?void 0:oe.speeds)==null?void 0:le[0])==null?void 0:ie.speed.ata)||((me=(re=l.plan)==null?void 0:re.speeds)==null?void 0:me[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Im,[e.createElementVNode("div",Rm,[Gm,e.createElementVNode("div",zm,e.toDisplayString(n.computeUTCTime((ye=l.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Um,[um,e.createElementVNode("div",Ym,[e.createElementVNode("div",null,e.toDisplayString((he=(q=l.plan)==null?void 0:q.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Zm,[Qm,e.createElementVNode("div",Jm,[e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[(Ee=l.plan)!=null&&Ee.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ne=l.plan)==null?void 0:Ne.chartUrl},null,8,qm)):(e.openBlock(),e.createElementBlock("div",Xm,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...A)=>n.handleRefresh&&n.handleRefresh(...A))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",vm,[e.createElementVNode("div",null,[ep,e.createElementVNode("div",tp,[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[1]||(s[1]=A=>a.advisory=A),class:"editor",height:"120px",onBlur:s[2]||(s[2]=A=>n.handleCommit(A))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...A)=>n.handleEdit&&n.handleEdit(...A)),innerHTML:a.advisory},null,40,op))])]),e.createElementVNode("div",lp,[ap,((fe=(Ve=l.plan)==null?void 0:Ve.speeds)==null?void 0:fe.length)>1?(e.openBlock(),e.createElementBlock("div",np,sp)):e.createCommentVNode("",!0),((ge=(xe=l.plan)==null?void 0:xe.speeds)==null?void 0:ge.length)>2?(e.openBlock(),e.createElementBlock("div",ip,dp)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",cp,[rp,e.createElementVNode("div",mp,[e.createElementVNode("div",pp,[(be=(De=l.plan)==null?void 0:De.speeds)!=null&&be.length?(e.openBlock(),e.createElementBlock("table",hp,[_p,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ke=l.plan)==null?void 0:ke.speeds,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,de,ze,tt,ot;return e.openBlock(),e.createElementBlock("tr",{key:Se},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Se+1),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ie=A.speed)==null?void 0:Ie.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((je=A.speed)==null?void 0:je.label)??"CP"} ${((qe=A.speed)==null?void 0:qe.v0)??((ve=(Xe=A.speed)==null?void 0:Xe.cpCopy)==null?void 0:ve.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((m=(et=A.speed)==null?void 0:et.cpCopy)==null?void 0:m.fo)+" FO / "+e.toDisplayString((Be=($=A.speed)==null?void 0:$.cpCopy)==null?void 0:Be.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((He=A.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Re=A.speed)==null?void 0:Re.avgSpeed,2))+" / "+e.toDisplayString(n.roundPrecision((de=A.speed)==null?void 0:de.wxFactor,2))+" / "+e.toDisplayString(n.roundPrecision((ze=A.speed)==null?void 0:ze.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((tt=A.speed)==null?void 0:tt.totalFoCons,3))+" FO /"+e.toDisplayString(n.roundPrecision((ot=A.speed)==null?void 0:ot.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",yp,[Ep,e.createElementVNode("div",Np,[e.createElementVNode("div",Vp,[e.createElementVNode("div",fp,[xp,e.createElementVNode("div",gp,[(Te=(Ae=l.plan)==null?void 0:Ae.speeds)!=null&&Te.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Le=(Pe=(Oe=(Fe=l.plan)==null?void 0:Fe.speeds[0])==null?void 0:Oe.speed)==null?void 0:Pe.sample)==null?void 0:Le.wps,(A,Se)=>(e.openBlock(),e.createElementBlock("div",{key:Se,class:"cell-row"},[e.createElementVNode("div",Dp,[e.createElementVNode("div",bp,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),kp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Cp,[A.name?(e.openBlock(),e.createElementBlock("span",Sp,e.toDisplayString(A.name),1)):(e.openBlock(),e.createElementBlock("span",Bp,"-"))]),e.createElementVNode("div",wp,e.toDisplayString(n.computeUTCTime(A.eta)),1),Se?(e.openBlock(),e.createElementBlock("div",Ap,e.toDisplayString(n.computeNav(A)),1)):(e.openBlock(),e.createElementBlock("div",Tp)),Se?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString(n.roundPrecision(A.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Op)),Se?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString(n.roundPrecision(A.avgSpd??A.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Lp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wp,[$p,e.createElementVNode("div",Hp,[($e=(We=l.plan)==null?void 0:We.speeds)!=null&&$e.length?(e.openBlock(),e.createElementBlock("table",Mp,[Ip,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=(Je=(Qe=(pe=l.plan)==null?void 0:pe.speeds[0])==null?void 0:Qe.speed)==null?void 0:Je.sample)==null?void 0:Ke.hours,(A,Se)=>{var Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,de,ze,tt,ot,dt,ct,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,gt,Dt,bt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot;return e.openBlock(),e.createElementBlock("tr",{key:Se,class:e.normalizeClass(A.isDangerous?"dangerous":A.isSevere?"severe":A.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime(A.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Rp,[e.createVNode(y,{lat:A.lat,label:""},null,8,["lat"]),Gp,e.createVNode(i,{lng:A.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(je=(Ie=A.meteo)==null?void 0:Ie.wind)!=null&&je.kts?(e.openBlock(),e.createElementBlock("span",zp,e.toDisplayString((Xe=(qe=A.meteo)==null?void 0:qe.wind)==null?void 0:Xe.direction),1)):(e.openBlock(),e.createElementBlock("span",Up,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((et=(ve=A.meteo)==null?void 0:ve.wind)==null?void 0:et.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Be=($=(m=A.meteo)==null?void 0:m.wave)==null?void 0:$.wd)==null?void 0:Be.height,1)),1),e.createElementVNode("td",null,[(de=(Re=(He=A.meteo)==null?void 0:He.wave)==null?void 0:Re.swell)!=null&&de.height?(e.openBlock(),e.createElementBlock("span",up,e.toDisplayString((ot=(tt=(ze=A.meteo)==null?void 0:ze.wave)==null?void 0:tt.swell)==null?void 0:ot.direction),1)):(e.openBlock(),e.createElementBlock("span",Yp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((rt=(ct=(dt=A.meteo)==null?void 0:dt.wave)==null?void 0:ct.swell)==null?void 0:rt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((_t=(ht=(mt=A.meteo)==null?void 0:mt.wave)==null?void 0:ht.swell)==null?void 0:_t.period,1)),1),e.createElementVNode("td",null,[(Nt=(Et=(yt=A.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)!=null&&Nt.height?(e.openBlock(),e.createElementBlock("span",Zp,e.toDisplayString((xt=(ft=(Vt=A.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:xt.direction),1)):(e.openBlock(),e.createElementBlock("span",Qp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((bt=(Dt=(gt=A.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((St=(Ct=(kt=A.meteo)==null?void 0:kt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(wt=(Bt=A.meteo)==null?void 0:Bt.current)!=null&&wt.kts?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((Tt=(At=A.meteo)==null?void 0:At.current)==null?void 0:Tt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Kp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((Ot=(Ft=A.meteo)==null?void 0:Ft.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(A.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),jp])}const sn=Ce(mm,[["render",qp],["__scopeId","data-v-e0dbfbca"]]),Xp={install(t){t.component("RouteReport",en),t.component("FliPlanReport",sn),t.component("OrmPlanReport",en)}},vp={install(t){t.component("IdmEditor",Ro)}},eh={install(t){t.component("IdmLat",Ka)}},th={install(t){t.component("IdmLng",Ja)}},oh={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},lh={class:"logo"},ah={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},nh=["fill","fill-opacity"],sh=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16\r
2
+ -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93\r
3
+ -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202\r
4
+ -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158\r
5
+ -234 -584 -250 -654 -2 -8 -8 -37 -14 -63 -27 -117 -16 -290 23 -366 40 -76\r
6
+ 162 -100 372 -73 118 16 204 44 274 92 61 41 136 119 179 185 14 22 28 42 31\r
7
+ 45 3 3 19 25 35 50 17 25 34 50 38 55 4 6 34 46 65 90 101 143 233 300 336\r
8
+ 398 289 278 518 397 871 452 58 10 122 14 328 25 184 10 214 9 256 -5 106 -35\r
9
+ 121 -98 96 -410 -3 -38 -7 -104 -10 -145 -17 -256 -42 -587 -50 -670 -20 -206\r
10
+ -26 -262 -39 -400 -19 -190 -34 -332 -41 -385 -3 -22 -10 -76 -15 -120 -6 -44\r
11
+ -17 -132 -25 -195 -8 -63 -19 -142 -24 -175 -5 -33 -14 -94 -20 -135 -15 -102\r
12
+ -38 -247 -57 -355 -9 -49 -18 -101 -20 -115 -5 -26 -42 -220 -50 -255 -8 -40\r
13
+ -24 -120 -28 -140 -24 -118 -69 -303 -131 -535 -146 -551 -395 -1063 -780\r
14
+ -1610 -25 -36 -53 -76 -63 -90 -9 -14 -19 -27 -22 -30 -17 -17 -182 -264 -250\r
15
+ -375 -152 -247 -219 -413 -276 -680 -27 -127 -26 -365 2 -505 64 -314 256\r
16
+ -557 538 -685 244 -110 548 -108 857 5 74 26 235 110 272 140 152 125 200 168\r
17
+ 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\r
18
+ 184 265 381 726 493 1154 89 340 192 880 255 1346 70 507 116 894 162 1355 2\r
19
+ 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\r
20
+ 10 112 15 175 9 106 63 792 75 955 3 39 7 99 10 135 7 94 14 192 20 295 3 50\r
21
+ 8 119 10 155 3 36 10 135 15 220 37 580 40 602 75 657 9 14 38 35 63 46 47 22\r
22
+ 49 22 963 25 862 2 919 2 965 -15 33 -13 56 -30 72 -53 23 -33 24 -41 18 -140\r
23
+ -3 -58 -8 -121 -11 -140 -2 -19 -9 -82 -15 -140 -5 -58 -14 -150 -20 -205 -24\r
24
+ -227 -44 -430 -55 -550 -3 -27 -7 -72 -10 -100 -14 -139 -14 -137 -45 -465\r
25
+ -30 -318 -48 -523 -55 -615 -2 -33 -7 -85 -10 -115 -2 -30 -7 -86 -10 -125 -3\r
26
+ -38 -7 -92 -10 -120 -3 -27 -7 -84 -10 -125 -20 -286 -26 -373 -35 -512 -5\r
27
+ -86 -11 -190 -14 -230 -3 -40 -8 -127 -11 -193 -3 -66 -10 -219 -16 -340 -20\r
28
+ -390 6 -1130 52 -1530 6 -49 12 -107 15 -127 2 -21 9 -68 15 -105 6 -38 12\r
29
+ -79 14 -93 3 -31 32 -192 44 -245 111 -505 245 -828 465 -1115 27 -36 56 -72\r
30
+ 65 -81 9 -8 32 -34 51 -58 61 -75 230 -220 345 -297 333 -222 693 -309 1115\r
31
+ -270 217 21 480 98 697 206 120 59 284 160 348 212 229 190 372 331 457 451\r
32
+ 12 18 30 41 40 51 10 11 18 23 18 27 0 4 6 14 13 21 62 66 217 356 300 563\r
33
+ 157 394 304 1011 333 1401 20 271 -119 446 -361 453 -165 5 -295 -61 -373\r
34
+ -191 -17 -30 -52 -107 -77 -171 -109 -290 -191 -439 -303 -553 -85 -88 -95\r
35
+ -96 -167 -140 -229 -138 -516 -160 -774 -57 -70 28 -167 83 -216 123 -47 39\r
36
+ -148 142 -175 178 -14 18 -33 43 -43 54 -33 40 -126 243 -156 343 -59 191 -96\r
37
+ 423 -109 670 -18 350 -2 1241 33 1805 15 249 36 562 40 615 3 33 7 85 10 115\r
38
+ 39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883\r
39
+ 7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49\r
40
+ 17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60\r
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ih(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:l.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const dn=Ce(oh,[["render",ih]]),dh={install(t){t.component("PiLogo",dn)}},OU="",PU="",ch={name:"FliVygSummary",components:{Editor:Ro},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,l;return(l=(s=this.reportData)==null?void 0:s.weather)!=null&&l.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?K(t).utc().format("MMMM D, HHmm[Z]"):s?K(t).utc().format(s):K(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} ${r}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),l=this.computedTime(t.departure.utcTime,"summary"),r=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),n=this.computedTime(t.arrival.utcTime,"summary"),y=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:l,fullTime1:r,port2:a,time2:n,fullTime2:y}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return s=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):s=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${t.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${t.timeGain} hrs`),l}},computedFuleConclusion(){return function(t,s){let l=t.conclusionStatus,r={conclusion:"",className:"",cons:""};return l==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):l==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${t.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${t.saving} mt`),r}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let l=t==null?void 0:t.windScale,r="",a=0;return t!=null&&t.waveSwitch?(r+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,a++):t!=null&&t.swellSwitch?(r+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,a++):t!=null&&t.sigSwitch&&(r+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${l} or less${r}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,l){let r="";if(t==="No")return r=l?"bg-color-normal":"color-normal",r;switch(s){case"time":t==="Lost"?r="color-fail":r="color-success";break;case"fuel":t==="Over"?r="color-fail":r="color-success";break;case"pfm":t==="Under"?r="color-fail":r="color-success";break}return l&&(r="bg-"+r),r}},computedAbt4Spd(){return function(t){var s,l,r;return(s=t.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(t.extend.cp.speed*(((l=t==null?void 0:t.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(r=t==null?void 0:t.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(t,s){var l;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(l=(s=this.reportData)==null?void 0:s.segments)==null||l.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(i=>{let p={begin:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:K(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+K(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(r.seg)){t.push(r.seg);let i=Object.assign({},r.extend.cp);i.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,i.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,i.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let y=[];r.extend.segTimes.forEach(i=>{y.push(this.computedSeg(i))}),this.segDetail.push(y),this.goodDays.push(r.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},c=t=>(e.pushScopeId("data-v-de860def"),t=t(),e.popScopeId(),t),rh=c(()=>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)),mh={class:"fli-main"},ph=c(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},yh={class:"item"},Eh=c(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=c(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),xh={class:"content flex"},gh={class:"item"},Dh=c(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),bh={class:"content flex"},kh={class:"list"},Ch={class:"item"},Sh=c(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=c(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=c(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=c(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Rh={class:"item"},Gh=c(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},uh=c(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Yh={class:"content"},Zh={key:1,class:"item"},Qh=c(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Jh={class:"content"},Kh={key:2,class:"item"},jh=c(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),qh={class:"content"},Xh={key:3,class:"item"},vh=c(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[c(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),c(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[c(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),c(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},i1=c(()=>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)),d1=c(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),c1={class:"summary"},r1={key:0,class:"summary-overall"},m1=c(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),y1={class:"main-content"},E1={key:0},N1={key:1},V1={class:"card"},f1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),x1={class:"main-content"},g1={key:0},D1={key:1},b1={class:"card"},k1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=c(()=>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)),I1={class:"card",style:{flex:"1.5"}},R1={class:"card-title"},G1=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},u1={class:"card-segment"},Y1=c(()=>e.createElementVNode("div",null,"Applied",-1)),Z1={class:"uppercase"},Q1={class:"card summary-card",style:{flex:"1"}},J1=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},q1={key:1,class:"iconfont error"},X1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},i_={class:"card summary-card",style:{flex:"1"}},d_=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),c_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},y_=c(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),E_={class:"remarks"},N_={class:"item"},V_=c(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},x_={class:"uppercase"},g_={class:"item"},D_=c(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),b_={key:0,class:"remark-detail"},k_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=c(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=c(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=c(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},R_=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),G_={class:"main-content"},z_={class:"card-content"},U_=c(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),u_=c(()=>e.createElementVNode("span",null,"mt",-1)),Y_={class:"card-content"},Z_=c(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),Q_=c(()=>e.createElementVNode("span",null,"mt",-1)),J_={class:"card-content"},K_=c(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=c(()=>e.createElementVNode("span",null,"mt",-1)),q_={class:"card-content"},X_=c(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=c(()=>e.createElementVNode("span",null,"mt",-1)),ey=c(()=>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)),ty={class:"card phase-card",style:{flex:"1"}},oy=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),ly={class:"main-content"},ay=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),ny={class:"main-content"},sy={class:"card-content"},iy=c(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),dy=c(()=>e.createElementVNode("span",null,"mt",-1)),cy={class:"card-content"},ry=c(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),my=c(()=>e.createElementVNode("span",null,"mt",-1)),py={class:"card-content"},hy=c(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_y=c(()=>e.createElementVNode("span",null,"mt",-1)),yy={class:"card-content"},Ey=c(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),Ny=c(()=>e.createElementVNode("span",null,"mt",-1)),Vy=c(()=>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)),fy={class:"phase-analysis"},xy={class:"card phase-card",style:{flex:"1"}},gy=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),Dy={class:"main-content"},by=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),ky={class:"main-content"},Cy={class:"card-content"},Sy=c(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),By=c(()=>e.createElementVNode("span",null,"nm",-1)),wy={class:"card-content"},Ay=c(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),Ty=c(()=>e.createElementVNode("span",null,"nm",-1)),Fy={class:"card-content"},Oy=c(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),Py=c(()=>e.createElementVNode("span",null,"nm",-1)),Ly={class:"card-content"},Wy=c(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$y=c(()=>e.createElementVNode("span",null,"nm",-1)),Hy={class:"card phase-card",style:{flex:"1"}},My=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),Iy={class:"main-content"},Ry=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),Gy={class:"main-content"},zy={class:"card-content"},Uy=c(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),uy=c(()=>e.createElementVNode("span",null,"hrs",-1)),Yy={class:"card-content"},Zy=c(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),Qy=c(()=>e.createElementVNode("span",null,"hrs",-1)),Jy={class:"card-content"},Ky=c(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jy=c(()=>e.createElementVNode("span",null,"hrs",-1)),qy={class:"card-content"},Xy=c(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vy=c(()=>e.createElementVNode("span",null,"hrs",-1)),eE={class:"card phase-card",style:{flex:"1"}},tE=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oE={class:"main-content"},lE=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),aE={class:"main-content"},nE={class:"card-content"},sE=c(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),iE=c(()=>e.createElementVNode("span",null,"kts",-1)),dE={class:"card-content"},cE=c(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),rE=c(()=>e.createElementVNode("span",null,"kts",-1)),mE={class:"card-content"},pE=c(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hE=c(()=>e.createElementVNode("span",null,"kts",-1)),_E={class:"card-content"},yE=c(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),EE=c(()=>e.createElementVNode("span",null,"kts",-1)),NE={class:"phase-analysis"},VE={class:"card phase-card",style:{flex:"1"}},fE=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),xE={class:"main-content"},gE=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),DE={class:"main-content"},bE={class:"card-content"},kE=c(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),CE=c(()=>e.createElementVNode("span",null,"mt",-1)),SE={class:"card-content"},BE=c(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wE=c(()=>e.createElementVNode("span",null,"mt",-1)),AE={class:"card-content"},TE=c(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),FE=c(()=>e.createElementVNode("span",null,"mt",-1)),OE={class:"card-content"},PE=c(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),LE=c(()=>e.createElementVNode("span",null,"mt",-1)),WE={class:"card phase-card",style:{flex:"1"}},$E=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),HE={class:"main-content"},ME=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),IE={class:"main-content"},RE={class:"card-content"},GE=c(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zE=c(()=>e.createElementVNode("span",null,"mt",-1)),UE={class:"card-content"},uE=c(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),YE=c(()=>e.createElementVNode("span",null,"mt",-1)),ZE={class:"card-content"},QE=c(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),JE=c(()=>e.createElementVNode("span",null,"mt",-1)),KE={class:"card-content"},jE=c(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),qE=c(()=>e.createElementVNode("span",null,"mt",-1)),XE={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vE=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=c(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=c(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},iN={class:"card",style:{flex:"1"}},dN=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),cN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},yN={key:0},EN={class:"equation"},NN=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},xN=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),DN={style:{width:"10%"}},bN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),kN={class:"equation"},CN=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),RN={class:"phase-card"},GN={class:"card",style:{flex:"1"}},zN=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},uN={key:0,class:"iconfont success"},YN={key:1,class:"iconfont error"},ZN={key:1,class:"main-content"},QN={class:"nogwd"},JN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},qN=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),iV={class:"equation"},dV=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),cV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yV=c(()=>e.createElementVNode("div",null,"24",-1)),EV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},xV=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),DV={style:{width:"8%"}},bV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=c(()=>e.createElementVNode("div",null,"24",-1)),wV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=c(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},RV={key:0},GV={class:"equation"},zV=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uV={style:{width:"8%"}},YV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),QV={style:{width:"120px"}},JV=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={style:{width:"10%"}},qV=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),XV={class:"equation"},vV=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=c(()=>e.createElementVNode("div",null,"24",-1)),df=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cf={style:{width:"10%"}},rf=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=c(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},yf=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ef=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=c(()=>e.createElementVNode("div",null,"24",-1)),xf=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gf={style:{width:"10%"}},Df=c(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),bf=c(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),kf={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=c(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=c(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=c(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=c(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=c(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Gf=c(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=c(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),uf=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Yf={style:{width:"50%"},class:"fraction"},Zf=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Qf=c(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),Jf=c(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=c(()=>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)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},qf=c(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),Xf={class:""},vf={class:"equation"},e0=c(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=c(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=c(()=>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)),i0=c(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),d0={class:"equation"},c0=c(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=c(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),y0=c(()=>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)),E0=c(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=c(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),x0={style:{width:"25%"},class:"fraction"},g0=c(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),D0=c(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),b0=c(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k0=c(()=>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)),C0=c(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=c(()=>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)),B0=c(()=>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 w0(t,s,l,r,a,n){var y,i,p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",yh,[Eh,e.createElementVNode("div",Nh,e.toDisplayString((p=l.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",xh,e.toDisplayString((D=(x=l.reportData)==null?void 0:x.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",gh,[Dh,e.createElementVNode("div",bh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",kh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((E=(h=l.reportData)==null?void 0:h.departure)==null?void 0:E.portName)||n.computedLngLat((g=(k=l.reportData)==null?void 0:k.departure)==null?void 0:g.lat,(b=(C=l.reportData)==null?void 0:C.departure)==null?void 0:b.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=l.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(V=l.reportData)==null?void 0:V.arrival)==null?void 0:O.lat,(R=(I=l.reportData)==null?void 0:I.arrival)==null?void 0:R.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(G=l.reportData)==null?void 0:G.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=l.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=l.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Rh,[Gh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=l.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=l.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[uh,e.createElementVNode("div",Yh,e.toDisplayString(((ne=(J=l.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(o=(se=l.reportData)==null?void 0:se.weather)!=null&&o.swellSwitch?(e.openBlock(),e.createElementBlock("div",Zh,[Qh,e.createElementVNode("div",Jh,e.toDisplayString(((v=(j=l.reportData)==null?void 0:j.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=l.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",Kh,[jh,e.createElementVNode("div",qh,e.toDisplayString(((le=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(re=(ie=l.reportData)==null?void 0:ie.weather)!=null&&re.waveSwitch||(ye=(me=l.reportData)==null?void 0:me.weather)!=null&&ye.swellHeight||(he=(q=l.reportData)==null?void 0:q.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Xh,[vh,e.createElementVNode("div",e1,e.toDisplayString((Ne=(Ee=l.reportData)==null?void 0:Ee.weather)==null?void 0:Ne.seaScale),1)])):e.createCommentVNode("",!0),(fe=(Ve=l.reportData)==null?void 0:Ve.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(ge=(xe=l.reportData)==null?void 0:xe.weather)!=null&&ge.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[i1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),d1,e.createElementVNode("div",c1,[((be=(De=l.reportData)==null?void 0:De.segments)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",y1,[(Ae=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&Ae.avgSpd?(e.openBlock(),e.createElementBlock("div",E1,e.toDisplayString((Fe=(Te=l.reportData)==null?void 0:Te.goodWx)==null?void 0:Fe.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",x1,[(Pe=(Oe=l.reportData)==null?void 0:Oe.goodWx)!=null&&Pe.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString((We=(Le=l.reportData)==null?void 0:Le.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",D1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",b1,[k1,e.createElementVNode("div",C1,[(pe=($e=l.reportData)==null?void 0:$e.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Je=(Qe=l.reportData)==null?void 0:Qe.goodWx)==null?void 0:Je.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(Ke=l.reportData)==null?void 0:Ke.allWx)==null?void 0:A.avgSpd)+" kts ",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ie=(Se=l.reportData)==null?void 0:Se.allWx)==null?void 0:Ie.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((qe=(je=l.reportData)==null?void 0:je.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt ",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Xe=l.reportData)==null?void 0:Xe.segments,(m,$)=>{var Be,He,Re;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:$},[e.createElementVNode("div",I1,[e.createElementVNode("div",R1,[G1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(de,ze)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ze,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port1),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port2),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time2),1)])],2))),128)),e.createElementVNode("div",u1,[Y1,e.createElementVNode("div",null,[e.createElementVNode("span",Z1,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",Q1,[J1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",q1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",X1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[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",e_,[t_,(He=m.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[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",i_,[d_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",c_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[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",__,[y_,e.createElementVNode("div",E_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=l.reportData)==null?void 0:ve.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:$},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",x_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",g_,[D_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",b_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",k_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=l.reportData)==null?void 0:et.segments,(m,$)=>{var Be,He,Re,de,ze,tt,ot,dt,ct,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,gt,Dt,bt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,go,Do,bo,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:$},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(nt,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port1),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.port2),1),e.createElementVNode("div",null,e.toDisplayString(nt==null?void 0:nt.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,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)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),R_,e.createElementVNode("div",G_,[e.createElementVNode("span",null,e.toDisplayString(((He=m.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),u_])]),e.createElementVNode("div",Y_,[Z_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((de=m.goodWx)==null?void 0:de.inEca.avgFoEcaCons)||"-"),1),Q_])]),e.createElementVNode("div",J_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ze=m.allWx)==null?void 0:ze.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",q_,[X_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=m.allWx)==null?void 0:tt.inEca.avgFoEcaCons)||"-"),1),v_])]),ey]),e.createElementVNode("div",ty,[oy,e.createElementVNode("div",ly,[e.createElementVNode("span",null,e.toDisplayString(((ot=m.goodWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),ay,e.createElementVNode("div",ny,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sy,[iy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ct=m.goodWx)==null?void 0:ct.outEca.avgDgoCons)||"-"),1),dy])]),e.createElementVNode("div",cy,[ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.inEca.avgDgoEcaCons)||"-"),1),my])]),e.createElementVNode("div",py,[hy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.allWx)==null?void 0:mt.outEca.avgDgoCons)||"-"),1),_y])]),e.createElementVNode("div",yy,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=m.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),Ny])]),Vy])]),e.createElementVNode("div",fy,[e.createElementVNode("div",xy,[gy,e.createElementVNode("div",Dy,[e.createElementVNode("span",null,e.toDisplayString(((_t=m.goodWx)==null?void 0:_t.distance)||"-")+" nm",1)]),by,e.createElementVNode("div",ky,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",Cy,[Sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),By])]),e.createElementVNode("div",wy,[Ay,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),Ty])]),e.createElementVNode("div",Fy,[Oy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),Py])]),e.createElementVNode("div",Ly,[Wy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.inEca.distance)||"-"),1),$y])])]),e.createElementVNode("div",Hy,[My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.goodWx)==null?void 0:xt.time)||"-")+" hrs",1)]),Ry,e.createElementVNode("div",Gy,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zy,[Uy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),uy])]),e.createElementVNode("div",Yy,[Zy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.goodWx)==null?void 0:bt.inEca.time)||"-"),1),Qy])]),e.createElementVNode("div",Jy,[Ky,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.allWx)==null?void 0:kt.outEca.time)||"-"),1),jy])]),e.createElementVNode("div",qy,[Xy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.inEca.time)||"-"),1),vy])])]),e.createElementVNode("div",eE,[tE,e.createElementVNode("div",oE,[e.createElementVNode("span",null,e.toDisplayString(((St=m.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),lE,e.createElementVNode("div",aE,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",nE,[sE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=m.goodWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),iE])]),e.createElementVNode("div",dE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),rE])]),e.createElementVNode("div",mE,[pE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),hE])]),e.createElementVNode("div",_E,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.inEca.avgSpd)||"-"),1),EE])])])]),e.createElementVNode("div",NE,[e.createElementVNode("div",VE,[fE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Ot=m.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),gE,e.createElementVNode("div",DE,[e.createElementVNode("span",null,e.toDisplayString(((io=m.allWx)==null?void 0:io.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",bE,[kE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.outEca.sumFoCons)||"-"),1),CE])]),e.createElementVNode("div",SE,[BE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.goodWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),wE])]),e.createElementVNode("div",AE,[TE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mo=m.allWx)==null?void 0:mo.outEca.sumFoCons)||"-"),1),FE])]),e.createElementVNode("div",OE,[PE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=m.allWx)==null?void 0:po.inEca.sumFoCons)||"-"),1),LE])])]),e.createElementVNode("div",WE,[$E,e.createElementVNode("div",HE,[e.createElementVNode("span",null,e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.sumDgoCons)||"-")+" mt",1)]),ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((_o=m.allWx)==null?void 0:_o.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",RE,[GE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=m.goodWx)==null?void 0:yo.outEca.sumDgoCons)||"-"),1),zE])]),e.createElementVNode("div",UE,[uE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.goodWx)==null?void 0:Eo.inEca.sumDgoCons)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=m.allWx)==null?void 0:No.outEca.sumDgoCons)||"-"),1),JE])]),e.createElementVNode("div",KE,[jE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),qE])])]),e.createElementVNode("div",XE,[vE,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.goodWx)==null?void 0:Me.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(lt=m.goodWx)!=null&&lt.distance&&!((pt=(at=l.reportData)==null?void 0:at.weather)!=null&&pt.favorableCur&&((Pt=m.goodWx)==null?void 0:Pt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Lt=m.goodWx)==null?void 0:Lt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",iN,[dN,(Wt=m.goodWx)!=null&&Wt.distance?(e.openBlock(),e.createElementBlock("div",cN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=m.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(Ht=m.goodWx)!=null&&Ht.distance?(e.openBlock(),e.createElementBlock("div",yN,[e.createElementVNode("div",EN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((It=(Mt=l.reportData)==null?void 0:Mt.weather)!=null&&It.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(Gt=m.allWx)==null?void 0:Gt.distance),1),xN,e.createElementVNode("div",null,e.toDisplayString((zt=m.goodWx)==null?void 0:zt.pfmSpd),1)]),gN,e.createElementVNode("div",DN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),bN]),e.createElementVNode("div",kN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=l.reportData)==null?void 0:Ut.weather)!=null&&ut.noExtrapolation?(Yt=m.goodWx)==null?void 0:Yt.distance:(Zt=m.allWx)==null?void 0:Zt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.reportData)==null?void 0:Qt.weather)!=null&&Jt.noExtrapolation?(Kt=m.goodWx)==null?void 0:Kt.distance:(jt=m.allWx)==null?void 0:jt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",RN,[e.createElementVNode("div",GN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",uN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",ZN,[e.createElementVNode("span",QN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",JN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Xt=m.goodWx)!=null&&Xt.distance?"":"analysis-none"} card analysis-card`)},[(vt=m.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",jN,[qN,XN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=l.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=m.goodWx)==null?void 0:oo.distance:(Vo=m.allWx)==null?void 0:Vo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((fo=m.goodWx)==null?void 0:fo.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((xo=m.goodWx)==null?void 0:xo.sumFoCons)+" "+e.toDisplayString(((go=m.allWx)==null?void 0:go.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((Do=m.goodWx)==null?void 0:Do.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",iV,[dV,cV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((ko=(bo=l.reportData)==null?void 0:bo.weather)!=null&&ko.noExtrapolation?(Co=m.goodWx)==null?void 0:Co.distance:(So=m.allWx)==null?void 0:So.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,yV]),EV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[xV,gV,e.createElementVNode("div",DV,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=l.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(Ao=m.goodWx)==null?void 0:Ao.distance:(To=m.allWx)==null?void 0:To.distance),1),bV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),kV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((Oo=(Fo=m==null?void 0:m.extend)==null?void 0:Fo.cp)==null?void 0:Oo.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lo=m.goodWx)!=null&&Lo.distance?"":"analysis-none"} card analysis-card`)},[(Wo=m.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",RV,[e.createElementVNode("div",GV,[zV,UV,e.createElementVNode("div",uV,[e.createElementVNode("div",null,e.toDisplayString((Ho=($o=l.reportData)==null?void 0:$o.weather)!=null&&Ho.noExtrapolation?(Mo=m.goodWx)==null?void 0:Mo.distance:(Io=m.allWx)==null?void 0:Io.distance),1),YV,e.createElementVNode("div",null,e.toDisplayString((Go=m.goodWx)==null?void 0:Go.pfmSpd),1)]),ZV,e.createElementVNode("div",QV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),JV,e.createElementVNode("div",null,e.toDisplayString((uo=m.goodWx)==null?void 0:uo.time),1)]),KV,e.createElementVNode("div",jV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),qV]),e.createElementVNode("div",XV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=l.reportData)==null?void 0:Yo.weather)!=null&&Zo.noExtrapolation?(Qo=m.goodWx)==null?void 0:Qo.distance:(Jo=m.allWx)==null?void 0:Jo.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),df,e.createElementVNode("div",cf,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=l.reportData)==null?void 0:Ko.weather)!=null&&jo.noExtrapolation?(qo=m.goodWx)==null?void 0:qo.distance:(Xo=m.allWx)==null?void 0:Xo.distance),1),yf,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),Ef,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),xf,e.createElementVNode("div",gf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),Df])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),bf,e.createElementVNode("div",kf,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Rf]),Gf]),e.createElementVNode("div",zf,[Uf,uf,e.createElementVNode("div",Yf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=l.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Zf,Qf]),Jf]),Kf])]),e.createElementVNode("div",jf,[qf,e.createElementVNode("div",Xf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=l.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,i0]),e.createElementVNode("div",d0,[c0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=l.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,y0,E0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",x0,[e.createElementVNode("div",null,e.toDisplayString((rl=(cl=l.reportData)==null?void 0:cl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),g0,D0]),b0,k0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(ch,[["render",w0],["__scopeId","data-v-de860def"]]),MU="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,l,r){var y;let a="";const n=((y=this.summaryTable)==null?void 0:y.length)-1;return l&&s!==n&&(a=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!r&&(a=a+" good-weather"),(t==null?void 0:t.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(t,s){var r,a;const l=((r=this.summaryTable)==null?void 0:r.length)-1;if(l>-1){if(t.isFirstSeg&&s!==l)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?K(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?K(t).utc().format("MMMM-DD/HHmm[Z]"):K(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ae.LngLatHelper.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var r,a,n,y;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let t=[];(y=(n=this.reportData)==null?void 0:n.segments)==null||y.forEach((i,p)=>{let x=i.extend.cp;i.inventory.sample.hours.forEach((D,h)=>{let E=JSON.parse(JSON.stringify(D));E.cp=x,t.push(E)})}),t.sort(function(i,p){let x=i.date,D=p.date;return x-D});let s="",l="";t.forEach((i,p)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let x=i.type.charAt(0);i.abbreviation=x;const D=K(i.utc).utc().format("D-MMM");D!==l&&(i.lastdate=D,l=D),x==="A"?i.type="":x==="M"&&(i.type="*"),i.time=K(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},tn=t=>(e.pushScopeId("data-v-80aa73ed"),t=t(),e.popScopeId(),t),F0=tn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={class:"table",id:"second-table"},P0={class:"summary-table"},L0=tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"},"   Date   "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-80aa73ed><div class="item" data-v-80aa73ed><div class="legend" data-v-80aa73ed><div class="legend-bg gwd" data-v-80aa73ed></div></div> Good Weather Days </div><div class="item" data-v-80aa73ed><div class="legend" data-v-80aa73ed><div class="legend-bg adverse" data-v-80aa73ed></div></div> Adverse Weather Days </div><div class="item" data-v-80aa73ed><div class="legend" data-v-80aa73ed><div class="legend-bg excluded" data-v-80aa73ed></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=tn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],R0=e.createStaticVNode('<div class="legend-block" data-v-80aa73ed><div style="position:relative;left:-20px;" data-v-80aa73ed><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-80aa73ed><div data-v-80aa73ed>7</div><br data-v-80aa73ed><div data-v-80aa73ed>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-80aa73ed></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-80aa73ed> LEGEND: <br data-v-80aa73ed> Wind from NE(045) <br data-v-80aa73ed> Each barb = 10 kts <br data-v-80aa73ed> 1/2 barb = 5 kts <br data-v-80aa73ed></div></div><div style="transform:scale(0.95);" data-v-80aa73ed> 7 - DAY OF THE MONTH <br data-v-80aa73ed> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-80aa73ed><div class="goodWx" data-v-80aa73ed>Date</div> Good weather days<br data-v-80aa73ed></div></div>',1);function G0(t,s,l,r,a,n){var y,i,p,x,D;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(y=l.reportData)==null?void 0:y.weather)!=null&&i.referenceOnly||(x=(p=l.reportData)==null?void 0:p.weather)!=null&&x.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,E)=>{var k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,E))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString((k=h.noon)==null?void 0:k.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(g=h.cp)==null?void 0:g.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((b=(C=h.meteo)==null?void 0:C.wind)==null?void 0:b.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((O=(V=(w=h.meteo)==null?void 0:w.wave)==null?void 0:V.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((G=(R=(I=h.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,E))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(D=l.reportData)==null?void 0:D.chartUrl,alt:""},null,8,I0),R0])],2)}const z0=Ce(T0,[["render",G0],["__scopeId","data-v-80aa73ed"]]),IU="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},u0={class:"voyage-report"};function Y0(t,s,l,r,a,n){const y=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",u0,[e.createVNode(y,{reportData:a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:n.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:l.isAdmin,reportData:a.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const cn=Ce(U0,[["render",Y0],["__scopeId","data-v-373c6cd7"]]),RU="",Z0={name:"OrmVoyageSummary",components:{Lng:Ja,Lat:Ka,Editor:Ro},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let l=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(l+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(l+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(l+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?l+=" Wx Factor is ignored.":t.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,l){return l==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((l,r)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const y={time:K(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+K(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(y)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},d=t=>(e.pushScopeId("data-v-670da44f"),t=t(),e.popScopeId(),t),Q0={class:"report-summary"},J0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},q0=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),X0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},i2=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),d2={key:0,class:"flex-end",style:{flex:"1"}},c2={key:1,class:"flex-end",style:{flex:"1"}},r2=d(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},y2={key:1,class:"flex-end",style:{flex:"1"}},E2=d(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=d(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),x2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},g2={class:"section weather-section"},D2=d(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),b2={class:"definition"},k2={class:"txt"},C2={class:"section summary-section"},S2=d(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=d(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=d(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=d(()=>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)),R2={class:"flex-space"},G2=d(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),u2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Y2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Z2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Q2=d(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),J2=d(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},q2=d(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),X2={class:"value flex-start"},v2=d(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),ex={key:0,class:"label flex-end"},tx={key:0},ox={key:1},lx={key:2},ax={key:1,class:"label flex-end"},nx={key:2,class:"value flex-end"},sx={key:0},ix=d(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),dx={class:"gain"},cx=d(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rx={key:1},mx=d(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),px={class:"lost"},hx=d(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_x={key:2},yx={class:"item-conclusion"},Ex=d(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nx={class:"value flex-start"},Vx=d(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fx={key:0,class:"label flex-end"},xx={key:0},gx={key:1},Dx={key:2},bx={key:1,class:"label flex-end"},kx={key:2,class:"value flex-end"},Cx={key:0},Sx=d(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bx={class:"gain"},wx=d(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ax={key:1},Tx=d(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fx={class:"lost"},Ox=d(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Px={key:2},Lx={class:"item-conclusion"},Wx=d(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$x={class:"value flex-start"},Hx=d(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mx={key:0,class:"label flex-end"},Ix={key:0},Rx={key:1},Gx={key:2},zx={key:1,class:"label flex-end"},Ux={key:2,class:"value flex-end"},ux={key:0},Yx=d(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Zx={class:"gain"},Qx=d(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Jx={key:1},Kx=d(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jx={class:"lost"},qx=d(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Xx={key:2},vx=d(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),eg=d(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tg={key:0,class:"exclusion-block"},og=d(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lg=d(()=>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)),ag={style:{margin:"8px 0"}},ng={class:"remark-table"},sg=d(()=>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)),ig=["innerHTML"],dg={class:"section segment-section"},cg=d(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rg={class:"segment-index flex-center"},mg={class:"segment-position"},pg={key:0},hg={key:1},_g=d(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),yg={class:"segment-position"},Eg={key:0},Ng={key:1},Vg=d(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fg={style:{margin:"10px 0 0"}},xg=d(()=>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)),gg=d(()=>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)),Dg=d(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),bg={class:"good-wx"},kg={class:"good-wx"},Cg=d(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sg={class:"good-wx"},Bg={class:"good-wx"},wg=d(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ag={class:"good-wx"},Tg={class:"good-wx"},Fg=d(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Og={class:"good-wx"},Pg={class:"good-wx"},Lg=d(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wg={class:"good-wx"},$g={class:"good-wx"},Hg=d(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mg={class:"good-wx"},Ig={class:"good-wx"},Rg=d(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Gg={class:"good-wx"},zg={class:"good-wx"},Ug={key:0,class:"flex-end tip"},ug={key:1,class:"segment-speed"},Yg={class:"flex-center"},Zg=d(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qg={class:"speed-right flex-space"},Jg=d(()=>e.createElementVNode("span",null,"-",-1)),Kg=d(()=>e.createElementVNode("label",null,"=",-1)),jg={class:"speed"},qg={key:1,class:"speed"},Xg={key:0,class:"speed"},vg=d(()=>e.createElementVNode("span",null,"-",-1)),eD=d(()=>e.createElementVNode("label",null,"=",-1)),tD={class:"speed"},oD=d(()=>e.createElementVNode("span",null,"-",-1)),lD=d(()=>e.createElementVNode("label",null,"=",-1)),aD={class:"speed"},nD=d(()=>e.createElementVNode("span",null,"-",-1)),sD=d(()=>e.createElementVNode("span",null,"-",-1)),iD=d(()=>e.createElementVNode("label",null,"=",-1)),dD={class:"speed"},cD={key:2,class:"under"},rD={key:3,class:"over"},mD={class:"flex-center"},pD=d(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hD={class:"speed-right formula flex-space"},_D=d(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),yD=d(()=>e.createElementVNode("label",null,"-",-1)),ED=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),ND=d(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),VD=d(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fD={key:0},xD=d(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),gD=d(()=>e.createElementVNode("label",null,"-",-1)),DD=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),bD=d(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),kD=d(()=>e.createElementVNode("label",null,"-",-1)),CD=d(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),SD=d(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),BD=d(()=>e.createElementVNode("label",null,"-",-1)),wD=d(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),AD=d(()=>e.createElementVNode("label",null,"-",-1)),TD=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),FD={key:2,class:"segment-speed"},OD={class:"flex-center"},PD=d(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),LD={class:"speed-right flex-space"},WD=d(()=>e.createElementVNode("span",null,"-",-1)),$D=d(()=>e.createElementVNode("span",null,"-",-1)),HD=d(()=>e.createElementVNode("label",null,"=",-1)),MD={class:"speed"},ID=d(()=>e.createElementVNode("span",null,"-",-1)),RD=d(()=>e.createElementVNode("label",null,"=",-1)),GD={class:"speed"},zD={key:2,class:"under"},UD={key:3,class:"over"},uD={class:"flex-center"},YD=d(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),ZD={class:"speed-right formula flex-space"},QD=d(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),JD=d(()=>e.createElementVNode("label",null,"-",-1)),KD=d(()=>e.createElementVNode("label",null,"Current Factor",-1)),jD=d(()=>e.createElementVNode("label",null,"-",-1)),qD=d(()=>e.createElementVNode("label",null,"Weather Factor",-1)),XD=d(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vD=d(()=>e.createElementVNode("label",null,"-",-1)),eb=d(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tb=d(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),ob=d(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lb={class:"segment-formula"},ab={class:"header-block flex-start"},nb=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sb={class:"title"},ib={key:0,style:{"margin-left":"4px","font-weight":"300"}},db={class:"formula-block"},cb={class:"flex-evenly"},rb=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mb={class:"formula-right flex-evenly"},pb={class:"fraction",style:{width:"240px"}},hb=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),_b=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),yb=d(()=>e.createElementVNode("div",null,"(a)",-1)),Eb={class:"flex-center"},Nb={class:"formula-left flex-space"},Vb=d(()=>e.createElementVNode("label",null,"=",-1)),fb={class:"formula-right flex-evenly"},xb={class:"fraction",style:{width:"240px"}},gb=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),Db=d(()=>e.createElementVNode("div",null,"(b)",-1)),bb={class:"flex-center"},kb={class:"formula-left flex-space"},Cb=d(()=>e.createElementVNode("label",null,"=",-1)),Sb={class:"formula-right flex-evenly"},Bb={class:"fraction",style:{width:"240px"}},wb=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ab=d(()=>e.createElementVNode("div",null,"(c)",-1)),Tb=e.createStaticVNode('<div class="flex-start" data-v-670da44f><div class="flex-space" style="width:300px;font-weight:400;" data-v-670da44f><label data-v-670da44f>Time Lost</label><div data-v-670da44f>=</div><div data-v-670da44f>(a)</div><div data-v-670da44f>-</div><div data-v-670da44f>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-670da44f><label data-v-670da44f>Time Gained</label><div data-v-670da44f>=</div><div data-v-670da44f>(c)</div><div data-v-670da44f>-</div><div data-v-670da44f>(a)</div></div></div>',1),Fb={class:"formula-desc"},Ob={class:"flex-end"},Pb=d(()=>e.createElementVNode("label",null,"Time Lost",-1)),Lb={class:"flex-end"},Wb=d(()=>e.createElementVNode("label",null,"Time Gained",-1)),$b={class:"flex-end"},Hb=d(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Mb={key:0,class:"formula-block",style:{"font-weight":"400"}},Ib={class:"flex-evenly"},Rb=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Gb={class:"formula-right flex-evenly"},zb={class:"fraction",style:{width:"240px"}},Ub=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),ub=d(()=>e.createElementVNode("div",null,"=",-1)),Yb=d(()=>e.createElementVNode("div",null,"(a')",-1)),Zb={class:"flex-center"},Qb={class:"formula-left flex-space"},Jb=d(()=>e.createElementVNode("label",null,"=",-1)),Kb={class:"formula-right flex-evenly"},jb={class:"fraction",style:{width:"240px"}},qb=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),Xb=d(()=>e.createElementVNode("div",null,"=",-1)),vb=d(()=>e.createElementVNode("div",null,"(b')",-1)),ek={class:"flex-center"},tk={class:"formula-left flex-space"},ok=d(()=>e.createElementVNode("label",null,"=",-1)),lk={class:"formula-right flex-evenly"},ak={class:"fraction",style:{width:"240px"}},nk=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),sk=d(()=>e.createElementVNode("div",null,"=",-1)),ik=d(()=>e.createElementVNode("div",null,"(c')",-1)),dk={class:"formula-conclusion",style:{"margin-bottom":"0"}},ck={key:0,class:"flex-evenly",style:{width:"500px"}},rk=d(()=>e.createElementVNode("div",null,"Time Lost",-1)),mk=d(()=>e.createElementVNode("div",null,"=",-1)),pk=d(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),hk=d(()=>e.createElementVNode("div",null,"=",-1)),_k=d(()=>e.createElementVNode("div",null,"-",-1)),yk=d(()=>e.createElementVNode("div",null,"=",-1)),Ek={key:1,class:"flex-evenly",style:{width:"500px"}},Nk=d(()=>e.createElementVNode("div",null,"Time Lost",-1)),Vk=d(()=>e.createElementVNode("div",null,"=",-1)),fk=d(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),xk=d(()=>e.createElementVNode("div",null,"=",-1)),gk=d(()=>e.createElementVNode("div",null,"-",-1)),Dk=d(()=>e.createElementVNode("div",null,"=",-1)),bk=d(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),kk={key:1,class:"formula-conclusion"},Ck=d(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Sk={class:"segment-formula"},Bk={class:"header-block flex-start"},wk=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ak={class:"title"},Tk={key:0,style:{"margin-left":"4px","font-weight":"300"}},Fk={class:"formula-block"},Ok={class:"flex-evenly"},Pk=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),Lk={class:"formula-right flex-evenly"},Wk={class:"fraction",style:{width:"240px"}},$k=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hk=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Mk=d(()=>e.createElementVNode("div",null,"x",-1)),Ik=d(()=>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)),Rk=d(()=>e.createElementVNode("div",null,"(d)",-1)),Gk={style:{"line-height":"1"}},zk=d(()=>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)),Uk={key:0,class:"tips flex-end",style:{"font-size":"14px"}},uk={class:"flex-center"},Yk=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Zk={class:"formula-right flex-evenly"},Qk={class:"fraction",style:{width:"240px"}},Jk=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),Kk=d(()=>e.createElementVNode("div",null,"x",-1)),jk=d(()=>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)),qk=d(()=>e.createElementVNode("div",null,"(e)",-1)),Xk={class:"flex-center"},vk=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e3={class:"formula-right flex-evenly"},t3={class:"fraction",style:{width:"240px"}},o3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),l3=d(()=>e.createElementVNode("div",null,"x",-1)),a3=d(()=>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)),n3=d(()=>e.createElementVNode("div",null,"(f)",-1)),s3=e.createStaticVNode('<div class="flex-start" data-v-670da44f><div class="flex-space" style="width:300px;font-weight:400;" data-v-670da44f><label data-v-670da44f>Fuel Over-consumption</label><div data-v-670da44f>=</div><div data-v-670da44f>(d)</div><div data-v-670da44f>-</div><div data-v-670da44f>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-670da44f><label data-v-670da44f>Fuel Saving</label><div data-v-670da44f>=</div><div data-v-670da44f>(f)</div><div data-v-670da44f>-</div><div data-v-670da44f>(d)</div></div></div>',1),i3={class:"flex-center"},d3=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),c3={class:"formula-right flex-evenly"},r3={class:"fraction",style:{width:"270px"}},m3=d(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),p3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),h3={class:"flex-center"},_3=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),y3={class:"formula-right flex-evenly"},E3={class:"fraction",style:{width:"270px"}},N3=d(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),V3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),f3=d(()=>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)),x3={class:"header-block flex-start",style:{"margin-top":"10px"}},g3=d(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),D3={class:"title"},b3={key:0,class:"formula-block"},k3={key:0,class:"flex-evenly"},C3=d(()=>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)),S3={class:"formula-right flex-evenly"},B3={class:"fraction",style:{width:"60px"}},w3=d(()=>e.createElementVNode("div",null,"-",-1)),A3={class:"fraction",style:{width:"60px"}},T3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),F3=d(()=>e.createElementVNode("div",null,"24",-1)),O3=d(()=>e.createElementVNode("div",null,"*",-1)),P3=d(()=>e.createElementVNode("div",null,"=",-1)),L3={class:"flex-evenly"},W3=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$3={class:"formula-right flex-evenly"},H3={class:"fraction",style:{width:"240px"}},M3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),I3=d(()=>e.createElementVNode("div",null,"x",-1)),R3={class:"fraction",style:{width:"240px"}},G3={key:0},z3=d(()=>e.createElementVNode("span",null," + ",-1)),U3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),u3=d(()=>e.createElementVNode("div",null,"=",-1)),Y3=d(()=>e.createElementVNode("div",null,"(d')",-1)),Z3={class:"flex-evenly"},Q3=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),J3={class:"formula-right flex-evenly"},K3={class:"fraction",style:{width:"240px"}},j3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),q3=d(()=>e.createElementVNode("div",null,"x",-1)),X3={class:"fraction",style:{width:"240px"}},v3=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=d(()=>e.createElementVNode("div",null,"24",-1)),tC=d(()=>e.createElementVNode("div",null,"=",-1)),oC=d(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},iC=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),dC=d(()=>e.createElementVNode("div",null,"x",-1)),cC={class:"fraction",style:{width:"240px"}},rC=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=d(()=>e.createElementVNode("div",null,"24",-1)),pC=d(()=>e.createElementVNode("div",null,"=",-1)),hC=d(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},yC={class:"flex-evenly",style:{width:"500px"}},EC=d(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=d(()=>e.createElementVNode("div",null,"=",-1)),VC=d(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=d(()=>e.createElementVNode("div",null,"=",-1)),xC=d(()=>e.createElementVNode("div",null,"-",-1)),gC=d(()=>e.createElementVNode("div",null,"=",-1)),DC={key:0,class:"flex-evenly"},bC=d(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),kC=d(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=d(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=d(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=d(()=>e.createElementVNode("div",null,"=",-1)),FC=d(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=d(()=>e.createElementVNode("div",null,"=",-1)),PC=d(()=>e.createElementVNode("div",null,"-",-1)),LC=d(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=d(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=d(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=d(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),RC=d(()=>e.createElementVNode("div",null,"=",-1)),GC=d(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},uC=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),YC={class:"title"},ZC={key:0,class:"formula-block"},QC={class:"flex-evenly"},JC=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},qC=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),XC=d(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=d(()=>e.createElementVNode("span",null," - ",-1)),oS=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=d(()=>e.createElementVNode("div",null,"=",-1)),aS=d(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),iS={class:"formula-right flex-evenly"},dS={class:"fraction",style:{width:"240px"}},cS=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=d(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=d(()=>e.createElementVNode("div",null,"24",-1)),_S=d(()=>e.createElementVNode("div",null,"=",-1)),yS=d(()=>e.createElementVNode("div",null,"(e'')",-1)),ES={class:"flex-evenly"},NS=d(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},xS=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=d(()=>e.createElementVNode("div",null,"x",-1)),DS={class:"fraction",style:{width:"240px"}},bS=d(()=>e.createElementVNode("div",{class:"line"},null,-1)),kS=d(()=>e.createElementVNode("div",null,"24",-1)),CS=d(()=>e.createElementVNode("div",null,"=",-1)),SS=d(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=d(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=d(()=>e.createElementVNode("div",null,"=",-1)),FS=d(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=d(()=>e.createElementVNode("div",null,"=",-1)),PS=d(()=>e.createElementVNode("div",null,"-",-1)),LS=d(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=d(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=d(()=>e.createElementVNode("div",null,"=",-1)),MS=d(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=d(()=>e.createElementVNode("div",null,"=",-1)),RS=d(()=>e.createElementVNode("div",null,"-",-1)),GS=d(()=>e.createElementVNode("div",null,"=",-1)),zS=d(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function uS(t,s,l,r,a,n){var x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Q0,[e.createElementVNode("div",J0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[q0,e.createElementVNode("span",X0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((D=(x=l.report)==null?void 0:x.vessel)==null?void 0:D.name)+" ("+e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[i2,(b=(C=l.report)==null?void 0:C.departure)!=null&&b.portName?(e.openBlock(),e.createElementBlock("span",d2,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",c2,[e.createVNode(y,{lat:(w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(i,{lng:(V=l.report.departure)==null?void 0:V.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=l.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(R=(I=l.report)==null?void 0:I.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",y2,[e.createVNode(y,{lat:(L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),E2,e.createVNode(i,{lng:(W=(H=l.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=l.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",x2,e.toDisplayString((U=(Q=l.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",g2,[D2,e.createElementVNode("div",b2,[e.createElementVNode("div",k2,e.toDisplayString(n.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=l.report)==null?void 0:J.segments,(o,j)=>{var v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+j},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,($,Be)=>{var He,Re,de,ze,tt,ot,dt,ct,rt,mt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Be},[e.createElementVNode("div",A2,[(He=$==null?void 0:$.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((de=$==null?void 0:$.departure)==null?void 0:de.lat).pretty)+", "+e.toDisplayString(n.computeLng((ze=$==null?void 0:$.departure)==null?void 0:ze.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((tt=$==null?void 0:$.departure)==null?void 0:tt.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(ot=$==null?void 0:$.arrival)!=null&&ot.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((ct=$==null?void 0:$.arrival)==null?void 0:ct.lat).pretty)+", "+e.toDisplayString(n.computeLng((rt=$==null?void 0:$.arrival)==null?void 0:rt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((mt=$==null?void 0:$.arrival)==null?void 0:mt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",R2,[G2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=o==null?void 0:o.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(le=(oe=o==null?void 0:o.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(re=(ie=o==null?void 0:o.extend)==null?void 0:ie.cp)==null?void 0:re.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(me=o==null?void 0:o.extend)==null?void 0:me.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[u2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(q=o==null?void 0:o.extend)==null?void 0:q.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(o==null?void 0:o.fuelConclusion,"Under")),1)])])])])]),J2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[q2,e.createElementVNode("div",X2,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.time),1),v2]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ex,[((Ee=o==null?void 0:o.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tx," Time Gained ")):((Ne=o==null?void 0:o.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ox," Time Lost ")):(e.openBlock(),e.createElementBlock("div",lx,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ax,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nx,[((Ve=o==null?void 0:o.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sx,[ix,e.createElementVNode("span",dx,e.toDisplayString((fe=o==null?void 0:o.timeConclusion)==null?void 0:fe.timeGain),1),cx])):((xe=o==null?void 0:o.timeConclusion)==null?void 0:xe.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rx,[mx,e.createElementVNode("span",px,e.toDisplayString((ge=o==null?void 0:o.timeConclusion)==null?void 0:ge.timeLost),1),hx])):(e.openBlock(),e.createElementBlock("div",_x,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yx,[Ex,e.createElementVNode("div",Nx,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumFoCons),1),Vx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fx,[((be=(De=o==null?void 0:o.fuelConclusion)==null?void 0:De.fo)==null?void 0:be.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",xx," FO Saving ")):((Ae=(ke=o==null?void 0:o.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",gx," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Dx,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",bx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",kx,[((Fe=(Te=o==null?void 0:o.fuelConclusion)==null?void 0:Te.fo)==null?void 0:Fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cx,[Sx,e.createElementVNode("span",Bx,e.toDisplayString((Pe=(Oe=o==null?void 0:o.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:Pe.saving),1),wx])):((We=(Le=o==null?void 0:o.fuelConclusion)==null?void 0:Le.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ax,[Tx,e.createElementVNode("span",Fx,e.toDisplayString((pe=($e=o==null?void 0:o.fuelConclusion)==null?void 0:$e.fo)==null?void 0:pe.overCons),1),Ox])):(e.openBlock(),e.createElementBlock("div",Px,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lx,[Wx,e.createElementVNode("div",$x,[e.createElementVNode("div",null,e.toDisplayString(o.allWx.sumDgoCons),1),Hx]),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mx,[((Je=(Qe=o==null?void 0:o.fuelConclusion)==null?void 0:Qe.dgo)==null?void 0:Je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ix," DO/GO Saving ")):((A=(Ke=o==null?void 0:o.fuelConclusion)==null?void 0:Ke.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Rx," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Gx,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zx,e.toDisplayString(a.noGoodWxDay),1)),o.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ux,[((Ie=(Se=o==null?void 0:o.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ie.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ux,[Yx,e.createElementVNode("span",Zx,e.toDisplayString((qe=(je=o==null?void 0:o.fuelConclusion)==null?void 0:je.dgo)==null?void 0:qe.saving),1),Qx])):((ve=(Xe=o==null?void 0:o.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:ve.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jx,[Kx,e.createElementVNode("span",jx,e.toDisplayString((m=(et=o==null?void 0:o.fuelConclusion)==null?void 0:et.dgo)==null?void 0:m.overCons),1),qx])):(e.openBlock(),e.createElementBlock("div",Xx,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vx]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eg,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tg,[og,lg,e.createElementVNode("div",ag,[e.createElementVNode("table",ng,[sg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(o,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(o.time),1),e.createElementVNode("td",null,e.toDisplayString(o.duration),1),e.createElementVNode("td",null,e.toDisplayString(o.distance),1),e.createElementVNode("td",null,e.toDisplayString(o.fo),1),e.createElementVNode("td",null,e.toDisplayString(o.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=l.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=o=>a.remarks=o),class:"editor",height:"120px",onBlur:s[1]||(s[1]=o=>n.handleCommit(o))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...o)=>n.handleEdit&&n.handleEdit(...o)),innerHTML:a.remarks},null,40,ig))],2)],2),e.createElementVNode("div",dg,[cg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(o,j)=>{var v,ee,te,oe,le,ie,re,me,ye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,Zs,Qs,Js,Ks,js,qs,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,di,ci,ri,mi,pi,hi,_i,yi,Ei,Ni,Vi,fi,xi,gi,Di,bi,ki,Ci;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=o==null?void 0:o.extend)==null?void 0:v.segTimes,(we,fU)=>{var Si,Bi,wi,Ai,Ti,Fi,Oi,Pi,Li,Wi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:fU},[e.createElementVNode("div",mg,[(Si=we==null?void 0:we.departure)!=null&&Si.portName?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString((Bi=we==null?void 0:we.departure)==null?void 0:Bi.portName),1)):(e.openBlock(),e.createElementBlock("span",hg,e.toDisplayString(n.computeLat((wi=we==null?void 0:we.departure)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ai=we==null?void 0:we.departure)==null?void 0:Ai.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Ti=we==null?void 0:we.departure)==null?void 0:Ti.utcTime))+")",1)]),_g,e.createElementVNode("div",yg,[(Fi=we==null?void 0:we.arrival)!=null&&Fi.portName?(e.openBlock(),e.createElementBlock("span",Eg,e.toDisplayString((Oi=we==null?void 0:we.arrival)==null?void 0:Oi.portName),1)):(e.openBlock(),e.createElementBlock("span",Ng,e.toDisplayString(n.computeLat((Pi=we==null?void 0:we.arrival)==null?void 0:Pi.lat).pretty)+", "+e.toDisplayString(n.computeLng((Li=we==null?void 0:we.arrival)==null?void 0:Li.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wi=we==null?void 0:we.arrival)==null?void 0:Wi.utcTime))+")",1)])])}),128)),Vg,e.createElementVNode("div",fg,[e.createElementVNode("table",null,[xg,gg,e.createElementVNode("tr",null,[Dg,e.createElementVNode("td",bg,e.toDisplayString((te=(ee=o==null?void 0:o.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",kg,e.toDisplayString((le=(oe=o==null?void 0:o.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(ie=o==null?void 0:o.allWx)==null?void 0:ie.outEca)==null?void 0:re.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(me=o==null?void 0:o.allWx)==null?void 0:me.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",Sg,e.toDisplayString((he=(q=o==null?void 0:o.goodWx)==null?void 0:q.outEca)==null?void 0:he.time),1),e.createElementVNode("td",Bg,e.toDisplayString((Ne=(Ee=o==null?void 0:o.goodWx)==null?void 0:Ee.inEca)==null?void 0:Ne.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=o==null?void 0:o.allWx)==null?void 0:Ve.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(xe=o==null?void 0:o.allWx)==null?void 0:xe.inEca)==null?void 0:ge.time),1)]),e.createElementVNode("tr",null,[wg,e.createElementVNode("td",Ag,e.toDisplayString(((be=(De=o==null?void 0:o.goodWx)==null?void 0:De.outEca)==null?void 0:be.avgSpd)||"--"),1),e.createElementVNode("td",Tg,e.toDisplayString(((Ae=(ke=o==null?void 0:o.goodWx)==null?void 0:ke.inEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(Te=o==null?void 0:o.allWx)==null?void 0:Te.outEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Pe=(Oe=o==null?void 0:o.allWx)==null?void 0:Oe.inEca)==null?void 0:Pe.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fg,e.createElementVNode("td",Og,e.toDisplayString(((We=(Le=o==null?void 0:o.goodWx)==null?void 0:Le.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Pg,e.toDisplayString(((pe=($e=o==null?void 0:o.goodWx)==null?void 0:$e.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=o==null?void 0:o.allWx)==null?void 0:Qe.outEca)==null?void 0:Je.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(Ke=o==null?void 0:o.allWx)==null?void 0:Ke.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lg,e.createElementVNode("td",Wg,e.toDisplayString(((Ie=(Se=o==null?void 0:o.goodWx)==null?void 0:Se.outEca)==null?void 0:Ie.avgFoCons)||"--"),1),e.createElementVNode("td",$g,e.toDisplayString(((qe=(je=o==null?void 0:o.goodWx)==null?void 0:je.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=o==null?void 0:o.allWx)==null?void 0:Xe.outEca)==null?void 0:ve.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=o==null?void 0:o.allWx)==null?void 0:et.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hg,e.createElementVNode("td",Mg,e.toDisplayString(((Be=($=o==null?void 0:o.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ig,e.toDisplayString(((Re=(He=o==null?void 0:o.goodWx)==null?void 0:He.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(de=o==null?void 0:o.allWx)==null?void 0:de.outEca)==null?void 0:ze.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ot=(tt=o==null?void 0:o.allWx)==null?void 0:tt.inEca)==null?void 0:ot.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Rg,e.createElementVNode("td",Gg,e.toDisplayString(((ct=(dt=o==null?void 0:o.goodWx)==null?void 0:dt.outEca)==null?void 0:ct.avgDgoCons)||"--"),1),e.createElementVNode("td",zg,e.toDisplayString(((mt=(rt=o==null?void 0:o.goodWx)==null?void 0:rt.inEca)==null?void 0:mt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(ht=o==null?void 0:o.allWx)==null?void 0:ht.outEca)==null?void 0:_t.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(yt=o==null?void 0:o.allWx)==null?void 0:yt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(Nt=a.exclusion[j])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Ug," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=o==null?void 0:o.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",ug,[e.createElementVNode("div",Yg,[Zg,e.createElementVNode("div",Qg,[(xt=(ft=l.report)==null?void 0:ft.weather)!=null&&xt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ft=(Tt=l.report)==null?void 0:Tt.weather)!=null&&Ft.disableWxFactor&&((io=(Ot=l.report)==null?void 0:Ot.weather)!=null&&io.disableCFactor)?(e.openBlock(),e.createElementBlock("span",Xg,e.toDisplayString((co=o==null?void 0:o.goodWx)==null?void 0:co.pfmSpd)+" (kts)",1)):(mo=(ro=l.report)==null?void 0:ro.weather)!=null&&mo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((po=o==null?void 0:o.goodWx)==null?void 0:po.avgSpd),1),vg,e.createElementVNode("span",null,e.toDisplayString(((ho=o==null?void 0:o.goodWx)==null?void 0:ho.avgCf)>0?(_o=o==null?void 0:o.goodWx)==null?void 0:_o.avgCf:`(${(yo=o==null?void 0:o.goodWx)==null?void 0:yo.avgCf})`),1),eD,e.createElementVNode("span",tD,e.toDisplayString((Eo=o==null?void 0:o.goodWx)==null?void 0:Eo.pfmSpd)+" (kts)",1)],64)):(S=(No=l.report)==null?void 0:No.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Me=o==null?void 0:o.goodWx)==null?void 0:Me.avgSpd),1),oD,e.createElementVNode("span",null,e.toDisplayString(((lt=o==null?void 0:o.goodWx)==null?void 0:lt.avgWf)>0?(at=o==null?void 0:o.goodWx)==null?void 0:at.avgWf:`(${(pt=o==null?void 0:o.goodWx)==null?void 0:pt.avgWf})`),1),lD,e.createElementVNode("span",aD,e.toDisplayString((Pt=o==null?void 0:o.goodWx)==null?void 0:Pt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Lt=o==null?void 0:o.goodWx)==null?void 0:Lt.avgSpd),1),nD,e.createElementVNode("span",null,e.toDisplayString(((Wt=o==null?void 0:o.goodWx)==null?void 0:Wt.avgWf)>0?($t=o==null?void 0:o.goodWx)==null?void 0:$t.avgWf:`(${(Ht=o==null?void 0:o.goodWx)==null?void 0:Ht.avgWf})`),1),sD,e.createElementVNode("span",null,e.toDisplayString(((Mt=o==null?void 0:o.goodWx)==null?void 0:Mt.avgCf)>0?(It=o==null?void 0:o.goodWx)==null?void 0:It.avgCf:`(${(Rt=o==null?void 0:o.goodWx)==null?void 0:Rt.avgCf})`),1),iD,e.createElementVNode("span",dD,e.toDisplayString((Gt=o==null?void 0:o.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=l.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((bt=o==null?void 0:o.goodWx)==null?void 0:bt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",qg,e.toDisplayString((At=o==null?void 0:o.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((kt=o==null?void 0:o.goodWx)==null?void 0:kt.avgSpd),1),Jg,e.createElementVNode("span",null,e.toDisplayString(((Ct=o==null?void 0:o.goodWx)==null?void 0:Ct.avgCf)>0?(St=o==null?void 0:o.goodWx)==null?void 0:St.avgCf:`(${(Bt=o==null?void 0:o.goodWx)==null?void 0:Bt.avgCf})`),1),Kg,e.createElementVNode("span",jg,e.toDisplayString((wt=o==null?void 0:o.goodWx)==null?void 0:wt.pfmSpd)+" (kts)",1)],64))],64)),((zt=o==null?void 0:o.goodWx)==null?void 0:zt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",cD,"(Under-performance)")):e.createCommentVNode("",!0),((Ut=o==null?void 0:o.goodWx)==null?void 0:Ut.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rD,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mD,[pD,e.createElementVNode("div",hD,[(Yt=(ut=l.report)==null?void 0:ut.weather)!=null&&Yt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(jt=(Kt=l.report)==null?void 0:Kt.weather)!=null&&jt.disableWxFactor&&((Xt=(qt=l.report)==null?void 0:qt.weather)!=null&&Xt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fD,"GW Average Speed")):(eo=(vt=l.report)==null?void 0:vt.weather)!=null&&eo.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[xD,gD,DD],64)):(oo=(to=l.report)==null?void 0:to.weather)!=null&&oo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[bD,kD,CD],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[SD,BD,wD,AD,TD],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Qt=(Zt=l.report)==null?void 0:Zt.weather)!=null&&Qt.favorableCur&&((Jt=o==null?void 0:o.goodWx)==null?void 0:Jt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ND,VD],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_D,yD,ED],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",FD,[e.createElementVNode("div",OD,[PD,e.createElementVNode("div",LD,[(fo=(Vo=l.report)==null?void 0:Vo.weather)!=null&&fo.favorableCur&&((xo=o==null?void 0:o.allWx)==null?void 0:xo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Ao=o==null?void 0:o.allWx)==null?void 0:Ao.avgSpd),1),ID,e.createElementVNode("span",null,e.toDisplayString(((To=o==null?void 0:o.allWx)==null?void 0:To.avgWf)>0?(Fo=o==null?void 0:o.allWx)==null?void 0:Fo.avgWf:`(${(Oo=o==null?void 0:o.allWx)==null?void 0:Oo.avgWf})`),1),RD,e.createElementVNode("span",GD,e.toDisplayString((Po=o==null?void 0:o.allWx)==null?void 0:Po.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((go=o==null?void 0:o.allWx)==null?void 0:go.avgSpd),1),WD,e.createElementVNode("span",null,e.toDisplayString(((Do=o==null?void 0:o.allWx)==null?void 0:Do.avgCf)>0?(bo=o==null?void 0:o.allWx)==null?void 0:bo.avgCf:`(${(ko=o==null?void 0:o.allWx)==null?void 0:ko.avgCf})`),1),$D,e.createElementVNode("span",null,e.toDisplayString(((Co=o==null?void 0:o.allWx)==null?void 0:Co.avgWf)>0?(So=o==null?void 0:o.allWx)==null?void 0:So.avgWf:`(${(Bo=o==null?void 0:o.allWx)==null?void 0:Bo.avgWf})`),1),HD,e.createElementVNode("span",MD,e.toDisplayString((wo=o==null?void 0:o.allWx)==null?void 0:wo.pfmSpd)+" (kts)",1)],64)),((Lo=o==null?void 0:o.allWx)==null?void 0:Lo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zD,"(Under-performance)")):e.createCommentVNode("",!0),((Wo=o==null?void 0:o.allWx)==null?void 0:Wo.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",UD,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",uD,[YD,e.createElementVNode("div",ZD,[(Ho=($o=l.report)==null?void 0:$o.weather)!=null&&Ho.favorableCur&&((Mo=o==null?void 0:o.allWx)==null?void 0:Mo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[XD,vD,eb,tb],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[QD,JD,KD,jD,qD],64))])])])),ob,e.createElementVNode("div",lb,[e.createElementVNode("div",ab,[nb,e.createElementVNode("div",sb,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Go=(Io=l.report)==null?void 0:Io.weather)!=null&&Go.noExtrapolation?(e.openBlock(),e.createElementBlock("span",ib,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",db,[e.createElementVNode("div",cb,[rb,e.createElementVNode("div",mb,[e.createElementVNode("div",pb,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=l.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hb,_b]),yb])]),e.createElementVNode("div",Eb,[e.createElementVNode("div",Nb,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Yo=(uo=o==null?void 0:o.extend)==null?void 0:uo.cp)==null?void 0:Yo.speed,"Under"))+"kts)",1),Vb]),e.createElementVNode("div",fb,[e.createElementVNode("div",xb,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.report)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gb,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(Ko=(Jo=o==null?void 0:o.extend)==null?void 0:Jo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),Db])]),e.createElementVNode("div",bb,[e.createElementVNode("div",kb,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(qo=(jo=o==null?void 0:o.extend)==null?void 0:jo.cp)==null?void 0:qo.speed,"Over"))+"kts)",1),Cb]),e.createElementVNode("div",Sb,[e.createElementVNode("div",Bb,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=l.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wb,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(tl=(el=o==null?void 0:o.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Ab])]),Tb]),e.createElementVNode("div",Fb,[e.createElementVNode("div",Ob,[Pb,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ll=(ol=o==null?void 0:o.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Lb,[Wb,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(nl=(al=o==null?void 0:o.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$b,[Hb,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(il=(sl=o==null?void 0:o.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(cl=(dl=o==null?void 0:o.extend)==null?void 0:dl.cp)==null?void 0:cl.speed,"Under"))+" kts)",1)])]),(rl=o==null?void 0:o.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Mb,[e.createElementVNode("div",Ib,[Rb,e.createElementVNode("div",Gb,[e.createElementVNode("div",zb,[e.createElementVNode("div",null,e.toDisplayString((pl=(nt=l.report)==null?void 0:nt.weather)!=null&&pl.noExtrapolation?(yl=o==null?void 0:o.goodWx)==null?void 0:yl.distance:(El=o==null?void 0:o.allWx)==null?void 0:El.distance),1),Ub,e.createElementVNode("div",null,e.toDisplayString((Nl=o==null?void 0:o.goodWx)==null?void 0:Nl.pfmSpd),1)]),ub,e.createElementVNode("div",null,e.toDisplayString((Vl=o==null?void 0:o.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Yb])]),e.createElementVNode("div",Zb,[e.createElementVNode("div",Qb,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(xl=(fl=o==null?void 0:o.extend)==null?void 0:fl.cp)==null?void 0:xl.speed,"Under"))+"kts)",1),Jb]),e.createElementVNode("div",Kb,[e.createElementVNode("div",jb,[e.createElementVNode("div",null,e.toDisplayString((Dl=(gl=l.report)==null?void 0:gl.weather)!=null&&Dl.noExtrapolation?(bl=o==null?void 0:o.goodWx)==null?void 0:bl.distance:(kl=o==null?void 0:o.allWx)==null?void 0:kl.distance),1),qb,e.createElementVNode("div",null,e.toDisplayString((Cl=o==null?void 0:o.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),Xb,e.createElementVNode("div",null,e.toDisplayString((Sl=o==null?void 0:o.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vb])]),e.createElementVNode("div",ek,[e.createElementVNode("div",tk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(wl=(Bl=o==null?void 0:o.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),ok]),e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=l.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=o==null?void 0:o.goodWx)==null?void 0:Fl.distance:(Ol=o==null?void 0:o.allWx)==null?void 0:Ol.distance),1),nk,e.createElementVNode("div",null,e.toDisplayString((Pl=o==null?void 0:o.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),sk,e.createElementVNode("div",null,e.toDisplayString((Ll=o==null?void 0:o.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),ik])]),e.createElementVNode("div",dk,[((Wl=o==null?void 0:o.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ck,[rk,mk,pk,hk,e.createElementVNode("div",null,e.toDisplayString(($l=o==null?void 0:o.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_k,e.createElementVNode("div",null,e.toDisplayString((Hl=o==null?void 0:o.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),yk,e.createElementVNode("div",null,e.toDisplayString((Ml=o==null?void 0:o.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=o==null?void 0:o.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Ek,[Nk,Vk,fk,xk,e.createElementVNode("div",null,e.toDisplayString((Rl=o==null?void 0:o.timeConclusion)==null?void 0:Rl.timeAtPlusAbtSpd),1),gk,e.createElementVNode("div",null,e.toDisplayString((Gl=o==null?void 0:o.timeConclusion)==null?void 0:Gl.timeAtPfmSpd),1),Dk,e.createElementVNode("div",null,e.toDisplayString((zl=o==null?void 0:o.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=o==null?void 0:o.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((ul=o==null?void 0:o.timeConclusion)==null?void 0:ul.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[bk,e.createElementVNode("div",null,e.toDisplayString(((Yl=o==null?void 0:o.timeConclusion)==null?void 0:Yl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",kk,e.toDisplayString(a.noGoodWxDay),1))]),Ck,e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[wk,e.createElementVNode("div",Ak,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Ql=(Zl=l.report)==null?void 0:Zl.weather)!=null&&Ql.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Tk,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",Lk,[e.createElementVNode("div",Wk,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=l.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$k,Hk]),Mk,Ik,Rk])]),e.createElementVNode("div",Gk,[zk,((ql=(jl=o.extend)==null?void 0:jl.cp)==null?void 0:ql.dgo)>0?(e.openBlock(),e.createElementBlock("div",Uk,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",uk,[Yk,e.createElementVNode("div",Zk,[e.createElementVNode("div",Qk,[e.createElementVNode("div",null,e.toDisplayString((vl=(Xl=l.report)==null?void 0:Xl.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Jk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(ta=(ea=o==null?void 0:o.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),Kk,jk,qk])]),e.createElementVNode("div",Xk,[vk,e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=l.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(o==null?void 0:o.timeConclusion,(na=(aa=o==null?void 0:o.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),l3,a3,n3])]),s3,((ia=(sa=o.extend)==null?void 0:sa.cp)==null?void 0:ia.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",i3,[d3,e.createElementVNode("div",c3,[e.createElementVNode("div",r3,[m3,p3,e.createElementVNode("div",null,e.toDisplayString((ca=(da=l.report)==null?void 0:da.weather)!=null&&ca.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",h3,[_3,e.createElementVNode("div",y3,[e.createElementVNode("div",E3,[N3,V3,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=l.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),f3,e.createElementVNode("div",x3,[g3,e.createElementVNode("div",D3,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=o==null?void 0:o.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",b3,[((_a=(ha=o==null?void 0:o.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",k3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString((Ea=(ya=o==null?void 0:o.goodWx)==null?void 0:ya.inEca)==null?void 0:Ea.sumDgoCons),1)]),w3,e.createElementVNode("div",A3,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o==null?void 0:o.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),T3,F3]),O3,e.createElementVNode("div",null,e.toDisplayString((xa=(fa=o==null?void 0:o.goodWx)==null?void 0:fa.inEca)==null?void 0:xa.time),1),P3,e.createElementVNode("div",null,e.toDisplayString((Da=(ga=o==null?void 0:o.fuelConclusion)==null?void 0:ga.fo)==null?void 0:Da.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",L3,[W3,e.createElementVNode("div",$3,[e.createElementVNode("div",H3,[e.createElementVNode("div",null,e.toDisplayString((ka=(ba=l.report)==null?void 0:ba.weather)!=null&&ka.noExtrapolation?(Ca=o==null?void 0:o.goodWx)==null?void 0:Ca.distance:(Sa=o==null?void 0:o.allWx)==null?void 0:Sa.distance),1),M3,e.createElementVNode("div",null,e.toDisplayString((Ba=o==null?void 0:o.goodWx)==null?void 0:Ba.pfmSpd),1)]),I3,e.createElementVNode("div",R3,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((wa=o==null?void 0:o.goodWx)==null?void 0:wa.sumFoCons),1),((Ta=(Aa=o==null?void 0:o.goodWx)==null?void 0:Aa.inEca)==null?void 0:Ta.distance)>0?(e.openBlock(),e.createElementBlock("span",G3,[z3,e.createElementVNode("span",null,e.toDisplayString((Oa=(Fa=o==null?void 0:o.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Oa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),U3,e.createElementVNode("div",null,e.toDisplayString((Pa=o==null?void 0:o.goodWx)==null?void 0:Pa.time),1)]),u3,e.createElementVNode("div",null,e.toDisplayString((Wa=(La=o.fuelConclusion)==null?void 0:La.fo)==null?void 0:Wa.entireCons)+" (mt)",1),Y3])]),e.createElementVNode("div",Z3,[Q3,e.createElementVNode("div",J3,[e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((Ha=($a=l.report)==null?void 0:$a.weather)!=null&&Ha.noExtrapolation?(Y=o==null?void 0:o.goodWx)==null?void 0:Y.distance:(lo=o==null?void 0:o.allWx)==null?void 0:lo.distance),1),j3,e.createElementVNode("div",null,e.toDisplayString((Ma=o==null?void 0:o.timeConclusion)==null?void 0:Ma.minusAbtSpd),1)]),q3,e.createElementVNode("div",X3,[e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=o==null?void 0:o.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.overTolerance),1),v3,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((ao=(Z=o.fuelConclusion)==null?void 0:Z.fo)==null?void 0:ao.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((za=(Ga=l.report)==null?void 0:Ga.weather)!=null&&za.noExtrapolation?(Ua=o==null?void 0:o.goodWx)==null?void 0:Ua.distance:(Ye=o==null?void 0:o.allWx)==null?void 0:Ye.distance),1),iC,e.createElementVNode("div",null,e.toDisplayString((ja=o==null?void 0:o.timeConclusion)==null?void 0:ja.minusAbtSpd),1)]),dC,e.createElementVNode("div",cC,[e.createElementVNode("div",null,e.toDisplayString((Xa=(qa=o==null?void 0:o.fuelConclusion)==null?void 0:qa.fo)==null?void 0:Xa.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((st=(va=o.fuelConclusion)==null?void 0:va.fo)==null?void 0:st.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=o==null?void 0:o.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",yC,[EC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=o==null?void 0:o.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),xC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=o==null?void 0:o.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),gC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=o==null?void 0:o.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=o==null?void 0:o.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",DC,[bC,kC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=o==null?void 0:o.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Gn=(Rn=o==null?void 0:o.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:Gn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=l.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(un=o==null?void 0:o.goodWx)==null?void 0:un.distance:(Yn=o==null?void 0:o.allWx)==null?void 0:Yn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Qn=(Zn=o==null?void 0:o.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Qn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Kn=(Jn=o==null?void 0:o.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((qn=(jn=o==null?void 0:o.fuelConclusion)==null?void 0:jn.fo)==null?void 0:qn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(Xn=o==null?void 0:o.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o==null?void 0:o.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=o==null?void 0:o.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=l.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(is=(ss=o==null?void 0:o.goodWx)==null?void 0:ss.inEca)==null?void 0:is.distance:(cs=(ds=o==null?void 0:o.allWx)==null?void 0:ds.inEca)==null?void 0:cs.distance)+" * "+e.toDisplayString((ms=(rs=o==null?void 0:o.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=l.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=o==null?void 0:o.goodWx)==null?void 0:_s.distance:(ys=o==null?void 0:o.allWx)==null?void 0:ys.distance),1)]),RC,e.createElementVNode("div",null,e.toDisplayString((Ns=(Es=o==null?void 0:o.fuelConclusion)==null?void 0:Es.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=o==null?void 0:o.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(xs=o==null?void 0:o.fuelConclusion)==null?void 0:xs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[GC,e.createElementVNode("div",null,e.toDisplayString(((bs=(Ds=o==null?void 0:o.fuelConclusion)==null?void 0:Ds.fo)==null?void 0:bs.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(ks=o==null?void 0:o.extend)==null?void 0:ks.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[uC,e.createElementVNode("div",YC,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil ",1)]),(Ss=o==null?void 0:o.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",ZC,[e.createElementVNode("div",QC,[JC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=l.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=o==null?void 0:o.goodWx)==null?void 0:As.distance:(Ts=o==null?void 0:o.allWx)==null?void 0:Ts.distance),1),qC,e.createElementVNode("div",null,e.toDisplayString((Fs=o==null?void 0:o.goodWx)==null?void 0:Fs.pfmSpd),1)]),XC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=o==null?void 0:o.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=o==null?void 0:o.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=o==null?void 0:o.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=o==null?void 0:o.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=o.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",iS,[e.createElementVNode("div",dS,[e.createElementVNode("div",null,e.toDisplayString((Gs=(Rs=l.report)==null?void 0:Rs.weather)!=null&&Gs.noExtrapolation?(zs=o==null?void 0:o.goodWx)==null?void 0:zs.distance:(Us=o==null?void 0:o.allWx)==null?void 0:Us.distance),1),cS,e.createElementVNode("div",null,e.toDisplayString((us=o==null?void 0:o.timeConclusion)==null?void 0:us.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Zs=(Ys=o==null?void 0:o.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((Js=(Qs=o.fuelConclusion)==null?void 0:Qs.dgo)==null?void 0:Js.maxCons)+" (mt)",1),yS])]),e.createElementVNode("div",ES,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=l.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(qs=o==null?void 0:o.goodWx)==null?void 0:qs.distance:(Xs=o==null?void 0:o.allWx)==null?void 0:Xs.distance),1),xS,e.createElementVNode("div",null,e.toDisplayString((vs=o==null?void 0:o.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),gS,e.createElementVNode("div",DS,[e.createElementVNode("div",null,e.toDisplayString((ti=(ei=o==null?void 0:o.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.underTolerance),1),bS,kS]),CS,e.createElementVNode("div",null,e.toDisplayString((li=(oi=o.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((ni=(ai=o==null?void 0:o.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((ii=(si=o==null?void 0:o.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((ci=(di=o==null?void 0:o.fuelConclusion)==null?void 0:di.dgo)==null?void 0:ci.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=o==null?void 0:o.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.overCons),1)])):((hi=(pi=o==null?void 0:o.fuelConclusion)==null?void 0:pi.fo)==null?void 0:hi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((yi=(_i=o==null?void 0:o.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:yi.minCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((Ni=(Ei=o==null?void 0:o.fuelConclusion)==null?void 0:Ei.dgo)==null?void 0:Ni.entireCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=o==null?void 0:o.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gi=(xi=o==null?void 0:o.fuelConclusion)==null?void 0:xi.dgo)==null?void 0:gi.conclusionStatus)==="Over"?"flex-center lost":((bi=(Di=o==null?void 0:o.fuelConclusion)==null?void 0:Di.dgo)==null?void 0:bi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Ci=(ki=o==null?void 0:o.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Ci.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const YS=Ce(Z0,[["render",uS],["__scopeId","data-v-670da44f"]]),GU="",ZS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,l="0.0"){return t?ae.LngLatHelper.roundPrecision(t,s):l}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,l,r,a,n,y,i,p,x,D,h;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(l=this.report)==null?void 0:l.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((i=(y=this.report)==null?void 0:y.weather)==null?void 0:i.showSwell)??!0,this.showWave=((x=(p=this.report)==null?void 0:p.weather)==null?void 0:x.showWave)??!0,this.showWaterTemp=((h=(D=this.report)==null?void 0:D.weather)==null?void 0:h.waterTempSwitch)||!1}}},X=t=>(e.pushScopeId("data-v-d5b29348"),t=t(),e.popScopeId(),t),QS={class:"report-inventory"},JS={class:"section summary-section"},KS=X(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={class:"summary-block"},qS=X(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),XS={class:"label",rowspan:"4"},vS=X(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e4=X(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t4=X(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o4=X(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l4={class:"section inventory-section"},a4=e.createStaticVNode('<div class="legends flex-space" data-v-d5b29348><div class="flex-start" style="flex:1.2;" data-v-d5b29348><div class="legend good-wx" data-v-d5b29348></div><div class="label flex-end" data-v-d5b29348>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-d5b29348><div class="legend adverse-wx" data-v-d5b29348></div><div class="label" data-v-d5b29348>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-d5b29348><div class="legend excluded" data-v-d5b29348></div><div class="label" data-v-d5b29348>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-d5b29348><div data-v-d5b29348><label data-v-d5b29348>B</label><span data-v-d5b29348>BOSP</span></div><div data-v-d5b29348><label data-v-d5b29348>N</label><span data-v-d5b29348>NOON</span></div><div data-v-d5b29348><label data-v-d5b29348>E</label><span data-v-d5b29348>EOSP</span></div><div data-v-d5b29348><label data-v-d5b29348>*</label><span data-v-d5b29348>Ship Reported Position</span></div></div></div>',1),n4={class:"inventory-block flex-center"},s4={style:{"font-size":"12px"}},i4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),d4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),c4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r4=X(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m4=["colspan"],p4={key:0,class:"label",colspan:"2"},h4=X(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),y4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),E4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f4={key:0,class:"label",rowspan:"2"},x4=X(()=>e.createElementVNode("br",null,null,-1)),g4={key:1,class:"label",rowspan:"2"},D4=X(()=>e.createElementVNode("br",null,null,-1)),b4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),k4={key:2,class:"label",rowspan:"2"},C4=X(()=>e.createElementVNode("br",null,null,-1)),S4={key:3,class:"label",colspan:"2"},B4={key:4,class:"label",rowspan:"2"},w4=X(()=>e.createElementVNode("br",null,null,-1)),A4={key:5,class:"label",colspan:"2"},T4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F4={key:6,class:"label",rowspan:"2"},O4={key:7,class:"label",rowspan:"2"},P4={key:8,class:"label",rowspan:"2"},L4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),R4=X(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),G4=X(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z4=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U4=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),u4=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Y4=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Z4={key:0,class:"label"},Q4={key:1,class:"label"},J4={key:2,class:"label"},K4={key:3,class:"label"},j4=X(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),q4=X(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),X4=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=X(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t5=X(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o5=X(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l5=X(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a5={class:"summary-tbody"};function n5(t,s,l,r,a,n){var y;return e.openBlock(),e.createElementBlock("div",QS,[e.createElementVNode("div",JS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[qS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=l.report)==null?void 0:y.segments,(i,p)=>{var x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",XS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((E=i==null?void 0:i.allWx)==null?void 0:E.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=i==null?void 0:i.allWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=i==null?void 0:i.goodWx)==null?void 0:g.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=i==null?void 0:i.goodWx)==null?void 0:b.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=i==null?void 0:i.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=i==null?void 0:i.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((V=i==null?void 0:i.badWx)==null?void 0:V.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=i==null?void 0:i.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=i==null?void 0:i.excluded)==null?void 0:G.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=i==null?void 0:i.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=i==null?void 0:i.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l4,[a4,e.createElementVNode("div",n4,[e.createElementVNode("table",s4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[i4,d4,c4,r4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m4),l.showFactor?(e.openBlock(),e.createElementBlock("th",p4,"Factor")):e.createCommentVNode("",!0),h4,_4]),e.createElementVNode("tr",null,[y4,E4,N4,V4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f4,[e.createTextVNode("Spd"),x4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g4,[e.createTextVNode("Dis"),D4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),b4,a.showWave?(e.openBlock(),e.createElementBlock("th",k4,[e.createTextVNode("Sea HT"),C4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Sig Wave"),w4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A4,"Current")):e.createCommentVNode("",!0),T4,l.showFactor?(e.openBlock(),e.createElementBlock("th",F4,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",O4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P4,"Water Temp.")):e.createCommentVNode("",!0),L4,W4,$4,H4,M4,I4,R4,G4]),e.createElementVNode("tr",null,[z4,U4,u4,Y4,a.showSwell?(e.openBlock(),e.createElementBlock("th",Z4,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",Q4,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",J4,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K4,"CF(kts)")):e.createCommentVNode("",!0),j4,q4,X4,v4,e5,t5,o5,l5])]),e.createElementVNode("tbody",a5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(i,p)=>{var x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((x=i.noon)!=null&&x.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((D=i.noon)==null?void 0:D.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((E=(h=i.meteo)==null?void 0:h.wind)==null?void 0:E.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((g=(k=i.meteo)==null?void 0:k.wind)==null?void 0:g.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(b=(C=i.meteo)==null?void 0:C.wave)==null?void 0:b.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=i.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(V=i.meteo)==null?void 0:V.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((z=(G=(R=i.meteo)==null?void 0:R.wave)==null?void 0:G.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=i.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=i.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=i.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s5=Ce(ZS,[["render",n5],["__scopeId","data-v-d5b29348"]]),zU="",i5={name:"OrmVoyageChart",components:{Lng:Ja,Lat:Ka},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Za.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Za.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Za.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,x,D,h,E,k;const t=[],s=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(g=>g.noonLength)||[];n.unshift(n[0]),n.forEach((g,C)=>{var T,F,B,w,V,O,I,R,G,z,_,L,H,W;const b=this.computeUTCTime(C===0?g.utc:g.noonUtc,"MM-DD/HHmm[Z]");if(t.push(b),r=Math.ceil(((T=g.noon)==null?void 0:T.foCons)>r?(F=g.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=g.cp)==null?void 0:B.fo)>r?(w=g.cp)==null?void 0:w.fo:r),a=Math.ceil(((V=g.noon)==null?void 0:V.dgoCons)>a?(O=g.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=g.cp)==null?void 0:I.dgo)>a?(R=g.cp)==null?void 0:R.dgo:a),s.push([b,(G=g.noon)==null?void 0:G.avgSpd,(z=g.noon)==null?void 0:z.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]),C<n.length-1){const P=n[C+1];s.push([b,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:l.dateTime,y:l.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(x=(p=this.report)==null?void 0:p.weather)!=null&&x.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdFoConsChart)==null||D.setOption(y);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:l.dateTime,y:l.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(E=(h=this.report)==null?void 0:h.weather)!=null&&E.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(k=this.spdDgoConsChart)==null||k.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,x)=>{var h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const D=this.computeUTCTime(x===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(D),r=Math.ceil(((k=(E=(h=p.meteo)==null?void 0:h.wave)==null?void 0:E.sig)==null?void 0:k.height)>r?(b=(C=(g=p.meteo)==null?void 0:g.wave)==null?void 0:C.sig)==null?void 0:b.height:r),s.push([D,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(V=(w=p.meteo)==null?void 0:w.wind)==null?void 0:V.direction,(O=p.noon)==null?void 0:O.seasHt,(G=(R=(I=p.meteo)==null?void 0:I.wave)==null?void 0:R.sig)==null?void 0:G.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),x<n.length-1){const J=n[x+1];s.push([D,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const y={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:l.dateTime,y:l.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(y)}}},ml=t=>(e.pushScopeId("data-v-63169c04"),t=t(),e.popScopeId(),t),d5={class:"report-summary"},c5={class:"section chart-section"},r5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m5={class:"chart-block"},p5={ref:"spdFoConsChart",class:"chart"},h5={ref:"spdDgoConsChart",class:"chart"},_5={ref:"currChart",class:"chart"},y5={class:"section map-section"},E5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N5={class:"map-block"},V5={class:"flex-space"},f5={class:"voyage-block",style:{height:"197px"}},x5={class:"flex-space label-block",style:{width:"100%"}},g5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),D5={style:{"text-transform":"uppercase"}},b5={class:"flex-space label-block",style:{width:"100%"}},k5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B5={class:"flex-space label-block",style:{width:"100%"}},w5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T5={class:"flex-space label-block",style:{width:"100%"}},F5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O5={key:0,class:"flex-end",style:{flex:"1"}},P5={key:1,class:"flex-end",style:{flex:"1"}},L5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W5={class:"flex-end",style:{width:"160px"}},$5={class:"flex-space label-block",style:{width:"100%"}},H5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M5={key:0,class:"flex-end",style:{flex:"1"}},I5={key:1,class:"flex-end",style:{flex:"1"}},R5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),G5={class:"flex-end",style:{width:"160px"}},z5={class:"flex-space label-block",style:{width:"100%"}},U5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),u5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Y5=e.createStaticVNode('<div class="legend-block" data-v-63169c04><div style="position:absolute;margin-top:-8px;" data-v-63169c04>LEGEND</div><div class="flex-space" data-v-63169c04><div data-v-63169c04>0812</div><div data-v-63169c04><div data-v-63169c04>08 - Day of the month</div><div data-v-63169c04>12 - Hours of the day</div></div></div><div class="flex-space" data-v-63169c04><div data-v-63169c04><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-63169c04></i></div><div data-v-63169c04><div data-v-63169c04>Wind from N (000)</div><div data-v-63169c04>Each bard = 10 kts</div><div data-v-63169c04>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-63169c04><div data-v-63169c04>W 4</div><div data-v-63169c04> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-63169c04><div class="good-wx" data-v-63169c04>Date</div><div data-v-63169c04>Good weather days</div></div></div>',1),Z5=["src"],Q5=e.createStaticVNode('<div class="section method-section" data-v-63169c04><div class="header-block flex-center" data-v-63169c04><i class="iconfont" data-v-63169c04></i><div class="title" data-v-63169c04>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>1. Good Weather Method</div><div class="method-body" data-v-63169c04> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-63169c04> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-63169c04> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-63169c04> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-63169c04> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>4. “About”</div><div class="method-body" data-v-63169c04> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-63169c04> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-63169c04> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-63169c04> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-63169c04> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-63169c04><div class="method-title" data-v-63169c04>6. Further reference materials</div><div class="method-body" data-v-63169c04>Please send mail to <a href="mailto:op@ormwx.com" data-v-63169c04>op@ormwx.com</a>.</div></div></div></div>',1);function J5(t,s,l,r,a,n){var p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U;const y=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",d5,[e.createElementVNode("div",c5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("div",p5,null,512),e.createElementVNode("div",h5,null,512),e.createElementVNode("div",_5,null,512)])]),e.createElementVNode("div",y5,[E5,e.createElementVNode("div",N5,[e.createElementVNode("div",V5,[e.createElementVNode("div",f5,[e.createElementVNode("div",x5,[g5,e.createElementVNode("span",D5,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",b5,[k5,e.createElementVNode("span",C5,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1),e.createElementVNode("span",S5,"("+e.toDisplayString((h=(D=l.report)==null?void 0:D.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B5,[w5,e.createElementVNode("span",A5,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T5,[F5,(C=(g=l.report)==null?void 0:g.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O5,e.toDisplayString((T=(b=l.report)==null?void 0:b.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P5,[e.createVNode(y,{lat:(B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L5,e.createVNode(i,{lng:(w=l.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W5,e.toDisplayString(n.computeUTCTime((V=l.report.departure)==null?void 0:V.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$5,[H5,(I=(O=l.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M5,e.toDisplayString((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",I5,[e.createVNode(y,{lat:(_=(z=l.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),R5,e.createVNode(i,{lng:(H=(L=l.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",G5,e.toDisplayString(n.computeUTCTime((P=(W=l.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z5,[U5,e.createElementVNode("span",u5,e.toDisplayString((Q=(M=l.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Y5]),e.createElementVNode("img",{src:(U=l.report)==null?void 0:U.chartUrl,alt:""},null,8,Z5)])]),Q5])}const K5=Ce(i5,[["render",J5],["__scopeId","data-v-63169c04"]]),UU="",j5={name:"OrmVoyageIndex",components:{Brand:no,VoySummary:YS,Inventory:s5,Chart:K5,Loading:Qa},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${K(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,l;const t=[];(l=(s=this.report)==null?void 0:s.segments)==null||l.forEach(r=>{const a=r.extend.cp;let n,y,i=!1;r.inventory.sample.hours.forEach((p,x)=>{n||(n=p),(!y||i)&&(y=p,i=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),y.noonLength=(y.noonLength||0)+1;let D=p.type.charAt(0);["N","M","E"].includes(D)&&(i=!0,y.dailyAvgCf=p.dailyAvgCf,y.avgSpdCalc=p.avgSpdCalc,y.distanceCalc=p.distanceCalc,y.noonUtc=p.utc),p.abbrev=D,D=D==="M"?"*":D==="A"?"":D,p.time=`${D} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,t.push(p)})}),t.sort((r,a)=>r.date-a.date),this.inventory=t}}};function q5(t,s,l,r,a,n){var h,E;const y=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),x=e.resolveComponent("Inventory"),D=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((E=(h=l.report)==null?void 0:h.weather)!=null&&E.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(y,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=k=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:l.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(x,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(D,{report:l.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"])],2)}const rn=Ce(j5,[["render",q5],["__scopeId","data-v-bdcf49f6"]]),X5={install(t){t.component("FliVoyageReport",cn),t.component("OrmVoyageReport",rn)}},uU="",YU="",ZU="",v5={name:"IdmTropical",components:{TropicalReport:Hi.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},eB={class:"typhoon-report-container"};function tB(t,s,l,r,a,n){const y=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",eB,[l.report?(e.openBlock(),e.createBlock(y,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const mn=Ce(v5,[["render",tB],["__scopeId","data-v-49eb647a"]]),oB={install(t){t.component("TropicalReport",mn)}},QU="",lB={name:"OrmInvoice",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Ze=t=>(e.pushScopeId("data-v-1b0a2d6c"),t=t(),e.popScopeId(),t),aB={class:"invoice-report"},nB={class:"section items-section"},sB={class:"flex-start"},iB=Ze(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),dB=["innerHTML"],cB={class:"flex-space"},rB={class:"invoice-item"},mB={key:0,class:"invoice-item"},pB=Ze(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),hB=Ze(()=>e.createElementVNode("td",null,"NO.",-1)),_B=["colspan"],yB=Ze(()=>e.createElementVNode("td",null,"Amounts",-1)),EB=["colspan"],NB=["colspan"],VB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],fB={class:"total"},xB=["colspan"],gB=[Ze(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],DB={class:"total"},bB=["colspan"],kB={class:"total"},CB={key:1},SB=["colspan"],BB=[Ze(()=>e.createElementVNode("span",null,"Total in USD",-1))],wB={class:"total"},AB={key:0,class:"memo-block"},TB=Ze(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),FB=["innerHTML"],OB={class:"section company-section"},PB=Ze(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),LB={class:"company-item"},WB=Ze(()=>e.createElementVNode("label",null,"Bank",-1)),$B={class:"company-item"},HB=Ze(()=>e.createElementVNode("label",null,"Account",-1)),MB={class:"company-item"},IB=Ze(()=>e.createElementVNode("label",null,"Title",-1)),RB={class:"company-item"},GB=Ze(()=>e.createElementVNode("label",null,"Addr",-1)),zB={class:"company-item"},UB=Ze(()=>e.createElementVNode("label",null,"Tel",-1)),uB={class:"company-item"},YB=Ze(()=>e.createElementVNode("label",null,"Tax ID",-1)),ZB={class:"company-item"},QB=Ze(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),JB={class:"company-item"},KB=Ze(()=>e.createElementVNode("label",null,"Bank Name",-1)),jB={class:"company-item"},qB=Ze(()=>e.createElementVNode("label",null,"Bank Address",-1)),XB={class:"company-item"},vB=Ze(()=>e.createElementVNode("label",null,"Account No.",-1)),e6={class:"company-item"},t6=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),o6={class:"company-item"},l6=Ze(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),a6={class:"company-item"},n6=Ze(()=>e.createElementVNode("label",null,"SWIFT",-1)),s6={class:"company-item"},i6=Ze(()=>e.createElementVNode("label",null,"ABA NO.",-1)),d6=e.createStaticVNode('<div class="section sign-section" data-v-1b0a2d6c><div class="flex-space" data-v-1b0a2d6c><div class="sign-block" data-v-1b0a2d6c><div data-v-1b0a2d6c>Finance Team</div><div data-v-1b0a2d6c>Ocean Right Marine Service Co., Ltd.</div><div data-v-1b0a2d6c>Email: <a href="mailto:op@ormwx.com" data-v-1b0a2d6c>op@ormwx.com</a></div><div data-v-1b0a2d6c>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-1b0a2d6c>Thank You</div></div></div>',1);function c6(t,s,l,r,a,n){var i,p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",aB,[e.createVNode(y,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",nB,[e.createElementVNode("div",sB,[iB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(x=(p=(i=l.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:x.replace(`
42
+ `,"<br/>")},null,8,dB)]),e.createElementVNode("div",cB,[e.createElementVNode("div",rB,"Invoice No. "+e.toDisplayString(l.report.number),1),(D=l.report)!=null&&D.paymentDate?(e.openBlock(),e.createElementBlock("div",mB,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[pB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(q,he)=>{var Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((Ve=(Ne=(Ee=q.props)==null?void 0:Ee[0])==null?void 0:Ne.voyage)==null?void 0:Ve.number),1),e.createElementVNode("td",null,e.toDisplayString(((ge=(xe=(fe=q.props)==null?void 0:fe[0])==null?void 0:xe.voyage)==null?void 0:ge.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((ke=(be=(De=q.props)==null?void 0:De[0])==null?void 0:be.vessel)==null?void 0:ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(Te=(Ae=q.props)==null?void 0:Ae[0])==null?void 0:Te.voyage)==null?void 0:Fe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Le=(Pe=(Oe=q.props)==null?void 0:Oe[0])==null?void 0:Pe.departure)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString((pe=($e=(We=q.props)==null?void 0:We[0])==null?void 0:$e.departure)==null?void 0:pe.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ke=(Je=(Qe=q.props)==null?void 0:Qe[0])==null?void 0:Je.destination)==null?void 0:Ke.name),1),e.createElementVNode("td",null,e.toDisplayString((Ie=(Se=(A=q.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ie.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(E=a.reservations4Point)!=null&&E.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,_B),yB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(q,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(q.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(q.items),9,EB),e.createElementVNode("td",null,"$"+e.toDisplayString(q.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((k=l.report)==null?void 0:k.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},VB,8,NB),e.createElementVNode("td",fB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},gB,8,xB),e.createElementVNode("td",DB,[e.createElementVNode("span",null,e.toDisplayString((g=l.report)==null?void 0:g.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,bB),e.createElementVNode("td",kB,"¥"+e.toDisplayString((C=l.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",CB,[e.createElementVNode("td",{colspan:a.maxColspans},BB,8,SB),e.createElementVNode("td",wB,[e.createElementVNode("span",null,e.toDisplayString(`$${(b=l.report)==null?void 0:b.paymentAmount}`),1)])]))])]),(T=l.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",AB,[TB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=l.report)==null?void 0:F.memo)==null?void 0:B.replace(`
43
+ `,"<br/>")},null,8,FB)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",OB,[PB,((w=l.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LB,[WB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(V=l.report)==null?void 0:V.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",$B,[HB,e.createElementVNode("span",null,e.toDisplayString((R=a.account[(I=l.report)==null?void 0:I.paymentType])==null?void 0:R.number),1)]),e.createElementVNode("div",MB,[IB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(G=l.report)==null?void 0:G.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",RB,[GB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=l.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",zB,[UB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=l.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",uB,[YB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=l.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=l.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",JB,[KB,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=l.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",jB,[qB,e.createElementVNode("span",null,e.toDisplayString((o=a.account[(se=l.report)==null?void 0:se.paymentType])==null?void 0:o.bankAddr),1)]),e.createElementVNode("div",XB,[vB,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=l.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",e6,[t6,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=l.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",o6,[l6,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=l.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",a6,[n6,e.createElementVNode("span",null,e.toDisplayString((re=a.account[(ie=l.report)==null?void 0:ie.paymentType])==null?void 0:re.intermediaryBankSwift),1)]),e.createElementVNode("div",s6,[i6,e.createElementVNode("span",null,e.toDisplayString((ye=a.account[(me=l.report)==null?void 0:me.paymentType])==null?void 0:ye.intermediaryBankAbaNo),1)])],64))]),d6])}const pn=Ce(lB,[["render",c6],["__scopeId","data-v-1b0a2d6c"]]),qU="",r6={components:{IdmBrand:no},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,l,r,a,n,y;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(r=(l=this.report)==null?void 0:l.reservations)==null?void 0:r.filter(i=>!i.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(y=this.reservations4Route)!=null&&y.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${K(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},_l=t=>(e.pushScopeId("data-v-3047395f"),t=t(),e.popScopeId(),t),m6={class:"invoice-report"},p6={class:"section items-section"},h6={class:"flex-start"},_6=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),y6=["innerHTML"],E6={class:"flex-space"},N6={class:"invoice-item"},V6={key:0,class:"invoice-item"},f6=_l(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),x6=_l(()=>e.createElementVNode("td",null,"NO.",-1)),g6=["colspan"],D6=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),b6=["colspan"],k6=["colspan"],C6=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],S6={class:"total"},B6=["colspan"],w6=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],A6={class:"total"},T6=["colspan"],F6={class:"total"},O6={key:1},P6=["colspan"],L6=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],W6={class:"total"},$6={key:0,class:"memo-block"},H6=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),M6=["innerHTML"];function I6(t,s,l,r,a,n){var y,i,p,x,D,h,E,k,g,C,b,T,F;return e.openBlock(),e.createElementBlock("div",m6,[e.createElementVNode("div",p6,[e.createElementVNode("div",h6,[_6,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(y=l.report)==null?void 0:y.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
44
+ `,"<br/>")},null,8,y6)]),e.createElementVNode("div",E6,[e.createElementVNode("div",N6,"Invoice No. "+e.toDisplayString(l.report.number),1),(x=l.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",V6,"Paid: "+e.toDisplayString(n.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(D=a.reservations4Route)!=null&&D.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f6,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(V=B.props)==null?void 0:V[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(G=(R=B.props)==null?void 0:R[0])==null?void 0:G.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((o=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:o.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(j=B.props)==null?void 0:j[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[x6,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,g6),D6])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,b6),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((E=l.report)==null?void 0:E.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},C6,8,k6),e.createElementVNode("td",S6,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},w6,8,B6),e.createElementVNode("td",A6,[e.createElementVNode("span",null,e.toDisplayString((k=l.report)==null?void 0:k.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,T6),e.createElementVNode("td",F6,"¥"+e.toDisplayString((g=l.report)==null?void 0:g.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",O6,[e.createElementVNode("td",{colspan:a.maxColspans},L6,8,P6),e.createElementVNode("td",W6,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=l.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(b=l.report)!=null&&b.memo?(e.openBlock(),e.createElementBlock("div",$6,[H6,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=l.report)==null?void 0:T.memo)==null?void 0:F.replace(`
45
+ `,"<br/>")},null,8,M6)])):e.createCommentVNode("",!0)])])}const hn=Ce(r6,[["render",I6],["__scopeId","data-v-3047395f"]]),R6={install(t){t.component("OrmInvoiceReport",pn),t.component("FliInvoiceReport",hn)}},G6=t=>((typeof t=="string"||typeof t=="number")&&(t=K(t)),t),z6=(t,s="MMM-DD,YYYY/HHmm[Z]")=>U6(t,s),U6=(t,s="MMM-DD/HHmm[Z]")=>(t=G6(t),t?`${t.utc().format(s)}`:"-"),tu="",u6={name:"IdmEditableItem",components:{Edit:Ya.Edit,Close:Ya.Close,IdmEditor:Ro},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return z6(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},Y6={class:"idm-editable-item"},Z6=["innerHTML"],Q6={key:3,class:"buttons"};function J6(t,s,l,r,a,n){const y=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),x=e.resolveComponent("ElInputNumber"),D=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),E=e.resolveComponent("ElSelect"),k=e.resolveComponent("ElRadio"),g=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),b=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),F=e.resolveComponent("ElIcon"),B=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",Y6,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:l.align})},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:l.width+"px"})},e.toDisplayString(l.label),5)):e.createCommentVNode("",!0),a.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.model,"onUpdate:modelValue":s[2]||(s[2]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:a.model,"onUpdate:modelValue":s[3]||(s[3]=V=>a.model=V),size:l.size,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:a.model,"onUpdate:modelValue":s[4]||(s[4]=V=>a.model=V),size:l.size,type:"textarea",rows:4,onBlur:n.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),l.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:a.model,"onUpdate:modelValue":s[5]||(s[5]=V=>a.model=V),onBlur:n.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),l.type==="number"?(e.openBlock(),e.createBlock(x,{key:4,modelValue:a.model,"onUpdate:modelValue":s[6]||(s[6]=V=>a.model=V),size:l.size,controls:l.controls,min:l.min,max:l.max,step:l.step,precision:l.precision,onBlur:n.handleCommit,onChange:n.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),l.type==="datetime"?(e.openBlock(),e.createBlock(D,{key:5,modelValue:a.model,"onUpdate:modelValue":s[7]||(s[7]=V=>a.model=V),size:l.size,type:"datetime",class:"datetime",format:l.format,"value-format":l.valueFormat,onBlur:n.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),l.type==="select"?(e.openBlock(),e.createBlock(E,{key:6,modelValue:a.model,"onUpdate:modelValue":s[8]||(s[8]=V=>a.model=V),size:l.size,filterable:"",style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,disabled:V.disabled,value:V.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="remoteSelect"?(e.openBlock(),e.createBlock(E,{key:7,modelValue:a.model,"onUpdate:modelValue":s[9]||(s[9]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.value,label:V.label,value:V.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="remotePortSelect"?(e.openBlock(),e.createBlock(E,{key:8,modelValue:a.model,"onUpdate:modelValue":s[10]||(s[10]=V=>a.model=V),size:l.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":n.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,V=>(e.openBlock(),e.createBlock(h,{key:V.id,label:V.name,value:V.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),l.type==="radio"?(e.openBlock(),e.createBlock(g,{key:9,modelValue:a.model,"onUpdate:modelValue":s[11]||(s[11]=V=>a.model=V),size:l.size,style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.radios,V=>(e.openBlock(),e.createBlock(k,{key:V.value,label:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),l.type==="checkbox"?(e.openBlock(),e.createBlock(b,{key:10,modelValue:a.model,"onUpdate:modelValue":s[12]||(s[12]=V=>a.model=V),size:l.size,class:"checkbox",style:{width:"100%"},onChange:n.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.checkboxs,V=>(e.openBlock(),e.createBlock(C,{label:V.value,key:V.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.raw?(e.openBlock(),e.createBlock(y,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(y,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:n.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...V)=>n.handleEdit&&n.handleEdit(...V))},e.toDisplayString(n.computeUtcTime(l.value,l.format)),33)):l.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l.value||""},null,8,Z6)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...V)=>n.handleEdit&&n.handleEdit(...V))},[typeof l.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value||"-"),1)],64))],32))],64))],64)),!l.disabled&&l.iconable&&typeof l.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",Q6,[a.editable?(e.openBlock(),e.createBlock(B,{key:1,size:l.size,type:"danger",link:"",style:{display:"block"},onClick:n.handleCancel},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(B,{key:0,size:l.size,link:"",onClick:n.handleEdit},{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const _n=Ce(u6,[["render",J6]]),ou="",K6={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:_n,Editor:Ro,IdmBrand:no},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ae.LngLatHelper.lat2pretty(t).pretty} / ${ae.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,l,r;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(l=this.report)!=null&&l.comments?(r=this.report)==null?void 0:r.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.report)!=null&&n.comments?(y=this.report)==null?void 0:y.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,l,r){var y,i,p,x,D;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.report)!=null&&x.comments?(D=this.report)==null?void 0:D.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},f=t=>(e.pushScopeId("data-v-245a0edf"),t=t(),e.popScopeId(),t),j6={class:"deviation-report"},q6={class:"section vessel-section"},X6={class:"report-summary"},v6={class:"summary-item"},ew=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),tw={class:"flexL gray"},ow={class:"summary-item"},lw=f(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),aw={class:"flexL gray"},nw={class:"summary-item"},sw=f(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),iw={class:"flexL gray"},dw={class:"summary-item"},cw=f(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),rw={class:"flexL gray"},mw={class:"summary-item"},pw=f(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),hw={class:"flexL gray",style:{display:"flex"}},_w={class:"flex"},yw={class:"flexM"},Ew={class:"summary-item"},Nw=f(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Vw={class:"flexL gray",style:{display:"flex"}},fw={class:"flex"},xw={class:"flexM"},gw={class:"section summary-section"},Dw=f(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),bw={class:"report-summary"},kw={class:"summary-item"},Cw=f(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),Sw={class:"summary-item"},Bw=f(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),ww={class:"summary-item"},Aw=f(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),Tw={class:"summary-item"},Fw=f(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Ow={class:"section map-section"},Pw=f(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),Lw={class:"report-map"},Ww=["src"],$w=e.createStaticVNode('<div class="legend" data-v-245a0edf><div class="legend-item" data-v-245a0edf><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-245a0edf></div><div data-v-245a0edf>Actual Route</div></div><div class="legend-item" data-v-245a0edf><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-245a0edf></div><div data-v-245a0edf>Route prior to deviation</div></div></div>',1),Hw={key:0,class:"section deviation-section"},Mw=f(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),Iw={class:"report-summary"},Rw=e.createStaticVNode('<div class="summary-item" data-v-245a0edf><div class="blue center" style="width:17%;" data-v-245a0edf>Deviation</div><div class="blue center" style="width:20%;" data-v-245a0edf>Position</div><div class="blue center" style="width:17%;" data-v-245a0edf>Date Time</div><div class="flex blue center" data-v-245a0edf>FO BROB<br data-v-245a0edf>(mt)</div><div class="flex blue center" data-v-245a0edf>DO/GO<br data-v-245a0edf>BROB (mt)</div><div class="flex blue center" data-v-245a0edf>Bunkering<br data-v-245a0edf>FO (mt)</div><div class="flex blue center" data-v-245a0edf>Bunkering<br data-v-245a0edf>DO/GO (mt)</div></div>',1),Gw={class:"summary-item"},zw=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),Uw={class:"blue center",style:{width:"20%"}},uw={class:"blue center",style:{width:"17%"}},Yw={class:"flex blue center"},Zw={class:"flex blue center"},Qw=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Jw=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Kw={class:"summary-item"},jw=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),qw={class:"blue center",style:{width:"20%"}},Xw={class:"blue center",style:{width:"17%"}},vw={class:"flex blue center"},e8={class:"flex blue center"},t8={class:"flex blue center"},o8={class:"flex blue center"},l8={class:"summary-item"},a8=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),n8=f(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),s8={class:"blue center",style:{width:"17%"}},i8={class:"flex blue center"},d8={class:"flex blue center"},c8=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),r8=f(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),m8={class:"section cp-section"},p8=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),h8={class:"report-summary"},_8={class:"summary-item"},y8=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),E8={class:"flexL blue center"},N8={class:"summary-item"},V8=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),f8={class:"flexL blue center"},x8={class:"summary-item"},g8=f(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),D8={class:"flexL blue center"},b8={class:"section port-section"},k8={class:"subtitle port"},C8=f(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),S8={class:"print-hidden"},B8={class:"report-port"},w8=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),A8={rowspan:2},T8=f(()=>e.createElementVNode("td",null,"Arrival",-1)),F8=f(()=>e.createElementVNode("td",null,null,-1)),O8=f(()=>e.createElementVNode("td",null,null,-1)),P8={rowspan:2,class:"print-hidden"},L8=f(()=>e.createElementVNode("td",null,"Departure",-1)),W8=f(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),$8=f(()=>e.createElementVNode("td",null,null,-1)),H8=f(()=>e.createElementVNode("td",null,null,-1)),M8=f(()=>e.createElementVNode("td",null,null,-1)),I8=f(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),R8={class:"section distance-section"},G8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),z8={class:"report-summary"},U8=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),u8={class:"summary-item"},Y8=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),Z8={class:"flex blue center"},Q8={class:"flex blue center"},J8={class:"summary-item"},K8=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),j8={class:"flex blue center"},q8={class:"section time-section"},X8=f(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),v8={key:0,class:"report-formular"},e7={class:"equation"},t7=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-245a0edf>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-245a0edf>=</div><div class="function" style="width:20%;" data-v-245a0edf><div data-v-245a0edf>Deviation Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:5%;" data-v-245a0edf>=</div>',4),o7={class:"function",style:{width:"20%"}},l7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),n7={style:{width:"10%"}},s7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),i7={class:"equation"},d7=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-245a0edf>Total extra Time (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:28%;" data-v-245a0edf>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-245a0edf>+</div><div style="width:23%;" data-v-245a0edf>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div>',6),c7={style:{width:"5%"}},r7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),m7={style:{width:"8%"}},p7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),h7={style:{width:"4%"}},_7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),y7={key:1,class:"report-formular"},E7={class:"equation"},N7=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-245a0edf>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-245a0edf>=</div><div class="function" style="width:20%;" data-v-245a0edf><div data-v-245a0edf>Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:5%;" data-v-245a0edf>=</div>',4),V7={class:"function",style:{width:"20%"}},f7=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),g7={style:{width:"10%"}},D7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),b7={key:0,class:"equation"},k7=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-245a0edf>Total extra Time (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:24%;" data-v-245a0edf>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-245a0edf>-</div><div style="width:30%;" data-v-245a0edf>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div>',6),C7={style:{width:"5%"}},S7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),B7={style:{width:"5%"}},w7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),A7={style:{width:"5%"}},T7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),F7={key:1,class:"equation"},O7=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-245a0edf>Total extra Time (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:24%;" data-v-245a0edf>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-245a0edf>-</div><div style="width:20%;" data-v-245a0edf>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-245a0edf>-</div><div style="width:10%;" data-v-245a0edf>Time spent in port (hrs)</div><div style="width:2%;" data-v-245a0edf>=</div>',8),P7={style:{width:"5%"}},L7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),W7={style:{width:"5%"}},$7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),H7={style:{width:"5%"}},M7=f(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),I7={style:{width:"5%"}},R7=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),G7={key:2,class:"report-summary"},z7={class:"summary-item"},U7=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),u7={class:"flex blue center"},Y7={class:"summary-item"},Z7=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),Q7={class:"flex blue center"},J7={class:"summary-item"},K7=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),j7={class:"flex blue center"},q7={key:3,class:"report-summary"},X7={class:"summary-item"},v7=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),eA={class:"flex blue center"},tA={class:"summary-item"},oA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),lA={class:"flex blue center"},aA={key:0,class:"summary-item"},nA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),sA={class:"flex blue center"},iA={class:"summary-item"},dA=f(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),cA={class:"flex blue center"},rA={class:"section consumption-section"},mA=f(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),pA={key:0,class:"report-formular"},hA={class:"equation"},_A=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-245a0edf>=</div><div class="function" style="width:30%;" data-v-245a0edf><div data-v-245a0edf>Deviation Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:3%;" data-v-245a0edf>×</div><div class="function" style="width:23%;" data-v-245a0edf><div data-v-245a0edf>Daily FO Consumption</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>24</div></div><div style="width:3%;" data-v-245a0edf>=</div>',6),yA={class:"function",style:{width:"5%"}},EA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),VA={class:"function",style:{width:"5%"}},fA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xA=f(()=>e.createElementVNode("div",null,"24",-1)),gA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DA={style:{width:"5%"}},bA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kA={class:"equation"},CA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:30%;" data-v-245a0edf>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-245a0edf>+</div><div style="width:23%;" data-v-245a0edf>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-245a0edf>=</div>',6),SA={style:{width:"5%"}},BA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),wA={style:{width:"5%"}},AA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TA={style:{width:"5%"}},FA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OA={class:"equation"},PA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-245a0edf>=</div><div class="function" style="width:30%;" data-v-245a0edf><div data-v-245a0edf>Deviation Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:3%;" data-v-245a0edf>×</div><div class="function" style="width:23%;" data-v-245a0edf><div data-v-245a0edf>Daily DO Consumption</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>24</div></div><div style="width:3%;" data-v-245a0edf>=</div>',6),LA={class:"function",style:{width:"5%"}},WA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$A=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HA={class:"function",style:{width:"5%"}},MA=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IA=f(()=>e.createElementVNode("div",null,"24",-1)),RA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GA={style:{width:"5%"}},zA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UA={class:"equation"},uA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:30%;" data-v-245a0edf>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:23%;" data-v-245a0edf>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-245a0edf>=</div>',6),YA={style:{width:"5%"}},ZA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QA={style:{width:"5%"}},JA=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KA={style:{width:"5%"}},jA=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qA={key:1,class:"report-formular"},XA={class:"equation"},vA=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-245a0edf>=</div><div class="function" style="width:30%;" data-v-245a0edf><div data-v-245a0edf>Route prior to deviation Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:3%;" data-v-245a0edf>×</div><div class="function" style="width:23%;" data-v-245a0edf><div data-v-245a0edf>CP Daily FO Consumption</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>24</div></div><div style="width:3%;" data-v-245a0edf>=</div>',6),e9={class:"function",style:{width:"5%"}},t9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),l9={class:"function",style:{width:"5%"}},a9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n9=f(()=>e.createElementVNode("div",null,"24",-1)),s9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),i9={style:{width:"5%"}},d9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),c9={class:"equation"},r9=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-245a0edf>=</div><div class="function" style="width:30%;" data-v-245a0edf><div data-v-245a0edf>Route prior to deviation Distance</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>CP Speed</div></div><div style="width:3%;" data-v-245a0edf>×</div><div class="function" style="width:23%;" data-v-245a0edf><div data-v-245a0edf>CP Daily DO Consumption</div><div class="fractional-line" data-v-245a0edf></div><div data-v-245a0edf>24</div></div><div style="width:3%;" data-v-245a0edf>=</div>',6),m9={class:"function",style:{width:"5%"}},p9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),_9={class:"function",style:{width:"5%"}},y9=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E9=f(()=>e.createElementVNode("div",null,"24",-1)),N9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),V9={style:{width:"5%"}},f9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),x9={key:0,class:"equation"},g9=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:30%;" data-v-245a0edf>FO Consumption for Actual Route</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:23%;" data-v-245a0edf>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-245a0edf>=</div>',6),D9={style:{width:"5%"}},b9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),k9={style:{width:"5%"}},C9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),S9={style:{width:"5%"}},B9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),w9={key:1,class:"equation"},A9=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-245a0edf>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:15%;" data-v-245a0edf>FO Consumption for Actual Route</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:20%;" data-v-245a0edf>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:10%;" data-v-245a0edf>FO Consumption in port</div><div style="width:3%;" data-v-245a0edf>=</div>',8),T9={style:{width:"5%"}},F9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),O9={style:{width:"5%"}},P9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),L9={style:{width:"5%"}},W9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$9={style:{width:"5%"}},H9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),M9={key:2,class:"equation"},I9=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-245a0edf>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:30%;" data-v-245a0edf>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:23%;" data-v-245a0edf>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-245a0edf>=</div>',6),R9={style:{width:"5%"}},G9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),z9={style:{width:"5%"}},U9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),u9={style:{width:"5%"}},Y9=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Z9={key:3,class:"equation"},Q9=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-245a0edf>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-245a0edf>=</div><div style="width:15%;" data-v-245a0edf>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:20%;" data-v-245a0edf>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-245a0edf>-</div><div style="width:10%;" data-v-245a0edf>DO/GO Consumption in port</div><div style="width:3%;" data-v-245a0edf>=</div>',8),J9={style:{width:"5%"}},K9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),j9={style:{width:"5%"}},q9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),X9={style:{width:"5%"}},v9=f(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eT={style:{width:"5%"}},tT=f(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oT={key:2,class:"report-summary"},lT=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),aT={class:"summary-item"},nT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),sT={class:"flex blue center"},iT={class:"flex blue center"},dT={class:"summary-item"},cT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),rT={class:"flex blue center"},mT={class:"flex blue center"},pT={class:"summary-item"},hT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),_T={key:3,class:"report-summary"},yT=f(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),ET={class:"summary-item"},NT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),VT={class:"flex blue center"},fT={class:"flex blue center"},xT={class:"summary-item"},gT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),DT={class:"flex blue center"},bT={class:"flex blue center"},kT={key:0,class:"summary-item"},CT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),ST={class:"flex blue center"},BT={class:"flex blue center"},wT={class:"summary-item"},AT=f(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),TT={class:"section comment-section"},FT=["innerHTML"];function OT(t,s,l,r,a,n){var E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,de,ze,tt,ot,dt,ct,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,gt,Dt,bt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,go,Do,bo,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,gl,Dl,bl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ga,Da,ba,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha,Y,lo,Ma,Ia,Ra;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),p=e.resolveComponent("CirclePlus"),x=e.resolveComponent("el-icon"),D=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",j6,[e.createVNode(y,{name:"Voyage Deviation Report"}),e.createElementVNode("div",q6,[e.createElementVNode("div",X6,[e.createElementVNode("div",v6,[ew,e.createElementVNode("div",tw,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",ow,[lw,e.createElementVNode("div",aw,e.toDisplayString((g=a.extraData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",nw,[sw,e.createElementVNode("div",iw,e.toDisplayString((b=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:b.type),1)]),e.createElementVNode("div",dw,[cw,e.createElementVNode("div",rw,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",mw,[pw,e.createElementVNode("div",hw,[e.createElementVNode("span",_w,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",yw,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",Ew,[Nw,e.createElementVNode("div",Vw,[e.createElementVNode("span",fw,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",xw,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])])]),e.createElementVNode("div",gw,[Dw,e.createElementVNode("div",bw,[e.createElementVNode("div",kw,[Cw,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",Sw,[Bw,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",ww,[Aw,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",Tw,[Fw,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",Ow,[Pw,e.createElementVNode("div",Lw,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,Ww),$w])]),((he=l.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",Hw,[Mw,e.createElementVNode("div",Iw,[Rw,e.createElementVNode("div",Gw,[zw,e.createElementVNode("div",Uw,e.toDisplayString(n.computedLngLat((Ee=a.extraData)==null?void 0:Ee.startLat,(Ne=a.extraData)==null?void 0:Ne.startLng)),1),e.createElementVNode("div",uw,e.toDisplayString(n.computeUTCTime((Ve=a.extraData)==null?void 0:Ve.startTime)),1),e.createElementVNode("div",Yw,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Z=>n.handleCommit("extra","startFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",Zw,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(xe=a.extraData)==null?void 0:xe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Z=>n.handleCommit("extra","startDgoBrob",Z))},null,8,["value"])]),Qw,Jw]),e.createElementVNode("div",Kw,[jw,e.createElementVNode("div",qw,e.toDisplayString(n.computedLngLat((ge=a.extraData)==null?void 0:ge.endLat,(De=a.extraData)==null?void 0:De.endLng)),1),e.createElementVNode("div",Xw,e.toDisplayString(n.computeUTCTime((be=a.extraData)==null?void 0:be.endTime)),1),e.createElementVNode("div",vw,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Z=>n.handleCommit("extra","endFoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",e8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Z=>n.handleCommit("extra","endDgoBrob",Z))},null,8,["value"])]),e.createElementVNode("div",t8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Z=>n.handleCommit("extra","endFoBunkering",Z))},null,8,["value"])]),e.createElementVNode("div",o8,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=a.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Z=>n.handleCommit("extra","endDgoBunkering",Z))},null,8,["value"])])]),e.createElementVNode("div",l8,[a8,n8,e.createElementVNode("div",s8,e.toDisplayString(((Pe=(Oe=a.extraData)==null?void 0:Oe.timeAnalysis)==null?void 0:Pe.actualTime)??"—"),1),e.createElementVNode("div",i8,e.toDisplayString((($e=(We=(Le=a.extraData)==null?void 0:Le.consAnalysis)==null?void 0:We.fo)==null?void 0:$e.actualCons)??"—"),1),e.createElementVNode("div",d8,e.toDisplayString(((Je=(Qe=(pe=a.extraData)==null?void 0:pe.consAnalysis)==null?void 0:Qe.dgo)==null?void 0:Je.actualCons)??"—"),1),c8,r8])])])):e.createCommentVNode("",!0),e.createElementVNode("div",m8,[p8,e.createElementVNode("div",h8,[e.createElementVNode("div",_8,[y8,e.createElementVNode("div",E8,e.toDisplayString(((A=(Ke=a.extraData)==null?void 0:Ke.cp)==null?void 0:A.speed)??"—"),1)]),e.createElementVNode("div",N8,[V8,e.createElementVNode("div",f8,e.toDisplayString(((Ie=(Se=a.extraData)==null?void 0:Se.cp)==null?void 0:Ie.fo)??"—"),1)]),e.createElementVNode("div",x8,[g8,e.createElementVNode("div",D8,e.toDisplayString(((qe=(je=a.extraData)==null?void 0:je.cp)==null?void 0:qe.dgo)??"—"),1)])])]),e.createElementVNode("div",b8,[e.createElementVNode("div",k8,[C8,e.createElementVNode("div",S8,[e.createVNode(x,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["onClick"])])]),e.createElementVNode("div",B8,[e.createElementVNode("table",null,[w8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Z,ao)=>{var Ga,za,Ua,Ye,ja,qa,Xa,va;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ao},[e.createElementVNode("tr",null,[e.createElementVNode("td",A8,[e.createVNode(i,{class:"editable-item",value:Z==null?void 0:Z.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:st=>n.handleCommit("port","name",st,ao)},null,8,["value","options","onSelect","onCommit"])]),T8,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ga=Z==null?void 0:Z.arrival)==null?void 0:Ga.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","arrival.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(za=Z==null?void 0:Z.arrival)==null?void 0:za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ua=Z==null?void 0:Z.arrival)==null?void 0:Ua.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","arrival.dgoBrob",st,ao)},null,8,["value","onCommit"])]),F8,O8,e.createElementVNode("td",P8,[e.createVNode(x,{size:20,onClick:st=>n.handleRemove(ao)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[L8,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ye=Z==null?void 0:Z.departure)==null?void 0:Ye.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:st=>n.handleCommit("port","departure.date",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ja=Z==null?void 0:Z.departure)==null?void 0:ja.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.foBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=Z==null?void 0:Z.departure)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.dgoBrob",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=Z==null?void 0:Z.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringFo",st,ao)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(va=Z==null?void 0:Z.departure)==null?void 0:va.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:st=>n.handleCommit("port","departure.bunkeringDgo",st,ao)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[W8,$8,e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=a.extraData)==null?void 0:Xe.timeAnalysis)==null?void 0:ve.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString((($=(m=(et=a.extraData)==null?void 0:et.consAnalysis)==null?void 0:m.fo)==null?void 0:$.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=(He=(Be=a.extraData)==null?void 0:Be.consAnalysis)==null?void 0:He.dgo)==null?void 0:Re.portCons)??"—"),1),H8,M8,I8])])])])]),e.createElementVNode("div",R8,[G8,e.createElementVNode("div",z8,[U8,e.createElementVNode("div",u8,[Y8,e.createElementVNode("div",Z8,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(de=a.extraData)==null?void 0:de.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Z=>n.handleCommit("extraData","actualDist",Z,t.index))},null,8,["value"])]),e.createElementVNode("div",Q8,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(ze=a.extraData)==null?void 0:ze.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Z=>n.handleCommit("extraData","priorDist",Z,t.index))},null,8,["value"])])]),e.createElementVNode("div",J8,[K8,e.createElementVNode("div",j8,e.toDisplayString(((tt=a.extraData)==null?void 0:tt.extraDist)??"—"),1)])])]),e.createElementVNode("div",q8,[X8,((ot=l.report)==null?void 0:ot.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",v8,[e.createElementVNode("div",e7,[t7,e.createElementVNode("div",o7,[e.createElementVNode("div",null,e.toDisplayString((dt=a.extraData)==null?void 0:dt.extraDist),1),l7,e.createElementVNode("div",null,e.toDisplayString((rt=(ct=a.extraData)==null?void 0:ct.cp)==null?void 0:rt.speed),1)]),a7,e.createElementVNode("div",n7,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),s7]),e.createElementVNode("div",i7,[d7,e.createElementVNode("div",c7,e.toDisplayString((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.sailingTime),1),r7,e.createElementVNode("div",m7,e.toDisplayString(n.computeNum((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.portTime)),1),p7,e.createElementVNode("div",h7,e.toDisplayString((ft=(Vt=a.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:ft.totalExtraTime),1),_7])])):(e.openBlock(),e.createElementBlock("div",y7,[e.createElementVNode("div",E7,[N7,e.createElementVNode("div",V7,[e.createElementVNode("div",null,e.toDisplayString((xt=a.extraData)==null?void 0:xt.priorDist),1),f7,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=a.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),x7,e.createElementVNode("div",g7,e.toDisplayString((kt=(bt=a.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:kt.sailingTime),1),D7]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",b7,[k7,e.createElementVNode("div",C7,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),S7,e.createElementVNode("div",B7,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.sailingTime),1),w7,e.createElementVNode("div",A7,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.totalExtraTime),1),T7])):(e.openBlock(),e.createElementBlock("div",F7,[O7,e.createElementVNode("div",P7,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.actualTime),1),L7,e.createElementVNode("div",W7,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.sailingTime),1),$7,e.createElementVNode("div",H7,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.portTime),1),M7,e.createElementVNode("div",I7,e.toDisplayString((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.totalExtraTime),1),R7]))])),((_o=l.report)==null?void 0:_o.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",G7,[e.createElementVNode("div",z7,[U7,e.createElementVNode("div",u7,e.toDisplayString(((Eo=(yo=a.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:Eo.sailingTime)??"—"),1)]),e.createElementVNode("div",Y7,[Z7,e.createElementVNode("div",Q7,e.toDisplayString(((S=(No=a.extraData)==null?void 0:No.timeAnalysis)==null?void 0:S.portTime)??"—"),1)]),e.createElementVNode("div",J7,[K7,e.createElementVNode("div",j7,e.toDisplayString(((lt=(Me=a.extraData)==null?void 0:Me.timeAnalysis)==null?void 0:lt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",q7,[e.createElementVNode("div",X7,[v7,e.createElementVNode("div",eA,e.toDisplayString((pt=(at=a.extraData)==null?void 0:at.timeAnalysis)==null?void 0:pt.sailingTime),1)]),e.createElementVNode("div",tA,[oA,e.createElementVNode("div",lA,e.toDisplayString((Lt=(Pt=a.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Lt.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",aA,[nA,e.createElementVNode("div",sA,e.toDisplayString((($t=(Wt=a.extraData)==null?void 0:Wt.timeAnalysis)==null?void 0:$t.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",iA,[dA,e.createElementVNode("div",cA,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:Mt.totalExtraTime),1)])]))]),e.createElementVNode("div",rA,[mA,((It=l.report)==null?void 0:It.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",pA,[e.createElementVNode("div",hA,[_A,e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((Rt=a.extraData)==null?void 0:Rt.extraDist),1),EA,e.createElementVNode("div",null,e.toDisplayString((zt=(Gt=a.extraData)==null?void 0:Gt.cp)==null?void 0:zt.speed),1)]),NA,e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((ut=(Ut=a.extraData)==null?void 0:Ut.cp)==null?void 0:ut.fo),1),fA,xA]),gA,e.createElementVNode("div",DA,e.toDisplayString((Qt=(Zt=(Yt=a.extraData)==null?void 0:Yt.consAnalysis)==null?void 0:Zt.fo)==null?void 0:Qt.sailingCons),1),bA]),e.createElementVNode("div",kA,[CA,e.createElementVNode("div",SA,e.toDisplayString((jt=(Kt=(Jt=a.extraData)==null?void 0:Jt.consAnalysis)==null?void 0:Kt.fo)==null?void 0:jt.sailingCons),1),BA,e.createElementVNode("div",wA,e.toDisplayString(n.computeNum((vt=(Xt=(qt=a.extraData)==null?void 0:qt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.portCons)),1),AA,e.createElementVNode("div",TA,e.toDisplayString((oo=(to=(eo=a.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.totalExtraCons),1),FA]),e.createElementVNode("div",OA,[PA,e.createElementVNode("div",LA,[e.createElementVNode("div",null,e.toDisplayString((Vo=a.extraData)==null?void 0:Vo.extraDist),1),WA,e.createElementVNode("div",null,e.toDisplayString((xo=(fo=a.extraData)==null?void 0:fo.cp)==null?void 0:xo.speed),1)]),$A,e.createElementVNode("div",HA,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=a.extraData)==null?void 0:go.cp)==null?void 0:Do.dgo),1),MA,IA]),RA,e.createElementVNode("div",GA,e.toDisplayString((Co=(ko=(bo=a.extraData)==null?void 0:bo.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Co.sailingCons),1),zA]),e.createElementVNode("div",UA,[uA,e.createElementVNode("div",YA,e.toDisplayString((wo=(Bo=(So=a.extraData)==null?void 0:So.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),ZA,e.createElementVNode("div",QA,e.toDisplayString(n.computeNum((Fo=(To=(Ao=a.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:To.dgo)==null?void 0:Fo.portCons)),1),JA,e.createElementVNode("div",KA,e.toDisplayString((Lo=(Po=(Oo=a.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.totalExtraCons),1),jA])])):(e.openBlock(),e.createElementBlock("div",qA,[e.createElementVNode("div",XA,[vA,e.createElementVNode("div",e9,[e.createElementVNode("div",null,e.toDisplayString((Wo=a.extraData)==null?void 0:Wo.priorDist),1),t9,e.createElementVNode("div",null,e.toDisplayString((Ho=($o=a.extraData)==null?void 0:$o.cp)==null?void 0:Ho.speed),1)]),o9,e.createElementVNode("div",l9,[e.createElementVNode("div",null,e.toDisplayString((Io=(Mo=a.extraData)==null?void 0:Mo.cp)==null?void 0:Io.fo),1),a9,n9]),s9,e.createElementVNode("div",i9,e.toDisplayString((Uo=(zo=(Go=a.extraData)==null?void 0:Go.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),d9]),e.createElementVNode("div",c9,[r9,e.createElementVNode("div",m9,[e.createElementVNode("div",null,e.toDisplayString((uo=a.extraData)==null?void 0:uo.priorDist),1),p9,e.createElementVNode("div",null,e.toDisplayString((Zo=(Yo=a.extraData)==null?void 0:Yo.cp)==null?void 0:Zo.speed),1)]),h9,e.createElementVNode("div",_9,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=a.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.dgo),1),y9,E9]),N9,e.createElementVNode("div",V9,e.toDisplayString((qo=(jo=(Ko=a.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:jo.dgo)==null?void 0:qo.sailingCons),1),f9]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",x9,[g9,e.createElementVNode("div",D9,e.toDisplayString((el=(vo=(Xo=a.extraData)==null?void 0:Xo.consAnalysis)==null?void 0:vo.fo)==null?void 0:el.actualCons),1),b9,e.createElementVNode("div",k9,e.toDisplayString(n.computeNum((ll=(ol=(tl=a.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.fo)==null?void 0:ll.sailingCons)),1),C9,e.createElementVNode("div",S9,e.toDisplayString((sl=(nl=(al=a.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.totalExtraCons),1),B9])):(e.openBlock(),e.createElementBlock("div",w9,[A9,e.createElementVNode("div",T9,e.toDisplayString((cl=(dl=(il=a.extraData)==null?void 0:il.consAnalysis)==null?void 0:dl.fo)==null?void 0:cl.actualCons),1),F9,e.createElementVNode("div",O9,e.toDisplayString(n.computeNum((pl=(nt=(rl=a.extraData)==null?void 0:rl.consAnalysis)==null?void 0:nt.fo)==null?void 0:pl.sailingCons)),1),P9,e.createElementVNode("div",L9,e.toDisplayString(n.computeNum((Nl=(El=(yl=a.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:Nl.portCons)),1),W9,e.createElementVNode("div",$9,e.toDisplayString((xl=(fl=(Vl=a.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:fl.fo)==null?void 0:xl.totalExtraCons),1),H9])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",M9,[I9,e.createElementVNode("div",R9,e.toDisplayString((bl=(Dl=(gl=a.extraData)==null?void 0:gl.consAnalysis)==null?void 0:Dl.dgo)==null?void 0:bl.actualCons),1),G9,e.createElementVNode("div",z9,e.toDisplayString((Sl=(Cl=(kl=a.extraData)==null?void 0:kl.consAnalysis)==null?void 0:Cl.dgo)==null?void 0:Sl.sailingCons),1),U9,e.createElementVNode("div",u9,e.toDisplayString((Al=(wl=(Bl=a.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Al.totalExtraCons),1),Y9])):(e.openBlock(),e.createElementBlock("div",Z9,[Q9,e.createElementVNode("div",J9,e.toDisplayString((Ol=(Fl=(Tl=a.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Ol.actualCons),1),K9,e.createElementVNode("div",j9,e.toDisplayString(n.computeNum((Wl=(Ll=(Pl=a.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons)),1),q9,e.createElementVNode("div",X9,e.toDisplayString(n.computeNum((Ml=(Hl=($l=a.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.portCons)),1),v9,e.createElementVNode("div",eT,e.toDisplayString((Gl=(Rl=(Il=a.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:Gl.totalExtraCons),1),tT]))])),((zl=l.report)==null?void 0:zl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",oT,[lT,e.createElementVNode("div",aT,[nT,e.createElementVNode("div",sT,e.toDisplayString(((Yl=(ul=(Ul=a.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:ul.fo)==null?void 0:Yl.sailingCons)??"—"),1),e.createElementVNode("div",iT,e.toDisplayString(((Jl=(Ql=(Zl=a.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.sailingCons)??"—"),1)]),e.createElementVNode("div",dT,[cT,e.createElementVNode("div",rT,e.toDisplayString(((ql=(jl=(Kl=a.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:ql.portCons)??"—"),1),e.createElementVNode("div",mT,e.toDisplayString(((ea=(vl=(Xl=a.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:vl.dgo)==null?void 0:ea.portCons)??"—"),1)]),e.createElementVNode("div",pT,[hT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((la=(oa=(ta=a.extraData)==null?void 0:ta.consAnalysis)==null?void 0:oa.fo)==null?void 0:la.totalExtraCons)} flex blue center`)},e.toDisplayString(((sa=(na=(aa=a.extraData)==null?void 0:aa.consAnalysis)==null?void 0:na.fo)==null?void 0:sa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ca=(da=(ia=a.extraData)==null?void 0:ia.consAnalysis)==null?void 0:da.dgo)==null?void 0:ca.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ma=(ra=a.extraData)==null?void 0:ra.consAnalysis)==null?void 0:ma.dgo)==null?void 0:pa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",_T,[yT,e.createElementVNode("div",ET,[NT,e.createElementVNode("div",VT,e.toDisplayString((ya=(_a=(ha=a.extraData)==null?void 0:ha.consAnalysis)==null?void 0:_a.fo)==null?void 0:ya.sailingCons),1),e.createElementVNode("div",fT,e.toDisplayString((Va=(Na=(Ea=a.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:Na.dgo)==null?void 0:Va.sailingCons),1)]),e.createElementVNode("div",xT,[gT,e.createElementVNode("div",DT,e.toDisplayString((ga=(xa=(fa=a.extraData)==null?void 0:fa.consAnalysis)==null?void 0:xa.fo)==null?void 0:ga.actualCons),1),e.createElementVNode("div",bT,e.toDisplayString((ka=(ba=(Da=a.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.dgo)==null?void 0:ka.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",kT,[CT,e.createElementVNode("div",ST,e.toDisplayString((Ba=(Sa=(Ca=a.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.fo)==null?void 0:Ba.portCons),1),e.createElementVNode("div",BT,e.toDisplayString((Ta=(Aa=(wa=a.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ta.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wT,[AT,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Pa=(Oa=(Fa=a.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Oa.fo)==null?void 0:Pa.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Wa=(La=a.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:$a.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((lo=(Y=(Ha=a.extraData)==null?void 0:Ha.consAnalysis)==null?void 0:Y.dgo)==null?void 0:lo.totalExtraCons)} flex blue center`)},e.toDisplayString((Ra=(Ia=(Ma=a.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons),3)])]))]),e.createElementVNode("div",TT,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Z=>a.advisory=Z),height:"320px",onBlur:s[9]||(s[9]=Z=>n.handleCommit("comments","comments",Z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Z)=>n.decideDisable&&n.decideDisable(...Z)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,FT))],2)])])}const yn=Ce(K6,[["render",OT],["__scopeId","data-v-245a0edf"]]),lu="",PT={name:"FliDvtRpt",components:{CirclePlus:Ya.CirclePlus,Remove:Ya.Remove,EditableItem:_n,Editor:Ro},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBF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JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const l=ae.LngLatHelper.lat2pretty(t).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${l} / ${r}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchData(){var t,s,l,r;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(l=this.data)!=null&&l.comments?(r=this.data)==null?void 0:r.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var l;const s=await ua.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(l=s==null?void 0:s.data)==null?void 0:l.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var l,r,a,n,y;this.extraPortList.splice(t,1);const s=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(l=s==null?void 0:s.data)==null?void 0:l.data,this.extraPortList=(a=(r=s==null?void 0:s.data)==null?void 0:r.data)==null?void 0:a.extraPorts,this.advisory=(n=this.data)!=null&&n.comments?(y=this.data)==null?void 0:y.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,l,r){var y,i,p,x,D;this.editable=!1;const a=s.indexOf(".");let n={};if((l||l==0)&&l!=""){if(t==="port"){if(a>0){const E=s.substring(0,a),k=s.substring(a+1);k!=="date"&&(l=Number(l)),this.extraPortList[r][E][k]=l}else this.extraPortList[r][s]=l;n={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=l,n={[s]:l}):(this.extraData[s]=l,n={[s]:Number(l)});const h=await ua.put(`${this.gateway}/api/als/deviations/${this.id}`,n,{headers:{Authorization:this.token}});this.extraData=(y=h==null?void 0:h.data)==null?void 0:y.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(x=this.data)!=null&&x.comments?(D=this.data)==null?void 0:D.comments:void 0}else ln.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},N=t=>(e.pushScopeId("data-v-1060aa22"),t=t(),e.popScopeId(),t),LT={class:"deviation-report"},WT=N(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),$T={class:"report-header"},HT={class:"header-title",style:{position:"relative !important"}},MT={class:"header-title-content"},IT=N(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),RT={class:"title-date"},GT={class:"report-summary"},zT={class:"summary-item"},UT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),uT={class:"flexL gray"},YT={class:"summary-item"},ZT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),QT={class:"flexL gray"},JT={class:"summary-item"},KT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),jT={class:"flexL gray"},qT={class:"summary-item"},XT=N(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),vT={class:"flexL gray"},eF={class:"summary-item"},tF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),oF={class:"flexL gray",style:{display:"flex"}},lF={class:"flex"},aF={class:"flexM"},nF={class:"summary-item"},sF=N(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),iF={class:"flexL gray",style:{display:"flex"}},dF={class:"flex"},cF={class:"flexM"},rF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),mF={class:"report-summary"},pF={class:"summary-item"},hF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),_F={class:"summary-item"},yF=N(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),EF={class:"summary-item"},NF=N(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),VF={class:"summary-item"},fF=N(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),xF=N(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),gF={class:"report-map"},DF=["src"],bF=e.createStaticVNode('<div class="legend" data-v-1060aa22><div class="legend-item" data-v-1060aa22><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1060aa22></div><div data-v-1060aa22>Actual Route</div></div><div class="legend-item" data-v-1060aa22><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1060aa22></div><div data-v-1060aa22>Route prior to deviation</div></div></div>',1),kF=N(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),CF={key:0,class:"subtitle"},SF={key:1,class:"report-summary"},BF=e.createStaticVNode('<div class="summary-item" data-v-1060aa22><div class="blue center" style="width:16%;" data-v-1060aa22>Diversion</div><div class="blue center" style="width:20%;" data-v-1060aa22>Position</div><div class="blue center" style="width:17%;" data-v-1060aa22>Date Time</div><div class="flex blue center" data-v-1060aa22>FO BROB<br data-v-1060aa22>(mt)</div><div class="flex blue center" data-v-1060aa22>DO/GO<br data-v-1060aa22>BROB (mt)</div><div class="flex blue center" data-v-1060aa22>Bunkering<br data-v-1060aa22>FO (mt)</div><div class="flex blue center" data-v-1060aa22>Bunkering<br data-v-1060aa22>DO/GO (mt)</div></div>',1),wF={class:"summary-item"},AF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),TF={class:"blue center",style:{width:"20%"}},FF={class:"blue center",style:{width:"17%"}},OF={class:"flex blue center"},PF={class:"flex blue center"},LF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),WF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),$F={class:"summary-item"},HF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),MF={class:"blue center",style:{width:"20%"}},IF={class:"blue center",style:{width:"17%"}},RF={class:"flex blue center"},GF={class:"flex blue center"},zF={class:"flex blue center"},UF={class:"flex blue center"},uF={class:"summary-item"},YF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),ZF=N(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),QF={class:"blue center",style:{width:"17%"}},JF={class:"flex blue center"},KF={class:"flex blue center"},jF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qF=N(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XF=N(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),vF={class:"report-summary"},eO={class:"summary-item"},tO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),oO={class:"flexL blue center"},lO={class:"summary-item"},aO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),nO={class:"flexL blue center"},sO={class:"summary-item"},iO=N(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dO={class:"flexL blue center"},cO={class:"subtitle port"},rO=N(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),mO={class:"print-hidden"},pO={class:"report-port"},hO=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)),_O={rowspan:2},yO=N(()=>e.createElementVNode("td",null,"Arrival",-1)),EO=N(()=>e.createElementVNode("td",null,null,-1)),NO=N(()=>e.createElementVNode("td",null,null,-1)),VO={rowspan:2,class:"print-hidden"},fO=N(()=>e.createElementVNode("td",null,"Departure",-1)),xO=N(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),gO=N(()=>e.createElementVNode("td",null,null,-1)),DO=N(()=>e.createElementVNode("td",null,null,-1)),bO=N(()=>e.createElementVNode("td",null,null,-1)),kO=N(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),CO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),SO={class:"report-summary"},BO=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)),wO={class:"summary-item"},AO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),TO={class:"flex blue center"},FO={class:"flex blue center"},OO={class:"summary-item"},PO=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),LO={class:"flex blue center"},WO=N(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),$O={key:2,class:"report-formular"},HO={class:"equation"},MO=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1060aa22>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1060aa22>=</div><div class="function" style="width:20%;" data-v-1060aa22><div data-v-1060aa22>Deviation Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:5%;" data-v-1060aa22>=</div>',4),IO={class:"function",style:{width:"20%"}},RO=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zO={style:{width:"10%"}},UO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uO={class:"equation"},YO=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1060aa22>Total extra Time (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:28%;" data-v-1060aa22>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1060aa22>+</div><div style="width:23%;" data-v-1060aa22>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div>',6),ZO={style:{width:"5%"}},QO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),JO={style:{width:"8%"}},KO=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jO={style:{width:"4%"}},qO=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),XO={key:3,class:"report-formular"},vO={class:"equation"},eP=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1060aa22>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1060aa22>=</div><div class="function" style="width:20%;" data-v-1060aa22><div data-v-1060aa22>Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:5%;" data-v-1060aa22>=</div>',4),tP={class:"function",style:{width:"20%"}},oP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),aP={style:{width:"10%"}},nP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),sP={key:0,class:"equation"},iP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1060aa22>Total extra Time (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:24%;" data-v-1060aa22>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1060aa22>-</div><div style="width:30%;" data-v-1060aa22>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div>',6),dP={style:{width:"5%"}},cP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),rP={style:{width:"5%"}},mP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),pP={style:{width:"5%"}},hP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),_P={key:1,class:"equation"},yP=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1060aa22>Total extra Time (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:24%;" data-v-1060aa22>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1060aa22>-</div><div style="width:20%;" data-v-1060aa22>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1060aa22>-</div><div style="width:10%;" data-v-1060aa22>Time spent in port (hrs)</div><div style="width:2%;" data-v-1060aa22>=</div>',8),EP={style:{width:"5%"}},NP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),VP={style:{width:"5%"}},fP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),xP={style:{width:"5%"}},gP=N(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),DP={style:{width:"5%"}},bP=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),kP={key:4,class:"report-summary"},CP={class:"summary-item"},SP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),BP={class:"flex blue center"},wP={class:"summary-item"},AP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),TP={class:"flex blue center"},FP={class:"summary-item"},OP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),PP={class:"flex blue center"},LP={key:5,class:"report-summary"},WP={class:"summary-item"},$P=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),HP={class:"flex blue center"},MP={class:"summary-item"},IP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),RP={class:"flex blue center"},GP={key:0,class:"summary-item"},zP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),UP={class:"flex blue center"},uP={class:"summary-item"},YP=N(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),ZP={class:"flex blue center"},QP=N(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),JP={key:6,class:"report-formular"},KP={class:"equation"},jP=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1060aa22>=</div><div class="function" style="width:30%;" data-v-1060aa22><div data-v-1060aa22>Deviation Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:3%;" data-v-1060aa22>×</div><div class="function" style="width:23%;" data-v-1060aa22><div data-v-1060aa22>Daily FO Consumption</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>24</div></div><div style="width:3%;" data-v-1060aa22>=</div>',6),qP={class:"function",style:{width:"5%"}},XP=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vP=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),eL={class:"function",style:{width:"5%"}},tL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oL=N(()=>e.createElementVNode("div",null,"24",-1)),lL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),aL={style:{width:"5%"}},nL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),sL={class:"equation"},iL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:30%;" data-v-1060aa22>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1060aa22>+</div><div style="width:23%;" data-v-1060aa22>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1060aa22>=</div>',6),dL={style:{width:"5%"}},cL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),rL={style:{width:"5%"}},mL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),pL={style:{width:"5%"}},hL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_L={class:"equation"},yL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1060aa22>=</div><div class="function" style="width:30%;" data-v-1060aa22><div data-v-1060aa22>Deviation Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:3%;" data-v-1060aa22>×</div><div class="function" style="width:23%;" data-v-1060aa22><div data-v-1060aa22>Daily DO Consumption</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>24</div></div><div style="width:3%;" data-v-1060aa22>=</div>',6),EL={class:"function",style:{width:"5%"}},NL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),fL={class:"function",style:{width:"5%"}},xL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gL=N(()=>e.createElementVNode("div",null,"24",-1)),DL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),bL={style:{width:"5%"}},kL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),CL={class:"equation"},SL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:30%;" data-v-1060aa22>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:23%;" data-v-1060aa22>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1060aa22>=</div>',6),BL={style:{width:"5%"}},wL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AL={style:{width:"5%"}},TL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FL={style:{width:"5%"}},OL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PL={key:7,class:"report-formular"},LL={class:"equation"},WL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1060aa22>=</div><div class="function" style="width:30%;" data-v-1060aa22><div data-v-1060aa22>Route prior to deviation Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:3%;" data-v-1060aa22>×</div><div class="function" style="width:23%;" data-v-1060aa22><div data-v-1060aa22>CP Daily FO Consumption</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>24</div></div><div style="width:3%;" data-v-1060aa22>=</div>',6),$L={class:"function",style:{width:"5%"}},HL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ML=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),IL={class:"function",style:{width:"5%"}},RL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GL=N(()=>e.createElementVNode("div",null,"24",-1)),zL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UL={style:{width:"5%"}},uL=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),YL={class:"equation"},ZL=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1060aa22>=</div><div class="function" style="width:30%;" data-v-1060aa22><div data-v-1060aa22>Route prior to deviation Distance</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>CP Speed</div></div><div style="width:3%;" data-v-1060aa22>×</div><div class="function" style="width:23%;" data-v-1060aa22><div data-v-1060aa22>CP Daily DO Consumption</div><div class="fractional-line" data-v-1060aa22></div><div data-v-1060aa22>24</div></div><div style="width:3%;" data-v-1060aa22>=</div>',6),QL={class:"function",style:{width:"5%"}},JL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jL={class:"function",style:{width:"5%"}},qL=N(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XL=N(()=>e.createElementVNode("div",null,"24",-1)),vL=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eW={style:{width:"5%"}},tW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oW={key:0,class:"equation"},lW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:30%;" data-v-1060aa22>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:23%;" data-v-1060aa22>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1060aa22>=</div>',6),aW={style:{width:"5%"}},nW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sW={style:{width:"5%"}},iW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),dW={style:{width:"5%"}},cW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rW={key:1,class:"equation"},mW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1060aa22>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:15%;" data-v-1060aa22>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:20%;" data-v-1060aa22>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:10%;" data-v-1060aa22>FO Consumption in port</div><div style="width:3%;" data-v-1060aa22>=</div>',8),pW={style:{width:"5%"}},hW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_W={style:{width:"5%"}},yW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EW={style:{width:"5%"}},NW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VW={style:{width:"5%"}},fW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xW={key:2,class:"equation"},gW=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1060aa22>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:30%;" data-v-1060aa22>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:23%;" data-v-1060aa22>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1060aa22>=</div>',6),DW={style:{width:"5%"}},bW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kW={style:{width:"5%"}},CW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),SW={style:{width:"5%"}},BW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wW={key:3,class:"equation"},AW=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1060aa22>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1060aa22>=</div><div style="width:15%;" data-v-1060aa22>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:20%;" data-v-1060aa22>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1060aa22>-</div><div style="width:10%;" data-v-1060aa22>DO/GO Consumption in port</div><div style="width:3%;" data-v-1060aa22>=</div>',8),TW={style:{width:"5%"}},FW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),OW={style:{width:"5%"}},PW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LW={style:{width:"5%"}},WW=N(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),$W={style:{width:"5%"}},HW=N(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MW={key:8,class:"report-summary"},IW=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)),RW={class:"summary-item"},GW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),zW={class:"flex blue center"},UW={class:"flex blue center"},uW={class:"summary-item"},YW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),ZW={class:"flex blue center"},QW={class:"flex blue center"},JW={class:"summary-item"},KW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jW={key:9,class:"report-summary"},qW=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)),XW={class:"summary-item"},vW=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),e$={class:"flex blue center"},t$={class:"flex blue center"},o$={class:"summary-item"},l$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),a$={class:"flex blue center"},n$={class:"flex blue center"},s$={key:0,class:"summary-item"},i$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),d$={class:"flex blue center"},c$={class:"flex blue center"},r$={class:"summary-item"},m$=N(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),p$=["innerHTML"];function h$(t,s,l,r,a,n){var h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e,pe,Qe,Je,Ke,A,Se,Ie,je,qe,Xe,ve,et,m,$,Be,He,Re,de,ze,tt,ot,dt,ct,rt,mt,ht,_t,yt,Et,Nt,Vt,ft,xt,gt,Dt,bt,kt,Ct,St,Bt,wt,At,Tt,Ft,Ot,io,co,ro,mo,po,ho,_o,yo,Eo,No,S,Me,lt,at,pt,Pt,Lt,Wt,$t,Ht,Mt,It,Rt,Gt,zt,Ut,ut,Yt,Zt,Qt,Jt,Kt,jt,qt,Xt,vt,eo,to,oo,Vo,fo,xo,go,Do,bo,ko,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Mo,Io,Go,zo,Uo,uo,Yo,Zo,Qo,Jo,Ko,jo,qo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,nt,pl,yl,El,Nl,Vl,fl,xl,gl,Dl,bl,kl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Rl,Gl,zl,Ul,ul,Yl,Zl,Ql,Jl,Kl,jl,ql,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,pa,ha,_a,ya,Ea,Na,Va,fa,xa,ga,Da,ba,ka,Ca,Sa,Ba,wa,Aa,Ta,Fa,Oa,Pa,La,Wa,$a,Ha;const y=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),x=e.resolveComponent("Remove"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",LT,[WT,e.createElementVNode("div",$T,[e.createElementVNode("div",HT,[e.createElementVNode("div",MT,[IT,e.createElementVNode("div",RT,e.toDisplayString(n.computeUTCTime((h=a.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",GT,[e.createElementVNode("div",zT,[UT,e.createElementVNode("div",uT,e.toDisplayString((k=(E=a.extraData)==null?void 0:E.vessel)==null?void 0:k.name),1)]),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,e.toDisplayString((g=a.extraData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("div",JT,[KT,e.createElementVNode("div",jT,e.toDisplayString((b=(C=a.extraData)==null?void 0:C.vessel)==null?void 0:b.type),1)]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",vT,e.toDisplayString((F=(T=a.extraData)==null?void 0:T.voyage)==null?void 0:F.number),1)]),e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,[e.createElementVNode("span",lF,e.toDisplayString((w=(B=a.extraData)==null?void 0:B.departure)==null?void 0:w.name),1),e.createElementVNode("span",aF,e.toDisplayString(n.computeUTCTime(((O=(V=a.extraData)==null?void 0:V.departure)==null?void 0:O.atd)||((R=(I=a.extraData)==null?void 0:I.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",nF,[sF,e.createElementVNode("div",iF,[e.createElementVNode("span",dF,e.toDisplayString((z=(G=a.extraData)==null?void 0:G.arrival)==null?void 0:z.name),1),e.createElementVNode("span",cF,e.toDisplayString(n.computeUTCTime(((L=(_=a.extraData)==null?void 0:_.arrival)==null?void 0:L.ata)||((W=(H=a.extraData)==null?void 0:H.arrival)==null?void 0:W.eta))),1)])])]),rF,e.createElementVNode("div",mF,[e.createElementVNode("div",pF,[hF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.extraData)==null?void 0:P.extraDist)} flex blue`)},e.toDisplayString(((M=a.extraData)==null?void 0:M.extraDist)??"—"),3)]),e.createElementVNode("div",_F,[yF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((U=(Q=a.extraData)==null?void 0:Q.timeAnalysis)==null?void 0:U.totalExtraTime)} flex blue`)},e.toDisplayString(((ne=(J=a.extraData)==null?void 0:J.timeAnalysis)==null?void 0:ne.totalExtraTime)??"—"),3)]),e.createElementVNode("div",EF,[NF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((j=(o=(se=a.extraData)==null?void 0:se.consAnalysis)==null?void 0:o.fo)==null?void 0:j.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(ee=(v=a.extraData)==null?void 0:v.consAnalysis)==null?void 0:ee.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",VF,[fF,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((ie=(le=(oe=a.extraData)==null?void 0:oe.consAnalysis)==null?void 0:le.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(me=(re=a.extraData)==null?void 0:re.consAnalysis)==null?void 0:me.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),xF,e.createElementVNode("div",gF,[e.createElementVNode("img",{style:{width:"100%"},src:(q=a.extraData)==null?void 0:q.chartUrl,alt:""},null,8,DF),bF]),kF,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",CF,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",SF,[BF,e.createElementVNode("div",wF,[AF,e.createElementVNode("div",TF,e.toDisplayString(n.computedLngLat((he=a.extraData)==null?void 0:he.startLng,(Ee=a.extraData)==null?void 0:Ee.startLat)),1),e.createElementVNode("div",FF,e.toDisplayString(n.computeUTCTime((Ne=a.extraData)==null?void 0:Ne.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",OF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ve=a.extraData)==null?void 0:Ve.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=Y=>n.handleCommit("extra","startFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",PF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(fe=a.extraData)==null?void 0:fe.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=Y=>n.handleCommit("extra","startDgoBrob",Y))},null,8,["value"])]),LF,WF]),e.createElementVNode("div",$F,[HF,e.createElementVNode("div",MF,e.toDisplayString(n.computedLngLat((xe=a.extraData)==null?void 0:xe.endLng,(ge=a.extraData)==null?void 0:ge.endLat)),1),e.createElementVNode("div",IF,e.toDisplayString(n.computeUTCTime((De=a.extraData)==null?void 0:De.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",RF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(be=a.extraData)==null?void 0:be.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=Y=>n.handleCommit("extra","endFoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",GF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(ke=a.extraData)==null?void 0:ke.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=Y=>n.handleCommit("extra","endDgoBrob",Y))},null,8,["value"])]),e.createElementVNode("div",zF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Ae=a.extraData)==null?void 0:Ae.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=Y=>n.handleCommit("extra","endFoBunkering",Y))},null,8,["value"])]),e.createElementVNode("div",UF,[e.createVNode(y,{style:{padding:"0px"},class:"editable-item",value:(Te=a.extraData)==null?void 0:Te.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=Y=>n.handleCommit("extra","endDgoBunkering",Y))},null,8,["value"])])]),e.createElementVNode("div",uF,[YF,ZF,e.createElementVNode("div",QF,e.toDisplayString(((Oe=(Fe=a.extraData)==null?void 0:Fe.timeAnalysis)==null?void 0:Oe.actualTime)??"—"),1),e.createElementVNode("div",JF,e.toDisplayString(((We=(Le=(Pe=a.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",KF,e.toDisplayString(((Qe=(pe=($e=a.extraData)==null?void 0:$e.consAnalysis)==null?void 0:pe.dgo)==null?void 0:Qe.actualCons)??"—"),1),jF,qF])])),XF,e.createElementVNode("div",vF,[e.createElementVNode("div",eO,[tO,e.createElementVNode("div",oO,e.toDisplayString(((Ke=(Je=a.extraData)==null?void 0:Je.cp)==null?void 0:Ke.speed)??"—"),1)]),e.createElementVNode("div",lO,[aO,e.createElementVNode("div",nO,e.toDisplayString(((Se=(A=a.extraData)==null?void 0:A.cp)==null?void 0:Se.fo)??"—"),1)]),e.createElementVNode("div",sO,[iO,e.createElementVNode("div",dO,e.toDisplayString(((je=(Ie=a.extraData)==null?void 0:Ie.cp)==null?void 0:je.dgo)??"—"),1)])]),e.createElementVNode("div",cO,[rO,e.createElementVNode("div",mO,[e.createVNode(p,{size:20,onClick:n.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",pO,[e.createElementVNode("table",null,[hO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.extraPortList,(Y,lo)=>{var Ma,Ia,Ra,Z,ao,Ga,za,Ua;return e.openBlock(),e.createElementBlock(e.Fragment,{key:lo},[e.createElementVNode("tr",null,[e.createElementVNode("td",_O,[e.createVNode(y,{class:"editable-item",value:Y==null?void 0:Y.name,type:"remotePortSelect",size:"small",align:"center",options:a.portList,onSelect:n.fetchSuggestName,onCommit:Ye=>n.handleCommit("port","name",Ye,lo)},null,8,["value","options","onSelect","onCommit"])]),yO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Ma=Y==null?void 0:Y.arrival)==null?void 0:Ma.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ia=Y==null?void 0:Y.arrival)==null?void 0:Ia.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ra=Y==null?void 0:Y.arrival)==null?void 0:Ra.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","arrival.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),EO,NO,e.createElementVNode("td",VO,[e.createVNode(p,{size:20,onClick:Ye=>n.handleRemove(lo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[fO,e.createElementVNode("td",null,[e.createVNode(y,{class:"check editable-item",value:(Z=Y==null?void 0:Y.departure)==null?void 0:Z.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Ye=>n.handleCommit("port","departure.date",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(ao=Y==null?void 0:Y.departure)==null?void 0:ao.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.foBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ga=Y==null?void 0:Y.departure)==null?void 0:Ga.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.dgoBrob",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(za=Y==null?void 0:Y.departure)==null?void 0:za.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringFo",Ye,lo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(y,{class:"editable-item",value:(Ua=Y==null?void 0:Y.departure)==null?void 0:Ua.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Ye=>n.handleCommit("port","departure.bunkeringDgo",Ye,lo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[xO,gO,e.createElementVNode("td",null,e.toDisplayString(((Xe=(qe=a.extraData)==null?void 0:qe.timeAnalysis)==null?void 0:Xe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(et=(ve=a.extraData)==null?void 0:ve.consAnalysis)==null?void 0:et.fo)==null?void 0:m.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Be=($=a.extraData)==null?void 0:$.consAnalysis)==null?void 0:Be.dgo)==null?void 0:He.portCons)??"—"),1),DO,bO,kO])])])]),CO,e.createElementVNode("div",SO,[BO,e.createElementVNode("div",wO,[AO,e.createElementVNode("div",TO,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(Re=a.extraData)==null?void 0:Re.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=Y=>n.handleCommit("extraData","actualDist",Y,t.index))},null,8,["value"])]),e.createElementVNode("div",FO,[e.createVNode(y,{class:"editable-item",style:{padding:"0px"},value:(de=a.extraData)==null?void 0:de.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=Y=>n.handleCommit("extraData","priorDist",Y,t.index))},null,8,["value"])])]),e.createElementVNode("div",OO,[PO,e.createElementVNode("div",LO,e.toDisplayString(((ze=a.extraData)==null?void 0:ze.extraDist)??"—"),1)])]),WO,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",$O,[e.createElementVNode("div",HO,[MO,e.createElementVNode("div",IO,[e.createElementVNode("div",null,e.toDisplayString((tt=a.extraData)==null?void 0:tt.extraDist),1),RO,e.createElementVNode("div",null,e.toDisplayString((dt=(ot=a.extraData)==null?void 0:ot.cp)==null?void 0:dt.speed),1)]),GO,e.createElementVNode("div",zO,e.toDisplayString((rt=(ct=a.extraData)==null?void 0:ct.timeAnalysis)==null?void 0:rt.sailingTime),1),UO]),e.createElementVNode("div",uO,[YO,e.createElementVNode("div",ZO,e.toDisplayString((ht=(mt=a.extraData)==null?void 0:mt.timeAnalysis)==null?void 0:ht.sailingTime),1),QO,e.createElementVNode("div",JO,e.toDisplayString(n.computeNum((yt=(_t=a.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:yt.portTime)),1),KO,e.createElementVNode("div",jO,e.toDisplayString((Nt=(Et=a.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),qO])])):(e.openBlock(),e.createElementBlock("div",XO,[e.createElementVNode("div",vO,[eP,e.createElementVNode("div",tP,[e.createElementVNode("div",null,e.toDisplayString((Vt=a.extraData)==null?void 0:Vt.priorDist),1),oP,e.createElementVNode("div",null,e.toDisplayString((xt=(ft=a.extraData)==null?void 0:ft.cp)==null?void 0:xt.speed),1)]),lP,e.createElementVNode("div",aP,e.toDisplayString((Dt=(gt=a.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),nP]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",sP,[iP,e.createElementVNode("div",dP,e.toDisplayString((kt=(bt=a.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:kt.actualTime),1),cP,e.createElementVNode("div",rP,e.toDisplayString((St=(Ct=a.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),mP,e.createElementVNode("div",pP,e.toDisplayString((wt=(Bt=a.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:wt.totalExtraTime),1),hP])):(e.openBlock(),e.createElementBlock("div",_P,[yP,e.createElementVNode("div",EP,e.toDisplayString((Tt=(At=a.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Tt.actualTime),1),NP,e.createElementVNode("div",VP,e.toDisplayString((Ot=(Ft=a.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Ot.sailingTime),1),fP,e.createElementVNode("div",xP,e.toDisplayString((co=(io=a.extraData)==null?void 0:io.timeAnalysis)==null?void 0:co.portTime),1),gP,e.createElementVNode("div",DP,e.toDisplayString((mo=(ro=a.extraData)==null?void 0:ro.timeAnalysis)==null?void 0:mo.totalExtraTime),1),bP]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",kP,[e.createElementVNode("div",CP,[SP,e.createElementVNode("div",BP,e.toDisplayString(((ho=(po=a.extraData)==null?void 0:po.timeAnalysis)==null?void 0:ho.sailingTime)??"—"),1)]),e.createElementVNode("div",wP,[AP,e.createElementVNode("div",TP,e.toDisplayString(((yo=(_o=a.extraData)==null?void 0:_o.timeAnalysis)==null?void 0:yo.portTime)??"—"),1)]),e.createElementVNode("div",FP,[OP,e.createElementVNode("div",PP,e.toDisplayString(((No=(Eo=a.extraData)==null?void 0:Eo.timeAnalysis)==null?void 0:No.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",LP,[e.createElementVNode("div",WP,[$P,e.createElementVNode("div",HP,e.toDisplayString((Me=(S=a.extraData)==null?void 0:S.timeAnalysis)==null?void 0:Me.sailingTime),1)]),e.createElementVNode("div",MP,[IP,e.createElementVNode("div",RP,e.toDisplayString((at=(lt=a.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.actualTime),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",GP,[zP,e.createElementVNode("div",UP,e.toDisplayString(((Pt=(pt=a.extraData)==null?void 0:pt.timeAnalysis)==null?void 0:Pt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",uP,[YP,e.createElementVNode("div",ZP,e.toDisplayString((Wt=(Lt=a.extraData)==null?void 0:Lt.timeAnalysis)==null?void 0:Wt.totalExtraTime),1)])])),QP,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",JP,[e.createElementVNode("div",KP,[jP,e.createElementVNode("div",qP,[e.createElementVNode("div",null,e.toDisplayString(($t=a.extraData)==null?void 0:$t.extraDist),1),XP,e.createElementVNode("div",null,e.toDisplayString((Mt=(Ht=a.extraData)==null?void 0:Ht.cp)==null?void 0:Mt.speed),1)]),vP,e.createElementVNode("div",eL,[e.createElementVNode("div",null,e.toDisplayString((Rt=(It=a.extraData)==null?void 0:It.cp)==null?void 0:Rt.fo),1),tL,oL]),lL,e.createElementVNode("div",aL,e.toDisplayString((Ut=(zt=(Gt=a.extraData)==null?void 0:Gt.consAnalysis)==null?void 0:zt.fo)==null?void 0:Ut.sailingCons),1),nL]),e.createElementVNode("div",sL,[iL,e.createElementVNode("div",dL,e.toDisplayString((Zt=(Yt=(ut=a.extraData)==null?void 0:ut.consAnalysis)==null?void 0:Yt.fo)==null?void 0:Zt.sailingCons),1),cL,e.createElementVNode("div",rL,e.toDisplayString(n.computeNum((Kt=(Jt=(Qt=a.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:Kt.portCons)),1),mL,e.createElementVNode("div",pL,e.toDisplayString((Xt=(qt=(jt=a.extraData)==null?void 0:jt.consAnalysis)==null?void 0:qt.fo)==null?void 0:Xt.totalExtraCons),1),hL]),e.createElementVNode("div",_L,[yL,e.createElementVNode("div",EL,[e.createElementVNode("div",null,e.toDisplayString((vt=a.extraData)==null?void 0:vt.extraDist),1),NL,e.createElementVNode("div",null,e.toDisplayString((to=(eo=a.extraData)==null?void 0:eo.cp)==null?void 0:to.speed),1)]),VL,e.createElementVNode("div",fL,[e.createElementVNode("div",null,e.toDisplayString((Vo=(oo=a.extraData)==null?void 0:oo.cp)==null?void 0:Vo.dgo),1),xL,gL]),DL,e.createElementVNode("div",bL,e.toDisplayString((go=(xo=(fo=a.extraData)==null?void 0:fo.consAnalysis)==null?void 0:xo.dgo)==null?void 0:go.sailingCons),1),kL]),e.createElementVNode("div",CL,[SL,e.createElementVNode("div",BL,e.toDisplayString((ko=(bo=(Do=a.extraData)==null?void 0:Do.consAnalysis)==null?void 0:bo.dgo)==null?void 0:ko.sailingCons),1),wL,e.createElementVNode("div",AL,e.toDisplayString(n.computeNum((Bo=(So=(Co=a.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:Bo.portCons)),1),TL,e.createElementVNode("div",FL,e.toDisplayString((To=(Ao=(wo=a.extraData)==null?void 0:wo.consAnalysis)==null?void 0:Ao.dgo)==null?void 0:To.totalExtraCons),1),OL])])):(e.openBlock(),e.createElementBlock("div",PL,[e.createElementVNode("div",LL,[WL,e.createElementVNode("div",$L,[e.createElementVNode("div",null,e.toDisplayString((Fo=a.extraData)==null?void 0:Fo.priorDist),1),HL,e.createElementVNode("div",null,e.toDisplayString((Po=(Oo=a.extraData)==null?void 0:Oo.cp)==null?void 0:Po.speed),1)]),ML,e.createElementVNode("div",IL,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=a.extraData)==null?void 0:Lo.cp)==null?void 0:Wo.fo),1),RL,GL]),zL,e.createElementVNode("div",UL,e.toDisplayString((Mo=(Ho=($o=a.extraData)==null?void 0:$o.consAnalysis)==null?void 0:Ho.fo)==null?void 0:Mo.sailingCons),1),uL]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("div",QL,[e.createElementVNode("div",null,e.toDisplayString((Io=a.extraData)==null?void 0:Io.priorDist),1),JL,e.createElementVNode("div",null,e.toDisplayString((zo=(Go=a.extraData)==null?void 0:Go.cp)==null?void 0:zo.speed),1)]),KL,e.createElementVNode("div",jL,[e.createElementVNode("div",null,e.toDisplayString((uo=(Uo=a.extraData)==null?void 0:Uo.cp)==null?void 0:uo.dgo),1),qL,XL]),vL,e.createElementVNode("div",eW,e.toDisplayString((Qo=(Zo=(Yo=a.extraData)==null?void 0:Yo.consAnalysis)==null?void 0:Zo.dgo)==null?void 0:Qo.sailingCons),1),tW]),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",oW,[lW,e.createElementVNode("div",aW,e.toDisplayString((jo=(Ko=(Jo=a.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:jo.actualCons),1),nW,e.createElementVNode("div",sW,e.toDisplayString(n.computeNum((vo=(Xo=(qo=a.extraData)==null?void 0:qo.consAnalysis)==null?void 0:Xo.fo)==null?void 0:vo.sailingCons)),1),iW,e.createElementVNode("div",dW,e.toDisplayString((ol=(tl=(el=a.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.totalExtraCons),1),cW])):(e.openBlock(),e.createElementBlock("div",rW,[mW,e.createElementVNode("div",pW,e.toDisplayString((nl=(al=(ll=a.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.actualCons),1),hW,e.createElementVNode("div",_W,e.toDisplayString(n.computeNum((dl=(il=(sl=a.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.sailingCons)),1),yW,e.createElementVNode("div",EW,e.toDisplayString(n.computeNum((nt=(rl=(cl=a.extraData)==null?void 0:cl.consAnalysis)==null?void 0:rl.fo)==null?void 0:nt.portCons)),1),NW,e.createElementVNode("div",VW,e.toDisplayString((El=(yl=(pl=a.extraData)==null?void 0:pl.consAnalysis)==null?void 0:yl.fo)==null?void 0:El.totalExtraCons),1),fW])),a.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",xW,[gW,e.createElementVNode("div",DW,e.toDisplayString((fl=(Vl=(Nl=a.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.dgo)==null?void 0:fl.actualCons),1),bW,e.createElementVNode("div",kW,e.toDisplayString((Dl=(gl=(xl=a.extraData)==null?void 0:xl.consAnalysis)==null?void 0:gl.dgo)==null?void 0:Dl.sailingCons),1),CW,e.createElementVNode("div",SW,e.toDisplayString((Cl=(kl=(bl=a.extraData)==null?void 0:bl.consAnalysis)==null?void 0:kl.dgo)==null?void 0:Cl.totalExtraCons),1),BW])):(e.openBlock(),e.createElementBlock("div",wW,[AW,e.createElementVNode("div",TW,e.toDisplayString((wl=(Bl=(Sl=a.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),FW,e.createElementVNode("div",OW,e.toDisplayString(n.computeNum((Fl=(Tl=(Al=a.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Tl.dgo)==null?void 0:Fl.sailingCons)),1),PW,e.createElementVNode("div",LW,e.toDisplayString(n.computeNum((Ll=(Pl=(Ol=a.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.portCons)),1),WW,e.createElementVNode("div",$W,e.toDisplayString((Hl=($l=(Wl=a.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Hl.totalExtraCons),1),HW]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",MW,[IW,e.createElementVNode("div",RW,[GW,e.createElementVNode("div",zW,e.toDisplayString(((Rl=(Il=(Ml=a.extraData)==null?void 0:Ml.consAnalysis)==null?void 0:Il.fo)==null?void 0:Rl.sailingCons)??"—"),1),e.createElementVNode("div",UW,e.toDisplayString(((Ul=(zl=(Gl=a.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.sailingCons)??"—"),1)]),e.createElementVNode("div",uW,[YW,e.createElementVNode("div",ZW,e.toDisplayString(((Zl=(Yl=(ul=a.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Yl.fo)==null?void 0:Zl.portCons)??"—"),1),e.createElementVNode("div",QW,e.toDisplayString(((Kl=(Jl=(Ql=a.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.portCons)??"—"),1)]),e.createElementVNode("div",JW,[KW,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Xl=(ql=(jl=a.extraData)==null?void 0:jl.consAnalysis)==null?void 0:ql.fo)==null?void 0:Xl.totalExtraCons)} flex blue center`)},e.toDisplayString(((ta=(ea=(vl=a.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((aa=(la=(oa=a.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ia=(sa=(na=a.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",jW,[qW,e.createElementVNode("div",XW,[vW,e.createElementVNode("div",e$,e.toDisplayString((ra=(ca=(da=a.extraData)==null?void 0:da.consAnalysis)==null?void 0:ca.fo)==null?void 0:ra.sailingCons),1),e.createElementVNode("div",t$,e.toDisplayString((ha=(pa=(ma=a.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.dgo)==null?void 0:ha.sailingCons),1)]),e.createElementVNode("div",o$,[l$,e.createElementVNode("div",a$,e.toDisplayString((Ea=(ya=(_a=a.extraData)==null?void 0:_a.consAnalysis)==null?void 0:ya.fo)==null?void 0:Ea.actualCons),1),e.createElementVNode("div",n$,e.toDisplayString((fa=(Va=(Na=a.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.actualCons),1)]),a.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",s$,[i$,e.createElementVNode("div",d$,e.toDisplayString((Da=(ga=(xa=a.extraData)==null?void 0:xa.consAnalysis)==null?void 0:ga.fo)==null?void 0:Da.portCons),1),e.createElementVNode("div",c$,e.toDisplayString((Ca=(ka=(ba=a.extraData)==null?void 0:ba.consAnalysis)==null?void 0:ka.dgo)==null?void 0:Ca.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",r$,[m$,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((wa=(Ba=(Sa=a.extraData)==null?void 0:Sa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.totalExtraCons)} flex blue center`)},e.toDisplayString((Fa=(Ta=(Aa=a.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:Fa.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((La=(Pa=(Oa=a.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ha=($a=(Wa=a.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ha.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(D,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[8]||(s[8]=Y=>a.advisory=Y),height:"320px",onBlur:s[9]||(s[9]=Y=>n.handleCommit("comments","comments",Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...Y)=>n.decideDisable&&n.decideDisable(...Y)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,p$))],2)])}const En=Ce(PT,[["render",h$],["__scopeId","data-v-1060aa22"]]),_$={install(t){t.component("DeviationReport",yn),t.component("FliDeviationReport",En)}},au="",y$={name:"OrmStoppage",components:{IdmBrand:no},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJ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jhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${K(t).utc().format(s)}`:""}},computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ae.LngLatHelper.roundPrecision(t,s)}}}},so=t=>(e.pushScopeId("data-v-6a1e1cd8"),t=t(),e.popScopeId(),t),E$={class:"stoppage-report"},N$={class:"report-summary"},V$={class:"summary-item"},f$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),x$={class:"flexL gray"},g$={class:"summary-item"},D$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),b$={class:"flexL gray"},k$={class:"summary-item"},C$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),S$={class:"flexL gray"},B$={class:"summary-item"},w$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),A$={class:"flexL gray"},T$={class:"summary-item"},F$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),O$={class:"flexL gray",style:{display:"flex"}},P$={class:"flex"},L$={class:"flexM"},W$={class:"summary-item"},$$=so(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),H$={class:"flexL gray",style:{display:"flex"}},M$={class:"flex"},I$={class:"flexM"},R$=so(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),G$={class:"report-summary"},z$={class:"summary-item"},U$=so(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),u$={class:"summary-item"},Y$=so(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),Z$={class:"summary-item"},Q$=so(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),J$=so(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),K$={class:"report-table"},j$=so(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),q$=so(()=>e.createElementVNode("td",null,"Stopped",-1)),X$={rowspan:2},v$={rowspan:2},eH={rowspan:2},tH=so(()=>e.createElementVNode("td",null,"Resumed",-1)),oH={class:"report-map flex-center"},lH=["src"];function aH(t,s,l,r,a,n){var i,p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie;const y=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",E$,[e.createVNode(y,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",N$,[e.createElementVNode("div",V$,[f$,e.createElementVNode("div",x$,e.toDisplayString((p=(i=l.report)==null?void 0:i.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",g$,[D$,e.createElementVNode("div",b$,e.toDisplayString((x=l.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",k$,[C$,e.createElementVNode("div",S$,e.toDisplayString((h=(D=l.report)==null?void 0:D.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",B$,[w$,e.createElementVNode("div",A$,e.toDisplayString((k=(E=l.report)==null?void 0:E.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",T$,[F$,e.createElementVNode("div",O$,[e.createElementVNode("span",P$,e.toDisplayString((C=(g=l.report)==null?void 0:g.departure)==null?void 0:C.name),1),e.createElementVNode("span",L$,e.toDisplayString(n.computeUTCTime(((T=(b=l.report)==null?void 0:b.departure)==null?void 0:T.atd)||((B=(F=l.report)==null?void 0:F.departure)==null?void 0:B.etd))),1)])]),e.createElementVNode("div",W$,[$$,e.createElementVNode("div",H$,[e.createElementVNode("span",M$,e.toDisplayString((V=(w=l.report)==null?void 0:w.arrival)==null?void 0:V.name),1),e.createElementVNode("span",I$,e.toDisplayString(n.computeUTCTime(((I=(O=l.report)==null?void 0:O.arrival)==null?void 0:I.ata)||((G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.eta))),1)])])]),R$,e.createElementVNode("div",G$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((z=l.report)==null?void 0:z.totalTime))},e.toDisplayString(((_=l.report)==null?void 0:_.totalTime)??"—"),5)]),e.createElementVNode("div",u$,[Y$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((L=l.report)==null?void 0:L.totalFoCons))},e.toDisplayString(((H=l.report)==null?void 0:H.totalFoCons)??"—"),5)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(n.computeStyle((W=l.report)==null?void 0:W.totalDgoCons))},e.toDisplayString(((P=l.report)==null?void 0:P.totalDgoCons)??"—"),5)])]),J$,e.createElementVNode("div",K$,[e.createElementVNode("table",null,[j$,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[q$,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((M=l.report)==null?void 0:M.stopLat).pretty)+" / "+e.toDisplayString(n.computeLng((Q=l.report)==null?void 0:Q.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((U=l.report)==null?void 0:U.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((J=l.report)==null?void 0:J.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((ne=l.report)==null?void 0:ne.stopDgoBrob)??"-")),1),e.createElementVNode("td",X$,e.toDisplayString(n.computeRoundPrecision(((se=l.report)==null?void 0:se.totalTime)??"-")),1),e.createElementVNode("td",v$,e.toDisplayString(n.computeRoundPrecision(((o=l.report)==null?void 0:o.totalFoCons)??"-")),1),e.createElementVNode("td",eH,e.toDisplayString(n.computeRoundPrecision(((j=l.report)==null?void 0:j.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[tH,e.createElementVNode("td",null,e.toDisplayString(n.computeLat((v=l.report)==null?void 0:v.resumeLat).pretty)+" / "+e.toDisplayString(n.computeLng((ee=l.report)==null?void 0:ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(n.computeUTCTime((te=l.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((oe=l.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(n.computeRoundPrecision(((le=l.report)==null?void 0:le.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",oH,[e.createElementVNode("img",{src:(ie=l.report)==null?void 0:ie.chartUrl,alt:""},null,8,lH)])])}const Nn=Ce(y$,[["render",aH],["__scopeId","data-v-6a1e1cd8"]]),nH={install(t){t.component("StoppageReport",Nn)}},nu="",sH={name:"OrmComparison",components:{Editor:Ro,IdmBrand:no},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},_e=t=>(e.pushScopeId("data-v-e88312f7"),t=t(),e.popScopeId(),t),iH={class:"comparison-report"},dH={class:"report-summary"},cH={class:"summary-item"},rH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),mH={class:"flexL gray"},pH={class:"summary-item"},hH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),_H={class:"flexL gray"},yH={class:"summary-item"},EH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),NH={class:"flexL gray"},VH={class:"summary-item"},fH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),xH={class:"flexL gray"},gH={class:"summary-item"},DH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),bH={class:"flexL gray"},kH={class:"summary-item"},CH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),SH={class:"flexL gray",style:{display:"flex"}},BH={class:"flex"},wH={class:"flexM"},AH={class:"summary-item"},TH=_e(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),FH={class:"flexL gray",style:{display:"flex"}},OH={class:"flex"},PH={class:"flexM"},LH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),WH={class:"report-summary"},$H={class:"summary-item"},HH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),MH={class:"summary-item"},IH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),RH={class:"summary-item"},GH=_e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),zH=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),UH={class:"report-map"},uH=["src"],YH=e.createStaticVNode('<div class="legend" data-v-e88312f7><div class="legend-item" data-v-e88312f7><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-e88312f7></div><div data-v-e88312f7>Actual Route</div></div><div class="legend-item" data-v-e88312f7><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-e88312f7></div><div data-v-e88312f7>Recommended Route</div></div></div>',1),ZH={key:0,class:"subtitle"},QH={key:1,class:"report-summary"},JH={class:"summary-item"},KH=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),jH={class:"flexL blue center"},qH={class:"summary-item"},XH=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),vH={class:"flexL blue center"},eM={class:"summary-item"},tM=_e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),oM={class:"flexL blue center"},lM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),aM={class:"report-summary"},nM=_e(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),sM={class:"summary-item"},iM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),dM={class:"flex blue-light center"},cM={class:"flex blue-light center"},rM={class:"summary-item"},mM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),pM={class:"flex blue-light center"},hM={class:"flex blue-light center"},_M={class:"summary-item"},yM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),EM={class:"flex blue-light center"},NM={class:"flex blue-light center"},VM={class:"summary-item"},fM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),xM={class:"flex blue-light center"},gM={class:"flex blue-light center"},DM={class:"summary-item"},bM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),kM={class:"flex blue-light center"},CM={class:"flex blue-light center"},SM={class:"summary-item"},BM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),wM={class:"flex blue-light center"},AM={class:"flex blue-light center"},TM={class:"summary-item"},FM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),OM={class:"flex blue-light center italic"},PM=_e(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),LM={class:"report-summary"},WM=_e(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),$M={class:"summary-item"},HM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),MM={class:"flex blue-light center"},IM={class:"flex blue-light center"},RM={class:"summary-item"},GM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),zM={class:"flex blue-light center"},UM={class:"flex blue-light center"},uM={class:"summary-item"},YM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),ZM={class:"flex blue-light center"},QM={class:"flex blue-light center"},JM={class:"summary-item"},KM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),jM={class:"flex blue-light center"},qM={class:"flex blue-light center"},XM={class:"summary-item"},vM=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),eI={class:"flex blue-light center italic"},tI={class:"summary-item"},oI=_e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),lI={class:"flex blue-light center italic"},aI=["innerHTML"];function nI(t,s,l,r,a,n){var p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",iH,[e.createVNode(y,{name:"Voyage Comparison Report"}),e.createElementVNode("div",dH,[e.createElementVNode("div",cH,[rH,e.createElementVNode("div",mH,e.toDisplayString((x=(p=l.report)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",pH,[hH,e.createElementVNode("div",_H,e.toDisplayString((D=l.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",yH,[EH,e.createElementVNode("div",NH,e.toDisplayString((E=(h=l.report)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",VH,[fH,e.createElementVNode("div",xH,e.toDisplayString((g=(k=l.report)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",gH,[DH,e.createElementVNode("div",bH,e.toDisplayString((b=(C=l.report)==null?void 0:C.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",kH,[CH,e.createElementVNode("div",SH,[e.createElementVNode("span",BH,e.toDisplayString((F=(T=l.report)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",wH,e.toDisplayString(n.computeUTCTime(((w=(B=l.report)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=l.report)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",AH,[TH,e.createElementVNode("div",FH,[e.createElementVNode("span",OH,e.toDisplayString((R=(I=l.report)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",PH,e.toDisplayString(n.computeUTCTime(((z=(G=l.report)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=l.report)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),LH,e.createElementVNode("div",WH,[e.createElementVNode("div",$H,[HH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=l.report)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=l.report)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",MH,[IH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=l.report)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=l.report)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",RH,[GH,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=l.report)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=l.report)==null?void 0:U.diffDgoCons,"oil")),3)])]),zH,e.createElementVNode("div",UH,[e.createElementVNode("img",{style:{width:"100%"},src:(J=l.report)==null?void 0:J.chartUrl,alt:""},null,8,uH),YH]),(ne=l.report)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ZH,"CP Terms")),(se=l.report)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QH,[e.createElementVNode("div",JH,[KH,e.createElementVNode("div",jH,e.toDisplayString(((j=(o=l.report)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",qH,[XH,e.createElementVNode("div",vH,e.toDisplayString(((ee=(v=l.report)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString(((oe=(te=l.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),lM,e.createElementVNode("div",aM,[nM,e.createElementVNode("div",sM,[iM,e.createElementVNode("div",dM,e.toDisplayString(((le=l.report)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",cM,e.toDisplayString(((ie=l.report)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",rM,[mM,e.createElementVNode("div",pM,e.toDisplayString(((re=l.report)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",hM,e.toDisplayString(((me=l.report)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",_M,[yM,e.createElementVNode("div",EM,e.toDisplayString(((ye=l.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",NM,e.toDisplayString(((q=l.report)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",VM,[fM,e.createElementVNode("div",xM,e.toDisplayString(((he=l.report)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",gM,e.toDisplayString(((Ee=l.report)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",DM,[bM,e.createElementVNode("div",kM,e.toDisplayString(((Ne=l.report)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",CM,e.toDisplayString(((Ve=l.report)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",SM,[BM,e.createElementVNode("div",wM,e.toDisplayString(((fe=l.report)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",AM,e.toDisplayString(((xe=l.report)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",TM,[FM,e.createElementVNode("div",OM,e.toDisplayString(n.compareTime((ge=l.report)==null?void 0:ge.actualTime,(De=l.report)==null?void 0:De.recmdTime)),1)])]),PM,e.createElementVNode("div",LM,[WM,e.createElementVNode("div",$M,[HM,e.createElementVNode("div",MM,e.toDisplayString(((be=l.report)==null?void 0:be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",IM,e.toDisplayString(((ke=l.report)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",RM,[GM,e.createElementVNode("div",zM,e.toDisplayString(((Ae=l.report)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",UM,e.toDisplayString(((Te=l.report)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",uM,[YM,e.createElementVNode("div",ZM,e.toDisplayString(((Fe=l.report)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",QM,e.toDisplayString(((Oe=l.report)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",JM,[KM,e.createElementVNode("div",jM,e.toDisplayString(((Pe=l.report)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",qM,e.toDisplayString(((Le=l.report)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",XM,[vM,e.createElementVNode("div",eI,e.toDisplayString(((We=l.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",tI,[oI,e.createElementVNode("div",lI,e.toDisplayString((($e=l.report)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${n.computeBlankHtml(a.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>a.editable=!a.editable),innerHTML:n.computeBlankHtml(a.advisory)?"Please double click to modify remark":a.advisory},null,40,aI))],2)])}const Vn=Ce(sH,[["render",nI],["__scopeId","data-v-e88312f7"]]),su="",sI={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2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uSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${K(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ae.LngLatHelper.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let l="";return t>0?s==="time"?l=`Lost ${t}hrs`:l=`Over consumption ${t}mt`:s==="time"?l=`Saving ${Math.abs(t)}hrs`:l=`Under consumption ${Math.abs(t)}mt`,l}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const l={[t]:s};await ua.put(`${this.gateway}/api/als/comparisons/${this.id}`,l,{headers:{Authorization:this.token}}),this.advisory=s}}},ce=t=>(e.pushScopeId("data-v-6ad40c85"),t=t(),e.popScopeId(),t),iI={class:"comparison-report"},dI=ce(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),cI={class:"report-header"},rI={class:"header-title",style:{position:"relative !important"}},mI={class:"header-title-content"},pI=ce(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),hI={class:"title-date"},_I={class:"report-summary"},yI={class:"summary-item"},EI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),NI={class:"flexL gray"},VI={class:"summary-item"},fI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),xI={class:"flexL gray"},gI={class:"summary-item"},DI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),bI={class:"flexL gray"},kI={class:"summary-item"},CI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),SI={class:"flexL gray"},BI={class:"summary-item"},wI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),AI={class:"flexL gray"},TI={class:"summary-item"},FI=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),OI={class:"flexL gray",style:{display:"flex"}},PI={class:"flex"},LI={class:"flexM"},WI={class:"summary-item"},$I=ce(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),HI={class:"flexL gray",style:{display:"flex"}},MI={class:"flex"},II={class:"flexM"},RI=ce(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),GI={class:"report-summary"},zI={class:"summary-item"},UI=ce(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),uI={class:"summary-item"},YI=ce(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),ZI={class:"summary-item"},QI=ce(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),JI=ce(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KI={class:"report-map"},jI=["src"],qI=e.createStaticVNode('<div class="legend" data-v-6ad40c85><div class="legend-item" data-v-6ad40c85><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-6ad40c85></div><div data-v-6ad40c85>Actual Route</div></div><div class="legend-item" data-v-6ad40c85><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-6ad40c85></div><div data-v-6ad40c85>Ocean π Recommended Route</div></div></div>',1),XI=ce(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),vI={key:0,class:"subtitle"},eR={key:1,class:"report-summary"},tR={class:"summary-item"},oR=ce(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lR={class:"flexL blue center"},aR={class:"summary-item"},nR=ce(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sR={class:"flexL blue center"},iR={class:"summary-item"},dR=ce(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),cR={class:"flexL blue center"},rR=ce(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),mR={class:"report-summary"},pR=ce(()=>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)),hR={class:"summary-item"},_R=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),yR={class:"flex blue-light center"},ER={class:"flex blue-light center"},NR={class:"summary-item"},VR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),fR={class:"flex blue-light center"},xR={class:"flex blue-light center"},gR={class:"summary-item"},DR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),bR={class:"flex blue-light center"},kR={class:"flex blue-light center"},CR={class:"summary-item"},SR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),BR={class:"flex blue-light center"},wR={class:"flex blue-light center"},AR={class:"summary-item"},TR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),FR={class:"flex blue-light center"},OR={class:"flex blue-light center"},PR={class:"summary-item"},LR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),WR={class:"flex blue-light center"},$R={class:"flex blue-light center"},HR={class:"summary-item"},MR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),IR={class:"flex blue-light center italic"},RR=ce(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),GR={class:"report-summary"},zR=ce(()=>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)),UR={class:"summary-item"},uR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),YR={class:"flex blue-light center"},ZR={class:"flex blue-light center"},QR={class:"summary-item"},JR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),KR={class:"flex blue-light center"},jR={class:"flex blue-light center"},qR={class:"summary-item"},XR=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),vR={class:"flex blue-light center"},eG={class:"flex blue-light center"},tG={class:"summary-item"},oG=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),lG={class:"flex blue-light center"},aG={class:"flex blue-light center"},nG={class:"summary-item"},sG=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),iG={class:"flex blue-light center italic"},dG={class:"summary-item"},cG=ce(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),rG={class:"flex blue-light center italic"},mG=["innerHTML"];function pG(t,s,l,r,a,n){var i,p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z,_,L,H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke,Ae,Te,Fe,Oe,Pe,Le,We,$e;const y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",iI,[dI,e.createElementVNode("div",cI,[e.createElementVNode("div",rI,[e.createElementVNode("div",mI,[pI,e.createElementVNode("div",hI,e.toDisplayString(n.computeUTCTime(((i=a.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",_I,[e.createElementVNode("div",yI,[EI,e.createElementVNode("div",NI,e.toDisplayString((x=(p=a.comparisonData)==null?void 0:p.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",VI,[fI,e.createElementVNode("div",xI,e.toDisplayString((D=a.comparisonData)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",gI,[DI,e.createElementVNode("div",bI,e.toDisplayString((E=(h=a.comparisonData)==null?void 0:h.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",kI,[CI,e.createElementVNode("div",SI,e.toDisplayString((g=(k=a.comparisonData)==null?void 0:k.voyage)==null?void 0:g.loadCondition),1)]),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",AI,e.toDisplayString((b=(C=a.comparisonData)==null?void 0:C.voyage)==null?void 0:b.number),1)]),e.createElementVNode("div",TI,[FI,e.createElementVNode("div",OI,[e.createElementVNode("span",PI,e.toDisplayString((F=(T=a.comparisonData)==null?void 0:T.departure)==null?void 0:F.name),1),e.createElementVNode("span",LI,e.toDisplayString(n.computeUTCTime(((w=(B=a.comparisonData)==null?void 0:B.departure)==null?void 0:w.atd)||((O=(V=a.comparisonData)==null?void 0:V.departure)==null?void 0:O.etd))),1)])]),e.createElementVNode("div",WI,[$I,e.createElementVNode("div",HI,[e.createElementVNode("span",MI,e.toDisplayString((R=(I=a.comparisonData)==null?void 0:I.arrival)==null?void 0:R.name),1),e.createElementVNode("span",II,e.toDisplayString(n.computeUTCTime(((z=(G=a.comparisonData)==null?void 0:G.arrival)==null?void 0:z.ata)||((L=(_=a.comparisonData)==null?void 0:_.arrival)==null?void 0:L.eta))),1)])])]),RI,e.createElementVNode("div",GI,[e.createElementVNode("div",zI,[UI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((H=a.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(n.computeSummary((W=a.comparisonData)==null?void 0:W.diffTime,"time")),3)]),e.createElementVNode("div",uI,[YI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((P=a.comparisonData)==null?void 0:P.diffFoCons)} flex blue`)},e.toDisplayString(n.computeSummary((M=a.comparisonData)==null?void 0:M.diffFoCons,"oil")),3)]),e.createElementVNode("div",ZI,[QI,e.createElementVNode("div",{class:e.normalizeClass(`${n.computeColor((Q=a.comparisonData)==null?void 0:Q.diffDgoCons)} flex blue`)},e.toDisplayString(n.computeSummary((U=a.comparisonData)==null?void 0:U.diffDgoCons,"oil")),3)])]),JI,e.createElementVNode("div",KI,[e.createElementVNode("img",{style:{width:"100%"},src:(J=a.comparisonData)==null?void 0:J.chartUrl,alt:""},null,8,jI),qI]),XI,(ne=a.comparisonData)!=null&&ne.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",vI,"CP Terms")),(se=a.comparisonData)!=null&&se.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",eR,[e.createElementVNode("div",tR,[oR,e.createElementVNode("div",lR,e.toDisplayString(((j=(o=a.comparisonData)==null?void 0:o.cp)==null?void 0:j.speed)??"—"),1)]),e.createElementVNode("div",aR,[nR,e.createElementVNode("div",sR,e.toDisplayString(((ee=(v=a.comparisonData)==null?void 0:v.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",iR,[dR,e.createElementVNode("div",cR,e.toDisplayString(((oe=(te=a.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),rR,e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,[_R,e.createElementVNode("div",yR,e.toDisplayString(((le=a.comparisonData)==null?void 0:le.actualDist)??"—"),1),e.createElementVNode("div",ER,e.toDisplayString(((ie=a.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",NR,[VR,e.createElementVNode("div",fR,e.toDisplayString(((re=a.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",xR,e.toDisplayString(((me=a.comparisonData)==null?void 0:me.recmdTime)??"—"),1)]),e.createElementVNode("div",gR,[DR,e.createElementVNode("div",bR,e.toDisplayString(((ye=a.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",kR,e.toDisplayString(((q=a.comparisonData)==null?void 0:q.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",CR,[SR,e.createElementVNode("div",BR,e.toDisplayString(((he=a.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",wR,e.toDisplayString(((Ee=a.comparisonData)==null?void 0:Ee.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",AR,[TR,e.createElementVNode("div",FR,e.toDisplayString(((Ne=a.comparisonData)==null?void 0:Ne.actualAvgWF)??"—"),1),e.createElementVNode("div",OR,e.toDisplayString(((Ve=a.comparisonData)==null?void 0:Ve.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",PR,[LR,e.createElementVNode("div",WR,e.toDisplayString(((fe=a.comparisonData)==null?void 0:fe.actualPfmSpd)??"—"),1),e.createElementVNode("div",$R,e.toDisplayString(((xe=a.comparisonData)==null?void 0:xe.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",HR,[MR,e.createElementVNode("div",IR,e.toDisplayString(n.compareTime((ge=a.comparisonData)==null?void 0:ge.actualTime,(De=a.comparisonData)==null?void 0:De.recmdTime)),1)])]),RR,e.createElementVNode("div",GR,[zR,e.createElementVNode("div",UR,[uR,e.createElementVNode("div",YR,e.toDisplayString(((be=a.comparisonData)==null?void 0:be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",ZR,e.toDisplayString(((ke=a.comparisonData)==null?void 0:ke.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",QR,[JR,e.createElementVNode("div",KR,e.toDisplayString(((Ae=a.comparisonData)==null?void 0:Ae.actualFoCons)??"-"),1),e.createElementVNode("div",jR,e.toDisplayString(((Te=a.comparisonData)==null?void 0:Te.recmdFoCons)??"-"),1)]),e.createElementVNode("div",qR,[XR,e.createElementVNode("div",vR,e.toDisplayString(((Fe=a.comparisonData)==null?void 0:Fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",eG,e.toDisplayString(((Oe=a.comparisonData)==null?void 0:Oe.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,e.toDisplayString(((Pe=a.comparisonData)==null?void 0:Pe.actualDgoCons)??"-"),1),e.createElementVNode("div",aG,e.toDisplayString(((Le=a.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",nG,[sG,e.createElementVNode("div",iG,e.toDisplayString(((We=a.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",dG,[cG,e.createElementVNode("div",rG,e.toDisplayString((($e=a.comparisonData)==null?void 0:$e.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.advisory&&a.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[a.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:a.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>a.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>n.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>n.decideDisable&&n.decideDisable(...pe)),innerHTML:a.advisory&&a.advisory!=="<p><br></p>"?a.advisory:"Please double click to modify remark"},null,40,mG))],2)])}const fn=Ce(sI,[["render",pG],["__scopeId","data-v-6ad40c85"]]),hG={install(t){t.component("OrmComparisonReport",Vn),t.component("FliComparisonReport",fn)}},iu="",_G={props:{name:{type:String,default:""}}},yG={class:"section brand-section flex-space"},EG=e.createStaticVNode('<div class="logo-box flex-center" data-v-29740545><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-29740545><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-29740545><div class="brand" data-v-29740545><span data-v-29740545>Weather Routing</span><div class="company" data-v-29740545>Ocean Right Marine Service</div></div></a></div>',1),NG={class:"report-box flex-space"},VG={class:"name flex-start"},fG=e.createStaticVNode('<div class="support flex-end" data-v-29740545><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-29740545><div style="margin-left:10px;" data-v-29740545><div class="name flex-space" data-v-29740545><label data-v-29740545>IDM Service Team</label></div><div class="desc flex-center" data-v-29740545>Technical Support &amp; Consulting Center</div></div></div>',1);function xG(t,s,l,r,a,n){return e.openBlock(),e.createElementBlock("div",yG,[EG,e.createElementVNode("div",NG,[e.createElementVNode("div",VG,e.toDisplayString(l.name),1),fG])])}const xn=Ce(_G,[["render",xG],["__scopeId","data-v-29740545"]]),gG={install(t){t.component("IdmBrand",no),t.component("IdmThird",xn)}},du="",cu="",DG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},gn=t=>(e.pushScopeId("data-v-4a3694c6"),t=t(),e.popScopeId(),t),bG={class:"quota-report"},kG=gn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),CG={class:"section quota-section"},SG=gn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),BG={class:"label"},wG={class:"label"},AG=["innerHTML"],TG=e.createStaticVNode('<div class="legend-block flex-space" data-v-4a3694c6><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>DIR</label><span data-v-4a3694c6>DIRECT</span></div><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>PMP</label><span data-v-4a3694c6>via PANAMA CHANNEL</span></div><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>SUE</label><span data-v-4a3694c6>via SUEZ CHANNEL</span></div><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>CGH</label><span data-v-4a3694c6>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>CHC</label><span data-v-4a3694c6>Passing CAPE HORN</span></div><div class="legend" data-v-4a3694c6><label data-v-4a3694c6>SCG</label><span data-v-4a3694c6>Passing SINGAPORE</span></div></div>',1);function FG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",bG,[e.createVNode(y,{name:"Quotation Sheet"}),kG,e.createElementVNode("div",CG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[SG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",BG,e.toDisplayString(i.rank),1),e.createElementVNode("td",wG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,AG))),128))]))),128))])]),TG])])}const Dn=Ce(DG,[["render",FG],["__scopeId","data-v-4a3694c6"]]),ru="",OG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},bn=t=>(e.pushScopeId("data-v-86f1ecf7"),t=t(),e.popScopeId(),t),PG={class:"quota-report"},LG=bn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),WG={class:"section quota-section"},$G=bn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),HG={class:"label"},MG={class:"label"},IG=["innerHTML"],RG=e.createStaticVNode('<div class="legend-block flex-space" data-v-86f1ecf7><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>DIR</label><span data-v-86f1ecf7>DIRECT</span></div><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>PMP</label><span data-v-86f1ecf7>via PANAMA CHANNEL</span></div><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>SUE</label><span data-v-86f1ecf7>via SUEZ CHANNEL</span></div><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>CGH</label><span data-v-86f1ecf7>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>CHC</label><span data-v-86f1ecf7>Passing CAPE HORN</span></div><div class="legend" data-v-86f1ecf7><label data-v-86f1ecf7>SCG</label><span data-v-86f1ecf7>Passing SINGAPORE</span></div></div>',1);function GG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",PG,[e.createVNode(y,{name:"Quotation Sheet"}),LG,e.createElementVNode("div",WG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$G,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",HG,e.toDisplayString(i.rank),1),e.createElementVNode("td",MG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,IG))),128))]))),128))])]),RG])])}const kn=Ce(OG,[["render",GG],["__scopeId","data-v-86f1ecf7"]]),mu="",zG={name:"QuotaReport",components:{Brand:no},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Cn=t=>(e.pushScopeId("data-v-c4598bb0"),t=t(),e.popScopeId(),t),UG={class:"quota-report"},uG=Cn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),YG={class:"section quota-section"},ZG=Cn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),QG={class:"label"},JG={class:"label"},KG=["innerHTML"],jG=e.createStaticVNode('<div class="legend-block flex-space" data-v-c4598bb0><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>DIR</label><span data-v-c4598bb0>DIRECT</span></div><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>PMP</label><span data-v-c4598bb0>via PANAMA CHANNEL</span></div><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>SUE</label><span data-v-c4598bb0>via SUEZ CHANNEL</span></div><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>CGH</label><span data-v-c4598bb0>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>CHC</label><span data-v-c4598bb0>Passing CAPE HORN</span></div><div class="legend" data-v-c4598bb0><label data-v-c4598bb0>SCG</label><span data-v-c4598bb0>Passing SINGAPORE</span></div></div>',1);function qG(t,s,l,r,a,n){const y=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",UG,[e.createVNode(y,{name:"Quotation Sheet for TONGLI"}),uG,e.createElementVNode("div",YG,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[ZG,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",QG,e.toDisplayString(i.rank),1),e.createElementVNode("td",JG,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.area.length,x=>(e.openBlock(),e.createElementBlock("td",{key:x,innerHTML:a.quota[p][x-1]||""},null,8,KG))),128))]))),128))])]),jG])])}const Sn=Ce(zG,[["render",qG],["__scopeId","data-v-c4598bb0"]]),XG={install(t){t.component("OrmQuoteReport",Dn),t.component("OrmQuoteReport4SEOA",kn),t.component("OrmQuoteReport4TongLi",Sn)}},pu="",vG={name:"PrecipitationReport",components:{IdmBrand:no,IdmLoading:Qa},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,l;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const r of(s=this.report)==null?void 0:s.rows)this.computeForm(r);this.form=(l=this.report)==null?void 0:l.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ae.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ae.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,l="MMM-DD/HHmm[LT]"){return`${K(t).utcOffset(s).format(l)}`}},computeTZ(){return function(t="0"){return ae.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const l=Number("1".padEnd(s+1,"0"));return Math.round(t*l)/l}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let l=0;l<17;l++)if(l*22.5+t+11.25>=360){let r=(16-l)*22.5;return s||(r=r+180),`transform:rotate(${r}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var a,n,y,i,p,x,D;const s=ae.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const l={};for(let h=0;h<((a=t==null?void 0:t.extend)==null?void 0:a.length);h++){const E=t==null?void 0:t.extend[h];if(h===0)E.precip.pacc=0;else{const k=K(E.utc).utcOffset(s),g=(n=E.precip)==null?void 0:n.acc;if(E.precip.pacc=g,g>0){const C=l[k.format("MMM-DD")],b=Math.floor(k.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+g,1),C[`${b}`]?C[`${b}`]+=g:(C[`${b}`]=g,C.colspan+=1)):(l[k.format("MMM-DD")]={pacc:g,colspan:1},l[k.format("MMM-DD")][`${b}`]=g)}}}t.paccInDays=l;let r=0;for(const h of Object.keys(l))r+=(y=l[h])==null?void 0:y.colspan,l[h].level=((i=l[h])==null?void 0:i.pacc)<10?"Light":((p=l[h])==null?void 0:p.pacc)<24.9?"Moderate":((x=l[h])==null?void 0:x.pacc)<49.9?"Heavy":((D=l[h])==null?void 0:D.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=r,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Za.init(this.$refs.echart)));const l=[],r=[],a={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let n=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var x,D,h,E,k,g,C,b,T,F,B,w,V,O;const p=K(i.utc).utcOffset((x=this.form)==null?void 0:x.localTZ).format("MMM-DD/HHmm[LT]");l.push(p),n=((h=(D=i.wave)==null?void 0:D.sig)==null?void 0:h.height)>n?(k=(E=i.wave)==null?void 0:E.sig)==null?void 0:k.height:n,r.push([p,(g=i.wind)==null?void 0:g.kts,(C=i.gusts)==null?void 0:C.kts,(T=(b=i.wave)==null?void 0:b.sig)==null?void 0:T.height,(F=i.wind)==null?void 0:F.direction,(B=i.wind)==null?void 0:B.degree,(w=i.wind)==null?void 0:w.scale,(V=i.current)==null?void 0:V.kts,(O=i.precip)==null?void 0:O.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const y={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:l}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:n,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:a.dateTime,y:a.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:r,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:a.dateTime,y:a.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:r,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:a.dateTime,y:a.waveHeight},data:r,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:r,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:a.dateTime,y:a.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:r,z:2}]};this.echart.setOption(y)}},async initMap(){this.version==="Pretty"&&!this.map&&(hl.accessToken=this.mapboxToken,this.map=new hl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const l={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(l)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},it=t=>(e.pushScopeId("data-v-fdf8fe7f"),t=t(),e.popScopeId(),t),ez={class:"precipitation-report"},tz={class:"section area-section"},oz={class:"area-block"},lz={class:"area-header flex-space"},az={class:"flex-start"},nz=["onClick"],sz={class:"flex-end"},iz={class:"area-body"},dz=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-fdf8fe7f>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-fdf8fe7f><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-fdf8fe7f>Heavy Rainstorm (&gt;100mm)</div></div>',2),cz={class:"flex-evenly"},rz={key:0},mz=["colspan"],pz=["colspan"],hz={style:{"font-size":"10px"}},_z={key:0},yz={key:1},Ez={key:2},Nz={key:3},Vz={key:0},fz={key:1,style:{"font-size":"14px"}},xz=it(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),gz={class:"section echart-section"},Dz={ref:"echart",class:"echart"},bz={class:"section sample-section"},kz=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Cz=["colspan"],Sz=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Bz=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),wz=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Az=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Tz=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Fz=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Oz={key:0},Pz={key:1},Lz=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Wz=it(()=>e.createElementVNode("th",null,"Dir",-1)),$z=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Hz=it(()=>e.createElementVNode("th",null,"BF",-1)),Mz=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Iz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Rz=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Gz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),zz=it(()=>e.createElementVNode("th",null,"Dir",-1)),Uz=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),uz=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Yz=it(()=>e.createElementVNode("th",null,"°C",-1)),Zz={width:"120px"},Qz={key:0},Jz={key:1},Kz={key:0,class:"degree-box"},jz={key:1},qz={key:0,class:"degree-box"},Xz={key:1},vz={key:0,class:"degree-box"},eU={key:1},tU={class:"section area-section"},oU={class:"area-block"},lU={class:"area-header flex-end"},aU={class:"flex-end"},nU={class:"area-body"},sU=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-fdf8fe7f>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-fdf8fe7f><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-fdf8fe7f>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-fdf8fe7f>Heavy Rainstorm (&gt;100mm)</div></div>',2),iU=["colspan"],dU=["colspan"],cU={style:{"font-size":"10px"}},rU={key:0},mU={key:1},pU={key:2},hU={key:3},_U={key:1,style:{"font-size":"14px"}},yU={key:0};function EU(t,s,l,r,a,n){var p,x,D,h,E,k,g,C,b,T,F,B,w,V,O,I,R,G,z;const y=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",ez,[e.createVNode(y,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:a.loading,onTimeout:s[0]||(s[0]=_=>a.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",tz,[e.createElementVNode("div",oz,[e.createElementVNode("div",lz,[e.createElementVNode("div",az,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=l.report)==null?void 0:p.rows,(_,L)=>(e.openBlock(),e.createElementBlock("div",{key:L,class:e.normalizeClass(a.index===L?"header-item active":"header-item"),onClick:H=>{var W;return a.index=L,a.form=(W=l.report)==null?void 0:W.rows[a.index]}},e.toDisplayString(_.rank)+". "+e.toDisplayString(_.name),11,nz))),128))]),e.createElementVNode("div",sz,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=_=>a.version="Brief")},"Brief")])]),e.createElementVNode("div",iz,[dz,e.createElementVNode("div",cz,[a.form?(e.openBlock(),e.createElementBlock("table",rz,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:a.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((x=a.form)==null?void 0:x.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((D=a.form)==null?void 0:D.name)+" ("+e.toDisplayString(n.computeLat((h=a.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(n.computeLng((E=a.form)==null?void 0:E.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((g=(k=a.form)==null?void 0:k.extend)==null?void 0:g[0].utc,(C=a.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(n.computeLTime((T=(b=a.form)==null?void 0:b.extend)==null?void 0:T.at(-1).utc,(F=a.form)==null?void 0:F.localTZ))+", "+e.toDisplayString(n.computeTZ((B=a.form)==null?void 0:B.localTZ))+")",1)],8,mz)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=a.form)==null?void 0:w.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock("th",{key:L,colspan:a.form.paccInDays[_].colspan,class:e.normalizeClass((H=a.form.paccInDays[_])==null?void 0:H.level)},e.toDisplayString(_)+" ("+e.toDisplayString(a.form.paccInDays[_].pacc)+") ",11,pz)}),128))]),e.createElementVNode("tr",hz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((V=a.form)==null?void 0:V.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[W==="0"?(e.openBlock(),e.createElementBlock("th",_z,"00-06")):e.createCommentVNode("",!0),W==="1"?(e.openBlock(),e.createElementBlock("th",yz,"06-12")):e.createCommentVNode("",!0),W==="2"?(e.openBlock(),e.createElementBlock("th",Ez,"12-18")):e.createCommentVNode("",!0),W==="3"?(e.openBlock(),e.createElementBlock("th",Nz,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(I=Object.keys((O=a.form)==null?void 0:O.paccInDays))!=null&&I.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((R=a.form)==null?void 0:R.paccInDays),(_,L)=>{var H;return e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((H=a.form)==null?void 0:H.paccInDays[_]),(W,P)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:P},[["0","1","2","3"].includes(W)?(e.openBlock(),e.createElementBlock("td",Vz,e.toDisplayString(n.roundPrecision((M=a.form)==null?void 0:M.paccInDays[_][W],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",fz,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),xz,e.createElementVNode("div",gz,[e.createElementVNode("div",Dz,null,512)]),e.createElementVNode("div",bz,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[kz,e.createElementVNode("th",{colspan:l.showPrate?2:1},"Precip",8,Cz),Sz,Bz,wz,Az,Tz,Fz]),e.createElementVNode("tr",null,[l.showPrate?(e.openBlock(),e.createElementBlock("th",Oz,"Rate (mm/h)")):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("th",Pz,"Acc (mm)")):e.createCommentVNode("",!0),Lz,Wz,$z,Hz,Mz,Iz,Rz,Gz,zz,Uz,uz,Yz])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((G=a.form)==null?void 0:G.extend,(_,L)=>{var H,W,P,M,Q,U,J,ne,se,o,j,v,ee,te,oe,le,ie,re,me,ye,q,he,Ee,Ne,Ve,fe,xe,ge,De,be,ke;return e.openBlock(),e.createElementBlock("tr",{key:L},[e.createElementVNode("td",Zz,e.toDisplayString(n.computeLTime(_.utc,(H=a.form)==null?void 0:H.localTZ)),1),l.showPrate?(e.openBlock(),e.createElementBlock("td",Qz,e.toDisplayString(n.roundPrecision((W=_.precip)==null?void 0:W.prate,2)),1)):e.createCommentVNode("",!0),l.showAcc?(e.openBlock(),e.createElementBlock("td",Jz,e.toDisplayString((P=_.precip)==null?void 0:P.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.visibility/1852,0)),1),e.createElementVNode("td",null,[(M=_.wind)!=null&&M.kts?(e.openBlock(),e.createElementBlock("span",Kz,[e.createTextVNode(e.toDisplayString((Q=_.wind)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((U=_.wind)==null?void 0:U.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((J=_.wind)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((ne=_.wind)==null?void 0:ne.scale),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((se=_.gusts)==null?void 0:se.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((j=(o=_.wave)==null?void 0:o.wd)==null?void 0:j.height,1)),1),e.createElementVNode("td",null,[(ee=(v=_.wave)==null?void 0:v.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",qz,[e.createTextVNode(e.toDisplayString((oe=(te=_.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((ie=(le=_.wave)==null?void 0:le.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Xz,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((me=(re=_.wave)==null?void 0:re.swell)==null?void 0:me.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((q=(ye=_.wave)==null?void 0:ye.swell)==null?void 0:q.period,1)),1),e.createElementVNode("td",null,[(Ee=(he=_.wave)==null?void 0:he.sig)!=null&&Ee.height?(e.openBlock(),e.createElementBlock("span",vz,[e.createTextVNode(e.toDisplayString((Ve=(Ne=_.wave)==null?void 0:Ne.sig)==null?void 0:Ve.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(n.computeDegree((xe=(fe=_.wave)==null?void 0:fe.sig)==null?void 0:xe.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",eU,"-"))]),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((De=(ge=_.wave)==null?void 0:ge.sig)==null?void 0:De.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision((ke=(be=_.wave)==null?void 0:be.sig)==null?void 0:ke.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(n.roundPrecision(_.temp,1)),1)])}),128))])])])],512),[[e.vShow,a.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",tU,[e.createElementVNode("div",oU,[e.createElementVNode("div",lU,[e.createElementVNode("div",aU,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=_=>a.version="Pretty")},"Pretty")])]),e.createElementVNode("div",nU,[sU,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.report)==null?void 0:z.rows,(_,L)=>{var H,W,P;return e.openBlock(),e.createElementBlock("div",{key:L,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:_.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(_==null?void 0:_.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(_==null?void 0:_.name)+" ("+e.toDisplayString(n.computeLat(_==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(n.computeLng(_==null?void 0:_.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(n.computeLTime((H=_==null?void 0:_.extend)==null?void 0:H[0].utc,_==null?void 0:_.localTZ))+" to "+e.toDisplayString(n.computeLTime((W=_==null?void 0:_.extend)==null?void 0:W.at(-1).utc,_==null?void 0:_.localTZ))+", "+e.toDisplayString(n.computeTZ(_==null?void 0:_.localTZ))+")",1)],8,iU)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>{var U;return e.openBlock(),e.createElementBlock("th",{key:Q,colspan:_.paccInDays[M].colspan,class:e.normalizeClass((U=_.paccInDays[M])==null?void 0:U.level)},e.toDisplayString(M)+" ("+e.toDisplayString(_.paccInDays[M].pacc)+") ",11,dU)}),128))]),e.createElementVNode("tr",cU,[(P=Object.keys(_==null?void 0:_.paccInDays))!=null&&P.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[U==="0"?(e.openBlock(),e.createElementBlock("th",rU,"00-06")):e.createCommentVNode("",!0),U==="1"?(e.openBlock(),e.createElementBlock("th",mU,"06-12")):e.createCommentVNode("",!0),U==="2"?(e.openBlock(),e.createElementBlock("th",pU,"12-18")):e.createCommentVNode("",!0),U==="3"?(e.openBlock(),e.createElementBlock("th",hU,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",_U,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays),(M,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(_==null?void 0:_.paccInDays[M]),(U,J)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:J},[["0","1","2","3"].includes(U)?(e.openBlock(),e.createElementBlock("td",yU,e.toDisplayString(n.roundPrecision(_==null?void 0:_.paccInDays[M][U],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,a.version==="Brief"]])])}const Bn=Ce(vG,[["render",EU],["__scopeId","data-v-fdf8fe7f"]]),NU={install(t){t.component("PrecipitationReport",Bn)}},VU={install(t){t.component("IdmLoading",Qa)}};u.BrandPlugin=gG,u.ComparisonPlugin=hG,u.DeviationPlugin=_$,u.DeviationReport=yn,u.FliComparisonReport=fn,u.FliDeviationReport=En,u.FliInvoiceReport=hn,u.FliPlanReport=sn,u.FliVoyageReport=cn,u.HurricanePlugin=oB,u.IdmBrand=no,u.IdmEditor=Ro,u.IdmEditorPlugin=vp,u.IdmLat=Ka,u.IdmLatPlugin=eh,u.IdmLng=Ja,u.IdmLngPlugin=th,u.IdmLoading=Qa,u.IdmThird=xn,u.InvoicePlugin=R6,u.LoadingPlugin=VU,u.ORMPointReport=nn,u.OrmComparisonReport=Vn,u.OrmInvoiceReport=pn,u.OrmPlanReport=en,u.OrmQuoteReport=Dn,u.OrmQuoteReport4SEOA=kn,u.OrmQuoteReport4TongLi=Sn,u.OrmVoyageReport=rn,u.PiLogo=dn,u.PiLogoPlugin=dh,u.PointReportPlugin=ec,u.PrecipitationReport=Bn,u.PrecipitationReportPlugin=NU,u.QuoteReportPlugin=XG,u.RouteReport=en,u.RouteReportPlugin=Xp,u.StoppageReport=Nn,u.StoppageReportPlugin=nH,u.TropicalReport=mn,u.VoyageReportPlugin=X5,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});