@idmwx/idmui-report 4.3.2 → 4.3.3

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.
@@ -38,7 +38,7 @@
38
38
  39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
39
39
  7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
40
40
  17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
41
- -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)]),8,_D)]))])}const as=Re(ZD,[["render",XD]]),KD={install(o){o.component("PiLogo",as)}},FY="",PY="",qD={name:"FliVygSummary",components:{Editor:Jl},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(o){var t,l;return(l=(t=this.reportData)==null?void 0:t.weather)!=null&&l.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,t){return t=="subtitle"?J(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?J(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?J(o).utc().format("MMMM D, HHmm[Z]"):t?J(o).utc().format(t):J(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=te.LngLatHelper.lat2pretty(o).pretty,d=te.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),i=this.computedTime(o.arrival.utcTime,"summary"),M=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:a,time2:i,fullTime2:M}}},computedTimeConclusion(){return function(o){let t=o.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return t=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):t=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${o.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${o.timeGain} hrs`),l}},computedFuleConclusion(){return function(o,t){let l=o.conclusionStatus,d={conclusion:"",className:"",cons:""};return l==="No"?(d.conclusion="No Over/Under",d.className="",d.cons=""):l==="Over"?(t==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${o.overCons} mt`):(t==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${o.saving} mt`),d}},computedUnit(){return function(o,t){return t?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let t="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let l=o==null?void 0:o.windScale,d="",a=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?te.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,a)=>{let i=d.excluded;if(i.sumDistance>0&&i.detail.forEach(s=>{let c={begin:J(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:J(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:J(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+J(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:s.duration,distance:s.distance,fo:s.foCons,dgo:s.dgoCons};this.excludedTableData.push(c)}),!o.includes(d.seg)){o.push(d.seg);let s=Object.assign({},d.extend.cp);s.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,s.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(s)}let M=[];d.extend.segTimes.forEach(s=>{M.push(this.computedSeg(s))}),this.segDetail.push(M),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},uD={class:"fli-main"},$D={class:"card basics"},vD={class:"list flex"},eM={class:"item"},tM={class:"content flex"},lM={class:"item"},oM={class:"content flex"},nM={class:"item"},aM={class:"content flex"},iM={class:"list"},sM={class:"item"},dM={class:"content flex"},rM={class:"content flex"},cM={class:"item"},NM={class:"content flex"},DM={class:"content flex"},MM={class:"item"},gM={class:"content flexL"},mM={class:"clause"},EM={key:0,class:"definition flex"},yM={key:1,class:"definition flex"},IM={class:"item"},AM={class:"content"},pM={key:0,class:"item"},VM={class:"content"},TM={key:1,class:"item"},xM={class:"content"},zM={key:2,class:"item"},SM={class:"content"},CM={key:3,class:"item"},kM={class:"content"},jM={key:4,class:"item"},fM={key:5,class:"item"},UM={class:"definition flexM"},bM={class:"table"},OM={class:"summary"},YM={key:0,class:"summary-overall"},wM={class:"summary-overall-row"},QM={class:"card"},hM={class:"main-content"},BM={key:0},RM={key:1},FM={class:"card"},PM={class:"main-content"},GM={key:0},LM={key:1},WM={class:"card"},ZM={class:"main-content"},HM={key:0},JM={key:1},_M={class:"summary-overall-row"},XM={class:"card"},KM={class:"main-content"},qM={class:"card"},uM={class:"main-content"},$M={class:"card"},vM={class:"main-content"},e1={class:"card",style:{flex:"1.5"}},t1={class:"card-title"},l1={class:"card-segment"},o1={class:"card-segment"},n1={class:"card-segment"},a1={class:"uppercase"},i1={class:"card summary-card",style:{flex:"1"}},s1={key:0,class:"main-content"},d1={key:0,class:"iconfont success"},r1={key:1,class:"iconfont error"},c1={key:1,class:"main-content"},N1={class:"card-content",style:{"justify-content":"flex-start"}},D1={class:"card summary-card",style:{flex:"1"}},M1={key:0,class:"main-content"},g1={key:0,class:"iconfont success"},m1={key:1,class:"iconfont error"},E1={key:1,class:"main-content"},y1={class:"card-content",style:{"justify-content":"flex-start"}},I1={class:"card summary-card",style:{flex:"1"}},A1={key:0,class:"main-content"},p1={key:0,class:"iconfont success"},V1={key:1,class:"iconfont error"},T1={key:1,class:"main-content"},x1={class:"card-content",style:{"justify-content":"flex-start"}},z1={style:{"page-break-inside":"avoid"}},S1={class:"remarks"},C1={class:"item"},k1={class:"speed"},j1={class:"uppercase"},f1={class:"item"},U1={key:0,class:"remark-detail"},b1={key:1,class:"remark-detail"},O1={class:"page-avoid"},Y1={class:"dashed"},w1={class:"card phase-title-card",style:{flex:"0.5"}},Q1={class:"card-title"},h1={class:"card-segment"},B1={class:"card-segment"},R1={class:"card-segment"},F1={class:"uppercase"},P1={class:"phase-analysis"},G1={class:"card phase-card",style:{flex:"1"}},L1={class:"main-content"},W1={class:"main-content"},Z1={class:"card-content"},H1={class:"card-content"},J1={class:"card-content"},_1={class:"card-content"},X1={class:"card phase-card",style:{flex:"1"}},K1={class:"main-content"},q1={class:"main-content"},u1={class:"card-content"},$1={class:"card-content"},v1={class:"card-content"},eg={class:"card-content"},tg={class:"phase-analysis"},lg={class:"card phase-card",style:{flex:"1"}},og={class:"main-content"},ng={class:"main-content"},ag={class:"card-content"},ig={class:"card-content"},sg={class:"card-content"},dg={class:"card-content"},rg={class:"card phase-card",style:{flex:"1"}},cg={class:"main-content"},Ng={class:"main-content"},Dg={class:"card-content"},Mg={class:"card-content"},gg={class:"card-content"},mg={class:"card-content"},Eg={class:"card phase-card",style:{flex:"1"}},yg={class:"main-content"},Ig={class:"main-content"},Ag={class:"card-content"},pg={class:"card-content"},Vg={class:"card-content"},Tg={class:"card-content"},xg={class:"phase-analysis"},zg={class:"card phase-card",style:{flex:"1"}},Sg={class:"main-content"},Cg={class:"main-content"},kg={class:"card-content"},jg={class:"card-content"},fg={class:"card-content"},Ug={class:"card-content"},bg={class:"card phase-card",style:{flex:"1"}},Og={class:"main-content"},Yg={class:"main-content"},wg={class:"card-content"},Qg={class:"card-content"},hg={class:"card-content"},Bg={class:"card-content"},Rg={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},Fg={class:"main-content"},Pg={class:"card-content"},Gg={key:0},Lg={key:1},Wg={class:"phase-card"},Zg={class:"card",style:{flex:"1"}},Hg={key:0,class:"main-content"},Jg={key:0,class:"iconfont success"},_g={key:1,class:"iconfont error"},Xg={key:1,class:"main-content"},Kg={class:"nogwd"},qg={class:"card-content",style:{"justify-content":"flex-start"}},ug={key:0},$g={class:"equation"},vg={style:{width:"8%"}},em={style:{width:"10%"}},tm={class:"equation"},lm={style:{width:"8%"}},om={style:{width:"10%"}},nm={class:"equation"},am={style:{width:"8%"}},im={style:{width:"10%"}},sm={class:"phase-card"},dm={class:"card",style:{flex:"1"}},rm={key:0,class:"main-content"},cm={key:0,class:"iconfont success"},Nm={key:1,class:"iconfont error"},Dm={key:1,class:"main-content"},Mm={class:"nogwd"},gm={class:"card-content",style:{"justify-content":"flex-start"}},mm={key:0},Em={class:"equation"},ym={style:{width:"8%"}},Im={style:{width:"120px"}},Am={style:{width:"10%"}},pm={class:"equation"},Vm={style:{width:"8%"}},Tm={style:{width:"120px"}},xm={style:{width:"10%"}},zm={class:"equation"},Sm={style:{width:"8%"}},Cm={style:{width:"120px"}},km={style:{width:"10%"}},jm={key:0,class:"phase-card"},fm={class:"card",style:{flex:"1"}},Um={key:0,class:"main-content"},bm={key:0,class:"iconfont success"},Om={key:1,class:"iconfont error"},Ym={key:1,class:"main-content"},wm={class:"nogwd"},Qm={class:"card-content",style:{"justify-content":"flex-start"}},hm={key:0},Bm={class:"equation"},Rm={style:{width:"8%"}},Fm={style:{width:"120px"}},Pm={style:{width:"10%"}},Gm={class:"equation"},Lm={style:{width:"8%"}},Wm={style:{width:"120px"}},Zm={style:{width:"10%"}},Hm={class:"equation"},Jm={style:{width:"8%"}},_m={style:{width:"120px"}},Xm={style:{width:"10%"}},Km={class:"formular dashed",style:{"page-break-inside":"avoid"}},qm={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},um={class:""},$m={class:"equation"},vm={style:{width:"50%"},class:"fraction"},eE={class:"equation"},tE={style:{width:"50%"},class:"fraction"},lE={class:"equation"},oE={style:{width:"50%"},class:"fraction"},nE={class:"flexL formular-item",style:{"margin-left":"20px"}},aE={class:""},iE={class:"equation"},sE={style:{width:"25%"},class:"fraction"},dE={class:"equation"},rE={style:{width:"25%"},class:"fraction"},cE={class:"equation"},NE={style:{width:"25%"},class:"fraction"};function DE(o,t,l,d,a,i){var M,s,c,E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q,K,le,oe,n,Z,q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(M=l.reportData)==null?void 0:M.weather)!=null&&s.referenceOnly?"watermark":"")},[t[217]||(t[217]=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)),e.createElementVNode("div",uD,[t[214]||(t[214]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),e.createElementVNode("div",$D,[e.createElementVNode("div",vD,[e.createElementVNode("div",eM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",tM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",lM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",oM,e.toDisplayString((y=(E=l.reportData)==null?void 0:E.vessel)==null?void 0:y.name),1)]),e.createElementVNode("div",nM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",aM,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",iM,[e.createElementVNode("div",sM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",dM,e.toDisplayString(((g=(N=l.reportData)==null?void 0:N.departure)==null?void 0:g.portName)||i.computedLngLat((I=(p=l.reportData)==null?void 0:p.departure)==null?void 0:I.lat,(A=(V=l.reportData)==null?void 0:V.departure)==null?void 0:A.lng)),1),e.createElementVNode("div",rM,e.toDisplayString(i.computedTime((k=(C=l.reportData)==null?void 0:C.departure)==null?void 0:k.utcTime,"table")),1)]),e.createElementVNode("div",cM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",NM,e.toDisplayString(((z=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:z.portName)||i.computedLngLat((j=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:j.lat,(F=(R=l.reportData)==null?void 0:R.arrival)==null?void 0:F.lng)),1),e.createElementVNode("div",DM,e.toDisplayString(i.computedTime((G=(P=l.reportData)==null?void 0:P.arrival)==null?void 0:G.utcTime,"table")),1)]),e.createElementVNode("div",MM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",gM,e.toDisplayString((b=(D=l.reportData)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)])])]),t[215]||(t[215]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),e.createElementVNode("div",mM,[(O=(w=l.reportData)==null?void 0:w.weather)!=null&&O.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",EM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",yM,[e.createElementVNode("div",IM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",AM,"BF "+e.toDisplayString(((B=(f=l.reportData)==null?void 0:f.weather)==null?void 0:B.windScale)||"-"),1)]),(Q=(L=l.reportData)==null?void 0:L.weather)!=null&&Q.waveSwitch?(e.openBlock(),e.createElementBlock("div",pM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",VM,e.toDisplayString(((le=(K=l.reportData)==null?void 0:K.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(n=(oe=l.reportData)==null?void 0:oe.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",TM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",xM,e.toDisplayString(((q=(Z=l.reportData)==null?void 0:Z.weather)==null?void 0:q.swellHeight)||"-")+" Meter",1)])):($=(u=l.reportData)==null?void 0:u.weather)!=null&&$.sigSwitch?(e.openBlock(),e.createElementBlock("div",zM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",SM,e.toDisplayString(((ee=(v=l.reportData)==null?void 0:v.weather)==null?void 0:ee.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ae=(ne=l.reportData)==null?void 0:ne.weather)!=null&&ae.waveSwitch||(ce=(ie=l.reportData)==null?void 0:ie.weather)!=null&&ce.swellHeight||(de=(_=l.reportData)==null?void 0:_.weather)!=null&&de.sigSwitch?(e.openBlock(),e.createElementBlock("div",CM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",kM,e.toDisplayString((De=(Ne=l.reportData)==null?void 0:Ne.weather)==null?void 0:De.seaScale),1)])):e.createCommentVNode("",!0),(Me=(se=l.reportData)==null?void 0:se.weather)!=null&&Me.noAdverseCur?(e.openBlock(),e.createElementBlock("div",jM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(me=(ge=l.reportData)==null?void 0:ge.weather)!=null&&me.noExtrapolation?(e.openBlock(),e.createElementBlock("div",fM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",UM,[e.createElementVNode("table",bM,[t[13]||(t[13]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(r,Y)=>(e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",null,e.toDisplayString(r==null?void 0:r.type),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.speed} | ${r==null?void 0:r.spdOfOver} , ${r.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.fo} | ${r==null?void 0:r.over} , ${r.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.dgo} | ${r==null?void 0:r.over} , ${r.under}`),1)]))),128))])])])]),t[216]||(t[216]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),e.createElementVNode("div",OM,[((ye=(Ee=l.reportData)==null?void 0:Ee.segments)==null?void 0:ye.length)>1?(e.openBlock(),e.createElementBlock("div",YM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",wM,[e.createElementVNode("div",QM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",hM,[(Te=(Ie=l.reportData)==null?void 0:Ie.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",BM,e.toDisplayString((ze=(xe=l.reportData)==null?void 0:xe.goodWx)==null?void 0:ze.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",RM,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",FM,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",PM,[(Ce=(Se=l.reportData)==null?void 0:Se.goodWx)!=null&&Ce.avgSpd?(e.openBlock(),e.createElementBlock("div",GM,e.toDisplayString((je=(ke=l.reportData)==null?void 0:ke.goodWx)==null?void 0:je.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",LM,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",WM,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",ZM,[(Ae=(fe=l.reportData)==null?void 0:fe.goodWx)!=null&&Ae.avgSpd?(e.openBlock(),e.createElementBlock("div",HM,e.toDisplayString((Ye=(Oe=l.reportData)==null?void 0:Oe.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",JM,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",_M,[e.createElementVNode("div",XM,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",KM,e.toDisplayString((S=(Ue=l.reportData)==null?void 0:Ue.allWx)==null?void 0:S.avgSpd)+" kts",1)]),e.createElementVNode("div",qM,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",uM,e.toDisplayString((we=(pe=l.reportData)==null?void 0:pe.allWx)==null?void 0:we.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",$M,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",vM,e.toDisplayString((Le=(Ge=l.reportData)==null?void 0:Ge.allWx)==null?void 0:Le.avgDgoEcaCons)+" mt",1)])]),t[21]||(t[21]=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))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=l.reportData)==null?void 0:h.segments,(r,Y)=>{var Ve,be,Qe;return e.openBlock(),e.createElementBlock("div",{key:Y,class:"summary-seg"},[e.createElementVNode("div",e1,[e.createElementVNode("div",t1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(Y+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(re,Fe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Fe,class:e.normalizeClass(a.segDetail[Y].length>1?"dashed":"")},[e.createElementVNode("div",l1,[e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.port1),1),e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.time1),1)]),e.createElementVNode("div",o1,[e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.port2),1),e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.time2),1)])],2))),128)),e.createElementVNode("div",n1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",a1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",i1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ve=r.goodWx)!=null&&Ve.distance?(e.openBlock(),e.createElementBlock("div",s1,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",d1,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",r1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",c1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",N1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",D1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(be=r.goodWx)!=null&&be.distance?(e.openBlock(),e.createElementBlock("div",M1,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",g1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",m1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",E1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",y1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",I1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Qe=r.goodWx)!=null&&Qe.distance?(e.openBlock(),e.createElementBlock("div",A1,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",p1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",V1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",T1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",x1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",z1,[t[29]||(t[29]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),e.createElementVNode("div",S1,[e.createElementVNode("div",C1,[t[27]||(t[27]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((We=l.reportData)==null?void 0:We.segments,(r,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:"remark-speed"},[e.createElementVNode("div",k1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Y+1}. Phase ${Y+1} Applied `)+" ",1),e.createElementVNode("span",j1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(Ve,be)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+be},e.toDisplayString(`${Ve.port1} (${Ve.fullTime1}) to ${Ve.port2} (${Ve.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",f1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",U1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(r,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",b1,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=l.reportData)==null?void 0:Ze.segments,(r,Y)=>{var Ve,be,Qe,re,Fe,He,Je,qe,ue,$e,ve,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,At,pt,Vt,Tt,zt,St,Ct,kt,jt,ft,Ut,bt,Ot,Yt,wt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Lt,Wt,Zt,Ht,Jt,_t,T,he,_e,Xe,et,U,Xt,Kt,qt,ut,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Al,pl,Vl,Tl,xl,zl,Sl,Cl,kl,jl,fl,Ul,bl,Ol,Yl,wl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Ll,Wl,_l,Xl,Kl,ql,ul,$l;return e.openBlock(),e.createElementBlock("div",{key:Y,class:"phase"},[e.createElementVNode("div",O1,[e.createElementVNode("div",Y1,[e.createElementVNode("div",w1,[e.createElementVNode("div",Q1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(Y+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(tt,vl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+vl,class:e.normalizeClass(a.segDetail[Y].length>1?"dashed":"")},[e.createElementVNode("div",h1,[e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.port1),1),e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.time1),1)]),e.createElementVNode("div",B1,[e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.port2),1),e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.time2),1)])],2))),128)),e.createElementVNode("div",R1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",F1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])])]),t[212]||(t[212]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),e.createElementVNode("div",P1,[e.createElementVNode("div",G1,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",L1,[e.createElementVNode("span",null,e.toDisplayString(((Ve=r.goodWx)==null?void 0:Ve.avgFoEcaCons)||"-")+" mt",1)]),t[41]||(t[41]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",W1,[e.createElementVNode("span",null,e.toDisplayString(((be=r.allWx)==null?void 0:be.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Z1,[t[33]||(t[33]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Qe=r.goodWx)==null?void 0:Qe.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",H1,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((re=r.goodWx)==null?void 0:re.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",J1,[t[37]||(t[37]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Fe=r.allWx)==null?void 0:Fe.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",_1,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((He=r.allWx)==null?void 0:He.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=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))]),e.createElementVNode("div",X1,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",K1,[e.createElementVNode("span",null,e.toDisplayString(((Je=r.goodWx)==null?void 0:Je.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",q1,[e.createElementVNode("span",null,e.toDisplayString(((qe=r.allWx)==null?void 0:qe.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u1,[t[44]||(t[44]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ue=r.goodWx)==null?void 0:ue.outEca.avgDgoCons)||"-"),1),t[43]||(t[43]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$1,[t[46]||(t[46]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=r.goodWx)==null?void 0:$e.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",v1,[t[48]||(t[48]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=r.allWx)==null?void 0:ve.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",eg,[t[50]||(t[50]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.avgDgoEcaCons)||"-"),1),t[49]||(t[49]=e.createElementVNode("span",null,"mt",-1))])]),t[53]||(t[53]=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))])]),e.createElementVNode("div",tg,[e.createElementVNode("div",lg,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",og,[e.createElementVNode("span",null,e.toDisplayString(((nt=r.goodWx)==null?void 0:nt.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",ng,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",ag,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.goodWx)==null?void 0:it.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",ig,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.goodWx)==null?void 0:st.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",sg,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=r.allWx)==null?void 0:dt.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",dg,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=r.allWx)==null?void 0:rt.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",rg,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",cg,[e.createElementVNode("span",null,e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Ng,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Dg,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Mg,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.goodWx)==null?void 0:Mt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",gg,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",mg,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",Eg,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",yg,[e.createElementVNode("span",null,e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",Ig,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ag,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.goodWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",pg,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Vg,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.allWx)==null?void 0:pt.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Tg,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=r.allWx)==null?void 0:Vt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",xg,[e.createElementVNode("div",zg,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Sg,[e.createElementVNode("span",null,e.toDisplayString(((Tt=r.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Cg,[e.createElementVNode("span",null,e.toDisplayString(((zt=r.allWx)==null?void 0:zt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",kg,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",jg,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=r.goodWx)==null?void 0:Ct.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",fg,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Ug,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((jt=r.allWx)==null?void 0:jt.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",bg,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",Og,[e.createElementVNode("span",null,e.toDisplayString(((ft=r.goodWx)==null?void 0:ft.sumDgoCons)||"-")+" mt",1)]),t[103]||(t[103]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),e.createElementVNode("div",Yg,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",wg,[t[95]||(t[95]=e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=r.goodWx)==null?void 0:bt.outEca.sumDgoCons)||"-"),1),t[94]||(t[94]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Qg,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",hg,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Yt=r.allWx)==null?void 0:Yt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Bg,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Rg,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",Fg,[e.createElementVNode("span",null,e.toDisplayString(((Qt=r.goodWx)==null?void 0:Qt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",Pg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(ht=r.goodWx)!=null&&ht.distance&&!((Rt=(Bt=l.reportData)==null?void 0:Bt.weather)!=null&&Rt.favorableCur&&((Ft=r.goodWx)==null?void 0:Ft.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",Gg,[e.createTextVNode(e.toDisplayString(i.computedPositive((Pt=r.goodWx)==null?void 0:Pt.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",Lg,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",Wg,[e.createElementVNode("div",Zg,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Gt=r.goodWx)!=null&&Gt.distance?(e.openBlock(),e.createElementBlock("div",Hg,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",qg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lt=r.goodWx)!=null&&Lt.distance?"":"analysis-none"} card analysis-card`)},[(Wt=r.goodWx)!=null&&Wt.distance?(e.openBlock(),e.createElementBlock("div",ug,[e.createElementVNode("div",$g,[t[109]||(t[109]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),t[110]||(t[110]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",vg,[e.createElementVNode("div",null,e.toDisplayString((Ht=(Zt=l.reportData)==null?void 0:Zt.weather)!=null&&Ht.noExtrapolation?(Jt=r.goodWx)==null?void 0:Jt.distance:(_t=r.allWx)==null?void 0:_t.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((T=r.goodWx)==null?void 0:T.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",em,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",tm,[t[114]||(t[114]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),t[115]||(t[115]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",lm,[e.createElementVNode("div",null,e.toDisplayString((_e=(he=l.reportData)==null?void 0:he.weather)!=null&&_e.noExtrapolation?(Xe=r.goodWx)==null?void 0:Xe.distance:(et=r.allWx)==null?void 0:et.distance),1),t[113]||(t[113]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",om,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",nm,[t[119]||(t[119]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),t[120]||(t[120]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",am,[e.createElementVNode("div",null,e.toDisplayString((Xt=(U=l.reportData)==null?void 0:U.weather)!=null&&Xt.noExtrapolation?(Kt=r.goodWx)==null?void 0:Kt.distance:(qt=r.allWx)==null?void 0:qt.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.plusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",im,e.toDisplayString(r.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),t[122]||(t[122]=e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1))])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",sm,[e.createElementVNode("div",dm,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(ut=r.goodWx)!=null&&ut.distance?(e.openBlock(),e.createElementBlock("div",rm,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",cm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Dm,[e.createElementVNode("span",Mm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",gm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=r.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(vt=r.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",mm,[e.createElementVNode("div",Em,[t[126]||(t[126]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[127]||(t[127]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",ym,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ll=r.goodWx)==null?void 0:ll.distance:(ol=r.allWx)==null?void 0:ol.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((nl=r.goodWx)==null?void 0:nl.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Im,[e.createElementVNode("div",null,e.toDisplayString((al=r.goodWx)==null?void 0:al.sumFoCons)+" "+e.toDisplayString(((il=r.allWx)==null?void 0:il.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((sl=r.goodWx)==null?void 0:sl.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Am,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",pm,[t[134]||(t[134]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[135]||(t[135]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Vm,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?(cl=r.goodWx)==null?void 0:cl.distance:(Nl=r.allWx)==null?void 0:Nl.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Tm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.overTolerance),1),t[132]||(t[132]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[133]||(t[133]=e.createElementVNode("div",null,"24",-1))]),t[137]||(t[137]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",xm,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",zm,[t[142]||(t[142]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[143]||(t[143]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Sm,[e.createElementVNode("div",null,e.toDisplayString((Ml=(Dl=l.reportData)==null?void 0:Dl.weather)!=null&&Ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(ml=r.allWx)==null?void 0:ml.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Cm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.underTolerance),1),t[140]||(t[140]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[141]||(t[141]=e.createElementVNode("div",null,"24",-1))]),t[145]||(t[145]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",km,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((yl=(El=r==null?void 0:r.extend)==null?void 0:El.cp)==null?void 0:yl.dgo)>0?(e.openBlock(),e.createElementBlock("div",jm,[e.createElementVNode("div",fm,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Al=r.goodWx)!=null&&Al.distance?(e.openBlock(),e.createElementBlock("div",Um,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Om,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Ym,[e.createElementVNode("span",wm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",Qm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(pl=r.goodWx)!=null&&pl.distance?"":"analysis-none"} card analysis-card`)},[(Vl=r.goodWx)!=null&&Vl.distance?(e.openBlock(),e.createElementBlock("div",hm,[e.createElementVNode("div",Bm,[t[150]||(t[150]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[151]||(t[151]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Rm,[e.createElementVNode("div",null,e.toDisplayString((xl=(Tl=l.reportData)==null?void 0:Tl.weather)!=null&&xl.noExtrapolation?(zl=r.goodWx)==null?void 0:zl.distance:(Sl=r.allWx)==null?void 0:Sl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cl=r.goodWx)==null?void 0:Cl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Fm,[e.createElementVNode("div",null,e.toDisplayString((kl=r.goodWx)==null?void 0:kl.sumDgoCons)+" "+e.toDisplayString(((jl=r.allWx)==null?void 0:jl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fl=r.goodWx)==null?void 0:fl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Pm,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Gm,[t[158]||(t[158]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Lm,[e.createElementVNode("div",null,e.toDisplayString((bl=(Ul=l.reportData)==null?void 0:Ul.weather)!=null&&bl.noExtrapolation?(Ol=r.goodWx)==null?void 0:Ol.distance:(Yl=r.allWx)==null?void 0:Yl.distance),1),t[155]||(t[155]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[160]||(t[160]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Wm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.overTolerance),1),t[156]||(t[156]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[157]||(t[157]=e.createElementVNode("div",null,"24",-1))]),t[161]||(t[161]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Zm,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Hm,[t[166]||(t[166]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[167]||(t[167]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Jm,[e.createElementVNode("div",null,e.toDisplayString((Ql=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Ql.noExtrapolation?(hl=r.goodWx)==null?void 0:hl.distance:(Bl=r.allWx)==null?void 0:Bl.distance),1),t[163]||(t[163]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[168]||(t[168]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",_m,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.underTolerance),1),t[164]||(t[164]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[165]||(t[165]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Xm,e.toDisplayString(r.fuelConclusion.dgo.minCons)+" MT",1),t[170]||(t[170]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),t[213]||(t[213]=e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),e.createElementVNode("div",Km,[e.createElementVNode("div",qm,[t[187]||(t[187]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),e.createElementVNode("div",um,[e.createElementVNode("div",$m,[t[173]||(t[173]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),t[174]||(t[174]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((Fl=(Rl=l.reportData)==null?void 0:Rl.weather)!=null&&Fl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[171]||(t[171]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[172]||(t[172]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[175]||(t[175]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1))]),e.createElementVNode("div",eE,[t[178]||(t[178]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),t[179]||(t[179]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",tE,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[176]||(t[176]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[177]||(t[177]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[180]||(t[180]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1))]),e.createElementVNode("div",lE,[t[183]||(t[183]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t[184]||(t[184]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",oE,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=l.reportData)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[181]||(t[181]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[182]||(t[182]=e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1))]),t[185]||(t[185]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1))]),t[186]||(t[186]=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))])]),e.createElementVNode("div",nE,[t[211]||(t[211]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),e.createElementVNode("div",aE,[e.createElementVNode("div",iE,[t[190]||(t[190]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t[191]||(t[191]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",sE,[e.createElementVNode("div",null,e.toDisplayString((Xl=(_l=l.reportData)==null?void 0:_l.weather)!=null&&Xl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[188]||(t[188]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[189]||(t[189]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[192]||(t[192]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[193]||(t[193]=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)),t[194]||(t[194]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1))]),e.createElementVNode("div",dE,[t[197]||(t[197]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),t[198]||(t[198]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",rE,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=l.reportData)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[195]||(t[195]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[196]||(t[196]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[199]||(t[199]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[200]||(t[200]=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)),t[201]||(t[201]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1))]),e.createElementVNode("div",cE,[t[204]||(t[204]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),t[205]||(t[205]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",NE,[e.createElementVNode("div",null,e.toDisplayString(($l=(ul=l.reportData)==null?void 0:ul.weather)!=null&&$l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[202]||(t[202]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[203]||(t[203]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[206]||(t[206]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[207]||(t[207]=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)),t[208]||(t[208]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1))]),t[209]||(t[209]=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)),t[210]||(t[210]=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))])])])])])}),128))])],2)}const ME=Re(qD,[["render",DE],["__scopeId","data-v-b0ef3073"]]),GY="",gE={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,t,l,d){var M;let a="";const i=((M=this.summaryTable)==null?void 0:M.length)-1;return l&&t!==i&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(a=a+" excluded"),a}},computedSegClass(){return function(o,t){var d,a;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((a=this.summaryTable[t+1])!=null&&a.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?J(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?J(o).utc().format("MMMM-DD/HHmm[Z]"):J(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${te.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,a,i,M;this.showCF=(a=(d=this.reportData)==null?void 0:d.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(M=(i=this.reportData)==null?void 0:i.segments)==null||M.forEach((s,c)=>{let E=s.extend.cp;s.inventory.sample.hours.forEach((y,N)=>{let g=JSON.parse(JSON.stringify(y));g.cp=E,o.push(g)})}),o.sort(function(s,c){let E=s.date,y=c.date;return E-y});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let E=s.type.charAt(0);s.abbreviation=E;const y=J(s.utc).utc().format("D-MMM");y!==l&&(s.lastdate=y,l=y),E==="A"?s.type="":E==="M"&&(s.type="*"),s.time=J(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},mE={id:"second-table",class:"table"},EE={class:"summary-table"},yE={class:"summary-tbody"},IE={class:"voyage-map",style:{"page-break-inside":"avoid"}},AE=["src"];function pE(o,t,l,d,a,i){var M,s,c,E,y;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(M=l.reportData)==null?void 0:M.weather)!=null&&s.referenceOnly||(E=(c=l.reportData)==null?void 0:c.weather)!=null&&E.overallAsGoodWx?"watermark fli-main":"fli-main")},[t[3]||(t[3]=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)),e.createElementVNode("div",mE,[e.createElementVNode("div",null,[e.createElementVNode("table",EE,[t[0]||(t[0]=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)),e.createElementVNode("tbody",yE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(N,g)=>{var p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q;return e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",{class:e.normalizeClass(i.computedSegClass(N,g))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.time),3),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString((p=N.noon)==null?void 0:p.port),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(I=N.cp)==null?void 0:I.speed),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((A=(V=N.meteo)==null?void 0:V.wind)==null?void 0:A.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((x=(k=(C=N.meteo)==null?void 0:C.wave)==null?void 0:k.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((j=(m=(z=N.meteo)==null?void 0:z.wave)==null?void 0:m.swell)==null?void 0:j.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((P=(F=(R=N.meteo)==null?void 0:R.wave)==null?void 0:F.sig)==null?void 0:P.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((G=N.meteo)==null?void 0:G.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((D=N.noon)==null?void 0:D.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((b=N.noon)==null?void 0:b.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(w=N.cp)==null?void 0:w.fo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(O=N.cp)==null?void 0:O.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((f=N.noon)==null?void 0:f.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((B=N.noon)==null?void 0:B.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":(L=N.noon)==null?void 0:L.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":(Q=N.noon)==null?void 0:Q.dgoBrob),3)])}),128))])])])]),t[4]||(t[4]=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1)),e.createElementVNode("div",IE,[t[1]||(t[1]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),e.createElementVNode("img",{style:{width:"100%"},src:(y=l.reportData)==null?void 0:y.chartUrl,alt:""},null,8,AE),t[2]||(t[2]=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>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-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1))])],2)}const VE=Re(gE,[["render",pE],["__scopeId","data-v-ec7ec0f5"]]),LY="",TE={components:{Summary:ME,Inventory:VE},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},xE={class:"voyage-report"};function zE(o,t,l,d,a,i){const M=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",xE,[e.createVNode(M,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:i.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const is=Re(TE,[["render",zE],["__scopeId","data-v-77dca605"]]),WY="",SE={name:"OrmVoyageSummary",components:{Lng:On,Lat:Yn,Editor:Jl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(o){return te.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return te.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t){return o.consPercentage?t==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:t==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(i=>{const M={time:J(i.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+J(i.end).utc().format("MMM-DD/HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.exclusion.push(M)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},CE={class:"report-summary"},kE={class:"section voyage-section flex-space"},jE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},fE={class:"flex-space label-block",style:{width:"100%"}},UE={style:{"text-transform":"uppercase"}},bE={class:"flex-space label-block",style:{width:"100%"}},OE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YE={class:"flex-space label-block",style:{width:"100%"}},wE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},QE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},hE={class:"flex-space label-block",style:{width:"100%"}},BE={key:0,class:"flex-end",style:{flex:"1"}},RE={key:1,class:"flex-end",style:{flex:"1"}},FE={class:"flex-end",style:{width:"150px"}},PE={class:"flex-space label-block",style:{width:"100%"}},GE={key:0,class:"flex-end",style:{flex:"1"}},LE={key:1,class:"flex-end",style:{flex:"1"}},WE={class:"flex-end",style:{width:"150px"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},JE={class:"section weather-section"},_E={class:"definition"},XE={class:"txt"},KE={class:"section summary-section"},qE={class:"phase-box"},uE={class:"phase-index"},$E={class:"phase-position"},vE={key:0},ey={key:1},ty={class:"phase-position"},ly={key:0},oy={key:1},ny={class:"phase-cp flex-space"},ay={class:"cp-box"},iy={class:"flex-space"},sy={class:"phase-conclusion flex-space"},dy={class:"item-conclusion"},ry={class:"value flex-start"},cy={key:0,class:"label flex-end"},Ny={key:0},Dy={key:1},My={key:2},gy={key:1,class:"label flex-end"},my={key:2,class:"value flex-end"},Ey={key:0},yy={class:"gain"},Iy={key:1},Ay={class:"lost"},py={key:2},Vy={class:"item-conclusion"},Ty={class:"value flex-start"},xy={key:0,class:"label flex-end"},zy={key:0},Sy={key:1},Cy={key:2},ky={key:1,class:"label flex-end"},jy={key:2,class:"value flex-end"},fy={key:0},Uy={class:"gain"},by={key:1},Oy={class:"lost"},Yy={key:2},wy={class:"item-conclusion"},Qy={class:"value flex-start"},hy={key:0,class:"label flex-end"},By={key:0},Ry={key:1},Fy={key:2},Py={key:1,class:"label flex-end"},Gy={key:2,class:"value flex-end"},Ly={key:0},Wy={class:"gain"},Zy={key:1},Hy={class:"lost"},Jy={key:2},_y={key:0,class:"exclusion-block"},Xy={style:{margin:"8px 0"}},Ky={class:"remark-table"},qy=["innerHTML"],uy={class:"section segment-section"},$y={class:"segment-index flex-center"},vy={class:"segment-position"},eI={key:0},tI={key:1},lI={class:"segment-position"},oI={key:0},nI={key:1},aI={style:{margin:"10px 0 0"}},iI={class:"good-wx"},sI={class:"good-wx"},dI={class:"good-wx"},rI={class:"good-wx"},cI={class:"good-wx"},NI={class:"good-wx"},DI={class:"good-wx"},MI={class:"good-wx"},gI={class:"good-wx"},mI={class:"good-wx"},EI={class:"good-wx"},yI={class:"good-wx"},II={class:"good-wx"},AI={class:"good-wx"},pI={key:0,class:"flex-end tip"},VI={key:1,class:"segment-speed"},TI={class:"flex-center"},xI={class:"speed-right flex-space"},zI={class:"speed"},SI={key:1,class:"speed"},CI={key:0,class:"speed"},kI={class:"speed"},jI={class:"speed"},fI={class:"speed"},UI={key:2,class:"under"},bI={key:3,class:"over"},OI={class:"flex-center"},YI={class:"speed-right formula flex-space"},wI={key:0},QI={key:2,class:"segment-speed"},hI={class:"flex-center"},BI={class:"speed-right flex-space"},RI={class:"speed"},FI={class:"speed"},PI={key:2,class:"under"},GI={key:3,class:"over"},LI={class:"flex-center"},WI={class:"speed-right formula flex-space"},ZI={class:"segment-formula"},HI={class:"header-block flex-start"},JI={class:"title"},_I={key:0,style:{"margin-left":"4px","font-weight":"300"}},XI={class:"formula-block"},KI={class:"flex-evenly"},qI={class:"formula-right flex-evenly"},uI={class:"fraction",style:{width:"240px"}},$I={class:"flex-center"},vI={class:"formula-left flex-space"},eA={class:"formula-right flex-evenly"},tA={class:"fraction",style:{width:"240px"}},lA={class:"flex-center"},oA={class:"formula-left flex-space"},nA={class:"formula-right flex-evenly"},aA={class:"fraction",style:{width:"240px"}},iA={class:"formula-desc"},sA={class:"flex-end"},dA={class:"flex-end"},rA={class:"flex-end"},cA={key:0,class:"formula-block",style:{"font-weight":"400"}},NA={class:"flex-evenly"},DA={class:"formula-right flex-evenly"},MA={class:"fraction",style:{width:"240px"}},gA={class:"flex-center"},mA={class:"formula-left flex-space"},EA={class:"formula-right flex-evenly"},yA={class:"fraction",style:{width:"240px"}},IA={class:"flex-center"},AA={class:"formula-left flex-space"},pA={class:"formula-right flex-evenly"},VA={class:"fraction",style:{width:"240px"}},TA={class:"formula-conclusion",style:{"margin-bottom":"0"}},xA={key:0,class:"flex-evenly",style:{width:"500px"}},zA={key:1,class:"flex-evenly",style:{width:"500px"}},SA={key:1,class:"formula-conclusion"},CA={class:"segment-formula"},kA={class:"header-block flex-start"},jA={class:"title"},fA={key:0,style:{"margin-left":"4px","font-weight":"300"}},UA={class:"formula-block"},bA={class:"flex-evenly"},OA={class:"formula-right flex-evenly"},YA={class:"fraction",style:{width:"240px"}},wA={style:{"line-height":"1"}},QA={key:0,class:"tips flex-end",style:{"font-size":"14px"}},hA={class:"flex-center"},BA={class:"formula-right flex-evenly"},RA={class:"fraction",style:{width:"240px"}},FA={class:"flex-center"},PA={class:"formula-right flex-evenly"},GA={class:"fraction",style:{width:"240px"}},LA={class:"flex-center"},WA={class:"formula-right flex-evenly"},ZA={class:"fraction",style:{width:"270px"}},HA={class:"flex-center"},JA={class:"formula-right flex-evenly"},_A={class:"fraction",style:{width:"270px"}},XA={class:"header-block flex-start",style:{"margin-top":"10px"}},KA={class:"title"},qA={key:0,class:"formula-block"},uA={key:0,class:"flex-evenly"},$A={class:"formula-right flex-evenly"},vA={class:"fraction",style:{width:"60px"}},ep={class:"fraction",style:{width:"60px"}},tp={class:"flex-evenly"},lp={class:"formula-right flex-evenly"},op={class:"fraction",style:{width:"240px"}},np={class:"fraction",style:{width:"240px"}},ap={key:0},ip={class:"flex-evenly"},sp={class:"formula-right flex-evenly"},dp={class:"fraction",style:{width:"240px"}},rp={class:"fraction",style:{width:"240px"}},cp={class:"flex-evenly"},Np={class:"formula-right flex-evenly"},Dp={class:"fraction",style:{width:"240px"}},Mp={class:"fraction",style:{width:"240px"}},gp={class:"formula-conclusion",style:{"margin-bottom":"0"}},mp={class:"flex-evenly",style:{width:"500px"}},Ep={key:0,class:"flex-evenly"},yp={class:"fraction"},Ip={class:"flex-evenly",style:{width:"700px"}},Ap={key:0,class:"flex-evenly",style:{width:"500px"}},pp={class:"fraction",style:{width:"140px"}},Vp={key:1,class:"formula-conclusion"},Tp={class:"header-block flex-end",style:{"margin-top":"10px"}},xp={class:"title"},zp={key:0,class:"formula-block"},Sp={class:"flex-evenly"},Cp={class:"formula-right flex-evenly"},kp={class:"fraction",style:{width:"240px"}},jp={class:"fraction",style:{width:"240px"}},fp={key:0},Up={class:"flex-evenly"},bp={class:"formula-right flex-evenly"},Op={class:"fraction",style:{width:"240px"}},Yp={class:"fraction",style:{width:"240px"}},wp={class:"flex-evenly"},Qp={class:"formula-right flex-evenly"},hp={class:"fraction",style:{width:"240px"}},Bp={class:"fraction",style:{width:"240px"}},Rp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Fp={key:0,class:"flex-evenly",style:{width:"500px"}},Pp={key:1,class:"flex-evenly",style:{width:"700px"}},Gp={key:1,class:"formula-conclusion"};function Lp(o,t,l,d,a,i){var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q,K,le,oe;const M=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",CE,[e.createElementVNode("div",kE,[e.createElementVNode("div",jE,[e.createElementVNode("div",fE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",UE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",bE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",OE,e.toDisplayString((y=(E=l.report)==null?void 0:E.vessel)==null?void 0:y.name)+" ("+e.toDisplayString((g=(N=l.report)==null?void 0:N.vessel)==null?void 0:g.type)+")",1)]),e.createElementVNode("div",YE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",wE,e.toDisplayString((I=(p=l.report)==null?void 0:p.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",QE,[e.createElementVNode("div",hE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(A=(V=l.report)==null?void 0:V.departure)!=null&&A.portName?(e.openBlock(),e.createElementBlock("span",BE,e.toDisplayString((k=(C=l.report)==null?void 0:C.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(M,{lat:(z=(x=l.report)==null?void 0:x.departure)==null?void 0:z.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(m=l.report.departure)==null?void 0:m.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",FE,e.toDisplayString(i.computeUTCTime((j=l.report.departure)==null?void 0:j.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",PE,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(F=(R=l.report)==null?void 0:R.arrival)!=null&&F.portName?(e.openBlock(),e.createElementBlock("span",GE,e.toDisplayString((G=(P=l.report)==null?void 0:P.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",LE,[e.createVNode(M,{lat:(b=(D=l.report)==null?void 0:D.arrival)==null?void 0:b.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[8]||(t[8]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(O=(w=l.report)==null?void 0:w.arrival)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",WE,e.toDisplayString(i.computeUTCTime((B=(f=l.report)==null?void 0:f.arrival)==null?void 0:B.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ZE,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",HE,e.toDisplayString((Q=(L=l.report)==null?void 0:L.voyage)==null?void 0:Q.loadCondition),1)])])]),e.createElementVNode("div",JE,[t[11]||(t[11]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),e.createElementVNode("div",_E,[e.createElementVNode("div",XE,e.toDisplayString(i.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",KE,[t[41]||(t[41]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((K=l.report)==null?void 0:K.segments,(n,Z)=>{var q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze,r;return e.openBlock(),e.createElementBlock("div",{key:"summary"+Z,class:"segment-box flex-space"},[e.createElementVNode("div",qE,[e.createElementVNode("div",uE,"Seg."+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Y,Ve)=>{var be,Qe,re,Fe,He,Je,qe,ue,$e,ve;return e.openBlock(),e.createElementBlock("div",{key:Ve,class:"phase-row flex-space"},[e.createElementVNode("div",$E,[(be=Y==null?void 0:Y.departure)!=null&&be.portName?(e.openBlock(),e.createElementBlock("span",vE,e.toDisplayString((Qe=Y==null?void 0:Y.departure)==null?void 0:Qe.portName),1)):(e.openBlock(),e.createElementBlock("span",ey,e.toDisplayString(i.computeLat((re=Y==null?void 0:Y.departure)==null?void 0:re.lat).pretty)+", "+e.toDisplayString(i.computeLng((Fe=Y==null?void 0:Y.departure)==null?void 0:Fe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((He=Y==null?void 0:Y.departure)==null?void 0:He.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",ty,[(Je=Y==null?void 0:Y.arrival)!=null&&Je.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((qe=Y==null?void 0:Y.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",oy,e.toDisplayString(i.computeLat((ue=Y==null?void 0:Y.arrival)==null?void 0:ue.lat).pretty)+", "+e.toDisplayString(i.computeLng(($e=Y==null?void 0:Y.arrival)==null?void 0:$e.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((ve=Y==null?void 0:Y.arrival)==null?void 0:ve.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",ny,[e.createElementVNode("div",ay,[t[20]||(t[20]=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)),e.createElementVNode("div",iy,[t[19]||(t[19]=e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(($=(u=n==null?void 0:n.extend)==null?void 0:u.cp)==null?void 0:$.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ee=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:ee.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ae=(ne=n==null?void 0:n.extend)==null?void 0:ne.cp)==null?void 0:ae.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ce=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:ce.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((de=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:de.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",sy,[e.createElementVNode("div",dy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",ry,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),t[21]||(t[21]=e.createElementVNode("div",{class:"unit"},"hrs",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",cy,[((Ne=n==null?void 0:n.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Ny,"Time Gained")):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Dy,"Time Lost")):(e.openBlock(),e.createElementBlock("div",My,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",gy,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",my,[((se=n==null?void 0:n.timeConclusion)==null?void 0:se.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Ey,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",yy,e.toDisplayString((Me=n==null?void 0:n.timeConclusion)==null?void 0:Me.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Iy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Ay,e.toDisplayString((me=n==null?void 0:n.timeConclusion)==null?void 0:me.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",py,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Vy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),t[27]||(t[27]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",xy,[((ye=(Ee=n==null?void 0:n.fuelConclusion)==null?void 0:Ee.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",zy,"FO Saving")):((Te=(Ie=n==null?void 0:n.fuelConclusion)==null?void 0:Ie.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Sy,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Cy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ky,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jy,[((ze=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",fy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Uy,e.toDisplayString((Ce=(Se=n==null?void 0:n.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Ce.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((je=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:je.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",by,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:Ae.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Yy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",wy,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",Qy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),t[33]||(t[33]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hy,[((Ye=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",By,"DO/GO Saving")):((S=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:S.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ry,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Fy,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Py,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Gy,[((we=(pe=n==null?void 0:n.fuelConclusion)==null?void 0:pe.dgo)==null?void 0:we.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ly,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Wy,e.toDisplayString((Le=(Ge=n==null?void 0:n.fuelConclusion)==null?void 0:Ge.dgo)==null?void 0:Le.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((We=(h=n==null?void 0:n.fuelConclusion)==null?void 0:h.dgo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Zy,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((r=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:r.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Jy,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((le=l.report)==null?void 0:le.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),a.exclusion.length?(e.openBlock(),e.createElementBlock("div",_y,[t[44]||(t[44]=e.createElementVNode("div",{class:"title"},"Exclusion",-1)),t[45]||(t[45]=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)),e.createElementVNode("div",Xy,[e.createElementVNode("table",Ky,[t[43]||(t[43]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(n,Z)=>(e.openBlock(),e.createElementBlock("tr",{key:Z},[e.createElementVNode("td",null,e.toDisplayString(Z+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((oe=l.report)==null?void 0:oe.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>a.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>i.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>i.handleEdit&&i.handleEdit(...n)),innerHTML:a.remarks},null,40,qy))],2)],2),e.createElementVNode("div",uy,[t[253]||(t[253]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(n,Z)=>{var q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze,r,Y,Ve,be,Qe,re,Fe,He,Je,qe,ue,$e,ve,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,At,pt,Vt,Tt,zt,St,Ct,kt,jt,ft,Ut,bt,Ot,Yt,wt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Lt,Wt,Zt,Ht,Jt,_t,T,he,_e,Xe,et,U,Xt,Kt,qt,ut,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Al,pl,Vl,Tl,xl,zl,Sl,Cl,kl,jl,fl,Ul,bl,Ol,Yl,wl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Ll,Wl,_l,Xl,Kl,ql,ul,$l,tt,vl,eo,to,lo,oo,no,ao,io,so,ro,co,No,Do,Mo,go,mo,Eo,yo,Io,Ao,po,Vo,To,xo,zo,So,Co,ko,jo,fo,Uo,bo,Oo,Yo,wo,Qo,ho,Bo,Ro,Fo,Po,Go,Lo,Wo,Zo,Ho,Jo,_o,Xo,Ko,qo,uo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,H,Il,cn,Nn,Dn,Mn,gn,mn,En,yn,Ke,An,pn,Vn,Tn,X,Zl,xn,zn,Sn,Cn,kn,jn,fn,Un,lt,Bn,Rn,Fn,Pn,Gn,Ln,Wn,Zn,Hn,Jn,_n,Xn,Kn,qn,un,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ga,ma,Ea,ya,Ia,Aa,pa,Va,Ta,xa,za,Sa,Ca,ka,ja,fa,Ua,ba,Oa,Ya,wa,Qa,ha,Ba,Ra,Fa,Pa,Ga,La,Wa,Za,Ha,Ja,_a,Xa,Ka,qa,ua,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,gi,mi,Ei,yi,Ii,Ai,pi,Vi,Ti,xi,zi,Si,Ci,ki,ji,fi,Ui,bi,Oi,Yi,wi,Qi,hi,Bi,Ri,Fi;return e.openBlock(),e.createElementBlock("div",{key:Z,class:"segment-block"},[e.createElementVNode("div",$y,"Voyage Analysis Seg. "+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Pe,es)=>{var Pi,Gi,Li,Wi,Zi,Hi,Ji,_i,Xi,Ki;return e.openBlock(),e.createElementBlock("div",{key:es,class:"segment-row flex-space"},[e.createElementVNode("div",vy,[(Pi=Pe==null?void 0:Pe.departure)!=null&&Pi.portName?(e.openBlock(),e.createElementBlock("span",eI,e.toDisplayString((Gi=Pe==null?void 0:Pe.departure)==null?void 0:Gi.portName),1)):(e.openBlock(),e.createElementBlock("span",tI,e.toDisplayString(i.computeLat((Li=Pe==null?void 0:Pe.departure)==null?void 0:Li.lat).pretty)+", "+e.toDisplayString(i.computeLng((Wi=Pe==null?void 0:Pe.departure)==null?void 0:Wi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Zi=Pe==null?void 0:Pe.departure)==null?void 0:Zi.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",lI,[(Hi=Pe==null?void 0:Pe.arrival)!=null&&Hi.portName?(e.openBlock(),e.createElementBlock("span",oI,e.toDisplayString((Ji=Pe==null?void 0:Pe.arrival)==null?void 0:Ji.portName),1)):(e.openBlock(),e.createElementBlock("span",nI,e.toDisplayString(i.computeLat((_i=Pe==null?void 0:Pe.arrival)==null?void 0:_i.lat).pretty)+", "+e.toDisplayString(i.computeLng((Xi=Pe==null?void 0:Pe.arrival)==null?void 0:Xi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Ki=Pe==null?void 0:Pe.arrival)==null?void 0:Ki.utcTime))+")",1)])])}),128)),t[250]||(t[250]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",aI,[e.createElementVNode("table",null,[t[55]||(t[55]=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)),t[56]||(t[56]=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)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",iI,e.toDisplayString(($=(u=n==null?void 0:n.goodWx)==null?void 0:u.outEca)==null?void 0:$.distance),1),e.createElementVNode("td",sI,e.toDisplayString((ee=(v=n==null?void 0:n.goodWx)==null?void 0:v.inEca)==null?void 0:ee.distance),1),e.createElementVNode("td",null,e.toDisplayString((ae=(ne=n==null?void 0:n.allWx)==null?void 0:ne.outEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=n==null?void 0:n.allWx)==null?void 0:ie.inEca)==null?void 0:ce.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",dI,e.toDisplayString((de=(_=n==null?void 0:n.goodWx)==null?void 0:_.outEca)==null?void 0:de.time),1),e.createElementVNode("td",rI,e.toDisplayString((De=(Ne=n==null?void 0:n.goodWx)==null?void 0:Ne.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((Me=(se=n==null?void 0:n.allWx)==null?void 0:se.outEca)==null?void 0:Me.time),1),e.createElementVNode("td",null,e.toDisplayString((me=(ge=n==null?void 0:n.allWx)==null?void 0:ge.inEca)==null?void 0:me.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",cI,e.toDisplayString(((ye=(Ee=n==null?void 0:n.goodWx)==null?void 0:Ee.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",NI,e.toDisplayString(((Te=(Ie=n==null?void 0:n.goodWx)==null?void 0:Ie.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(xe=n==null?void 0:n.allWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ce=(Se=n==null?void 0:n.allWx)==null?void 0:Se.inEca)==null?void 0:Ce.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",DI,e.toDisplayString(((je=(ke=n==null?void 0:n.goodWx)==null?void 0:ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",MI,e.toDisplayString(((Ae=(fe=n==null?void 0:n.goodWx)==null?void 0:fe.inEca)==null?void 0:Ae.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((S=(Ue=n==null?void 0:n.allWx)==null?void 0:Ue.inEca)==null?void 0:S.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",gI,e.toDisplayString(((we=(pe=n==null?void 0:n.goodWx)==null?void 0:pe.outEca)==null?void 0:we.avgFoCons)||"--"),1),e.createElementVNode("td",mI,e.toDisplayString(((Le=(Ge=n==null?void 0:n.goodWx)==null?void 0:Ge.inEca)==null?void 0:Le.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((We=(h=n==null?void 0:n.allWx)==null?void 0:h.outEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.inEca)==null?void 0:r.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",EI,e.toDisplayString(((Ve=(Y=n==null?void 0:n.goodWx)==null?void 0:Y.outEca)==null?void 0:Ve.sumDgoCons)||"--"),1),e.createElementVNode("td",yI,e.toDisplayString(((Qe=(be=n==null?void 0:n.goodWx)==null?void 0:be.inEca)==null?void 0:Qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(re=n==null?void 0:n.allWx)==null?void 0:re.outEca)==null?void 0:Fe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(He=n==null?void 0:n.allWx)==null?void 0:He.inEca)==null?void 0:Je.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[54]||(t[54]=e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),e.createElementVNode("td",II,e.toDisplayString(((ue=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:ue.avgDgoCons)||"--"),1),e.createElementVNode("td",AI,e.toDisplayString(((ve=($e=n==null?void 0:n.goodWx)==null?void 0:$e.inEca)==null?void 0:ve.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((nt=(ot=n==null?void 0:n.allWx)==null?void 0:ot.outEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.inEca)==null?void 0:it.avgDgoCons)||"--"),1)])])]),(st=a.exclusion[Z])!=null&&st.time?(e.openBlock(),e.createElementBlock("div",pI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(dt=n==null?void 0:n.goodWx)!=null&&dt.distance?(e.openBlock(),e.createElementBlock("div",VI,[e.createElementVNode("div",TI,[t[66]||(t[66]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",xI,[(ct=(rt=l.report)==null?void 0:rt.weather)!=null&&ct.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Vt=(pt=l.report)==null?void 0:pt.weather)!=null&&Vt.disableWxFactor&&((zt=(Tt=l.report)==null?void 0:Tt.weather)!=null&&zt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",CI,e.toDisplayString((St=n==null?void 0:n.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(kt=(Ct=l.report)==null?void 0:Ct.weather)!=null&&kt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((jt=n==null?void 0:n.goodWx)==null?void 0:jt.avgSpd),1),t[59]||(t[59]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ft=n==null?void 0:n.goodWx)==null?void 0:ft.avgCf)>0?(Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf:`(${(bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf})`),1),t[60]||(t[60]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",kI,e.toDisplayString((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.pfmSpd)+" (kts)",1)],64)):(wt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&wt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Qt=n==null?void 0:n.goodWx)==null?void 0:Qt.avgSpd),1),t[61]||(t[61]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ht=n==null?void 0:n.goodWx)==null?void 0:ht.avgWf)>0?(Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgWf:`(${(Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf})`),1),t[62]||(t[62]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",jI,e.toDisplayString((Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgSpd),1),t[63]||(t[63]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.avgWf)>0?(Lt=n==null?void 0:n.goodWx)==null?void 0:Lt.avgWf:`(${(Wt=n==null?void 0:n.goodWx)==null?void 0:Wt.avgWf})`),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgCf)>0?(Ht=n==null?void 0:n.goodWx)==null?void 0:Ht.avgCf:`(${(Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.avgCf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",fI,e.toDisplayString((_t=n==null?void 0:n.goodWx)==null?void 0:_t.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(Nt=l.report)==null?void 0:Nt.weather)!=null&&Dt.favorableCur&&((Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",SI,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgSpd),1),t[57]||(t[57]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((mt=n==null?void 0:n.goodWx)==null?void 0:mt.avgCf)>0?(Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf:`(${(yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgCf})`),1),t[58]||(t[58]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",zI,e.toDisplayString((It=n==null?void 0:n.goodWx)==null?void 0:It.pfmSpd)+" (kts)",1)],64))],64)),((T=n==null?void 0:n.goodWx)==null?void 0:T.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",UI,"(Under-performance)")):e.createCommentVNode("",!0),((he=n==null?void 0:n.goodWx)==null?void 0:he.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",bI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",OI,[t[83]||(t[83]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",YI,[(Xe=(_e=l.report)==null?void 0:_e.weather)!=null&&Xe.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(qt=(Kt=l.report)==null?void 0:Kt.weather)!=null&&qt.disableWxFactor&&(($t=(ut=l.report)==null?void 0:ut.weather)!=null&&$t.disableCFactor)?(e.openBlock(),e.createElementBlock("label",wI,"GW Average Speed")):(el=(vt=l.report)==null?void 0:vt.weather)!=null&&el.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[72]||(t[72]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[73]||(t[73]=e.createElementVNode("label",null,"-",-1)),t[74]||(t[74]=e.createElementVNode("label",null,"GW Current Factor",-1))],64)):(ll=(tl=l.report)==null?void 0:tl.weather)!=null&&ll.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t[75]||(t[75]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[76]||(t[76]=e.createElementVNode("label",null,"-",-1)),t[77]||(t[77]=e.createElementVNode("label",null,"GW Weather Factor",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[78]||(t[78]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[79]||(t[79]=e.createElementVNode("label",null,"-",-1)),t[80]||(t[80]=e.createElementVNode("label",null,"GW Weather Factor",-1)),t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(U=(et=l.report)==null?void 0:et.weather)!=null&&U.favorableCur&&((Xt=n==null?void 0:n.goodWx)==null?void 0:Xt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[67]||(t[67]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[68]||(t[68]=e.createElementVNode("label",null,"-",-1)),t[69]||(t[69]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",QI,[e.createElementVNode("div",hI,[t[89]||(t[89]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",BI,[(nl=(ol=l.report)==null?void 0:ol.weather)!=null&&nl.favorableCur&&((al=n==null?void 0:n.allWx)==null?void 0:al.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((gl=n==null?void 0:n.allWx)==null?void 0:gl.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ml=n==null?void 0:n.allWx)==null?void 0:ml.avgWf)>0?(El=n==null?void 0:n.allWx)==null?void 0:El.avgWf:`(${(yl=n==null?void 0:n.allWx)==null?void 0:yl.avgWf})`),1),t[88]||(t[88]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",FI,e.toDisplayString((Al=n==null?void 0:n.allWx)==null?void 0:Al.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.avgSpd),1),t[84]||(t[84]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgCf)>0?(dl=n==null?void 0:n.allWx)==null?void 0:dl.avgCf:`(${(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgCf})`),1),t[85]||(t[85]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf)>0?(Nl=n==null?void 0:n.allWx)==null?void 0:Nl.avgWf:`(${(Dl=n==null?void 0:n.allWx)==null?void 0:Dl.avgWf})`),1),t[86]||(t[86]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",RI,e.toDisplayString((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmSpd)+" (kts)",1)],64)),((pl=n==null?void 0:n.allWx)==null?void 0:pl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",PI,"(Under-performance)")):e.createCommentVNode("",!0),((Vl=n==null?void 0:n.allWx)==null?void 0:Vl.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",GI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",LI,[t[99]||(t[99]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",WI,[(xl=(Tl=l.report)==null?void 0:Tl.weather)!=null&&xl.favorableCur&&((zl=n==null?void 0:n.allWx)==null?void 0:zl.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[95]||(t[95]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[98]||(t[98]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[90]||(t[90]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[91]||(t[91]=e.createElementVNode("label",null,"-",-1)),t[92]||(t[92]=e.createElementVNode("label",null,"Current Factor",-1)),t[93]||(t[93]=e.createElementVNode("label",null,"-",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[251]||(t[251]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",ZI,[e.createElementVNode("div",HI,[t[100]||(t[100]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",JI,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Time Analysis",1),(Cl=(Sl=l.report)==null?void 0:Sl.weather)!=null&&Cl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",_I,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XI,[e.createElementVNode("div",KI,[t[104]||(t[104]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",qI,[e.createElementVNode("div",uI,[e.createElementVNode("div",null,e.toDisplayString((jl=(kl=l.report)==null?void 0:kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[101]||(t[101]=e.createElementVNode("div",{class:"line"},null,-1)),t[102]||(t[102]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[103]||(t[103]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",$I,[e.createElementVNode("div",vI,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ul=(fl=n==null?void 0:n.extend)==null?void 0:fl.cp)==null?void 0:Ul.speed,"Under"))+"kts)",1),t[105]||(t[105]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",eA,[e.createElementVNode("div",tA,[e.createElementVNode("div",null,e.toDisplayString((Ol=(bl=l.report)==null?void 0:bl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[106]||(t[106]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(wl=(Yl=n==null?void 0:n.extend)==null?void 0:Yl.cp)==null?void 0:wl.speed,"Under"))+"kts",1)]),t[107]||(t[107]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",lA,[e.createElementVNode("div",oA,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(hl=(Ql=n==null?void 0:n.extend)==null?void 0:Ql.cp)==null?void 0:hl.speed,"Over"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",nA,[e.createElementVNode("div",aA,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Bl=l.report)==null?void 0:Bl.weather)!=null&&Rl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Pl=(Fl=n==null?void 0:n.extend)==null?void 0:Fl.cp)==null?void 0:Pl.speed,"Over"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(c)",-1))])]),t[111]||(t[111]=e.createStaticVNode('<div class="flex-start" data-v-b95150e8><div class="flex-space" style="width:300px;font-weight:400;" data-v-b95150e8><label data-v-b95150e8>Time Lost</label><div data-v-b95150e8>=</div><div data-v-b95150e8>(a)</div><div data-v-b95150e8>-</div><div data-v-b95150e8>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b95150e8><label data-v-b95150e8>Time Gained</label><div data-v-b95150e8>=</div><div data-v-b95150e8>(c)</div><div data-v-b95150e8>-</div><div data-v-b95150e8>(a)</div></div></div>',1))]),e.createElementVNode("div",iA,[e.createElementVNode("div",sA,[t[112]||(t[112]=e.createElementVNode("label",null,"Time Lost",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ll=(Gl=n==null?void 0:n.extend)==null?void 0:Gl.cp)==null?void 0:Ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",dA,[t[113]||(t[113]=e.createElementVNode("label",null,"Time Gained",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(_l=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:_l.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",rA,[t[114]||(t[114]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ul=(ql=n==null?void 0:n.extend)==null?void 0:ql.cp)==null?void 0:ul.speed,"Under"))+" kts) ",1)])]),($l=n==null?void 0:n.goodWx)!=null&&$l.distance?(e.openBlock(),e.createElementBlock("div",cA,[e.createElementVNode("div",NA,[t[118]||(t[118]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",DA,[e.createElementVNode("div",MA,[e.createElementVNode("div",null,e.toDisplayString((vl=(tt=l.report)==null?void 0:tt.weather)!=null&&vl.noExtrapolation?(eo=n==null?void 0:n.goodWx)==null?void 0:eo.distance:(to=n==null?void 0:n.allWx)==null?void 0:to.distance),1),t[115]||(t[115]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((lo=n==null?void 0:n.goodWx)==null?void 0:lo.pfmSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oo=n==null?void 0:n.timeConclusion)==null?void 0:oo.timeAtPfmSpd)+" (hrs)",1),t[117]||(t[117]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",gA,[e.createElementVNode("div",mA,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ao=(no=n==null?void 0:n.extend)==null?void 0:no.cp)==null?void 0:ao.speed,"Under"))+"kts)",1),t[119]||(t[119]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",EA,[e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((so=(io=l.report)==null?void 0:io.weather)!=null&&so.noExtrapolation?(ro=n==null?void 0:n.goodWx)==null?void 0:ro.distance:(co=n==null?void 0:n.allWx)==null?void 0:co.distance),1),t[120]||(t[120]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((No=n==null?void 0:n.timeConclusion)==null?void 0:No.minusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Do=n==null?void 0:n.timeConclusion)==null?void 0:Do.timeAtMinusAbtSpd)+" (hrs)",1),t[122]||(t[122]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",IA,[e.createElementVNode("div",AA,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(go=(Mo=n==null?void 0:n.extend)==null?void 0:Mo.cp)==null?void 0:go.speed,"Over"))+"kts)",1),t[123]||(t[123]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",pA,[e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((Eo=(mo=l.report)==null?void 0:mo.weather)!=null&&Eo.noExtrapolation?(yo=n==null?void 0:n.goodWx)==null?void 0:yo.distance:(Io=n==null?void 0:n.allWx)==null?void 0:Io.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ao=n==null?void 0:n.timeConclusion)==null?void 0:Ao.plusAbtSpd),1)]),t[125]||(t[125]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((po=n==null?void 0:n.timeConclusion)==null?void 0:po.timeAtPlusAbtSpd)+" (hrs)",1),t[126]||(t[126]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",TA,[((Vo=n==null?void 0:n.timeConclusion)==null?void 0:Vo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",xA,[t[127]||(t[127]=e.createElementVNode("div",null,"Time Lost",-1)),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),t[129]||(t[129]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[130]||(t[130]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.timeAtPfmSpd),1),t[131]||(t[131]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd),1),t[132]||(t[132]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((zo=n==null?void 0:n.timeConclusion)==null?void 0:zo.timeLost)+" (hrs)",1)])):((So=n==null?void 0:n.timeConclusion)==null?void 0:So.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",zA,[t[133]||(t[133]=e.createElementVNode("div",null,"Time Lost",-1)),t[134]||(t[134]=e.createElementVNode("div",null,"=",-1)),t[135]||(t[135]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[136]||(t[136]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Co=n==null?void 0:n.timeConclusion)==null?void 0:Co.timeAtPlusAbtSpd),1),t[137]||(t[137]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((ko=n==null?void 0:n.timeConclusion)==null?void 0:ko.timeAtPfmSpd),1),t[138]||(t[138]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((jo=n==null?void 0:n.timeConclusion)==null?void 0:jo.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fo=n==null?void 0:n.timeConclusion)==null?void 0:fo.conclusionStatus)==="Lost"?"flex-center lost":((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[139]||(t[139]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",SA,e.toDisplayString(a.noGoodWxDay),1))]),t[252]||(t[252]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",CA,[e.createElementVNode("div",kA,[t[140]||(t[140]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",jA,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Consumption Analysis",1),(Yo=(Oo=l.report)==null?void 0:Oo.weather)!=null&&Yo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",fA,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",UA,[e.createElementVNode("div",bA,[t[146]||(t[146]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",OA,[e.createElementVNode("div",YA,[e.createElementVNode("div",null,e.toDisplayString((Qo=(wo=l.report)==null?void 0:wo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[141]||(t[141]=e.createElementVNode("div",{class:"line"},null,-1)),t[142]||(t[142]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[143]||(t[143]=e.createElementVNode("div",null,"x",-1)),t[144]||(t[144]=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)),t[145]||(t[145]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",wA,[t[147]||(t[147]=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)),((Bo=(ho=n.extend)==null?void 0:ho.cp)==null?void 0:Bo.dgo)>0?(e.openBlock(),e.createElementBlock("div",QA," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",hA,[t[152]||(t[152]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",BA,[e.createElementVNode("div",RA,[e.createElementVNode("div",null,e.toDisplayString((Fo=(Ro=l.report)==null?void 0:Ro.weather)!=null&&Fo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[148]||(t[148]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Go=(Po=n==null?void 0:n.extend)==null?void 0:Po.cp)==null?void 0:Go.speed,"Under"))+"kts",1)]),t[149]||(t[149]=e.createElementVNode("div",null,"x",-1)),t[150]||(t[150]=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)),t[151]||(t[151]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",FA,[t[157]||(t[157]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PA,[e.createElementVNode("div",GA,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[153]||(t[153]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ho=(Zo=n==null?void 0:n.extend)==null?void 0:Zo.cp)==null?void 0:Ho.speed,"Under"))+"kts",1)]),t[154]||(t[154]=e.createElementVNode("div",null,"x",-1)),t[155]||(t[155]=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)),t[156]||(t[156]=e.createElementVNode("div",null,"(f)",-1))])]),t[164]||(t[164]=e.createStaticVNode('<div class="flex-start" data-v-b95150e8><div class="flex-space" style="width:300px;font-weight:400;" data-v-b95150e8><label data-v-b95150e8>Fuel Over-consumption</label><div data-v-b95150e8>=</div><div data-v-b95150e8>(d)</div><div data-v-b95150e8>-</div><div data-v-b95150e8>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b95150e8><label data-v-b95150e8>Fuel Saving</label><div data-v-b95150e8>=</div><div data-v-b95150e8>(f)</div><div data-v-b95150e8>-</div><div data-v-b95150e8>(d)</div></div></div>',1)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LA,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",WA,[e.createElementVNode("div",ZA,[t[158]||(t[158]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ko=(Xo=l.report)==null?void 0:Xo.weather)!=null&&Ko.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",HA,[t[163]||(t[163]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",JA,[e.createElementVNode("div",_A,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((uo=(qo=l.report)==null?void 0:qo.weather)!=null&&uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[249]||(t[249]=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)),e.createElementVNode("div",XA,[t[165]||(t[165]=e.createElementVNode("i",{class:"iconfont"},"  ",-1)),e.createElementVNode("div",KA,"Seg. "+e.toDisplayString(Z+1)+" Fuel Oil",1)]),($o=n==null?void 0:n.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",qA,[((en=(vo=n==null?void 0:n.goodWx)==null?void 0:vo.inEca)==null?void 0:en.distance)>0?(e.openBlock(),e.createElementBlock("div",uA,[t[171]||(t[171]=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)),e.createElementVNode("div",$A,[e.createElementVNode("div",vA,[e.createElementVNode("div",null,e.toDisplayString((ln=(tn=n==null?void 0:n.goodWx)==null?void 0:tn.inEca)==null?void 0:ln.sumDgoCons),1)]),t[168]||(t[168]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",ep,[e.createElementVNode("div",null,e.toDisplayString((nn=(on=n==null?void 0:n.extend)==null?void 0:on.cp)==null?void 0:nn.dgo),1),t[166]||(t[166]=e.createElementVNode("div",{class:"line"},null,-1)),t[167]||(t[167]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((sn=(an=n==null?void 0:n.goodWx)==null?void 0:an.inEca)==null?void 0:sn.time),1),t[170]||(t[170]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((rn=(dn=n==null?void 0:n.fuelConclusion)==null?void 0:dn.fo)==null?void 0:rn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",tp,[t[178]||(t[178]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",lp,[e.createElementVNode("div",op,[e.createElementVNode("div",null,e.toDisplayString((Il=(H=l.report)==null?void 0:H.weather)!=null&&Il.noExtrapolation?(cn=n==null?void 0:n.goodWx)==null?void 0:cn.distance:(Nn=n==null?void 0:n.allWx)==null?void 0:Nn.distance),1),t[172]||(t[172]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Dn=n==null?void 0:n.goodWx)==null?void 0:Dn.pfmSpd),1)]),t[175]||(t[175]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",np,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Mn=n==null?void 0:n.goodWx)==null?void 0:Mn.sumFoCons),1),((mn=(gn=n==null?void 0:n.goodWx)==null?void 0:gn.inEca)==null?void 0:mn.distance)>0?(e.openBlock(),e.createElementBlock("span",ap,[t[173]||(t[173]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[174]||(t[174]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ke=n==null?void 0:n.goodWx)==null?void 0:Ke.time),1)]),t[176]||(t[176]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pn=(An=n.fuelConclusion)==null?void 0:An.fo)==null?void 0:pn.entireCons)+" (mt)",1),t[177]||(t[177]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",ip,[t[185]||(t[185]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",sp,[e.createElementVNode("div",dp,[e.createElementVNode("div",null,e.toDisplayString((Tn=(Vn=l.report)==null?void 0:Vn.weather)!=null&&Tn.noExtrapolation?(X=n==null?void 0:n.goodWx)==null?void 0:X.distance:(Zl=n==null?void 0:n.allWx)==null?void 0:Zl.distance),1),t[179]||(t[179]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((xn=n==null?void 0:n.timeConclusion)==null?void 0:xn.minusAbtSpd),1)]),t[182]||(t[182]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",rp,[e.createElementVNode("div",null,e.toDisplayString((Sn=(zn=n==null?void 0:n.fuelConclusion)==null?void 0:zn.fo)==null?void 0:Sn.overTolerance),1),t[180]||(t[180]=e.createElementVNode("div",{class:"line"},null,-1)),t[181]||(t[181]=e.createElementVNode("div",null,"24",-1))]),t[183]||(t[183]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Cn=n.fuelConclusion)==null?void 0:Cn.fo)==null?void 0:kn.maxCons)+" (mt)",1),t[184]||(t[184]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",cp,[t[192]||(t[192]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Np,[e.createElementVNode("div",Dp,[e.createElementVNode("div",null,e.toDisplayString((fn=(jn=l.report)==null?void 0:jn.weather)!=null&&fn.noExtrapolation?(Un=n==null?void 0:n.goodWx)==null?void 0:Un.distance:(lt=n==null?void 0:n.allWx)==null?void 0:lt.distance),1),t[186]||(t[186]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Bn=n==null?void 0:n.timeConclusion)==null?void 0:Bn.minusAbtSpd),1)]),t[189]||(t[189]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Mp,[e.createElementVNode("div",null,e.toDisplayString((Fn=(Rn=n==null?void 0:n.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:Fn.underTolerance),1),t[187]||(t[187]=e.createElementVNode("div",{class:"line"},null,-1)),t[188]||(t[188]=e.createElementVNode("div",null,"24",-1))]),t[190]||(t[190]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gn=(Pn=n.fuelConclusion)==null?void 0:Pn.fo)==null?void 0:Gn.minCons)+" (mt)",1),t[191]||(t[191]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",gp,[((Wn=(Ln=n==null?void 0:n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",mp,[t[193]||(t[193]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[194]||(t[194]=e.createElementVNode("div",null,"=",-1)),t[195]||(t[195]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[196]||(t[196]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hn=(Zn=n==null?void 0:n.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Hn.entireCons),1),t[197]||(t[197]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((_n=(Jn=n==null?void 0:n.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:_n.maxCons),1),t[198]||(t[198]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=(Xn=n==null?void 0:n.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:Kn.overCons),1)]),(un=(qn=n==null?void 0:n.goodWx)==null?void 0:qn.inEca)!=null&&un.distance?(e.openBlock(),e.createElementBlock("div",Ep,[t[200]||(t[200]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[201]||(t[201]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((vn=($n=n==null?void 0:n.goodWx)==null?void 0:$n.inEca)==null?void 0:vn.distance)+" * "+e.toDisplayString((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.overCons),1),t[199]||(t[199]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=l.report)==null?void 0:la.weather)!=null&&oa.noExtrapolation?(na=n==null?void 0:n.goodWx)==null?void 0:na.distance:(aa=n==null?void 0:n.allWx)==null?void 0:aa.distance),1)]),t[202]||(t[202]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((sa=(ia=n==null?void 0:n.fuelConclusion)==null?void 0:ia.fo)==null?void 0:sa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((ra=(da=n==null?void 0:n.fuelConclusion)==null?void 0:da.fo)==null?void 0:ra.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ip,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),t[205]||(t[205]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[206]||(t[206]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.fuelConclusion)==null?void 0:ca.fo)==null?void 0:Na.minCons),1),t[207]||(t[207]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.entireCons),1),t[208]||(t[208]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ma=(ga=n==null?void 0:n.fuelConclusion)==null?void 0:ga.fo)==null?void 0:ma.saving)+" (mt)",1)]),(ya=(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.inEca)!=null&&ya.distance?(e.openBlock(),e.createElementBlock("div",Ap,[t[210]||(t[210]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",pp,[e.createElementVNode("div",null,e.toDisplayString((Aa=(Ia=l.report)==null?void 0:Ia.weather)!=null&&Aa.noExtrapolation?(Va=(pa=n==null?void 0:n.goodWx)==null?void 0:pa.inEca)==null?void 0:Va.distance:(xa=(Ta=n==null?void 0:n.allWx)==null?void 0:Ta.inEca)==null?void 0:xa.distance)+" * "+e.toDisplayString((Sa=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Sa.saving),1),t[209]||(t[209]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Ca=l.report)==null?void 0:Ca.weather)!=null&&ka.noExtrapolation?(ja=n==null?void 0:n.goodWx)==null?void 0:ja.distance:(fa=n==null?void 0:n.allWx)==null?void 0:fa.distance),1)]),t[212]||(t[212]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=n==null?void 0:n.fuelConclusion)==null?void 0:Ua.fo)==null?void 0:ba.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ya=(Oa=n==null?void 0:n.fuelConclusion)==null?void 0:Oa.fo)==null?void 0:Ya.conclusionStatus)==="Over"?"flex-center lost":((Qa=(wa=n==null?void 0:n.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Qa.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[213]||(t[213]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Vp,e.toDisplayString(a.noGoodWxDay),1)),((Fa=(Ra=n==null?void 0:n.extend)==null?void 0:Ra.cp)==null?void 0:Fa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Tp,[t[214]||(t[214]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",xp,"Seg. "+e.toDisplayString(Z+1)+" Diesel/Gas Oil",1)]),(Pa=n==null?void 0:n.goodWx)!=null&&Pa.distance?(e.openBlock(),e.createElementBlock("div",zp,[e.createElementVNode("div",Sp,[t[221]||(t[221]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Cp,[e.createElementVNode("div",kp,[e.createElementVNode("div",null,e.toDisplayString((La=(Ga=l.report)==null?void 0:Ga.weather)!=null&&La.noExtrapolation?(Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.distance:(Za=n==null?void 0:n.allWx)==null?void 0:Za.distance),1),t[215]||(t[215]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ha=n==null?void 0:n.goodWx)==null?void 0:Ha.pfmSpd),1)]),t[218]||(t[218]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",jp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Ja=n==null?void 0:n.goodWx)==null?void 0:Ja.sumDgoCons),1),((Xa=(_a=n==null?void 0:n.goodWx)==null?void 0:_a.inEca)==null?void 0:Xa.distance)>0?(e.openBlock(),e.createElementBlock("span",fp,[t[216]||(t[216]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((qa=(Ka=n==null?void 0:n.fuelConclusion)==null?void 0:Ka.fo)==null?void 0:qa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[217]||(t[217]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ua=n==null?void 0:n.goodWx)==null?void 0:ua.time),1)]),t[219]||(t[219]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((va=($a=n.fuelConclusion)==null?void 0:$a.dgo)==null?void 0:va.entireCons)+" (mt)",1),t[220]||(t[220]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",Up,[t[228]||(t[228]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",bp,[e.createElementVNode("div",Op,[e.createElementVNode("div",null,e.toDisplayString((ti=(ei=l.report)==null?void 0:ei.weather)!=null&&ti.noExtrapolation?(li=n==null?void 0:n.goodWx)==null?void 0:li.distance:(oi=n==null?void 0:n.allWx)==null?void 0:oi.distance),1),t[222]||(t[222]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ni=n==null?void 0:n.timeConclusion)==null?void 0:ni.minusAbtSpd),1)]),t[225]||(t[225]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((ii=(ai=n==null?void 0:n.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ii.overTolerance),1),t[223]||(t[223]=e.createElementVNode("div",{class:"line"},null,-1)),t[224]||(t[224]=e.createElementVNode("div",null,"24",-1))]),t[226]||(t[226]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((di=(si=n.fuelConclusion)==null?void 0:si.dgo)==null?void 0:di.maxCons)+" (mt)",1),t[227]||(t[227]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",wp,[t[235]||(t[235]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Qp,[e.createElementVNode("div",hp,[e.createElementVNode("div",null,e.toDisplayString((ci=(ri=l.report)==null?void 0:ri.weather)!=null&&ci.noExtrapolation?(Ni=n==null?void 0:n.goodWx)==null?void 0:Ni.distance:(Di=n==null?void 0:n.allWx)==null?void 0:Di.distance),1),t[229]||(t[229]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Mi=n==null?void 0:n.timeConclusion)==null?void 0:Mi.minusAbtSpd),1)]),t[232]||(t[232]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Bp,[e.createElementVNode("div",null,e.toDisplayString((mi=(gi=n==null?void 0:n.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:mi.underTolerance),1),t[230]||(t[230]=e.createElementVNode("div",{class:"line"},null,-1)),t[231]||(t[231]=e.createElementVNode("div",null,"24",-1))]),t[233]||(t[233]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yi=(Ei=n.fuelConclusion)==null?void 0:Ei.dgo)==null?void 0:yi.minCons)+" (mt)",1),t[234]||(t[234]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",Rp,[((Ai=(Ii=n==null?void 0:n.fuelConclusion)==null?void 0:Ii.dgo)==null?void 0:Ai.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Fp,[t[236]||(t[236]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[237]||(t[237]=e.createElementVNode("div",null,"=",-1)),t[238]||(t[238]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[239]||(t[239]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Vi=(pi=n==null?void 0:n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Vi.entireCons),1),t[240]||(t[240]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((xi=(Ti=n==null?void 0:n.fuelConclusion)==null?void 0:Ti.dgo)==null?void 0:xi.maxCons),1),t[241]||(t[241]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Si=(zi=n==null?void 0:n.fuelConclusion)==null?void 0:zi.dgo)==null?void 0:Si.overCons),1)])):((ki=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.fo)==null?void 0:ki.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Pp,[t[242]||(t[242]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[243]||(t[243]=e.createElementVNode("div",null,"=",-1)),t[244]||(t[244]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[245]||(t[245]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((fi=(ji=n==null?void 0:n.fuelConclusion)==null?void 0:ji.dgo)==null?void 0:fi.minCons),1),t[246]||(t[246]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.entireCons),1),t[247]||(t[247]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Yi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:Yi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Qi=(wi=n==null?void 0:n.fuelConclusion)==null?void 0:wi.dgo)==null?void 0:Qi.conclusionStatus)==="Over"?"flex-center lost":((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[248]||(t[248]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Gp,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const Wp=Re(SE,[["render",Lp],["__scopeId","data-v-b95150e8"]]),ZY="",Zp={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){const t=[];return t.push(o.noonLength?"no-border-bottom":"no-border"),t.push(o.excluded?"excluded":o.goodWx?"good-wx":""),t.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeLng(){return function(o){return te.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return te.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?te.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,a,i,M,s,c,E,y,N;this.showCF=((t=(o=this.report)==null?void 0:o.weather)==null?void 0:t.showCF)??!1,this.showAisDistance=((d=(l=this.report)==null?void 0:l.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((i=(a=this.report)==null?void 0:a.weather)==null?void 0:i.showSig)??!0,this.showSwell=((s=(M=this.report)==null?void 0:M.weather)==null?void 0:s.showSwell)??!0,this.showWave=((E=(c=this.report)==null?void 0:c.weather)==null?void 0:E.showWave)??!0,this.showWaterTemp=((N=(y=this.report)==null?void 0:y.weather)==null?void 0:N.waterTempSwitch)||!1}}},Hp={class:"report-inventory"},Jp={class:"section summary-section"},_p={class:"summary-block"},Xp={class:"label",rowspan:"4"},Kp={class:"section inventory-section"},qp={class:"inventory-block flex-center"},up={style:{"font-size":"12px"}},$p=["colspan"],vp={key:0,class:"label",colspan:"2"},e0={key:0,class:"label",rowspan:"2"},t0={key:1,class:"label",rowspan:"2"},l0={key:2,class:"label",rowspan:"2"},o0={key:3,class:"label",colspan:"2"},n0={key:4,class:"label",rowspan:"2"},a0={key:5,class:"label",colspan:"2"},i0={key:6,class:"label",rowspan:"2"},s0={key:7,class:"label",rowspan:"2"},d0={key:8,class:"label",rowspan:"2"},r0={key:0,class:"label"},c0={key:1,class:"label"},N0={key:2,class:"label"},D0={key:3,class:"label"},M0={class:"summary-tbody"};function g0(o,t,l,d,a,i){var M;return e.openBlock(),e.createElementBlock("div",Hp,[e.createElementVNode("div",Jp,[t[5]||(t[5]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),e.createElementVNode("div",_p,[e.createElementVNode("table",null,[t[4]||(t[4]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((M=l.report)==null?void 0:M.segments,(s,c)=>{var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",Xp,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((E=s==null?void 0:s.allWx)==null?void 0:E.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((g=s==null?void 0:s.allWx)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((C=s==null?void 0:s.goodWx)==null?void 0:C.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((k=s==null?void 0:s.goodWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((z=s==null?void 0:s.badWx)==null?void 0:z.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((j=s==null?void 0:s.badWx)==null?void 0:j.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((R=s==null?void 0:s.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((F=s==null?void 0:s.excluded)==null?void 0:F.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((P=s==null?void 0:s.excluded)==null?void 0:P.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((G=s==null?void 0:s.excluded)==null?void 0:G.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((D=s==null?void 0:s.excluded)==null?void 0:D.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((b=s==null?void 0:s.excluded)==null?void 0:b.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",Kp,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1)),e.createElementVNode("div",qp,[e.createElementVNode("table",up,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[6]||(t[6]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),t[7]||(t[7]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),t[8]||(t[8]=e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),t[9]||(t[9]=e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),e.createElementVNode("th",{class:"label",colspan:i.computeWxColspan},"ORM Weather Analysis",8,$p),l.showFactor?(e.openBlock(),e.createElementBlock("th",vp,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",e0,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",t0,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),a.showWave?(e.openBlock(),e.createElementBlock("th",l0,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",o0,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",n0,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",a0,"Current")):e.createCommentVNode("",!0),t[21]||(t[21]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),l.showFactor?(e.openBlock(),e.createElementBlock("th",i0,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",s0,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",d0,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),a.showSwell?(e.openBlock(),e.createElementBlock("th",r0,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",c0,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",N0,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",D0,"CF(kts)")):e.createCommentVNode("",!0),t[34]||(t[34]=e.createElementVNode("th",{class:"label"},"RPM",-1)),t[35]||(t[35]=e.createElementVNode("th",{class:"label"},"Slip%",-1)),t[36]||(t[36]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[37]||(t[37]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[38]||(t[38]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[39]||(t[39]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[40]||(t[40]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[41]||(t[41]=e.createElementVNode("th",{class:"label"},"BF",-1))])]),e.createElementVNode("tbody",M0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B;return e.openBlock(),e.createElementBlock("tr",{key:c},[e.createElementVNode("td",{class:e.normalizeClass(s.segLength?"no-border-bottom":"no-border")},e.toDisplayString(s.segLength?s.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.time),3),["B","E"].includes(s.abbrev)&&((E=s.noon)!=null&&E.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((y=s.noon)==null?void 0:y.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((g=(N=s.meteo)==null?void 0:N.wind)==null?void 0:g.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((I=(p=s.meteo)==null?void 0:p.wind)==null?void 0:I.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((C=(A=(V=s.meteo)==null?void 0:V.wave)==null?void 0:A.wd)==null?void 0:C.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((z=(x=(k=s.meteo)==null?void 0:k.wave)==null?void 0:x.swell)==null?void 0:z.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((R=(j=(m=s.meteo)==null?void 0:m.wave)==null?void 0:j.swell)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((G=(P=(F=s.meteo)==null?void 0:F.wave)==null?void 0:P.sig)==null?void 0:G.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((b=(D=s.meteo)==null?void 0:D.current)==null?void 0:b.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((w=s.meteo)==null?void 0:w.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((O=s.meteo)==null?void 0:O.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((f=s.meteo)==null?void 0:f.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((B=s.meteo)==null?void 0:B.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const m0=Re(Zp,[["render",g0],["__scopeId","data-v-a18f941f"]]),HY="",E0={name:"OrmVoyageChart",components:{Lng:On,Lat:Yn},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}}},watch:{inventory:{handler(o,t){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Qn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Qn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Qn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var c,E,y,N,g,p;const o=[],t=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,a=0;const i=this.inventory.filter(I=>I.noon)||[];i.forEach((I,V)=>{var C,k,x,z,m,j,R,F,P,G,D,b,w,O;const A=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(o.push(A),d=Math.ceil(((C=I.noon)==null?void 0:C.foCons)>d?(k=I.noon)==null?void 0:k.foCons:d),d=Math.ceil(((x=I.cp)==null?void 0:x.fo)>d?(z=I.cp)==null?void 0:z.fo:d),a=Math.ceil(((m=I.noon)==null?void 0:m.dgoCons)>a?(j=I.noon)==null?void 0:j.dgoCons:a),a=Math.ceil(((R=I.cp)==null?void 0:R.dgo)>a?(F=I.cp)==null?void 0:F.dgo:a),t.push([A,(P=I.noon)==null?void 0:P.avgSpd,(G=I.noon)==null?void 0:G.foCons,(D=I.noon)==null?void 0:D.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),V<i.length-1){const f=i[V+1];t.push([A,(b=f.noon)==null?void 0:b.avgSpd,(w=f.noon)==null?void 0:w.foCons,(O=f.noon)==null?void 0:O.dgoCons,f.avgSpdCalc,f.cp.speed,f.goodWx&&!f.excluded?100:0,f.cp.dgo,f.cp.fo,f.excluded?100:0])}});const M={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:d+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:t,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:t,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(E=(c=this.report)==null?void 0:c.weather)!=null&&E.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:t,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:t,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:t,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:t,z:1}]};(y=this.spdFoConsChart)==null||y.setOption(M);const s={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:t,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:t,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(g=(N=this.report)==null?void 0:N.weather)!=null&&g.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:t,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:t,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:t,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:t,z:1}]};(p=this.spdDgoConsChart)==null||p.setOption(s)},renderWxCurrChart(){var M;const o=[],t=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4;const a=this.inventory.filter(s=>s.noon)||[];a.forEach((s,c)=>{var y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L;const E=this.computeUTCTime(s.utc,"MM-DD/HHmm[Z]");if(o.push(E),d=Math.ceil(((g=(N=(y=s.meteo)==null?void 0:y.wave)==null?void 0:N.sig)==null?void 0:g.height)>d?(V=(I=(p=s.meteo)==null?void 0:p.wave)==null?void 0:I.sig)==null?void 0:V.height:d),t.push([E,(A=s.noon)==null?void 0:A.windBF,(k=(C=s.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(z=(x=s.meteo)==null?void 0:x.wind)==null?void 0:z.direction,(m=s.noon)==null?void 0:m.seasHt,(F=(R=(j=s.meteo)==null?void 0:j.wave)==null?void 0:R.sig)==null?void 0:F.height,s.dailyAvgCf,s.goodWx&&!s.excluded?20:0,s.excluded?20:0]),c<a.length-1){const Q=a[c+1];t.push([E,(P=Q.noon)==null?void 0:P.windBF,(D=(G=Q.meteo)==null?void 0:G.wind)==null?void 0:D.scale,(w=(b=Q.meteo)==null?void 0:b.wind)==null?void 0:w.direction,(O=Q.noon)==null?void 0:O.seasHt,(L=(B=(f=Q.meteo)==null?void 0:f.wave)==null?void 0:B.sig)==null?void 0:L.height,Q.dailyAvgCf,Q.goodWx&&!Q.excluded?20:0,Q.excluded?20:0])}});const i={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:t,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:t,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:t,z:1}]};(M=this.currChart)==null||M.setOption(i)}}},y0={class:"report-summary"},I0={class:"section chart-section"},A0={class:"chart-block"},p0={ref:"spdFoConsChart",class:"chart"},V0={ref:"spdDgoConsChart",class:"chart"},T0={ref:"currChart",class:"chart"},x0={class:"section map-section"},z0={class:"map-block"},S0={class:"flex-space"},C0={class:"voyage-block",style:{height:"197px"}},k0={class:"flex-space label-block",style:{width:"100%"}},j0={style:{"text-transform":"uppercase"}},f0={class:"flex-space label-block",style:{width:"100%"}},U0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},b0={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},O0={class:"flex-space label-block",style:{width:"100%"}},Y0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},w0={class:"flex-space label-block",style:{width:"100%"}},Q0={key:0,class:"flex-end",style:{flex:"1"}},h0={key:1,class:"flex-end",style:{flex:"1"}},B0={class:"flex-end",style:{width:"160px"}},R0={class:"flex-space label-block",style:{width:"100%"}},F0={key:0,class:"flex-end",style:{flex:"1"}},P0={key:1,class:"flex-end",style:{flex:"1"}},G0={class:"flex-end",style:{width:"160px"}},L0={class:"flex-space label-block",style:{width:"100%"}},W0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z0=["src"];function H0(o,t,l,d,a,i){var c,E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q;const M=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",y0,[e.createElementVNode("div",I0,[t[0]||(t[0]=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)),e.createElementVNode("div",A0,[e.createElementVNode("div",p0,null,512),e.createElementVNode("div",V0,null,512),e.createElementVNode("div",T0,null,512)])]),e.createElementVNode("div",x0,[t[10]||(t[10]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),e.createElementVNode("div",z0,[e.createElementVNode("div",S0,[e.createElementVNode("div",C0,[e.createElementVNode("div",k0,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",j0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",f0,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",U0,e.toDisplayString((E=(c=l.report)==null?void 0:c.vessel)==null?void 0:E.name),1),e.createElementVNode("span",b0,"("+e.toDisplayString((N=(y=l.report)==null?void 0:y.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",O0,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",Y0,e.toDisplayString((p=(g=l.report)==null?void 0:g.voyage)==null?void 0:p.number),1)]),e.createElementVNode("div",w0,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(I=l.report)==null?void 0:I.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",Q0,e.toDisplayString((C=(A=l.report)==null?void 0:A.departure)==null?void 0:C.portName),1)):(e.openBlock(),e.createElementBlock("div",h0,[e.createVNode(M,{lat:(x=(k=l.report)==null?void 0:k.departure)==null?void 0:x.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[4]||(t[4]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(z=l.report.departure)==null?void 0:z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",B0,e.toDisplayString(i.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",R0,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(R=(j=l.report)==null?void 0:j.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",F0,e.toDisplayString((P=(F=l.report)==null?void 0:F.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",P0,[e.createVNode(M,{lat:(D=(G=l.report)==null?void 0:G.arrival)==null?void 0:D.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(w=(b=l.report)==null?void 0:b.arrival)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",G0,e.toDisplayString(i.computeUTCTime((f=(O=l.report)==null?void 0:O.arrival)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",L0,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",W0,e.toDisplayString((L=(B=l.report)==null?void 0:B.voyage)==null?void 0:L.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-dda5691b><div style="position:absolute;margin-top:-8px;" data-v-dda5691b>LEGEND</div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b>0812</div><div data-v-dda5691b><div data-v-dda5691b>08 - Day of the month</div><div data-v-dda5691b>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dda5691b></i></div><div data-v-dda5691b><div data-v-dda5691b>Wind from N (000)</div><div data-v-dda5691b>Each bard = 10 kts</div><div data-v-dda5691b>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b>W 4</div><div data-v-dda5691b>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-dda5691b><div class="good-wx" data-v-dda5691b>Date</div><div data-v-dda5691b>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(Q=l.report)==null?void 0:Q.chartUrl,alt:""},null,8,Z0)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-dda5691b><div class="header-block flex-center" data-v-dda5691b><i class="iconfont" data-v-dda5691b></i><div class="title" data-v-dda5691b>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dda5691b><div class="method-title" data-v-dda5691b>1. Good Weather Method</div><div class="method-body" data-v-dda5691b> 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-dda5691b> 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-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>4. “About”</div><div class="method-body" data-v-dda5691b> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dda5691b> 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-dda5691b> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>6. Further reference materials</div><div class="method-body" data-v-dda5691b>Please send mail to <a href="mailto:op@ormwx.com" data-v-dda5691b>op@ormwx.com</a>.</div></div></div></div>',1))])}const J0=Re(E0,[["render",H0],["__scopeId","data-v-dda5691b"]]),JY="",_Y="",_0={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,t){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((t,l)=>t.date<l.date);o==null||o.forEach((t,l)=>{var c,E;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((E=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:E.split("\\n")).forEach(N=>{const g=`<p>${N}</p>`;d=d+g}),d=d+"</div>"):d=t.body;const a=document.getElementById("col1"),i=document.getElementById("col2"),M=(a==null?void 0:a.offsetHeight)||0,s=(i==null?void 0:i.offsetHeight)||0;if(M<=s){let N=`<div class="${t.to.includes("op@ormwx.com")||t.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)]),8,_D)]))])}const as=Re(ZD,[["render",XD]]),KD={install(o){o.component("PiLogo",as)}},FY="",PY="",qD={name:"FliVygSummary",components:{Editor:Jl},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(o){var t,l;return(l=(t=this.reportData)==null?void 0:t.weather)!=null&&l.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,t){return t=="subtitle"?J(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?J(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?J(o).utc().format("MMMM D, HHmm[Z]"):t?J(o).utc().format(t):J(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=te.LngLatHelper.lat2pretty(o).pretty,d=te.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),i=this.computedTime(o.arrival.utcTime,"summary"),M=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:a,time2:i,fullTime2:M}}},computedTimeConclusion(){return function(o){let t=o.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return t=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):t=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${o.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${o.timeGain} hrs`),l}},computedFuleConclusion(){return function(o,t){let l=o.conclusionStatus,d={conclusion:"",className:"",cons:""};return l==="No"?(d.conclusion="No Over/Under",d.className="",d.cons=""):l==="Over"?(t==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${o.overCons} mt`):(t==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${o.saving} mt`),d}},computedUnit(){return function(o,t){return t?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let t="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let l=o==null?void 0:o.windScale,d="",a=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?te.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.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(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,a)=>{let i=d.excluded;if(i.sumDistance>0&&i.detail.forEach(s=>{let c={begin:J(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:J(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:J(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+J(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:s.duration,distance:s.distance,fo:s.foCons,dgo:s.dgoCons};this.excludedTableData.push(c)}),!o.includes(d.seg)){o.push(d.seg);let s=Object.assign({},d.extend.cp);s.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,s.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(s)}let M=[];d.extend.segTimes.forEach(s=>{M.push(this.computedSeg(s))}),this.segDetail.push(M),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},uD={class:"fli-main"},$D={class:"card basics"},vD={class:"list flex"},eM={class:"item"},tM={class:"content flex"},lM={class:"item"},oM={class:"content flex"},nM={class:"item"},aM={class:"content flex"},iM={class:"list"},sM={class:"item"},dM={class:"content flex"},rM={class:"content flex"},cM={class:"item"},NM={class:"content flex"},DM={class:"content flex"},MM={class:"item"},gM={class:"content flexL"},mM={class:"clause"},EM={key:0,class:"definition flex"},yM={key:1,class:"definition flex"},IM={class:"item"},AM={class:"content"},pM={key:0,class:"item"},VM={class:"content"},TM={key:1,class:"item"},xM={class:"content"},zM={key:2,class:"item"},SM={class:"content"},CM={key:3,class:"item"},kM={class:"content"},jM={key:4,class:"item"},fM={key:5,class:"item"},UM={class:"definition flexM"},bM={class:"table"},OM={class:"summary"},YM={key:0,class:"summary-overall"},wM={class:"summary-overall-row"},QM={class:"card"},hM={class:"main-content"},BM={key:0},RM={key:1},FM={class:"card"},PM={class:"main-content"},GM={key:0},LM={key:1},WM={class:"card"},ZM={class:"main-content"},HM={key:0},JM={key:1},_M={class:"summary-overall-row"},XM={class:"card"},KM={class:"main-content"},qM={class:"card"},uM={class:"main-content"},$M={class:"card"},vM={class:"main-content"},e1={class:"card",style:{flex:"1.5"}},t1={class:"card-title"},l1={class:"card-segment"},o1={class:"card-segment"},n1={class:"card-segment"},a1={class:"uppercase"},i1={class:"card summary-card",style:{flex:"1"}},s1={key:0,class:"main-content"},d1={key:0,class:"iconfont success"},r1={key:1,class:"iconfont error"},c1={key:1,class:"main-content"},N1={class:"card-content",style:{"justify-content":"flex-start"}},D1={class:"card summary-card",style:{flex:"1"}},M1={key:0,class:"main-content"},g1={key:0,class:"iconfont success"},m1={key:1,class:"iconfont error"},E1={key:1,class:"main-content"},y1={class:"card-content",style:{"justify-content":"flex-start"}},I1={class:"card summary-card",style:{flex:"1"}},A1={key:0,class:"main-content"},p1={key:0,class:"iconfont success"},V1={key:1,class:"iconfont error"},T1={key:1,class:"main-content"},x1={class:"card-content",style:{"justify-content":"flex-start"}},z1={style:{"page-break-inside":"avoid"}},S1={class:"remarks"},C1={class:"item"},k1={class:"speed"},j1={class:"uppercase"},f1={class:"item"},U1={key:0,class:"remark-detail"},b1={key:1,class:"remark-detail"},O1={class:"page-avoid"},Y1={class:"dashed"},w1={class:"card phase-title-card",style:{flex:"0.5"}},Q1={class:"card-title"},h1={class:"card-segment"},B1={class:"card-segment"},R1={class:"card-segment"},F1={class:"uppercase"},P1={class:"phase-analysis"},G1={class:"card phase-card",style:{flex:"1"}},L1={class:"main-content"},W1={class:"main-content"},Z1={class:"card-content"},H1={class:"card-content"},J1={class:"card-content"},_1={class:"card-content"},X1={class:"card phase-card",style:{flex:"1"}},K1={class:"main-content"},q1={class:"main-content"},u1={class:"card-content"},$1={class:"card-content"},v1={class:"card-content"},eg={class:"card-content"},tg={class:"phase-analysis"},lg={class:"card phase-card",style:{flex:"1"}},og={class:"main-content"},ng={class:"main-content"},ag={class:"card-content"},ig={class:"card-content"},sg={class:"card-content"},dg={class:"card-content"},rg={class:"card phase-card",style:{flex:"1"}},cg={class:"main-content"},Ng={class:"main-content"},Dg={class:"card-content"},Mg={class:"card-content"},gg={class:"card-content"},mg={class:"card-content"},Eg={class:"card phase-card",style:{flex:"1"}},yg={class:"main-content"},Ig={class:"main-content"},Ag={class:"card-content"},pg={class:"card-content"},Vg={class:"card-content"},Tg={class:"card-content"},xg={class:"phase-analysis"},zg={class:"card phase-card",style:{flex:"1"}},Sg={class:"main-content"},Cg={class:"main-content"},kg={class:"card-content"},jg={class:"card-content"},fg={class:"card-content"},Ug={class:"card-content"},bg={class:"card phase-card",style:{flex:"1"}},Og={class:"main-content"},Yg={class:"main-content"},wg={class:"card-content"},Qg={class:"card-content"},hg={class:"card-content"},Bg={class:"card-content"},Rg={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},Fg={class:"main-content"},Pg={class:"card-content"},Gg={key:0},Lg={key:1},Wg={class:"phase-card"},Zg={class:"card",style:{flex:"1"}},Hg={key:0,class:"main-content"},Jg={key:0,class:"iconfont success"},_g={key:1,class:"iconfont error"},Xg={key:1,class:"main-content"},Kg={class:"nogwd"},qg={class:"card-content",style:{"justify-content":"flex-start"}},ug={key:0},$g={class:"equation"},vg={style:{width:"8%"}},em={style:{width:"10%"}},tm={class:"equation"},lm={style:{width:"8%"}},om={style:{width:"10%"}},nm={class:"equation"},am={style:{width:"8%"}},im={style:{width:"10%"}},sm={class:"phase-card"},dm={class:"card",style:{flex:"1"}},rm={key:0,class:"main-content"},cm={key:0,class:"iconfont success"},Nm={key:1,class:"iconfont error"},Dm={key:1,class:"main-content"},Mm={class:"nogwd"},gm={class:"card-content",style:{"justify-content":"flex-start"}},mm={key:0},Em={class:"equation"},ym={style:{width:"8%"}},Im={style:{width:"120px"}},Am={style:{width:"10%"}},pm={class:"equation"},Vm={style:{width:"8%"}},Tm={style:{width:"120px"}},xm={style:{width:"10%"}},zm={class:"equation"},Sm={style:{width:"8%"}},Cm={style:{width:"120px"}},km={style:{width:"10%"}},jm={key:0,class:"phase-card"},fm={class:"card",style:{flex:"1"}},Um={key:0,class:"main-content"},bm={key:0,class:"iconfont success"},Om={key:1,class:"iconfont error"},Ym={key:1,class:"main-content"},wm={class:"nogwd"},Qm={class:"card-content",style:{"justify-content":"flex-start"}},hm={key:0},Bm={class:"equation"},Rm={style:{width:"8%"}},Fm={style:{width:"120px"}},Pm={style:{width:"10%"}},Gm={class:"equation"},Lm={style:{width:"8%"}},Wm={style:{width:"120px"}},Zm={style:{width:"10%"}},Hm={class:"equation"},Jm={style:{width:"8%"}},_m={style:{width:"120px"}},Xm={style:{width:"10%"}},Km={class:"formular dashed",style:{"page-break-inside":"avoid"}},qm={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},um={class:""},$m={class:"equation"},vm={style:{width:"50%"},class:"fraction"},eE={class:"equation"},tE={style:{width:"50%"},class:"fraction"},lE={class:"equation"},oE={style:{width:"50%"},class:"fraction"},nE={class:"flexL formular-item",style:{"margin-left":"20px"}},aE={class:""},iE={class:"equation"},sE={style:{width:"25%"},class:"fraction"},dE={class:"equation"},rE={style:{width:"25%"},class:"fraction"},cE={class:"equation"},NE={style:{width:"25%"},class:"fraction"};function DE(o,t,l,d,a,i){var M,s,c,E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q,K,le,oe,n,Z,q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(M=l.reportData)==null?void 0:M.weather)!=null&&s.referenceOnly?"watermark":"")},[t[217]||(t[217]=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)),e.createElementVNode("div",uD,[t[214]||(t[214]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),e.createElementVNode("div",$D,[e.createElementVNode("div",vD,[e.createElementVNode("div",eM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",tM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",lM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",oM,e.toDisplayString((y=(E=l.reportData)==null?void 0:E.vessel)==null?void 0:y.name),1)]),e.createElementVNode("div",nM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",aM,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",iM,[e.createElementVNode("div",sM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",dM,e.toDisplayString(((g=(N=l.reportData)==null?void 0:N.departure)==null?void 0:g.portName)||i.computedLngLat((I=(p=l.reportData)==null?void 0:p.departure)==null?void 0:I.lat,(A=(V=l.reportData)==null?void 0:V.departure)==null?void 0:A.lng)),1),e.createElementVNode("div",rM,e.toDisplayString(i.computedTime((k=(C=l.reportData)==null?void 0:C.departure)==null?void 0:k.utcTime,"table")),1)]),e.createElementVNode("div",cM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",NM,e.toDisplayString(((z=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:z.portName)||i.computedLngLat((j=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:j.lat,(F=(R=l.reportData)==null?void 0:R.arrival)==null?void 0:F.lng)),1),e.createElementVNode("div",DM,e.toDisplayString(i.computedTime((G=(P=l.reportData)==null?void 0:P.arrival)==null?void 0:G.utcTime,"table")),1)]),e.createElementVNode("div",MM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",gM,e.toDisplayString((b=(D=l.reportData)==null?void 0:D.voyage)==null?void 0:b.loadCondition),1)])])]),t[215]||(t[215]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),e.createElementVNode("div",mM,[(O=(w=l.reportData)==null?void 0:w.weather)!=null&&O.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",EM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",yM,[e.createElementVNode("div",IM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",AM,"BF "+e.toDisplayString(((B=(f=l.reportData)==null?void 0:f.weather)==null?void 0:B.windScale)||"-"),1)]),(Q=(L=l.reportData)==null?void 0:L.weather)!=null&&Q.waveSwitch?(e.openBlock(),e.createElementBlock("div",pM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",VM,e.toDisplayString(((le=(K=l.reportData)==null?void 0:K.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(n=(oe=l.reportData)==null?void 0:oe.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",TM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",xM,e.toDisplayString(((q=(Z=l.reportData)==null?void 0:Z.weather)==null?void 0:q.swellHeight)||"-")+" Meter",1)])):($=(u=l.reportData)==null?void 0:u.weather)!=null&&$.sigSwitch?(e.openBlock(),e.createElementBlock("div",zM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",SM,e.toDisplayString(((ee=(v=l.reportData)==null?void 0:v.weather)==null?void 0:ee.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ae=(ne=l.reportData)==null?void 0:ne.weather)!=null&&ae.waveSwitch||(ce=(ie=l.reportData)==null?void 0:ie.weather)!=null&&ce.swellHeight||(de=(_=l.reportData)==null?void 0:_.weather)!=null&&de.sigSwitch?(e.openBlock(),e.createElementBlock("div",CM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",kM,e.toDisplayString((De=(Ne=l.reportData)==null?void 0:Ne.weather)==null?void 0:De.seaScale),1)])):e.createCommentVNode("",!0),(Me=(se=l.reportData)==null?void 0:se.weather)!=null&&Me.noAdverseCur?(e.openBlock(),e.createElementBlock("div",jM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(me=(ge=l.reportData)==null?void 0:ge.weather)!=null&&me.noExtrapolation?(e.openBlock(),e.createElementBlock("div",fM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",UM,[e.createElementVNode("table",bM,[t[13]||(t[13]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(r,Y)=>(e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",null,e.toDisplayString(r==null?void 0:r.type),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.speed} | ${r==null?void 0:r.spdOfOver} , ${r.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.fo} | ${r==null?void 0:r.over} , ${r.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.dgo} | ${r==null?void 0:r.over} , ${r.under}`),1)]))),128))])])])]),t[216]||(t[216]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),e.createElementVNode("div",OM,[((ye=(Ee=l.reportData)==null?void 0:Ee.segments)==null?void 0:ye.length)>1?(e.openBlock(),e.createElementBlock("div",YM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",wM,[e.createElementVNode("div",QM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",hM,[(Te=(Ie=l.reportData)==null?void 0:Ie.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",BM,e.toDisplayString((ze=(xe=l.reportData)==null?void 0:xe.goodWx)==null?void 0:ze.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",RM,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",FM,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",PM,[(Ce=(Se=l.reportData)==null?void 0:Se.goodWx)!=null&&Ce.avgSpd?(e.openBlock(),e.createElementBlock("div",GM,e.toDisplayString((je=(ke=l.reportData)==null?void 0:ke.goodWx)==null?void 0:je.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",LM,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",WM,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",ZM,[(Ae=(fe=l.reportData)==null?void 0:fe.goodWx)!=null&&Ae.avgSpd?(e.openBlock(),e.createElementBlock("div",HM,e.toDisplayString((Ye=(Oe=l.reportData)==null?void 0:Oe.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",JM,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",_M,[e.createElementVNode("div",XM,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",KM,e.toDisplayString((S=(Ue=l.reportData)==null?void 0:Ue.allWx)==null?void 0:S.avgSpd)+" kts",1)]),e.createElementVNode("div",qM,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",uM,e.toDisplayString((we=(pe=l.reportData)==null?void 0:pe.allWx)==null?void 0:we.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",$M,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",vM,e.toDisplayString((Le=(Ge=l.reportData)==null?void 0:Ge.allWx)==null?void 0:Le.avgDgoEcaCons)+" mt",1)])]),t[21]||(t[21]=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))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=l.reportData)==null?void 0:h.segments,(r,Y)=>{var Ve,be,Qe;return e.openBlock(),e.createElementBlock("div",{key:Y,class:"summary-seg"},[e.createElementVNode("div",e1,[e.createElementVNode("div",t1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(Y+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(re,Fe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Fe,class:e.normalizeClass(a.segDetail[Y].length>1?"dashed":"")},[e.createElementVNode("div",l1,[e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.port1),1),e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.time1),1)]),e.createElementVNode("div",o1,[e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.port2),1),e.createElementVNode("div",null,e.toDisplayString(re==null?void 0:re.time2),1)])],2))),128)),e.createElementVNode("div",n1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",a1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",i1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ve=r.goodWx)!=null&&Ve.distance?(e.openBlock(),e.createElementBlock("div",s1,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",d1,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",r1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",c1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",N1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",D1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(be=r.goodWx)!=null&&be.distance?(e.openBlock(),e.createElementBlock("div",M1,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",g1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",m1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",E1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",y1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",I1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Qe=r.goodWx)!=null&&Qe.distance?(e.openBlock(),e.createElementBlock("div",A1,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",p1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",V1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",T1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",x1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",z1,[t[29]||(t[29]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),e.createElementVNode("div",S1,[e.createElementVNode("div",C1,[t[27]||(t[27]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((We=l.reportData)==null?void 0:We.segments,(r,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:"remark-speed"},[e.createElementVNode("div",k1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Y+1}. Phase ${Y+1} Applied `)+" ",1),e.createElementVNode("span",j1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(Ve,be)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+be},e.toDisplayString(`${Ve.port1} (${Ve.fullTime1}) to ${Ve.port2} (${Ve.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",f1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",U1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(r,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",b1,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=l.reportData)==null?void 0:Ze.segments,(r,Y)=>{var Ve,be,Qe,re,Fe,He,Je,qe,ue,$e,ve,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,At,pt,Vt,Tt,zt,St,Ct,kt,jt,ft,Ut,bt,Ot,Yt,wt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Lt,Wt,Zt,Ht,Jt,_t,T,he,_e,Xe,et,U,Xt,Kt,qt,ut,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Al,pl,Vl,Tl,xl,zl,Sl,Cl,kl,jl,fl,Ul,bl,Ol,Yl,wl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Ll,Wl,_l,Xl,Kl,ql,ul,$l;return e.openBlock(),e.createElementBlock("div",{key:Y,class:"phase"},[e.createElementVNode("div",O1,[e.createElementVNode("div",Y1,[e.createElementVNode("div",w1,[e.createElementVNode("div",Q1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(Y+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[Y],(tt,vl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+vl,class:e.normalizeClass(a.segDetail[Y].length>1?"dashed":"")},[e.createElementVNode("div",h1,[e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.port1),1),e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.time1),1)]),e.createElementVNode("div",B1,[e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.port2),1),e.createElementVNode("div",null,e.toDisplayString(tt==null?void 0:tt.time2),1)])],2))),128)),e.createElementVNode("div",R1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",F1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])])]),t[212]||(t[212]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),e.createElementVNode("div",P1,[e.createElementVNode("div",G1,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",L1,[e.createElementVNode("span",null,e.toDisplayString(((Ve=r.goodWx)==null?void 0:Ve.avgFoEcaCons)||"-")+" mt",1)]),t[41]||(t[41]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",W1,[e.createElementVNode("span",null,e.toDisplayString(((be=r.allWx)==null?void 0:be.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Z1,[t[33]||(t[33]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Qe=r.goodWx)==null?void 0:Qe.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",H1,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((re=r.goodWx)==null?void 0:re.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",J1,[t[37]||(t[37]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Fe=r.allWx)==null?void 0:Fe.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",_1,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((He=r.allWx)==null?void 0:He.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=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))]),e.createElementVNode("div",X1,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",K1,[e.createElementVNode("span",null,e.toDisplayString(((Je=r.goodWx)==null?void 0:Je.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",q1,[e.createElementVNode("span",null,e.toDisplayString(((qe=r.allWx)==null?void 0:qe.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",u1,[t[44]||(t[44]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ue=r.goodWx)==null?void 0:ue.outEca.avgDgoCons)||"-"),1),t[43]||(t[43]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$1,[t[46]||(t[46]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=r.goodWx)==null?void 0:$e.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",v1,[t[48]||(t[48]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=r.allWx)==null?void 0:ve.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",eg,[t[50]||(t[50]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.avgDgoEcaCons)||"-"),1),t[49]||(t[49]=e.createElementVNode("span",null,"mt",-1))])]),t[53]||(t[53]=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))])]),e.createElementVNode("div",tg,[e.createElementVNode("div",lg,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",og,[e.createElementVNode("span",null,e.toDisplayString(((nt=r.goodWx)==null?void 0:nt.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",ng,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",ag,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.goodWx)==null?void 0:it.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",ig,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.goodWx)==null?void 0:st.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",sg,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=r.allWx)==null?void 0:dt.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",dg,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=r.allWx)==null?void 0:rt.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",rg,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",cg,[e.createElementVNode("span",null,e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Ng,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Dg,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Mg,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.goodWx)==null?void 0:Mt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",gg,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",mg,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",Eg,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",yg,[e.createElementVNode("span",null,e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",Ig,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ag,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.goodWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",pg,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Vg,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.allWx)==null?void 0:pt.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Tg,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=r.allWx)==null?void 0:Vt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",xg,[e.createElementVNode("div",zg,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Sg,[e.createElementVNode("span",null,e.toDisplayString(((Tt=r.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Cg,[e.createElementVNode("span",null,e.toDisplayString(((zt=r.allWx)==null?void 0:zt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",kg,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",jg,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=r.goodWx)==null?void 0:Ct.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",fg,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Ug,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((jt=r.allWx)==null?void 0:jt.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",bg,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",Og,[e.createElementVNode("span",null,e.toDisplayString(((ft=r.goodWx)==null?void 0:ft.sumDgoCons)||"-")+" mt",1)]),t[103]||(t[103]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),e.createElementVNode("div",Yg,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",wg,[t[95]||(t[95]=e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=r.goodWx)==null?void 0:bt.outEca.sumDgoCons)||"-"),1),t[94]||(t[94]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Qg,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",hg,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Yt=r.allWx)==null?void 0:Yt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Bg,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Rg,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",Fg,[e.createElementVNode("span",null,e.toDisplayString(((Qt=r.goodWx)==null?void 0:Qt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",Pg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(ht=r.goodWx)!=null&&ht.distance&&!((Rt=(Bt=l.reportData)==null?void 0:Bt.weather)!=null&&Rt.favorableCur&&((Ft=r.goodWx)==null?void 0:Ft.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",Gg,[e.createTextVNode(e.toDisplayString(i.computedPositive((Pt=r.goodWx)==null?void 0:Pt.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",Lg,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",Wg,[e.createElementVNode("div",Zg,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Gt=r.goodWx)!=null&&Gt.distance?(e.openBlock(),e.createElementBlock("div",Hg,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",qg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lt=r.goodWx)!=null&&Lt.distance?"":"analysis-none"} card analysis-card`)},[(Wt=r.goodWx)!=null&&Wt.distance?(e.openBlock(),e.createElementBlock("div",ug,[e.createElementVNode("div",$g,[t[109]||(t[109]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),t[110]||(t[110]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",vg,[e.createElementVNode("div",null,e.toDisplayString((Ht=(Zt=l.reportData)==null?void 0:Zt.weather)!=null&&Ht.noExtrapolation?(Jt=r.goodWx)==null?void 0:Jt.distance:(_t=r.allWx)==null?void 0:_t.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((T=r.goodWx)==null?void 0:T.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",em,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",tm,[t[114]||(t[114]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),t[115]||(t[115]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",lm,[e.createElementVNode("div",null,e.toDisplayString((_e=(he=l.reportData)==null?void 0:he.weather)!=null&&_e.noExtrapolation?(Xe=r.goodWx)==null?void 0:Xe.distance:(et=r.allWx)==null?void 0:et.distance),1),t[113]||(t[113]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",om,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",nm,[t[119]||(t[119]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),t[120]||(t[120]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",am,[e.createElementVNode("div",null,e.toDisplayString((Xt=(U=l.reportData)==null?void 0:U.weather)!=null&&Xt.noExtrapolation?(Kt=r.goodWx)==null?void 0:Kt.distance:(qt=r.allWx)==null?void 0:qt.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.plusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",im,e.toDisplayString(r.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),t[122]||(t[122]=e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1))])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",sm,[e.createElementVNode("div",dm,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(ut=r.goodWx)!=null&&ut.distance?(e.openBlock(),e.createElementBlock("div",rm,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",cm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Dm,[e.createElementVNode("span",Mm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",gm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=r.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(vt=r.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",mm,[e.createElementVNode("div",Em,[t[126]||(t[126]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[127]||(t[127]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",ym,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ll=r.goodWx)==null?void 0:ll.distance:(ol=r.allWx)==null?void 0:ol.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((nl=r.goodWx)==null?void 0:nl.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Im,[e.createElementVNode("div",null,e.toDisplayString((al=r.goodWx)==null?void 0:al.sumFoCons)+" "+e.toDisplayString(((il=r.allWx)==null?void 0:il.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((sl=r.goodWx)==null?void 0:sl.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Am,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",pm,[t[134]||(t[134]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[135]||(t[135]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Vm,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?(cl=r.goodWx)==null?void 0:cl.distance:(Nl=r.allWx)==null?void 0:Nl.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Tm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.overTolerance),1),t[132]||(t[132]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[133]||(t[133]=e.createElementVNode("div",null,"24",-1))]),t[137]||(t[137]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",xm,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",zm,[t[142]||(t[142]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[143]||(t[143]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Sm,[e.createElementVNode("div",null,e.toDisplayString((Ml=(Dl=l.reportData)==null?void 0:Dl.weather)!=null&&Ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(ml=r.allWx)==null?void 0:ml.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Cm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.underTolerance),1),t[140]||(t[140]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[141]||(t[141]=e.createElementVNode("div",null,"24",-1))]),t[145]||(t[145]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",km,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((yl=(El=r==null?void 0:r.extend)==null?void 0:El.cp)==null?void 0:yl.dgo)>0?(e.openBlock(),e.createElementBlock("div",jm,[e.createElementVNode("div",fm,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Al=r.goodWx)!=null&&Al.distance?(e.openBlock(),e.createElementBlock("div",Um,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Om,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Ym,[e.createElementVNode("span",wm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",Qm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(pl=r.goodWx)!=null&&pl.distance?"":"analysis-none"} card analysis-card`)},[(Vl=r.goodWx)!=null&&Vl.distance?(e.openBlock(),e.createElementBlock("div",hm,[e.createElementVNode("div",Bm,[t[150]||(t[150]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[151]||(t[151]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Rm,[e.createElementVNode("div",null,e.toDisplayString((xl=(Tl=l.reportData)==null?void 0:Tl.weather)!=null&&xl.noExtrapolation?(zl=r.goodWx)==null?void 0:zl.distance:(Sl=r.allWx)==null?void 0:Sl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cl=r.goodWx)==null?void 0:Cl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Fm,[e.createElementVNode("div",null,e.toDisplayString((kl=r.goodWx)==null?void 0:kl.sumDgoCons)+" "+e.toDisplayString(((jl=r.allWx)==null?void 0:jl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fl=r.goodWx)==null?void 0:fl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Pm,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Gm,[t[158]||(t[158]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Lm,[e.createElementVNode("div",null,e.toDisplayString((bl=(Ul=l.reportData)==null?void 0:Ul.weather)!=null&&bl.noExtrapolation?(Ol=r.goodWx)==null?void 0:Ol.distance:(Yl=r.allWx)==null?void 0:Yl.distance),1),t[155]||(t[155]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[160]||(t[160]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Wm,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.overTolerance),1),t[156]||(t[156]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[157]||(t[157]=e.createElementVNode("div",null,"24",-1))]),t[161]||(t[161]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Zm,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Hm,[t[166]||(t[166]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[167]||(t[167]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Jm,[e.createElementVNode("div",null,e.toDisplayString((Ql=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Ql.noExtrapolation?(hl=r.goodWx)==null?void 0:hl.distance:(Bl=r.allWx)==null?void 0:Bl.distance),1),t[163]||(t[163]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[168]||(t[168]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",_m,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.underTolerance),1),t[164]||(t[164]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[165]||(t[165]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Xm,e.toDisplayString(r.fuelConclusion.dgo.minCons)+" MT",1),t[170]||(t[170]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),t[213]||(t[213]=e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),e.createElementVNode("div",Km,[e.createElementVNode("div",qm,[t[187]||(t[187]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),e.createElementVNode("div",um,[e.createElementVNode("div",$m,[t[173]||(t[173]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),t[174]||(t[174]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((Fl=(Rl=l.reportData)==null?void 0:Rl.weather)!=null&&Fl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[171]||(t[171]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[172]||(t[172]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[175]||(t[175]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1))]),e.createElementVNode("div",eE,[t[178]||(t[178]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),t[179]||(t[179]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",tE,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[176]||(t[176]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[177]||(t[177]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[180]||(t[180]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1))]),e.createElementVNode("div",lE,[t[183]||(t[183]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t[184]||(t[184]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",oE,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=l.reportData)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[181]||(t[181]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[182]||(t[182]=e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1))]),t[185]||(t[185]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1))]),t[186]||(t[186]=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))])]),e.createElementVNode("div",nE,[t[211]||(t[211]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),e.createElementVNode("div",aE,[e.createElementVNode("div",iE,[t[190]||(t[190]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t[191]||(t[191]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",sE,[e.createElementVNode("div",null,e.toDisplayString((Xl=(_l=l.reportData)==null?void 0:_l.weather)!=null&&Xl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[188]||(t[188]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[189]||(t[189]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[192]||(t[192]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[193]||(t[193]=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)),t[194]||(t[194]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1))]),e.createElementVNode("div",dE,[t[197]||(t[197]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),t[198]||(t[198]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",rE,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=l.reportData)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[195]||(t[195]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[196]||(t[196]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[199]||(t[199]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[200]||(t[200]=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)),t[201]||(t[201]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1))]),e.createElementVNode("div",cE,[t[204]||(t[204]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),t[205]||(t[205]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",NE,[e.createElementVNode("div",null,e.toDisplayString(($l=(ul=l.reportData)==null?void 0:ul.weather)!=null&&$l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[202]||(t[202]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[203]||(t[203]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[206]||(t[206]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[207]||(t[207]=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)),t[208]||(t[208]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1))]),t[209]||(t[209]=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)),t[210]||(t[210]=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))])])])])])}),128))])],2)}const ME=Re(qD,[["render",DE],["__scopeId","data-v-b0ef3073"]]),GY="",gE={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,t,l,d){var M;let a="";const i=((M=this.summaryTable)==null?void 0:M.length)-1;return l&&t!==i&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(a=a+" excluded"),a}},computedSegClass(){return function(o,t){var d,a;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((a=this.summaryTable[t+1])!=null&&a.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?J(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?J(o).utc().format("MMMM-DD/HHmm[Z]"):J(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${te.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,a,i,M;this.showCF=(a=(d=this.reportData)==null?void 0:d.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(M=(i=this.reportData)==null?void 0:i.segments)==null||M.forEach((s,c)=>{let E=s.extend.cp;s.inventory.sample.hours.forEach((y,N)=>{let g=JSON.parse(JSON.stringify(y));g.cp=E,o.push(g)})}),o.sort(function(s,c){let E=s.date,y=c.date;return E-y});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let E=s.type.charAt(0);s.abbreviation=E;const y=J(s.utc).utc().format("D-MMM");y!==l&&(s.lastdate=y,l=y),E==="A"?s.type="":E==="M"&&(s.type="*"),s.time=J(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(te.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(te.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},mE={id:"second-table",class:"table"},EE={class:"summary-table"},yE={class:"summary-tbody"},IE={class:"voyage-map",style:{"page-break-inside":"avoid"}},AE=["src"];function pE(o,t,l,d,a,i){var M,s,c,E,y;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(M=l.reportData)==null?void 0:M.weather)!=null&&s.referenceOnly||(E=(c=l.reportData)==null?void 0:c.weather)!=null&&E.overallAsGoodWx?"watermark fli-main":"fli-main")},[t[3]||(t[3]=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)),e.createElementVNode("div",mE,[e.createElementVNode("div",null,[e.createElementVNode("table",EE,[t[0]||(t[0]=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)),e.createElementVNode("tbody",yE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(N,g)=>{var p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q;return e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",{class:e.normalizeClass(i.computedSegClass(N,g))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.time),3),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString((p=N.noon)==null?void 0:p.port),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(I=N.cp)==null?void 0:I.speed),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((A=(V=N.meteo)==null?void 0:V.wind)==null?void 0:A.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((x=(k=(C=N.meteo)==null?void 0:C.wave)==null?void 0:k.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((j=(m=(z=N.meteo)==null?void 0:z.wave)==null?void 0:m.swell)==null?void 0:j.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((P=(F=(R=N.meteo)==null?void 0:R.wave)==null?void 0:F.sig)==null?void 0:P.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(((G=N.meteo)==null?void 0:G.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((D=N.noon)==null?void 0:D.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((b=N.noon)==null?void 0:b.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(w=N.cp)==null?void 0:w.fo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(O=N.cp)==null?void 0:O.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((f=N.noon)==null?void 0:f.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":((B=N.noon)==null?void 0:B.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":(L=N.noon)==null?void 0:L.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,g))},e.toDisplayString(N.abbreviation==="A"?"":(Q=N.noon)==null?void 0:Q.dgoBrob),3)])}),128))])])])]),t[4]||(t[4]=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1)),e.createElementVNode("div",IE,[t[1]||(t[1]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),e.createElementVNode("img",{style:{width:"100%"},src:(y=l.reportData)==null?void 0:y.chartUrl,alt:""},null,8,AE),t[2]||(t[2]=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>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-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1))])],2)}const VE=Re(gE,[["render",pE],["__scopeId","data-v-ec7ec0f5"]]),LY="",TE={components:{Summary:ME,Inventory:VE},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},xE={class:"voyage-report"};function zE(o,t,l,d,a,i){const M=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",xE,[e.createVNode(M,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:i.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const is=Re(TE,[["render",zE],["__scopeId","data-v-77dca605"]]),WY="",SE={name:"OrmVoyageSummary",components:{Lng:On,Lat:Yn,Editor:Jl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(o){return te.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return te.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t){return o.consPercentage?t==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:t==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{const a=l.excluded;a.sumDistance>0&&a.detail.forEach(i=>{const M={time:J(i.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+J(i.end).utc().format("MMM-DD/HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.exclusion.push(M)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},CE={class:"report-summary"},kE={class:"section voyage-section flex-space"},jE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},fE={class:"flex-space label-block",style:{width:"100%"}},UE={style:{"text-transform":"uppercase"}},bE={class:"flex-space label-block",style:{width:"100%"}},OE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YE={class:"flex-space label-block",style:{width:"100%"}},wE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},QE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},hE={class:"flex-space label-block",style:{width:"100%"}},BE={key:0,class:"flex-end",style:{flex:"1"}},RE={key:1,class:"flex-end",style:{flex:"1"}},FE={class:"flex-end",style:{width:"150px"}},PE={class:"flex-space label-block",style:{width:"100%"}},GE={key:0,class:"flex-end",style:{flex:"1"}},LE={key:1,class:"flex-end",style:{flex:"1"}},WE={class:"flex-end",style:{width:"150px"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},JE={class:"section weather-section"},_E={class:"definition"},XE={class:"txt"},KE={class:"section summary-section"},qE={class:"phase-box"},uE={class:"phase-index"},$E={class:"phase-position"},vE={key:0},ey={key:1},ty={class:"phase-position"},ly={key:0},oy={key:1},ny={class:"phase-cp flex-space"},ay={class:"cp-box"},iy={class:"flex-space"},sy={class:"phase-conclusion flex-space"},dy={class:"item-conclusion"},ry={class:"value flex-start"},cy={key:0,class:"label flex-end"},Ny={key:0},Dy={key:1},My={key:2},gy={key:1,class:"label flex-end"},my={key:2,class:"value flex-end"},Ey={key:0},yy={class:"gain"},Iy={key:1},Ay={class:"lost"},py={key:2},Vy={class:"item-conclusion"},Ty={class:"value flex-start"},xy={key:0,class:"label flex-end"},zy={key:0},Sy={key:1},Cy={key:2},ky={key:1,class:"label flex-end"},jy={key:2,class:"value flex-end"},fy={key:0},Uy={class:"gain"},by={key:1},Oy={class:"lost"},Yy={key:2},wy={class:"item-conclusion"},Qy={class:"value flex-start"},hy={key:0,class:"label flex-end"},By={key:0},Ry={key:1},Fy={key:2},Py={key:1,class:"label flex-end"},Gy={key:2,class:"value flex-end"},Ly={key:0},Wy={class:"gain"},Zy={key:1},Hy={class:"lost"},Jy={key:2},_y={key:0,class:"exclusion-block"},Xy={style:{margin:"8px 0"}},Ky={class:"remark-table"},qy=["innerHTML"],uy={class:"section segment-section"},$y={class:"segment-index flex-center"},vy={class:"segment-position"},eI={key:0},tI={key:1},lI={class:"segment-position"},oI={key:0},nI={key:1},aI={style:{margin:"10px 0 0"}},iI={class:"good-wx"},sI={class:"good-wx"},dI={class:"good-wx"},rI={class:"good-wx"},cI={class:"good-wx"},NI={class:"good-wx"},DI={class:"good-wx"},MI={class:"good-wx"},gI={class:"good-wx"},mI={class:"good-wx"},EI={class:"good-wx"},yI={class:"good-wx"},II={class:"good-wx"},AI={class:"good-wx"},pI={key:0,class:"flex-end tip"},VI={key:1,class:"segment-speed"},TI={class:"flex-center"},xI={class:"speed-right flex-space"},zI={class:"speed"},SI={key:1,class:"speed"},CI={key:0,class:"speed"},kI={class:"speed"},jI={class:"speed"},fI={class:"speed"},UI={key:2,class:"under"},bI={key:3,class:"over"},OI={class:"flex-center"},YI={class:"speed-right formula flex-space"},wI={key:0},QI={key:2,class:"segment-speed"},hI={class:"flex-center"},BI={class:"speed-right flex-space"},RI={class:"speed"},FI={class:"speed"},PI={key:2,class:"under"},GI={key:3,class:"over"},LI={class:"flex-center"},WI={class:"speed-right formula flex-space"},ZI={class:"segment-formula"},HI={class:"header-block flex-start"},JI={class:"title"},_I={key:0,style:{"margin-left":"4px","font-weight":"300"}},XI={class:"formula-block"},KI={class:"flex-evenly"},qI={class:"formula-right flex-evenly"},uI={class:"fraction",style:{width:"240px"}},$I={class:"flex-center"},vI={class:"formula-left flex-space"},eA={class:"formula-right flex-evenly"},tA={class:"fraction",style:{width:"240px"}},lA={class:"flex-center"},oA={class:"formula-left flex-space"},nA={class:"formula-right flex-evenly"},aA={class:"fraction",style:{width:"240px"}},iA={class:"formula-desc"},sA={class:"flex-end"},dA={class:"flex-end"},rA={class:"flex-end"},cA={key:0,class:"formula-block",style:{"font-weight":"400"}},NA={class:"flex-evenly"},DA={class:"formula-right flex-evenly"},MA={class:"fraction",style:{width:"240px"}},gA={class:"flex-center"},mA={class:"formula-left flex-space"},EA={class:"formula-right flex-evenly"},yA={class:"fraction",style:{width:"240px"}},IA={class:"flex-center"},AA={class:"formula-left flex-space"},pA={class:"formula-right flex-evenly"},VA={class:"fraction",style:{width:"240px"}},TA={class:"formula-conclusion",style:{"margin-bottom":"0"}},xA={key:0,class:"flex-evenly",style:{width:"500px"}},zA={key:1,class:"flex-evenly",style:{width:"500px"}},SA={key:1,class:"formula-conclusion"},CA={class:"segment-formula"},kA={class:"header-block flex-start"},jA={class:"title"},fA={key:0,style:{"margin-left":"4px","font-weight":"300"}},UA={class:"formula-block"},bA={class:"flex-evenly"},OA={class:"formula-right flex-evenly"},YA={class:"fraction",style:{width:"240px"}},wA={style:{"line-height":"1"}},QA={key:0,class:"tips flex-end",style:{"font-size":"14px"}},hA={class:"flex-center"},BA={class:"formula-right flex-evenly"},RA={class:"fraction",style:{width:"240px"}},FA={class:"flex-center"},PA={class:"formula-right flex-evenly"},GA={class:"fraction",style:{width:"240px"}},LA={class:"flex-center"},WA={class:"formula-right flex-evenly"},ZA={class:"fraction",style:{width:"270px"}},HA={class:"flex-center"},JA={class:"formula-right flex-evenly"},_A={class:"fraction",style:{width:"270px"}},XA={class:"header-block flex-start",style:{"margin-top":"10px"}},KA={class:"title"},qA={key:0,class:"formula-block"},uA={key:0,class:"flex-evenly"},$A={class:"formula-right flex-evenly"},vA={class:"fraction",style:{width:"60px"}},ep={class:"fraction",style:{width:"60px"}},tp={class:"flex-evenly"},lp={class:"formula-right flex-evenly"},op={class:"fraction",style:{width:"240px"}},np={class:"fraction",style:{width:"240px"}},ap={key:0},ip={class:"flex-evenly"},sp={class:"formula-right flex-evenly"},dp={class:"fraction",style:{width:"240px"}},rp={class:"fraction",style:{width:"240px"}},cp={class:"flex-evenly"},Np={class:"formula-right flex-evenly"},Dp={class:"fraction",style:{width:"240px"}},Mp={class:"fraction",style:{width:"240px"}},gp={class:"formula-conclusion",style:{"margin-bottom":"0"}},mp={class:"flex-evenly",style:{width:"500px"}},Ep={key:0,class:"flex-evenly"},yp={class:"fraction"},Ip={class:"flex-evenly",style:{width:"700px"}},Ap={key:0,class:"flex-evenly",style:{width:"500px"}},pp={class:"fraction",style:{width:"140px"}},Vp={key:1,class:"formula-conclusion"},Tp={class:"header-block flex-end",style:{"margin-top":"10px"}},xp={class:"title"},zp={key:0,class:"formula-block"},Sp={class:"flex-evenly"},Cp={class:"formula-right flex-evenly"},kp={class:"fraction",style:{width:"240px"}},jp={class:"fraction",style:{width:"240px"}},fp={key:0},Up={class:"flex-evenly"},bp={class:"formula-right flex-evenly"},Op={class:"fraction",style:{width:"240px"}},Yp={class:"fraction",style:{width:"240px"}},wp={class:"flex-evenly"},Qp={class:"formula-right flex-evenly"},hp={class:"fraction",style:{width:"240px"}},Bp={class:"fraction",style:{width:"240px"}},Rp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Fp={key:0,class:"flex-evenly",style:{width:"500px"}},Pp={key:1,class:"flex-evenly",style:{width:"700px"}},Gp={key:1,class:"formula-conclusion"};function Lp(o,t,l,d,a,i){var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q,K,le,oe;const M=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",CE,[e.createElementVNode("div",kE,[e.createElementVNode("div",jE,[e.createElementVNode("div",fE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",UE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",bE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",OE,e.toDisplayString((y=(E=l.report)==null?void 0:E.vessel)==null?void 0:y.name)+" ("+e.toDisplayString((g=(N=l.report)==null?void 0:N.vessel)==null?void 0:g.type)+")",1)]),e.createElementVNode("div",YE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",wE,e.toDisplayString((I=(p=l.report)==null?void 0:p.voyage)==null?void 0:I.number),1)])]),e.createElementVNode("div",QE,[e.createElementVNode("div",hE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(A=(V=l.report)==null?void 0:V.departure)!=null&&A.portName?(e.openBlock(),e.createElementBlock("span",BE,e.toDisplayString((k=(C=l.report)==null?void 0:C.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(M,{lat:(z=(x=l.report)==null?void 0:x.departure)==null?void 0:z.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(m=l.report.departure)==null?void 0:m.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",FE,e.toDisplayString(i.computeUTCTime((j=l.report.departure)==null?void 0:j.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",PE,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(F=(R=l.report)==null?void 0:R.arrival)!=null&&F.portName?(e.openBlock(),e.createElementBlock("span",GE,e.toDisplayString((G=(P=l.report)==null?void 0:P.arrival)==null?void 0:G.portName),1)):(e.openBlock(),e.createElementBlock("div",LE,[e.createVNode(M,{lat:(b=(D=l.report)==null?void 0:D.arrival)==null?void 0:b.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[8]||(t[8]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(O=(w=l.report)==null?void 0:w.arrival)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",WE,e.toDisplayString(i.computeUTCTime((B=(f=l.report)==null?void 0:f.arrival)==null?void 0:B.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ZE,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",HE,e.toDisplayString((Q=(L=l.report)==null?void 0:L.voyage)==null?void 0:Q.loadCondition),1)])])]),e.createElementVNode("div",JE,[t[11]||(t[11]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),e.createElementVNode("div",_E,[e.createElementVNode("div",XE,e.toDisplayString(i.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",KE,[t[41]||(t[41]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((K=l.report)==null?void 0:K.segments,(n,Z)=>{var q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze,r;return e.openBlock(),e.createElementBlock("div",{key:"summary"+Z,class:"segment-box flex-space"},[e.createElementVNode("div",qE,[e.createElementVNode("div",uE,"Seg."+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Y,Ve)=>{var be,Qe,re,Fe,He,Je,qe,ue,$e,ve;return e.openBlock(),e.createElementBlock("div",{key:Ve,class:"phase-row flex-space"},[e.createElementVNode("div",$E,[(be=Y==null?void 0:Y.departure)!=null&&be.portName?(e.openBlock(),e.createElementBlock("span",vE,e.toDisplayString((Qe=Y==null?void 0:Y.departure)==null?void 0:Qe.portName),1)):(e.openBlock(),e.createElementBlock("span",ey,e.toDisplayString(i.computeLat((re=Y==null?void 0:Y.departure)==null?void 0:re.lat).pretty)+", "+e.toDisplayString(i.computeLng((Fe=Y==null?void 0:Y.departure)==null?void 0:Fe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((He=Y==null?void 0:Y.departure)==null?void 0:He.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",ty,[(Je=Y==null?void 0:Y.arrival)!=null&&Je.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((qe=Y==null?void 0:Y.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",oy,e.toDisplayString(i.computeLat((ue=Y==null?void 0:Y.arrival)==null?void 0:ue.lat).pretty)+", "+e.toDisplayString(i.computeLng(($e=Y==null?void 0:Y.arrival)==null?void 0:$e.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((ve=Y==null?void 0:Y.arrival)==null?void 0:ve.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",ny,[e.createElementVNode("div",ay,[t[20]||(t[20]=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)),e.createElementVNode("div",iy,[t[19]||(t[19]=e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(($=(u=n==null?void 0:n.extend)==null?void 0:u.cp)==null?void 0:$.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ee=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:ee.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ae=(ne=n==null?void 0:n.extend)==null?void 0:ne.cp)==null?void 0:ae.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ce=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:ce.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((de=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:de.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",sy,[e.createElementVNode("div",dy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",ry,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),t[21]||(t[21]=e.createElementVNode("div",{class:"unit"},"hrs",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",cy,[((Ne=n==null?void 0:n.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Ny,"Time Gained")):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Dy,"Time Lost")):(e.openBlock(),e.createElementBlock("div",My,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",gy,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",my,[((se=n==null?void 0:n.timeConclusion)==null?void 0:se.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Ey,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",yy,e.toDisplayString((Me=n==null?void 0:n.timeConclusion)==null?void 0:Me.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Iy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Ay,e.toDisplayString((me=n==null?void 0:n.timeConclusion)==null?void 0:me.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",py,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Vy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),t[27]||(t[27]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",xy,[((ye=(Ee=n==null?void 0:n.fuelConclusion)==null?void 0:Ee.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",zy,"FO Saving")):((Te=(Ie=n==null?void 0:n.fuelConclusion)==null?void 0:Ie.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Sy,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Cy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ky,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jy,[((ze=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",fy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Uy,e.toDisplayString((Ce=(Se=n==null?void 0:n.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Ce.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((je=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:je.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",by,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:Ae.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Yy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",wy,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",Qy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),t[33]||(t[33]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hy,[((Ye=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",By,"DO/GO Saving")):((S=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:S.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ry,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Fy,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Py,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Gy,[((we=(pe=n==null?void 0:n.fuelConclusion)==null?void 0:pe.dgo)==null?void 0:we.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ly,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Wy,e.toDisplayString((Le=(Ge=n==null?void 0:n.fuelConclusion)==null?void 0:Ge.dgo)==null?void 0:Le.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((We=(h=n==null?void 0:n.fuelConclusion)==null?void 0:h.dgo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Zy,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((r=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:r.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Jy,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((le=l.report)==null?void 0:le.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),a.exclusion.length?(e.openBlock(),e.createElementBlock("div",_y,[t[44]||(t[44]=e.createElementVNode("div",{class:"title"},"Exclusion",-1)),t[45]||(t[45]=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)),e.createElementVNode("div",Xy,[e.createElementVNode("table",Ky,[t[43]||(t[43]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(n,Z)=>(e.openBlock(),e.createElementBlock("tr",{key:Z},[e.createElementVNode("td",null,e.toDisplayString(Z+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((oe=l.report)==null?void 0:oe.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>a.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>i.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>i.handleEdit&&i.handleEdit(...n)),innerHTML:a.remarks},null,40,qy))],2)],2),e.createElementVNode("div",uy,[t[253]||(t[253]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(n,Z)=>{var q,u,$,v,ee,ne,ae,ie,ce,_,de,Ne,De,se,Me,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,je,fe,Ae,Oe,Ye,Ue,S,pe,we,Ge,Le,h,We,Ze,r,Y,Ve,be,Qe,re,Fe,He,Je,qe,ue,$e,ve,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,At,pt,Vt,Tt,zt,St,Ct,kt,jt,ft,Ut,bt,Ot,Yt,wt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Lt,Wt,Zt,Ht,Jt,_t,T,he,_e,Xe,et,U,Xt,Kt,qt,ut,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Al,pl,Vl,Tl,xl,zl,Sl,Cl,kl,jl,fl,Ul,bl,Ol,Yl,wl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Ll,Wl,_l,Xl,Kl,ql,ul,$l,tt,vl,eo,to,lo,oo,no,ao,io,so,ro,co,No,Do,Mo,go,mo,Eo,yo,Io,Ao,po,Vo,To,xo,zo,So,Co,ko,jo,fo,Uo,bo,Oo,Yo,wo,Qo,ho,Bo,Ro,Fo,Po,Go,Lo,Wo,Zo,Ho,Jo,_o,Xo,Ko,qo,uo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,H,Il,cn,Nn,Dn,Mn,gn,mn,En,yn,Ke,An,pn,Vn,Tn,X,Zl,xn,zn,Sn,Cn,kn,jn,fn,Un,lt,Bn,Rn,Fn,Pn,Gn,Ln,Wn,Zn,Hn,Jn,_n,Xn,Kn,qn,un,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ga,ma,Ea,ya,Ia,Aa,pa,Va,Ta,xa,za,Sa,Ca,ka,ja,fa,Ua,ba,Oa,Ya,wa,Qa,ha,Ba,Ra,Fa,Pa,Ga,La,Wa,Za,Ha,Ja,_a,Xa,Ka,qa,ua,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,gi,mi,Ei,yi,Ii,Ai,pi,Vi,Ti,xi,zi,Si,Ci,ki,ji,fi,Ui,bi,Oi,Yi,wi,Qi,hi,Bi,Ri,Fi;return e.openBlock(),e.createElementBlock("div",{key:Z,class:"segment-block"},[e.createElementVNode("div",$y,"Voyage Analysis Seg. "+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Pe,es)=>{var Pi,Gi,Li,Wi,Zi,Hi,Ji,_i,Xi,Ki;return e.openBlock(),e.createElementBlock("div",{key:es,class:"segment-row flex-space"},[e.createElementVNode("div",vy,[(Pi=Pe==null?void 0:Pe.departure)!=null&&Pi.portName?(e.openBlock(),e.createElementBlock("span",eI,e.toDisplayString((Gi=Pe==null?void 0:Pe.departure)==null?void 0:Gi.portName),1)):(e.openBlock(),e.createElementBlock("span",tI,e.toDisplayString(i.computeLat((Li=Pe==null?void 0:Pe.departure)==null?void 0:Li.lat).pretty)+", "+e.toDisplayString(i.computeLng((Wi=Pe==null?void 0:Pe.departure)==null?void 0:Wi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Zi=Pe==null?void 0:Pe.departure)==null?void 0:Zi.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",lI,[(Hi=Pe==null?void 0:Pe.arrival)!=null&&Hi.portName?(e.openBlock(),e.createElementBlock("span",oI,e.toDisplayString((Ji=Pe==null?void 0:Pe.arrival)==null?void 0:Ji.portName),1)):(e.openBlock(),e.createElementBlock("span",nI,e.toDisplayString(i.computeLat((_i=Pe==null?void 0:Pe.arrival)==null?void 0:_i.lat).pretty)+", "+e.toDisplayString(i.computeLng((Xi=Pe==null?void 0:Pe.arrival)==null?void 0:Xi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Ki=Pe==null?void 0:Pe.arrival)==null?void 0:Ki.utcTime))+")",1)])])}),128)),t[250]||(t[250]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",aI,[e.createElementVNode("table",null,[t[55]||(t[55]=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)),t[56]||(t[56]=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)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",iI,e.toDisplayString(($=(u=n==null?void 0:n.goodWx)==null?void 0:u.outEca)==null?void 0:$.distance),1),e.createElementVNode("td",sI,e.toDisplayString((ee=(v=n==null?void 0:n.goodWx)==null?void 0:v.inEca)==null?void 0:ee.distance),1),e.createElementVNode("td",null,e.toDisplayString((ae=(ne=n==null?void 0:n.allWx)==null?void 0:ne.outEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=n==null?void 0:n.allWx)==null?void 0:ie.inEca)==null?void 0:ce.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",dI,e.toDisplayString((de=(_=n==null?void 0:n.goodWx)==null?void 0:_.outEca)==null?void 0:de.time),1),e.createElementVNode("td",rI,e.toDisplayString((De=(Ne=n==null?void 0:n.goodWx)==null?void 0:Ne.inEca)==null?void 0:De.time),1),e.createElementVNode("td",null,e.toDisplayString((Me=(se=n==null?void 0:n.allWx)==null?void 0:se.outEca)==null?void 0:Me.time),1),e.createElementVNode("td",null,e.toDisplayString((me=(ge=n==null?void 0:n.allWx)==null?void 0:ge.inEca)==null?void 0:me.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",cI,e.toDisplayString(((ye=(Ee=n==null?void 0:n.goodWx)==null?void 0:Ee.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",NI,e.toDisplayString(((Te=(Ie=n==null?void 0:n.goodWx)==null?void 0:Ie.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ze=(xe=n==null?void 0:n.allWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ce=(Se=n==null?void 0:n.allWx)==null?void 0:Se.inEca)==null?void 0:Ce.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",DI,e.toDisplayString(((je=(ke=n==null?void 0:n.goodWx)==null?void 0:ke.outEca)==null?void 0:je.sumFoCons)||"--"),1),e.createElementVNode("td",MI,e.toDisplayString(((Ae=(fe=n==null?void 0:n.goodWx)==null?void 0:fe.inEca)==null?void 0:Ae.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((S=(Ue=n==null?void 0:n.allWx)==null?void 0:Ue.inEca)==null?void 0:S.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",gI,e.toDisplayString(((we=(pe=n==null?void 0:n.goodWx)==null?void 0:pe.outEca)==null?void 0:we.avgFoCons)||"--"),1),e.createElementVNode("td",mI,e.toDisplayString(((Le=(Ge=n==null?void 0:n.goodWx)==null?void 0:Ge.inEca)==null?void 0:Le.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((We=(h=n==null?void 0:n.allWx)==null?void 0:h.outEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.inEca)==null?void 0:r.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",EI,e.toDisplayString(((Ve=(Y=n==null?void 0:n.goodWx)==null?void 0:Y.outEca)==null?void 0:Ve.sumDgoCons)||"--"),1),e.createElementVNode("td",yI,e.toDisplayString(((Qe=(be=n==null?void 0:n.goodWx)==null?void 0:be.inEca)==null?void 0:Qe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Fe=(re=n==null?void 0:n.allWx)==null?void 0:re.outEca)==null?void 0:Fe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(He=n==null?void 0:n.allWx)==null?void 0:He.inEca)==null?void 0:Je.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[54]||(t[54]=e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),e.createElementVNode("td",II,e.toDisplayString(((ue=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:ue.avgDgoCons)||"--"),1),e.createElementVNode("td",AI,e.toDisplayString(((ve=($e=n==null?void 0:n.goodWx)==null?void 0:$e.inEca)==null?void 0:ve.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((nt=(ot=n==null?void 0:n.allWx)==null?void 0:ot.outEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.inEca)==null?void 0:it.avgDgoCons)||"--"),1)])])]),(st=a.exclusion[Z])!=null&&st.time?(e.openBlock(),e.createElementBlock("div",pI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(dt=n==null?void 0:n.goodWx)!=null&&dt.distance?(e.openBlock(),e.createElementBlock("div",VI,[e.createElementVNode("div",TI,[t[66]||(t[66]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",xI,[(ct=(rt=l.report)==null?void 0:rt.weather)!=null&&ct.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Vt=(pt=l.report)==null?void 0:pt.weather)!=null&&Vt.disableWxFactor&&((zt=(Tt=l.report)==null?void 0:Tt.weather)!=null&&zt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",CI,e.toDisplayString((St=n==null?void 0:n.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(kt=(Ct=l.report)==null?void 0:Ct.weather)!=null&&kt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((jt=n==null?void 0:n.goodWx)==null?void 0:jt.avgSpd),1),t[59]||(t[59]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ft=n==null?void 0:n.goodWx)==null?void 0:ft.avgCf)>0?(Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf:`(${(bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf})`),1),t[60]||(t[60]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",kI,e.toDisplayString((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.pfmSpd)+" (kts)",1)],64)):(wt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&wt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Qt=n==null?void 0:n.goodWx)==null?void 0:Qt.avgSpd),1),t[61]||(t[61]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ht=n==null?void 0:n.goodWx)==null?void 0:ht.avgWf)>0?(Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgWf:`(${(Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf})`),1),t[62]||(t[62]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",jI,e.toDisplayString((Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgSpd),1),t[63]||(t[63]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.avgWf)>0?(Lt=n==null?void 0:n.goodWx)==null?void 0:Lt.avgWf:`(${(Wt=n==null?void 0:n.goodWx)==null?void 0:Wt.avgWf})`),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgCf)>0?(Ht=n==null?void 0:n.goodWx)==null?void 0:Ht.avgCf:`(${(Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.avgCf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",fI,e.toDisplayString((_t=n==null?void 0:n.goodWx)==null?void 0:_t.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(Nt=l.report)==null?void 0:Nt.weather)!=null&&Dt.favorableCur&&((Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",SI,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgSpd),1),t[57]||(t[57]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((mt=n==null?void 0:n.goodWx)==null?void 0:mt.avgCf)>0?(Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf:`(${(yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgCf})`),1),t[58]||(t[58]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",zI,e.toDisplayString((It=n==null?void 0:n.goodWx)==null?void 0:It.pfmSpd)+" (kts)",1)],64))],64)),((T=n==null?void 0:n.goodWx)==null?void 0:T.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",UI,"(Under-performance)")):e.createCommentVNode("",!0),((he=n==null?void 0:n.goodWx)==null?void 0:he.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",bI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",OI,[t[83]||(t[83]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",YI,[(Xe=(_e=l.report)==null?void 0:_e.weather)!=null&&Xe.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(qt=(Kt=l.report)==null?void 0:Kt.weather)!=null&&qt.disableWxFactor&&(($t=(ut=l.report)==null?void 0:ut.weather)!=null&&$t.disableCFactor)?(e.openBlock(),e.createElementBlock("label",wI,"GW Average Speed")):(el=(vt=l.report)==null?void 0:vt.weather)!=null&&el.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[72]||(t[72]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[73]||(t[73]=e.createElementVNode("label",null,"-",-1)),t[74]||(t[74]=e.createElementVNode("label",null,"GW Current Factor",-1))],64)):(ll=(tl=l.report)==null?void 0:tl.weather)!=null&&ll.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t[75]||(t[75]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[76]||(t[76]=e.createElementVNode("label",null,"-",-1)),t[77]||(t[77]=e.createElementVNode("label",null,"GW Weather Factor",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[78]||(t[78]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[79]||(t[79]=e.createElementVNode("label",null,"-",-1)),t[80]||(t[80]=e.createElementVNode("label",null,"GW Weather Factor",-1)),t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(U=(et=l.report)==null?void 0:et.weather)!=null&&U.favorableCur&&((Xt=n==null?void 0:n.goodWx)==null?void 0:Xt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[67]||(t[67]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[68]||(t[68]=e.createElementVNode("label",null,"-",-1)),t[69]||(t[69]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",QI,[e.createElementVNode("div",hI,[t[89]||(t[89]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",BI,[(nl=(ol=l.report)==null?void 0:ol.weather)!=null&&nl.favorableCur&&((al=n==null?void 0:n.allWx)==null?void 0:al.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((gl=n==null?void 0:n.allWx)==null?void 0:gl.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ml=n==null?void 0:n.allWx)==null?void 0:ml.avgWf)>0?(El=n==null?void 0:n.allWx)==null?void 0:El.avgWf:`(${(yl=n==null?void 0:n.allWx)==null?void 0:yl.avgWf})`),1),t[88]||(t[88]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",FI,e.toDisplayString((Al=n==null?void 0:n.allWx)==null?void 0:Al.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.avgSpd),1),t[84]||(t[84]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgCf)>0?(dl=n==null?void 0:n.allWx)==null?void 0:dl.avgCf:`(${(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgCf})`),1),t[85]||(t[85]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf)>0?(Nl=n==null?void 0:n.allWx)==null?void 0:Nl.avgWf:`(${(Dl=n==null?void 0:n.allWx)==null?void 0:Dl.avgWf})`),1),t[86]||(t[86]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",RI,e.toDisplayString((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmSpd)+" (kts)",1)],64)),((pl=n==null?void 0:n.allWx)==null?void 0:pl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",PI,"(Under-performance)")):e.createCommentVNode("",!0),((Vl=n==null?void 0:n.allWx)==null?void 0:Vl.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",GI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",LI,[t[99]||(t[99]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",WI,[(xl=(Tl=l.report)==null?void 0:Tl.weather)!=null&&xl.favorableCur&&((zl=n==null?void 0:n.allWx)==null?void 0:zl.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[95]||(t[95]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[98]||(t[98]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[90]||(t[90]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[91]||(t[91]=e.createElementVNode("label",null,"-",-1)),t[92]||(t[92]=e.createElementVNode("label",null,"Current Factor",-1)),t[93]||(t[93]=e.createElementVNode("label",null,"-",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[251]||(t[251]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",ZI,[e.createElementVNode("div",HI,[t[100]||(t[100]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",JI,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Time Analysis",1),(Cl=(Sl=l.report)==null?void 0:Sl.weather)!=null&&Cl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",_I,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XI,[e.createElementVNode("div",KI,[t[104]||(t[104]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",qI,[e.createElementVNode("div",uI,[e.createElementVNode("div",null,e.toDisplayString((jl=(kl=l.report)==null?void 0:kl.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[101]||(t[101]=e.createElementVNode("div",{class:"line"},null,-1)),t[102]||(t[102]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[103]||(t[103]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",$I,[e.createElementVNode("div",vI,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ul=(fl=n==null?void 0:n.extend)==null?void 0:fl.cp)==null?void 0:Ul.speed,"Under"))+"kts)",1),t[105]||(t[105]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",eA,[e.createElementVNode("div",tA,[e.createElementVNode("div",null,e.toDisplayString((Ol=(bl=l.report)==null?void 0:bl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[106]||(t[106]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(wl=(Yl=n==null?void 0:n.extend)==null?void 0:Yl.cp)==null?void 0:wl.speed,"Under"))+"kts",1)]),t[107]||(t[107]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",lA,[e.createElementVNode("div",oA,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(hl=(Ql=n==null?void 0:n.extend)==null?void 0:Ql.cp)==null?void 0:hl.speed,"Over"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",nA,[e.createElementVNode("div",aA,[e.createElementVNode("div",null,e.toDisplayString((Rl=(Bl=l.report)==null?void 0:Bl.weather)!=null&&Rl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Pl=(Fl=n==null?void 0:n.extend)==null?void 0:Fl.cp)==null?void 0:Pl.speed,"Over"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(c)",-1))])]),t[111]||(t[111]=e.createStaticVNode('<div class="flex-start" data-v-0406c673><div class="flex-space" style="width:300px;font-weight:400;" data-v-0406c673><label data-v-0406c673>Time Lost</label><div data-v-0406c673>=</div><div data-v-0406c673>(a)</div><div data-v-0406c673>-</div><div data-v-0406c673>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-0406c673><label data-v-0406c673>Time Gained</label><div data-v-0406c673>=</div><div data-v-0406c673>(c)</div><div data-v-0406c673>-</div><div data-v-0406c673>(a)</div></div></div>',1))]),e.createElementVNode("div",iA,[e.createElementVNode("div",sA,[t[112]||(t[112]=e.createElementVNode("label",null,"Time Lost",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ll=(Gl=n==null?void 0:n.extend)==null?void 0:Gl.cp)==null?void 0:Ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",dA,[t[113]||(t[113]=e.createElementVNode("label",null,"Time Gained",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(_l=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:_l.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",rA,[t[114]||(t[114]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ul=(ql=n==null?void 0:n.extend)==null?void 0:ql.cp)==null?void 0:ul.speed,"Under"))+" kts) ",1)])]),($l=n==null?void 0:n.goodWx)!=null&&$l.distance?(e.openBlock(),e.createElementBlock("div",cA,[e.createElementVNode("div",NA,[t[118]||(t[118]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",DA,[e.createElementVNode("div",MA,[e.createElementVNode("div",null,e.toDisplayString((vl=(tt=l.report)==null?void 0:tt.weather)!=null&&vl.noExtrapolation?(eo=n==null?void 0:n.goodWx)==null?void 0:eo.distance:(to=n==null?void 0:n.allWx)==null?void 0:to.distance),1),t[115]||(t[115]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((lo=n==null?void 0:n.goodWx)==null?void 0:lo.pfmSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oo=n==null?void 0:n.timeConclusion)==null?void 0:oo.timeAtPfmSpd)+" (hrs)",1),t[117]||(t[117]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",gA,[e.createElementVNode("div",mA,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ao=(no=n==null?void 0:n.extend)==null?void 0:no.cp)==null?void 0:ao.speed,"Under"))+"kts)",1),t[119]||(t[119]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",EA,[e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((so=(io=l.report)==null?void 0:io.weather)!=null&&so.noExtrapolation?(ro=n==null?void 0:n.goodWx)==null?void 0:ro.distance:(co=n==null?void 0:n.allWx)==null?void 0:co.distance),1),t[120]||(t[120]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((No=n==null?void 0:n.timeConclusion)==null?void 0:No.minusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Do=n==null?void 0:n.timeConclusion)==null?void 0:Do.timeAtMinusAbtSpd)+" (hrs)",1),t[122]||(t[122]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",IA,[e.createElementVNode("div",AA,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(go=(Mo=n==null?void 0:n.extend)==null?void 0:Mo.cp)==null?void 0:go.speed,"Over"))+"kts)",1),t[123]||(t[123]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",pA,[e.createElementVNode("div",VA,[e.createElementVNode("div",null,e.toDisplayString((Eo=(mo=l.report)==null?void 0:mo.weather)!=null&&Eo.noExtrapolation?(yo=n==null?void 0:n.goodWx)==null?void 0:yo.distance:(Io=n==null?void 0:n.allWx)==null?void 0:Io.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ao=n==null?void 0:n.timeConclusion)==null?void 0:Ao.plusAbtSpd),1)]),t[125]||(t[125]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((po=n==null?void 0:n.timeConclusion)==null?void 0:po.timeAtPlusAbtSpd)+" (hrs)",1),t[126]||(t[126]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",TA,[((Vo=n==null?void 0:n.timeConclusion)==null?void 0:Vo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",xA,[t[127]||(t[127]=e.createElementVNode("div",null,"Time Lost",-1)),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),t[129]||(t[129]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[130]||(t[130]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.timeAtPfmSpd),1),t[131]||(t[131]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd),1),t[132]||(t[132]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((zo=n==null?void 0:n.timeConclusion)==null?void 0:zo.timeLost)+" (hrs)",1)])):((So=n==null?void 0:n.timeConclusion)==null?void 0:So.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",zA,[t[133]||(t[133]=e.createElementVNode("div",null,"Time Lost",-1)),t[134]||(t[134]=e.createElementVNode("div",null,"=",-1)),t[135]||(t[135]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[136]||(t[136]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Co=n==null?void 0:n.timeConclusion)==null?void 0:Co.timeAtPlusAbtSpd),1),t[137]||(t[137]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((ko=n==null?void 0:n.timeConclusion)==null?void 0:ko.timeAtPfmSpd),1),t[138]||(t[138]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((jo=n==null?void 0:n.timeConclusion)==null?void 0:jo.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fo=n==null?void 0:n.timeConclusion)==null?void 0:fo.conclusionStatus)==="Lost"?"flex-center lost":((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[139]||(t[139]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",SA,e.toDisplayString(a.noGoodWxDay),1))]),t[252]||(t[252]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",CA,[e.createElementVNode("div",kA,[t[140]||(t[140]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",jA,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Consumption Analysis",1),(Yo=(Oo=l.report)==null?void 0:Oo.weather)!=null&&Yo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",fA,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",UA,[e.createElementVNode("div",bA,[t[146]||(t[146]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",OA,[e.createElementVNode("div",YA,[e.createElementVNode("div",null,e.toDisplayString((Qo=(wo=l.report)==null?void 0:wo.weather)!=null&&Qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[141]||(t[141]=e.createElementVNode("div",{class:"line"},null,-1)),t[142]||(t[142]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[143]||(t[143]=e.createElementVNode("div",null,"x",-1)),t[144]||(t[144]=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)),t[145]||(t[145]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",wA,[t[147]||(t[147]=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)),((Bo=(ho=n.extend)==null?void 0:ho.cp)==null?void 0:Bo.dgo)>0?(e.openBlock(),e.createElementBlock("div",QA," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",hA,[t[152]||(t[152]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",BA,[e.createElementVNode("div",RA,[e.createElementVNode("div",null,e.toDisplayString((Fo=(Ro=l.report)==null?void 0:Ro.weather)!=null&&Fo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[148]||(t[148]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Go=(Po=n==null?void 0:n.extend)==null?void 0:Po.cp)==null?void 0:Go.speed,"Under"))+"kts",1)]),t[149]||(t[149]=e.createElementVNode("div",null,"x",-1)),t[150]||(t[150]=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)),t[151]||(t[151]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",FA,[t[157]||(t[157]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PA,[e.createElementVNode("div",GA,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[153]||(t[153]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ho=(Zo=n==null?void 0:n.extend)==null?void 0:Zo.cp)==null?void 0:Ho.speed,"Over"))+"kts",1)]),t[154]||(t[154]=e.createElementVNode("div",null,"x",-1)),t[155]||(t[155]=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)),t[156]||(t[156]=e.createElementVNode("div",null,"(f)",-1))])]),t[164]||(t[164]=e.createStaticVNode('<div class="flex-start" data-v-0406c673><div class="flex-space" style="width:300px;font-weight:400;" data-v-0406c673><label data-v-0406c673>Fuel Over-consumption</label><div data-v-0406c673>=</div><div data-v-0406c673>(d)</div><div data-v-0406c673>-</div><div data-v-0406c673>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-0406c673><label data-v-0406c673>Fuel Saving</label><div data-v-0406c673>=</div><div data-v-0406c673>(f)</div><div data-v-0406c673>-</div><div data-v-0406c673>(d)</div></div></div>',1)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LA,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",WA,[e.createElementVNode("div",ZA,[t[158]||(t[158]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ko=(Xo=l.report)==null?void 0:Xo.weather)!=null&&Ko.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",HA,[t[163]||(t[163]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",JA,[e.createElementVNode("div",_A,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((uo=(qo=l.report)==null?void 0:qo.weather)!=null&&uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[249]||(t[249]=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)),e.createElementVNode("div",XA,[t[165]||(t[165]=e.createElementVNode("i",{class:"iconfont"},"  ",-1)),e.createElementVNode("div",KA,"Seg. "+e.toDisplayString(Z+1)+" Fuel Oil",1)]),($o=n==null?void 0:n.goodWx)!=null&&$o.distance?(e.openBlock(),e.createElementBlock("div",qA,[((en=(vo=n==null?void 0:n.goodWx)==null?void 0:vo.inEca)==null?void 0:en.distance)>0?(e.openBlock(),e.createElementBlock("div",uA,[t[171]||(t[171]=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)),e.createElementVNode("div",$A,[e.createElementVNode("div",vA,[e.createElementVNode("div",null,e.toDisplayString((ln=(tn=n==null?void 0:n.goodWx)==null?void 0:tn.inEca)==null?void 0:ln.sumDgoCons),1)]),t[168]||(t[168]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",ep,[e.createElementVNode("div",null,e.toDisplayString((nn=(on=n==null?void 0:n.extend)==null?void 0:on.cp)==null?void 0:nn.dgo),1),t[166]||(t[166]=e.createElementVNode("div",{class:"line"},null,-1)),t[167]||(t[167]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((sn=(an=n==null?void 0:n.goodWx)==null?void 0:an.inEca)==null?void 0:sn.time),1),t[170]||(t[170]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((rn=(dn=n==null?void 0:n.fuelConclusion)==null?void 0:dn.fo)==null?void 0:rn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",tp,[t[178]||(t[178]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",lp,[e.createElementVNode("div",op,[e.createElementVNode("div",null,e.toDisplayString((Il=(H=l.report)==null?void 0:H.weather)!=null&&Il.noExtrapolation?(cn=n==null?void 0:n.goodWx)==null?void 0:cn.distance:(Nn=n==null?void 0:n.allWx)==null?void 0:Nn.distance),1),t[172]||(t[172]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Dn=n==null?void 0:n.goodWx)==null?void 0:Dn.pfmSpd),1)]),t[175]||(t[175]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",np,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Mn=n==null?void 0:n.goodWx)==null?void 0:Mn.sumFoCons),1),((mn=(gn=n==null?void 0:n.goodWx)==null?void 0:gn.inEca)==null?void 0:mn.distance)>0?(e.openBlock(),e.createElementBlock("span",ap,[t[173]||(t[173]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[174]||(t[174]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ke=n==null?void 0:n.goodWx)==null?void 0:Ke.time),1)]),t[176]||(t[176]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pn=(An=n.fuelConclusion)==null?void 0:An.fo)==null?void 0:pn.entireCons)+" (mt)",1),t[177]||(t[177]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",ip,[t[185]||(t[185]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",sp,[e.createElementVNode("div",dp,[e.createElementVNode("div",null,e.toDisplayString((Tn=(Vn=l.report)==null?void 0:Vn.weather)!=null&&Tn.noExtrapolation?(X=n==null?void 0:n.goodWx)==null?void 0:X.distance:(Zl=n==null?void 0:n.allWx)==null?void 0:Zl.distance),1),t[179]||(t[179]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((xn=n==null?void 0:n.timeConclusion)==null?void 0:xn.minusAbtSpd),1)]),t[182]||(t[182]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",rp,[e.createElementVNode("div",null,e.toDisplayString((Sn=(zn=n==null?void 0:n.fuelConclusion)==null?void 0:zn.fo)==null?void 0:Sn.overTolerance),1),t[180]||(t[180]=e.createElementVNode("div",{class:"line"},null,-1)),t[181]||(t[181]=e.createElementVNode("div",null,"24",-1))]),t[183]||(t[183]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Cn=n.fuelConclusion)==null?void 0:Cn.fo)==null?void 0:kn.maxCons)+" (mt)",1),t[184]||(t[184]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",cp,[t[192]||(t[192]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Np,[e.createElementVNode("div",Dp,[e.createElementVNode("div",null,e.toDisplayString((fn=(jn=l.report)==null?void 0:jn.weather)!=null&&fn.noExtrapolation?(Un=n==null?void 0:n.goodWx)==null?void 0:Un.distance:(lt=n==null?void 0:n.allWx)==null?void 0:lt.distance),1),t[186]||(t[186]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Bn=n==null?void 0:n.timeConclusion)==null?void 0:Bn.minusAbtSpd),1)]),t[189]||(t[189]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Mp,[e.createElementVNode("div",null,e.toDisplayString((Fn=(Rn=n==null?void 0:n.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:Fn.underTolerance),1),t[187]||(t[187]=e.createElementVNode("div",{class:"line"},null,-1)),t[188]||(t[188]=e.createElementVNode("div",null,"24",-1))]),t[190]||(t[190]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gn=(Pn=n.fuelConclusion)==null?void 0:Pn.fo)==null?void 0:Gn.minCons)+" (mt)",1),t[191]||(t[191]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",gp,[((Wn=(Ln=n==null?void 0:n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",mp,[t[193]||(t[193]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[194]||(t[194]=e.createElementVNode("div",null,"=",-1)),t[195]||(t[195]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[196]||(t[196]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hn=(Zn=n==null?void 0:n.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Hn.entireCons),1),t[197]||(t[197]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((_n=(Jn=n==null?void 0:n.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:_n.maxCons),1),t[198]||(t[198]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=(Xn=n==null?void 0:n.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:Kn.overCons),1)]),(un=(qn=n==null?void 0:n.goodWx)==null?void 0:qn.inEca)!=null&&un.distance?(e.openBlock(),e.createElementBlock("div",Ep,[t[200]||(t[200]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[201]||(t[201]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((vn=($n=n==null?void 0:n.goodWx)==null?void 0:$n.inEca)==null?void 0:vn.distance)+" * "+e.toDisplayString((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.overCons),1),t[199]||(t[199]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=l.report)==null?void 0:la.weather)!=null&&oa.noExtrapolation?(na=n==null?void 0:n.goodWx)==null?void 0:na.distance:(aa=n==null?void 0:n.allWx)==null?void 0:aa.distance),1)]),t[202]||(t[202]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((sa=(ia=n==null?void 0:n.fuelConclusion)==null?void 0:ia.fo)==null?void 0:sa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((ra=(da=n==null?void 0:n.fuelConclusion)==null?void 0:da.fo)==null?void 0:ra.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ip,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),t[205]||(t[205]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[206]||(t[206]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.fuelConclusion)==null?void 0:ca.fo)==null?void 0:Na.minCons),1),t[207]||(t[207]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.entireCons),1),t[208]||(t[208]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ma=(ga=n==null?void 0:n.fuelConclusion)==null?void 0:ga.fo)==null?void 0:ma.saving)+" (mt)",1)]),(ya=(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.inEca)!=null&&ya.distance?(e.openBlock(),e.createElementBlock("div",Ap,[t[210]||(t[210]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",pp,[e.createElementVNode("div",null,e.toDisplayString((Aa=(Ia=l.report)==null?void 0:Ia.weather)!=null&&Aa.noExtrapolation?(Va=(pa=n==null?void 0:n.goodWx)==null?void 0:pa.inEca)==null?void 0:Va.distance:(xa=(Ta=n==null?void 0:n.allWx)==null?void 0:Ta.inEca)==null?void 0:xa.distance)+" * "+e.toDisplayString((Sa=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Sa.saving),1),t[209]||(t[209]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Ca=l.report)==null?void 0:Ca.weather)!=null&&ka.noExtrapolation?(ja=n==null?void 0:n.goodWx)==null?void 0:ja.distance:(fa=n==null?void 0:n.allWx)==null?void 0:fa.distance),1)]),t[212]||(t[212]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=n==null?void 0:n.fuelConclusion)==null?void 0:Ua.fo)==null?void 0:ba.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ya=(Oa=n==null?void 0:n.fuelConclusion)==null?void 0:Oa.fo)==null?void 0:Ya.conclusionStatus)==="Over"?"flex-center lost":((Qa=(wa=n==null?void 0:n.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Qa.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[213]||(t[213]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Vp,e.toDisplayString(a.noGoodWxDay),1)),((Fa=(Ra=n==null?void 0:n.extend)==null?void 0:Ra.cp)==null?void 0:Fa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Tp,[t[214]||(t[214]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",xp,"Seg. "+e.toDisplayString(Z+1)+" Diesel/Gas Oil",1)]),(Pa=n==null?void 0:n.goodWx)!=null&&Pa.distance?(e.openBlock(),e.createElementBlock("div",zp,[e.createElementVNode("div",Sp,[t[221]||(t[221]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Cp,[e.createElementVNode("div",kp,[e.createElementVNode("div",null,e.toDisplayString((La=(Ga=l.report)==null?void 0:Ga.weather)!=null&&La.noExtrapolation?(Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.distance:(Za=n==null?void 0:n.allWx)==null?void 0:Za.distance),1),t[215]||(t[215]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ha=n==null?void 0:n.goodWx)==null?void 0:Ha.pfmSpd),1)]),t[218]||(t[218]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",jp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Ja=n==null?void 0:n.goodWx)==null?void 0:Ja.sumDgoCons),1),((Xa=(_a=n==null?void 0:n.goodWx)==null?void 0:_a.inEca)==null?void 0:Xa.distance)>0?(e.openBlock(),e.createElementBlock("span",fp,[t[216]||(t[216]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((qa=(Ka=n==null?void 0:n.fuelConclusion)==null?void 0:Ka.fo)==null?void 0:qa.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[217]||(t[217]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ua=n==null?void 0:n.goodWx)==null?void 0:ua.time),1)]),t[219]||(t[219]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((va=($a=n.fuelConclusion)==null?void 0:$a.dgo)==null?void 0:va.entireCons)+" (mt)",1),t[220]||(t[220]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",Up,[t[228]||(t[228]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",bp,[e.createElementVNode("div",Op,[e.createElementVNode("div",null,e.toDisplayString((ti=(ei=l.report)==null?void 0:ei.weather)!=null&&ti.noExtrapolation?(li=n==null?void 0:n.goodWx)==null?void 0:li.distance:(oi=n==null?void 0:n.allWx)==null?void 0:oi.distance),1),t[222]||(t[222]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ni=n==null?void 0:n.timeConclusion)==null?void 0:ni.minusAbtSpd),1)]),t[225]||(t[225]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((ii=(ai=n==null?void 0:n.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ii.overTolerance),1),t[223]||(t[223]=e.createElementVNode("div",{class:"line"},null,-1)),t[224]||(t[224]=e.createElementVNode("div",null,"24",-1))]),t[226]||(t[226]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((di=(si=n.fuelConclusion)==null?void 0:si.dgo)==null?void 0:di.maxCons)+" (mt)",1),t[227]||(t[227]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",wp,[t[235]||(t[235]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Qp,[e.createElementVNode("div",hp,[e.createElementVNode("div",null,e.toDisplayString((ci=(ri=l.report)==null?void 0:ri.weather)!=null&&ci.noExtrapolation?(Ni=n==null?void 0:n.goodWx)==null?void 0:Ni.distance:(Di=n==null?void 0:n.allWx)==null?void 0:Di.distance),1),t[229]||(t[229]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Mi=n==null?void 0:n.timeConclusion)==null?void 0:Mi.minusAbtSpd),1)]),t[232]||(t[232]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Bp,[e.createElementVNode("div",null,e.toDisplayString((mi=(gi=n==null?void 0:n.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:mi.underTolerance),1),t[230]||(t[230]=e.createElementVNode("div",{class:"line"},null,-1)),t[231]||(t[231]=e.createElementVNode("div",null,"24",-1))]),t[233]||(t[233]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yi=(Ei=n.fuelConclusion)==null?void 0:Ei.dgo)==null?void 0:yi.minCons)+" (mt)",1),t[234]||(t[234]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",Rp,[((Ai=(Ii=n==null?void 0:n.fuelConclusion)==null?void 0:Ii.dgo)==null?void 0:Ai.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Fp,[t[236]||(t[236]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[237]||(t[237]=e.createElementVNode("div",null,"=",-1)),t[238]||(t[238]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[239]||(t[239]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Vi=(pi=n==null?void 0:n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Vi.entireCons),1),t[240]||(t[240]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((xi=(Ti=n==null?void 0:n.fuelConclusion)==null?void 0:Ti.dgo)==null?void 0:xi.maxCons),1),t[241]||(t[241]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Si=(zi=n==null?void 0:n.fuelConclusion)==null?void 0:zi.dgo)==null?void 0:Si.overCons),1)])):((ki=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.fo)==null?void 0:ki.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Pp,[t[242]||(t[242]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[243]||(t[243]=e.createElementVNode("div",null,"=",-1)),t[244]||(t[244]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[245]||(t[245]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((fi=(ji=n==null?void 0:n.fuelConclusion)==null?void 0:ji.dgo)==null?void 0:fi.minCons),1),t[246]||(t[246]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.entireCons),1),t[247]||(t[247]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Yi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:Yi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Qi=(wi=n==null?void 0:n.fuelConclusion)==null?void 0:wi.dgo)==null?void 0:Qi.conclusionStatus)==="Over"?"flex-center lost":((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[248]||(t[248]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Gp,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const Wp=Re(SE,[["render",Lp],["__scopeId","data-v-0406c673"]]),ZY="",Zp={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){const t=[];return t.push(o.noonLength?"no-border-bottom":"no-border"),t.push(o.excluded?"excluded":o.goodWx?"good-wx":""),t.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeLng(){return function(o){return te.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return te.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?te.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,a,i,M,s,c,E,y,N;this.showCF=((t=(o=this.report)==null?void 0:o.weather)==null?void 0:t.showCF)??!1,this.showAisDistance=((d=(l=this.report)==null?void 0:l.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((i=(a=this.report)==null?void 0:a.weather)==null?void 0:i.showSig)??!0,this.showSwell=((s=(M=this.report)==null?void 0:M.weather)==null?void 0:s.showSwell)??!0,this.showWave=((E=(c=this.report)==null?void 0:c.weather)==null?void 0:E.showWave)??!0,this.showWaterTemp=((N=(y=this.report)==null?void 0:y.weather)==null?void 0:N.waterTempSwitch)||!1}}},Hp={class:"report-inventory"},Jp={class:"section summary-section"},_p={class:"summary-block"},Xp={class:"label",rowspan:"4"},Kp={class:"section inventory-section"},qp={class:"inventory-block flex-center"},up={style:{"font-size":"12px"}},$p=["colspan"],vp={key:0,class:"label",colspan:"2"},e0={key:0,class:"label",rowspan:"2"},t0={key:1,class:"label",rowspan:"2"},l0={key:2,class:"label",rowspan:"2"},o0={key:3,class:"label",colspan:"2"},n0={key:4,class:"label",rowspan:"2"},a0={key:5,class:"label",colspan:"2"},i0={key:6,class:"label",rowspan:"2"},s0={key:7,class:"label",rowspan:"2"},d0={key:8,class:"label",rowspan:"2"},r0={key:0,class:"label"},c0={key:1,class:"label"},N0={key:2,class:"label"},D0={key:3,class:"label"},M0={class:"summary-tbody"};function g0(o,t,l,d,a,i){var M;return e.openBlock(),e.createElementBlock("div",Hp,[e.createElementVNode("div",Jp,[t[5]||(t[5]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),e.createElementVNode("div",_p,[e.createElementVNode("table",null,[t[4]||(t[4]=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)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((M=l.report)==null?void 0:M.segments,(s,c)=>{var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",Xp,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((E=s==null?void 0:s.allWx)==null?void 0:E.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((g=s==null?void 0:s.allWx)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((C=s==null?void 0:s.goodWx)==null?void 0:C.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((k=s==null?void 0:s.goodWx)==null?void 0:k.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((z=s==null?void 0:s.badWx)==null?void 0:z.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((j=s==null?void 0:s.badWx)==null?void 0:j.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((R=s==null?void 0:s.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((F=s==null?void 0:s.excluded)==null?void 0:F.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((P=s==null?void 0:s.excluded)==null?void 0:P.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((G=s==null?void 0:s.excluded)==null?void 0:G.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((D=s==null?void 0:s.excluded)==null?void 0:D.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((b=s==null?void 0:s.excluded)==null?void 0:b.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",Kp,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1)),e.createElementVNode("div",qp,[e.createElementVNode("table",up,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[6]||(t[6]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),t[7]||(t[7]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),t[8]||(t[8]=e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),t[9]||(t[9]=e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),e.createElementVNode("th",{class:"label",colspan:i.computeWxColspan},"ORM Weather Analysis",8,$p),l.showFactor?(e.openBlock(),e.createElementBlock("th",vp,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",e0,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",t0,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),a.showWave?(e.openBlock(),e.createElementBlock("th",l0,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",o0,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",n0,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",a0,"Current")):e.createCommentVNode("",!0),t[21]||(t[21]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),l.showFactor?(e.openBlock(),e.createElementBlock("th",i0,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",s0,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",d0,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),a.showSwell?(e.openBlock(),e.createElementBlock("th",r0,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",c0,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",N0,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",D0,"CF(kts)")):e.createCommentVNode("",!0),t[34]||(t[34]=e.createElementVNode("th",{class:"label"},"RPM",-1)),t[35]||(t[35]=e.createElementVNode("th",{class:"label"},"Slip%",-1)),t[36]||(t[36]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[37]||(t[37]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[38]||(t[38]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[39]||(t[39]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[40]||(t[40]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[41]||(t[41]=e.createElementVNode("th",{class:"label"},"BF",-1))])]),e.createElementVNode("tbody",M0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B;return e.openBlock(),e.createElementBlock("tr",{key:c},[e.createElementVNode("td",{class:e.normalizeClass(s.segLength?"no-border-bottom":"no-border")},e.toDisplayString(s.segLength?s.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.time),3),["B","E"].includes(s.abbrev)&&((E=s.noon)!=null&&E.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((y=s.noon)==null?void 0:y.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((g=(N=s.meteo)==null?void 0:N.wind)==null?void 0:g.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((I=(p=s.meteo)==null?void 0:p.wind)==null?void 0:I.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((C=(A=(V=s.meteo)==null?void 0:V.wave)==null?void 0:A.wd)==null?void 0:C.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((z=(x=(k=s.meteo)==null?void 0:k.wave)==null?void 0:x.swell)==null?void 0:z.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((R=(j=(m=s.meteo)==null?void 0:m.wave)==null?void 0:j.swell)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((G=(P=(F=s.meteo)==null?void 0:F.wave)==null?void 0:P.sig)==null?void 0:G.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((b=(D=s.meteo)==null?void 0:D.current)==null?void 0:b.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((w=s.meteo)==null?void 0:w.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((O=s.meteo)==null?void 0:O.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((f=s.meteo)==null?void 0:f.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((B=s.meteo)==null?void 0:B.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const m0=Re(Zp,[["render",g0],["__scopeId","data-v-a18f941f"]]),HY="",E0={name:"OrmVoyageChart",components:{Lng:On,Lat:Yn},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}}},watch:{inventory:{handler(o,t){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Qn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Qn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Qn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var c,E,y,N,g,p;const o=[],t=[],l={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,a=0;const i=this.inventory.filter(I=>I.noon)||[];i.forEach((I,V)=>{var C,k,x,z,m,j,R,F,P,G,D,b,w,O;const A=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(o.push(A),d=Math.ceil(((C=I.noon)==null?void 0:C.foCons)>d?(k=I.noon)==null?void 0:k.foCons:d),d=Math.ceil(((x=I.cp)==null?void 0:x.fo)>d?(z=I.cp)==null?void 0:z.fo:d),a=Math.ceil(((m=I.noon)==null?void 0:m.dgoCons)>a?(j=I.noon)==null?void 0:j.dgoCons:a),a=Math.ceil(((R=I.cp)==null?void 0:R.dgo)>a?(F=I.cp)==null?void 0:F.dgo:a),t.push([A,(P=I.noon)==null?void 0:P.avgSpd,(G=I.noon)==null?void 0:G.foCons,(D=I.noon)==null?void 0:D.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),V<i.length-1){const f=i[V+1];t.push([A,(b=f.noon)==null?void 0:b.avgSpd,(w=f.noon)==null?void 0:w.foCons,(O=f.noon)==null?void 0:O.dgoCons,f.avgSpdCalc,f.cp.speed,f.goodWx&&!f.excluded?100:0,f.cp.dgo,f.cp.fo,f.excluded?100:0])}});const M={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:d+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:t,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:t,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(E=(c=this.report)==null?void 0:c.weather)!=null&&E.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:t,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:l.dateTime,y:l.noonFoCons},data:t,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:t,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:t,z:1}]};(y=this.spdFoConsChart)==null||y.setOption(M);const s={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:t,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:t,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:(g=(N=this.report)==null?void 0:N.weather)!=null&&g.believeRptDistance?l.noonAvgSpd:l.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:t,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:l.dateTime,y:l.noonDgoCons},data:t,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:t,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:t,z:1}]};(p=this.spdDgoConsChart)==null||p.setOption(s)},renderWxCurrChart(){var M;const o=[],t=[],l={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4;const a=this.inventory.filter(s=>s.noon)||[];a.forEach((s,c)=>{var y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L;const E=this.computeUTCTime(s.utc,"MM-DD/HHmm[Z]");if(o.push(E),d=Math.ceil(((g=(N=(y=s.meteo)==null?void 0:y.wave)==null?void 0:N.sig)==null?void 0:g.height)>d?(V=(I=(p=s.meteo)==null?void 0:p.wave)==null?void 0:I.sig)==null?void 0:V.height:d),t.push([E,(A=s.noon)==null?void 0:A.windBF,(k=(C=s.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(z=(x=s.meteo)==null?void 0:x.wind)==null?void 0:z.direction,(m=s.noon)==null?void 0:m.seasHt,(F=(R=(j=s.meteo)==null?void 0:j.wave)==null?void 0:R.sig)==null?void 0:F.height,s.dailyAvgCf,s.goodWx&&!s.excluded?20:0,s.excluded?20:0]),c<a.length-1){const Q=a[c+1];t.push([E,(P=Q.noon)==null?void 0:P.windBF,(D=(G=Q.meteo)==null?void 0:G.wind)==null?void 0:D.scale,(w=(b=Q.meteo)==null?void 0:b.wind)==null?void 0:w.direction,(O=Q.noon)==null?void 0:O.seasHt,(L=(B=(f=Q.meteo)==null?void 0:f.wave)==null?void 0:B.sig)==null?void 0:L.height,Q.dailyAvgCf,Q.goodWx&&!Q.excluded?20:0,Q.excluded?20:0])}});const i={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.anlyCurFct},itemStyle:{color:"#a362f9"},data:t,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:t,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:t,z:1}]};(M=this.currChart)==null||M.setOption(i)}}},y0={class:"report-summary"},I0={class:"section chart-section"},A0={class:"chart-block"},p0={ref:"spdFoConsChart",class:"chart"},V0={ref:"spdDgoConsChart",class:"chart"},T0={ref:"currChart",class:"chart"},x0={class:"section map-section"},z0={class:"map-block"},S0={class:"flex-space"},C0={class:"voyage-block",style:{height:"197px"}},k0={class:"flex-space label-block",style:{width:"100%"}},j0={style:{"text-transform":"uppercase"}},f0={class:"flex-space label-block",style:{width:"100%"}},U0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},b0={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},O0={class:"flex-space label-block",style:{width:"100%"}},Y0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},w0={class:"flex-space label-block",style:{width:"100%"}},Q0={key:0,class:"flex-end",style:{flex:"1"}},h0={key:1,class:"flex-end",style:{flex:"1"}},B0={class:"flex-end",style:{width:"160px"}},R0={class:"flex-space label-block",style:{width:"100%"}},F0={key:0,class:"flex-end",style:{flex:"1"}},P0={key:1,class:"flex-end",style:{flex:"1"}},G0={class:"flex-end",style:{width:"160px"}},L0={class:"flex-space label-block",style:{width:"100%"}},W0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z0=["src"];function H0(o,t,l,d,a,i){var c,E,y,N,g,p,I,V,A,C,k,x,z,m,j,R,F,P,G,D,b,w,O,f,B,L,Q;const M=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",y0,[e.createElementVNode("div",I0,[t[0]||(t[0]=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)),e.createElementVNode("div",A0,[e.createElementVNode("div",p0,null,512),e.createElementVNode("div",V0,null,512),e.createElementVNode("div",T0,null,512)])]),e.createElementVNode("div",x0,[t[10]||(t[10]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),e.createElementVNode("div",z0,[e.createElementVNode("div",S0,[e.createElementVNode("div",C0,[e.createElementVNode("div",k0,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",j0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",f0,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",U0,e.toDisplayString((E=(c=l.report)==null?void 0:c.vessel)==null?void 0:E.name),1),e.createElementVNode("span",b0,"("+e.toDisplayString((N=(y=l.report)==null?void 0:y.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",O0,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",Y0,e.toDisplayString((p=(g=l.report)==null?void 0:g.voyage)==null?void 0:p.number),1)]),e.createElementVNode("div",w0,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(I=l.report)==null?void 0:I.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",Q0,e.toDisplayString((C=(A=l.report)==null?void 0:A.departure)==null?void 0:C.portName),1)):(e.openBlock(),e.createElementBlock("div",h0,[e.createVNode(M,{lat:(x=(k=l.report)==null?void 0:k.departure)==null?void 0:x.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[4]||(t[4]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(z=l.report.departure)==null?void 0:z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",B0,e.toDisplayString(i.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",R0,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(R=(j=l.report)==null?void 0:j.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",F0,e.toDisplayString((P=(F=l.report)==null?void 0:F.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",P0,[e.createVNode(M,{lat:(D=(G=l.report)==null?void 0:G.arrival)==null?void 0:D.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(w=(b=l.report)==null?void 0:b.arrival)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",G0,e.toDisplayString(i.computeUTCTime((f=(O=l.report)==null?void 0:O.arrival)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",L0,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",W0,e.toDisplayString((L=(B=l.report)==null?void 0:B.voyage)==null?void 0:L.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-dda5691b><div style="position:absolute;margin-top:-8px;" data-v-dda5691b>LEGEND</div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b>0812</div><div data-v-dda5691b><div data-v-dda5691b>08 - Day of the month</div><div data-v-dda5691b>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dda5691b></i></div><div data-v-dda5691b><div data-v-dda5691b>Wind from N (000)</div><div data-v-dda5691b>Each bard = 10 kts</div><div data-v-dda5691b>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dda5691b><div data-v-dda5691b>W 4</div><div data-v-dda5691b>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-dda5691b><div class="good-wx" data-v-dda5691b>Date</div><div data-v-dda5691b>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(Q=l.report)==null?void 0:Q.chartUrl,alt:""},null,8,Z0)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-dda5691b><div class="header-block flex-center" data-v-dda5691b><i class="iconfont" data-v-dda5691b></i><div class="title" data-v-dda5691b>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dda5691b><div class="method-title" data-v-dda5691b>1. Good Weather Method</div><div class="method-body" data-v-dda5691b> 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-dda5691b> 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-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>4. “About”</div><div class="method-body" data-v-dda5691b> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dda5691b> 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-dda5691b> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dda5691b> 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-dda5691b><div class="method-title" data-v-dda5691b>6. Further reference materials</div><div class="method-body" data-v-dda5691b>Please send mail to <a href="mailto:op@ormwx.com" data-v-dda5691b>op@ormwx.com</a>.</div></div></div></div>',1))])}const J0=Re(E0,[["render",H0],["__scopeId","data-v-dda5691b"]]),JY="",_Y="",_0={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${J(o).utc().format(t)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,t){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((t,l)=>t.date<l.date);o==null||o.forEach((t,l)=>{var c,E;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((E=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:E.split("\\n")).forEach(N=>{const g=`<p>${N}</p>`;d=d+g}),d=d+"</div>"):d=t.body;const a=document.getElementById("col1"),i=document.getElementById("col2"),M=(a==null?void 0:a.offsetHeight)||0,s=(i==null?void 0:i.offsetHeight)||0;if(M<=s){let N=`<div class="${t.to.includes("op@ormwx.com")||t.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
42
42
  <div class="vrpt-date">Date: ${t.date}</div>
43
43
  <div class="vrpt-from">From: ${t.from}</div>
44
44
  <div class="vrpt-to">To: ${t.to}</div>