@idmwx/idmui-report 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1337 -1337
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -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,dM)]))])}const ms=Fe(aM,[["render",rM]]),cM={install(o){o.component("PiLogo",ms)}},Gw="",Ww="",NM={name:"FliVygSummary",components:{Editor:ao},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"?P(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?P(o).utc().format("MMMM D, HHmm[Z]"):t?P(o).utc().format(t):P(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=de.LngLatHelper.lat2pretty(o).pretty,d=de.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]"),i=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),a=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:i,time2:a,fullTime2:D}}},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="",i=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,i++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,i++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,i++),i>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?de.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,i)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(s=>{let c={begin:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+P(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 D=[];d.extend.segTimes.forEach(s=>{D.push(this.computedSeg(s))}),this.segDetail.push(D),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},DM={class:"fli-main"},MM={class:"card basics"},mM={class:"list flex"},gM={class:"item"},EM={class:"content flex"},yM={class:"item"},IM={class:"content flex"},pM={class:"item"},AM={class:"content flex"},VM={class:"list"},TM={class:"item"},xM={class:"content flex"},zM={class:"content flex"},CM={class:"item"},SM={class:"content flex"},kM={class:"content flex"},jM={class:"item"},fM={class:"content flexL"},UM={class:"clause"},bM={key:0,class:"definition flex"},OM={key:1,class:"definition flex"},wM={class:"item"},YM={class:"content"},QM={key:0,class:"item"},hM={class:"content"},BM={key:1,class:"item"},RM={class:"content"},FM={key:2,class:"item"},PM={class:"content"},GM={key:3,class:"item"},WM={class:"content"},LM={key:4,class:"item"},ZM={key:5,class:"item"},HM={class:"definition flexM"},JM={class:"table"},_M={class:"summary"},XM={key:0,class:"summary-overall"},KM={class:"summary-overall-row"},uM={class:"card"},qM={class:"main-content"},$M={key:0},vM={key:1},e1={class:"card"},t1={class:"main-content"},l1={key:0},o1={key:1},n1={class:"card"},a1={class:"main-content"},i1={key:0},s1={key:1},d1={class:"summary-overall-row"},r1={class:"card"},c1={class:"main-content"},N1={class:"card"},D1={class:"main-content"},M1={class:"card"},m1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},E1={class:"card-title"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"card-segment"},A1={class:"uppercase"},V1={class:"card summary-card",style:{flex:"1"}},T1={key:0,class:"main-content"},x1={key:0,class:"iconfont success"},z1={key:1,class:"iconfont error"},C1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},k1={class:"card summary-card",style:{flex:"1"}},j1={key:0,class:"main-content"},f1={key:0,class:"iconfont success"},U1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},O1={class:"card-content",style:{"justify-content":"flex-start"}},w1={class:"card summary-card",style:{flex:"1"}},Y1={key:0,class:"main-content"},Q1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},B1={key:1,class:"main-content"},R1={class:"card-content",style:{"justify-content":"flex-start"}},F1={style:{"page-break-inside":"avoid"}},P1={class:"remarks"},G1={class:"item"},W1={class:"speed"},L1={class:"uppercase"},Z1={class:"item"},H1={key:0,class:"remark-detail"},J1={key:1,class:"remark-detail"},_1={class:"page-avoid"},X1={class:"dashed"},K1={class:"card phase-title-card",style:{flex:"0.5"}},u1={class:"card-title"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"card-segment"},em={class:"uppercase"},tm={class:"phase-analysis"},lm={class:"card phase-card",style:{flex:"1"}},om={class:"main-content"},nm={class:"main-content"},am={class:"card-content"},im={class:"card-content"},sm={class:"card-content"},dm={class:"card-content"},rm={class:"card phase-card",style:{flex:"1"}},cm={class:"main-content"},Nm={class:"main-content"},Dm={class:"card-content"},Mm={class:"card-content"},mm={class:"card-content"},gm={class:"card-content"},Em={class:"phase-analysis"},ym={class:"card phase-card",style:{flex:"1"}},Im={class:"main-content"},pm={class:"main-content"},Am={class:"card-content"},Vm={class:"card-content"},Tm={class:"card-content"},xm={class:"card-content"},zm={class:"card phase-card",style:{flex:"1"}},Cm={class:"main-content"},Sm={class:"main-content"},km={class:"card-content"},jm={class:"card-content"},fm={class:"card-content"},Um={class:"card-content"},bm={class:"card phase-card",style:{flex:"1"}},Om={class:"main-content"},wm={class:"main-content"},Ym={class:"card-content"},Qm={class:"card-content"},hm={class:"card-content"},Bm={class:"card-content"},Rm={class:"phase-analysis"},Fm={class:"card phase-card",style:{flex:"1"}},Pm={class:"main-content"},Gm={class:"main-content"},Wm={class:"card-content"},Lm={class:"card-content"},Zm={class:"card-content"},Hm={class:"card-content"},Jm={class:"card phase-card",style:{flex:"1"}},_m={class:"main-content"},Xm={class:"main-content"},Km={class:"card-content"},um={class:"card-content"},qm={class:"card-content"},$m={class:"card-content"},vm={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},eg={class:"main-content"},tg={class:"card-content"},lg={key:0},og={key:1},ng={class:"phase-card"},ag={class:"card",style:{flex:"1"}},ig={key:0,class:"main-content"},sg={key:0,class:"iconfont success"},dg={key:1,class:"iconfont error"},rg={key:1,class:"main-content"},cg={class:"nogwd"},Ng={class:"card-content",style:{"justify-content":"flex-start"}},Dg={key:0},Mg={class:"equation"},mg={style:{width:"8%"}},gg={style:{width:"10%"}},Eg={class:"equation"},yg={style:{width:"8%"}},Ig={style:{width:"10%"}},pg={class:"equation"},Ag={style:{width:"8%"}},Vg={style:{width:"10%"}},Tg={class:"phase-card"},xg={class:"card",style:{flex:"1"}},zg={key:0,class:"main-content"},Cg={key:0,class:"iconfont success"},Sg={key:1,class:"iconfont error"},kg={key:1,class:"main-content"},jg={class:"nogwd"},fg={class:"card-content",style:{"justify-content":"flex-start"}},Ug={key:0},bg={class:"equation"},Og={style:{width:"8%"}},wg={style:{width:"120px"}},Yg={style:{width:"10%"}},Qg={class:"equation"},hg={style:{width:"8%"}},Bg={style:{width:"120px"}},Rg={style:{width:"10%"}},Fg={class:"equation"},Pg={style:{width:"8%"}},Gg={style:{width:"120px"}},Wg={style:{width:"10%"}},Lg={key:0,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"},ug={class:"card-content",style:{"justify-content":"flex-start"}},qg={key:0},$g={class:"equation"},vg={style:{width:"8%"}},eE={style:{width:"120px"}},tE={style:{width:"10%"}},lE={class:"equation"},oE={style:{width:"8%"}},nE={style:{width:"120px"}},aE={style:{width:"10%"}},iE={class:"equation"},sE={style:{width:"8%"}},dE={style:{width:"120px"}},rE={style:{width:"10%"}},cE={class:"formular dashed",style:{"page-break-inside":"avoid"}},NE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DE={class:""},ME={class:"equation"},mE={style:{width:"50%"},class:"fraction"},gE={class:"equation"},EE={style:{width:"50%"},class:"fraction"},yE={class:"equation"},IE={style:{width:"50%"},class:"fraction"},pE={class:"flexL formular-item",style:{"margin-left":"20px"}},AE={class:""},VE={class:"equation"},TE={style:{width:"25%"},class:"fraction"},xE={class:"equation"},zE={style:{width:"25%"},class:"fraction"},CE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function kE(o,t,l,d,i,a){var D,s,c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.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",DM,[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",MM,[e.createElementVNode("div",mM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",EM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",yM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",IM,e.toDisplayString((p=(y=l.reportData)==null?void 0:y.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",pM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",AM,e.toDisplayString(i.date),1)])]),e.createElementVNode("div",VM,[e.createElementVNode("div",TM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",xM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||a.computedLngLat((A=(C=l.reportData)==null?void 0:C.departure)==null?void 0:A.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",zM,e.toDisplayString(a.computedTime((S=(I=l.reportData)==null?void 0:I.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",CM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((k=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:k.portName)||a.computedLngLat((U=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:U.lat,(w=(O=l.reportData)==null?void 0:O.arrival)==null?void 0:w.lng)),1),e.createElementVNode("div",kM,e.toDisplayString(a.computedTime((Q=(Y=l.reportData)==null?void 0:Y.arrival)==null?void 0:Q.utcTime,"table")),1)]),e.createElementVNode("div",jM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",fM,e.toDisplayString((R=(h=l.reportData)==null?void 0:h.voyage)==null?void 0:R.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",UM,[(W=(G=l.reportData)==null?void 0:G.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",OM,[e.createElementVNode("div",wM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",YM,"BF "+e.toDisplayString(((Z=(L=l.reportData)==null?void 0:L.weather)==null?void 0:Z.windScale)||"-"),1)]),(b=(J=l.reportData)==null?void 0:J.weather)!=null&&b.waveSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((le=(te=l.reportData)==null?void 0:te.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(ne=(oe=l.reportData)==null?void 0:oe.weather)!=null&&ne.swellSwitch?(e.openBlock(),e.createElementBlock("div",BM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(((n=(ae=l.reportData)==null?void 0:ae.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(q=(H=l.reportData)==null?void 0:H.weather)!=null&&q.sigSwitch?(e.openBlock(),e.createElementBlock("div",FM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",PM,e.toDisplayString(((v=($=l.reportData)==null?void 0:$.weather)==null?void 0:v.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(se=(ie=l.reportData)==null?void 0:ie.weather)!=null&&se.waveSwitch||(De=(_=l.reportData)==null?void 0:_.weather)!=null&&De.swellHeight||(Ne=(K=l.reportData)==null?void 0:K.weather)!=null&&Ne.sigSwitch?(e.openBlock(),e.createElementBlock("div",GM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",WM,e.toDisplayString((me=(Me=l.reportData)==null?void 0:Me.weather)==null?void 0:me.seaScale),1)])):e.createCommentVNode("",!0),(Ie=(ce=l.reportData)==null?void 0:ce.weather)!=null&&Ie.noAdverseCur?(e.openBlock(),e.createElementBlock("div",LM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ae=(pe=l.reportData)==null?void 0:pe.weather)!=null&&Ae.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ZM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",HM,[e.createElementVNode("table",JM,[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(i.cpDetail,(r,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[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",_M,[((Te=(Ve=l.reportData)==null?void 0:Ve.segments)==null?void 0:Te.length)>1?(e.openBlock(),e.createElementBlock("div",XM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",KM,[e.createElementVNode("div",uM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",qM,[(ze=(xe=l.reportData)==null?void 0:xe.goodWx)!=null&&ze.avgSpd?(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString((Se=(Ce=l.reportData)==null?void 0:Ce.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",vM,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",e1,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",t1,[(je=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&je.avgSpd?(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString((Ue=(fe=l.reportData)==null?void 0:fe.goodWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",n1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",a1,[(ge=(be=l.reportData)==null?void 0:be.goodWx)!=null&&ge.avgSpd?(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString((Ye=(we=l.reportData)==null?void 0:we.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",s1,e.toDisplayString(i.noGoodWxDay),1))])])]),e.createElementVNode("div",d1,[e.createElementVNode("div",r1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",c1,e.toDisplayString((j=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:j.avgSpd)+" kts",1)]),e.createElementVNode("div",N1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",D1,e.toDisplayString((Qe=(ye=l.reportData)==null?void 0:ye.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",M1,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",m1,e.toDisplayString((Ge=(Pe=l.reportData)==null?void 0:Pe.allWx)==null?void 0:Ge.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((f=l.reportData)==null?void 0:f.segments,(r,ee)=>{var Ee,B,Be;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",E1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(re,Re)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Re,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",y1,[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",I1,[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",p1,[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",V1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ee=r.goodWx)!=null&&Ee.distance?(e.openBlock(),e.createElementBlock("div",T1,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",z1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",k1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(B=r.goodWx)!=null&&B.distance?(e.openBlock(),e.createElementBlock("div",j1,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",f1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",U1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",O1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",w1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Be=r.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",Y1,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",B1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",R1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",F1,[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",P1,[e.createElementVNode("div",G1,[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,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee,class:"remark-speed"},[e.createElementVNode("div",W1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ee+1}. Phase ${ee+1} Applied `)+" ",1),e.createElementVNode("span",L1,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(i.segDetail[ee],(Ee,B)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+B},e.toDisplayString(`${Ee.port1} (${Ee.fullTime1}) to ${Ee.port2} (${Ee.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Z1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),i.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",H1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.excludedTableData,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",J1,e.toDisplayString(i.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Le=l.reportData)==null?void 0:Le.segments,(r,ee)=>{var Ee,B,Be,re,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,jt,ft,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,jl,fl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"phase"},[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[e.createElementVNode("div",u1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Xe,ql)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ql,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port1),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time1),1)]),e.createElementVNode("div",$1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port2),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time2),1)])],2))),128)),e.createElementVNode("div",v1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",em,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",tm,[e.createElementVNode("div",lm,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",om,[e.createElementVNode("span",null,e.toDisplayString(((Ee=r.goodWx)==null?void 0:Ee.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",nm,[e.createElementVNode("span",null,e.toDisplayString(((B=r.allWx)==null?void 0:B.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",am,[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(((Be=r.goodWx)==null?void 0:Be.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",im,[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",sm,[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(((Re=r.allWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",dm,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=r.allWx)==null?void 0:Ze.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",rm,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cm,[e.createElementVNode("span",null,e.toDisplayString(((He=r.goodWx)==null?void 0:He.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",Nm,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Dm,[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",Mm,[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(((qe=r.goodWx)==null?void 0:qe.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",mm,[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((($e=r.allWx)==null?void 0:$e.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",gm,[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(((ve=r.allWx)==null?void 0:ve.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",Em,[e.createElementVNode("div",ym,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",Im,[e.createElementVNode("span",null,e.toDisplayString(((et=r.goodWx)==null?void 0:et.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",pm,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",Am,[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",Vm,[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",Tm,[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",xm,[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",zm,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",Cm,[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",Sm,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",km,[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",jm,[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",fm,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Um,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bm,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Om,[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",wm,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ym,[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",Qm,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.goodWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hm,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.allWx)==null?void 0:At.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Bm,[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",Rm,[e.createElementVNode("div",Fm,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Pm,[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",Gm,[e.createElementVNode("span",null,e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Wm,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((z=r.goodWx)==null?void 0:z.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Lm,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zm,[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",Hm,[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",Jm,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",_m,[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",Xm,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Km,[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",um,[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",qm,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$m,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",vm,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",eg,[e.createElementVNode("span",null,e.toDisplayString(((bl=r.goodWx)==null?void 0:bl.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(Ol=r.goodWx)!=null&&Ol.distance&&!((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.favorableCur&&((Ql=r.goodWx)==null?void 0:Ql.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lg,[e.createTextVNode(e.toDisplayString(a.computedPositive((hl=r.goodWx)==null?void 0:hl.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",og,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ng,[e.createElementVNode("div",ag,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Bl=r.goodWx)!=null&&Bl.distance?(e.openBlock(),e.createElementBlock("div",ig,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sg,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rg,[e.createElementVNode("span",cg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",Ng,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rl=r.goodWx)!=null&&Rl.distance?"":"analysis-none"} card analysis-card`)},[(Fl=r.goodWx)!=null&&Fl.distance?(e.openBlock(),e.createElementBlock("div",Dg,[e.createElementVNode("div",Mg,[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",mg,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?(Wl=r.goodWx)==null?void 0:Wl.distance:(Ll=r.allWx)==null?void 0:Ll.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Zl=r.goodWx)==null?void 0:Zl.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gg,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",Eg,[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",yg,[e.createElementVNode("div",null,e.toDisplayString((Jl=(Hl=l.reportData)==null?void 0:Hl.weather)!=null&&Jl.noExtrapolation?(E=r.goodWx)==null?void 0:E.distance:(he=r.allWx)==null?void 0:he.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",Ig,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",pg,[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",Ag,[e.createElementVNode("div",null,e.toDisplayString((lt=(tt=l.reportData)==null?void 0:tt.weather)!=null&<.noExtrapolation?(xt=r.goodWx)==null?void 0:xt.distance:(Yt=r.allWx)==null?void 0:Yt.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",Vg,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",Tg,[e.createElementVNode("div",xg,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(Qt=r.goodWx)!=null&&Qt.distance?(e.openBlock(),e.createElementBlock("div",zg,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Cg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",kg,[e.createElementVNode("span",jg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",fg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ht=r.goodWx)!=null&&ht.distance?"":"analysis-none"} card analysis-card`)},[(Bt=r.goodWx)!=null&&Bt.distance?(e.openBlock(),e.createElementBlock("div",Ug,[e.createElementVNode("div",bg,[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",Og,[e.createElementVNode("div",null,e.toDisplayString((Ft=(Rt=l.reportData)==null?void 0:Rt.weather)!=null&&Ft.noExtrapolation?(Pt=r.goodWx)==null?void 0:Pt.distance:(Gt=r.allWx)==null?void 0:Gt.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Wt=r.goodWx)==null?void 0:Wt.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",wg,[e.createElementVNode("div",null,e.toDisplayString((Lt=r.goodWx)==null?void 0:Lt.sumFoCons)+" "+e.toDisplayString(((Zt=r.allWx)==null?void 0:Zt.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((Ht=r.goodWx)==null?void 0:Ht.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Yg,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Qg,[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",hg,[e.createElementVNode("div",null,e.toDisplayString((_t=(Jt=l.reportData)==null?void 0:Jt.weather)!=null&&_t.noExtrapolation?(Xt=r.goodWx)==null?void 0:Xt.distance:(Kt=r.allWx)==null?void 0:Kt.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",Bg,[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",Rg,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Fg,[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",Pg,[e.createElementVNode("div",null,e.toDisplayString((qt=(ut=l.reportData)==null?void 0:ut.weather)!=null&&qt.noExtrapolation?($t=r.goodWx)==null?void 0:$t.distance:(vt=r.allWx)==null?void 0:vt.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",Gg,[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",Wg,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((tl=(el=r==null?void 0:r.extend)==null?void 0:el.cp)==null?void 0:tl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Lg,[e.createElementVNode("div",Zg,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(ll=r.goodWx)!=null&&ll.distance?(e.openBlock(),e.createElementBlock("div",Hg,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",ug,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ol=r.goodWx)!=null&&ol.distance?"":"analysis-none"} card analysis-card`)},[(nl=r.goodWx)!=null&&nl.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",$g,[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",vg,[e.createElementVNode("div",null,e.toDisplayString((il=(al=l.reportData)==null?void 0:al.weather)!=null&&il.noExtrapolation?(sl=r.goodWx)==null?void 0:sl.distance:(dl=r.allWx)==null?void 0:dl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((rl=r.goodWx)==null?void 0:rl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",eE,[e.createElementVNode("div",null,e.toDisplayString((cl=r.goodWx)==null?void 0:cl.sumDgoCons)+" "+e.toDisplayString(((Nl=r.allWx)==null?void 0:Nl.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((Dl=r.goodWx)==null?void 0:Dl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",tE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",lE,[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",oE,[e.createElementVNode("div",null,e.toDisplayString((ml=(Ml=l.reportData)==null?void 0:Ml.weather)!=null&&ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(El=r.allWx)==null?void 0:El.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",nE,[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",aE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",iE,[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",sE,[e.createElementVNode("div",null,e.toDisplayString((Il=(yl=l.reportData)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(pl=r.goodWx)==null?void 0:pl.distance:(Al=r.allWx)==null?void 0:Al.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",dE,[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",rE,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",cE,[e.createElementVNode("div",NE,[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",DE,[e.createElementVNode("div",ME,[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",mE,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.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",gE,[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",EE,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.reportData)==null?void 0:xl.weather)!=null&&zl.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",yE,[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",IE,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=l.reportData)==null?void 0:Cl.weather)!=null&&Sl.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",pE,[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",VE,[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",TE,[e.createElementVNode("div",null,e.toDisplayString((jl=(kl=l.reportData)==null?void 0:kl.weather)!=null&&jl.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",xE,[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",zE,[e.createElementVNode("div",null,e.toDisplayString((_l=(fl=l.reportData)==null?void 0:fl.weather)!=null&&_l.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",SE,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Xl=l.reportData)==null?void 0:Xl.weather)!=null&&Kl.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 jE=Fe(NM,[["render",kE],["__scopeId","data-v-b0ef3073"]]),Lw="",fE={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 D;let i="";const a=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==a&&(i=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(i=i+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(i=i+" excluded"),i}},computedSegClass(){return function(o,t){var d,i;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((i=this.summaryTable[t+1])!=null&&i.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"?P(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):P(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}°${de.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,i,a,D;this.showCF=(i=(d=this.reportData)==null?void 0:d.weather)==null?void 0:i.showCF,this.showAisDistance=!0;let o=[];(D=(a=this.reportData)==null?void 0:a.segments)==null||D.forEach((s,c)=>{let y=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=y,o.push(M)})}),o.sort(function(s,c){let y=s.date,p=c.date;return y-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let y=s.type.charAt(0);s.abbreviation=y;const p=P(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),y==="A"?s.type="":y==="M"&&(s.type="*"),s.time=P(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(de.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(de.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},UE={id:"second-table",class:"table"},bE={class:"summary-table"},OE={class:"summary-tbody"},wE={class:"voyage-map",style:{"page-break-inside":"avoid"}},YE=["src"];function QE(o,t,l,d,i,a){var D,s,c,y,p;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly||(y=(c=l.reportData)==null?void 0:c.weather)!=null&&y.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",UE,[e.createElementVNode("div",null,[e.createElementVNode("table",bE,[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",OE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.summaryTable,(N,M)=>{var C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.time),3),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString((C=N.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(A=N.cp)==null?void 0:A.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((T=(V=N.meteo)==null?void 0:V.wind)==null?void 0:T.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((x=(S=(I=N.meteo)==null?void 0:I.wave)==null?void 0:S.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((U=(m=(k=N.meteo)==null?void 0:k.wave)==null?void 0:m.swell)==null?void 0:U.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Y=(w=(O=N.meteo)==null?void 0:O.wave)==null?void 0:w.sig)==null?void 0:Y.height)??"--"),3),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Q=N.meteo)==null?void 0:Q.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((h=N.noon)==null?void 0:h.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((R=N.noon)==null?void 0:R.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(G=N.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(W=N.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((L=N.noon)==null?void 0:L.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((Z=N.noon)==null?void 0:Z.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(J=N.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(b=N.noon)==null?void 0:b.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",wE,[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:(p=l.reportData)==null?void 0:p.chartUrl,alt:""},null,8,YE),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 hE=Fe(fE,[["render",QE],["__scopeId","data-v-ec7ec0f5"]]),Zw="",BE={components:{Summary:jE,Inventory:hE},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)}}},RE={class:"voyage-report"};function FE(o,t,l,d,i,a){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(D,{"report-data":i.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:a.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":i.reportData,class:"main"},null,8,["is-admin","report-data"])])}const gs=Fe(BE,[["render",FE],["__scopeId","data-v-77dca605"]]),Hw="",PE={name:"OrmVoyageSummary",components:{Lng:On,Lat:wn,Editor:ao},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computePrevTime(){return function(o){return P(o.utc).subtract(o.timeCalc,"hour").format()}},computeDuration(){return function(o,t){const l=P(o).diff(P(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t;if(o!=null&&o.overallAsGoodWx)t="No specific thresholds for wind/wave/currents are defined in the Charter Party",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds";else{let l="";o!=null&&o.waveSwitch?l+=`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?l+=`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&&(l+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${l}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),(o==null?void 0:o.time)===100&&(o!=null&&o.timePercentage)&&(o==null?void 0:o.consecutiveTime)===1?t+=", All parts of the period.":(o==null?void 0:o.consecutiveTime)>1&!(o!=null&&o.consecTimePercentage)?t+=`, At least ${o==null?void 0:o.consecutiveTime} consecutive hours.`:t+="."}return t}},computeLng(){return function(o){return de.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return de.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t,l){if(o.consPercentage){if(t==="fo")return l==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}%`:`${o.consDgoOfUnder??o.consOfUnder}%`}else{if(t==="fo")return l==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}`:`${o.consDgoOfUnder??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=[],this.noons=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{var D,s;l.excluded.detail.forEach(c=>{const y={time:P(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+P(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(y)});const a=(s=(D=l==null?void 0:l.inventory)==null?void 0:D.sample)==null?void 0:s.hours.filter(c=>c.noon);this.noons.push([a])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},GE={class:"report-summary"},WE={class:"section voyage-section flex-space"},LE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={style:{"text-transform":"uppercase"}},JE={class:"flex-space label-block",style:{width:"100%"}},_E={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XE={class:"flex-space label-block",style:{width:"100%"}},KE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},qE={class:"flex-space label-block",style:{width:"100%"}},$E={key:0,class:"flex-end",style:{flex:"1"}},vE={key:1,class:"flex-end",style:{flex:"1"}},ey={class:"flex-end",style:{width:"150px"}},ty={class:"flex-space label-block",style:{width:"100%"}},ly={key:0,class:"flex-end",style:{flex:"1"}},oy={key:1,class:"flex-end",style:{flex:"1"}},ny={class:"flex-end",style:{width:"150px"}},ay={class:"flex-space label-block",style:{width:"100%"}},iy={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sy={class:"section weather-section"},dy={class:"definition"},ry={class:"txt"},cy={class:"section summary-section"},Ny={class:"phase-box"},Dy={class:"phase-index"},My={class:"phase-position"},my={key:0},gy={key:1},Ey={class:"phase-position"},yy={key:0},Iy={key:1},py={class:"phase-cp flex-space"},Ay={class:"cp-box"},Vy={class:"flex-space"},Ty={class:"phase-conclusion flex-space"},xy={class:"item-conclusion"},zy={class:"value flex-start"},Cy={key:0,class:"label flex-end"},Sy={key:0},ky={key:1},jy={key:2},fy={key:1,class:"label flex-end"},Uy={key:2,class:"value flex-end"},by={key:0},Oy={class:"gain"},wy={key:1},Yy={class:"lost"},Qy={key:2},hy={class:"item-conclusion"},By={class:"value flex-start"},Ry={key:0,class:"label flex-end"},Fy={key:0},Py={key:1},Gy={key:2},Wy={key:1,class:"label flex-end"},Ly={key:2,class:"value flex-end"},Zy={key:0},Hy={class:"gain"},Jy={key:1},_y={class:"lost"},Xy={key:2},Ky={class:"item-conclusion"},uy={class:"value flex-start"},qy={key:0,class:"label flex-end"},$y={key:0},vy={key:1},eI={key:2},tI={key:1,class:"label flex-end"},lI={key:2,class:"value flex-end"},oI={key:0},nI={class:"gain"},aI={key:1},iI={class:"lost"},sI={key:2},dI={key:0,class:"exclusion-block"},rI={style:{margin:"8px 0"}},cI={class:"remark-table"},NI=["innerHTML"],DI={class:"section segment-section"},MI={class:"segment-index flex-center"},mI={class:"segment-position"},gI={key:0},EI={key:1},yI={class:"segment-position"},II={key:0},pI={key:1},AI={style:{margin:"10px 0 0"}},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},CI={class:"good-wx"},SI={class:"good-wx"},kI={class:"good-wx"},jI={class:"good-wx"},fI={class:"good-wx"},UI={class:"good-wx"},bI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={class:"good-wx"},QI={key:0,style:{"margin-top":"10px"}},hI={key:0},BI={key:0,class:"flex-end tip"},RI={key:1,class:"segment-speed"},FI={class:"flex-center"},PI={class:"speed-right flex-space"},GI={class:"speed"},WI={key:1,class:"speed"},LI={key:0,class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={class:"speed"},_I={key:2,class:"under"},XI={key:3,class:"over"},KI={class:"flex-center"},uI={class:"speed-right formula flex-space"},qI={key:0},$I={key:2,class:"segment-speed"},vI={class:"flex-center"},ep={class:"speed-right flex-space"},tp={class:"speed"},lp={class:"speed"},op={key:2,class:"under"},np={key:3,class:"over"},ap={class:"flex-center"},ip={class:"speed-right formula flex-space"},sp={class:"segment-formula"},dp={class:"header-block flex-start"},rp={class:"title"},cp={key:0,style:{"margin-left":"4px","font-weight":"300"}},Np={class:"formula-block"},Dp={class:"flex-evenly"},Mp={class:"formula-right flex-evenly"},mp={class:"fraction",style:{width:"240px"}},gp={class:"flex-center"},Ep={class:"formula-left flex-space"},yp={class:"formula-right flex-evenly"},Ip={class:"fraction",style:{width:"240px"}},pp={class:"flex-center"},Ap={class:"formula-left flex-space"},Vp={class:"formula-right flex-evenly"},Tp={class:"fraction",style:{width:"240px"}},xp={class:"formula-desc"},zp={class:"flex-end"},Cp={class:"flex-end"},Sp={class:"flex-end"},kp={key:0,class:"formula-block",style:{"font-weight":"400"}},jp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},Up={class:"fraction",style:{width:"240px"}},bp={class:"flex-center"},Op={class:"formula-left flex-space"},wp={class:"formula-right flex-evenly"},Yp={class:"fraction",style:{width:"240px"}},Qp={class:"flex-center"},hp={class:"formula-left flex-space"},Bp={class:"formula-right flex-evenly"},Rp={class:"fraction",style:{width:"240px"}},Fp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Pp={key:0,class:"flex-evenly",style:{width:"500px"}},Gp={key:1,class:"flex-evenly",style:{width:"500px"}},Wp={key:1,class:"formula-conclusion"},Lp={class:"segment-formula"},Zp={class:"header-block flex-start"},Hp={class:"title"},Jp={key:0,style:{"margin-left":"4px","font-weight":"300"}},_p={class:"formula-block"},Xp={class:"flex-evenly"},Kp={class:"formula-right flex-evenly"},up={class:"fraction",style:{width:"240px"}},qp={style:{"line-height":"1"}},$p={key:0,class:"tips flex-end",style:{"font-size":"14px"}},vp={class:"flex-center"},eA={class:"formula-right flex-evenly"},tA={class:"fraction",style:{width:"240px"}},lA={class:"flex-center"},oA={class:"formula-right flex-evenly"},nA={class:"fraction",style:{width:"240px"}},aA={class:"flex-center"},iA={class:"formula-right flex-evenly"},sA={class:"fraction",style:{width:"270px"}},dA={class:"flex-center"},rA={class:"formula-right flex-evenly"},cA={class:"fraction",style:{width:"270px"}},NA={class:"header-block flex-start",style:{"margin-top":"10px"}},DA={class:"title"},MA={key:0,class:"formula-block"},mA={key:0,class:"flex-evenly"},gA={class:"formula-right flex-evenly"},EA={class:"fraction",style:{width:"60px"}},yA={class:"fraction",style:{width:"60px"}},IA={class:"flex-evenly"},pA={class:"formula-right flex-evenly"},AA={class:"fraction",style:{width:"240px"}},VA={class:"fraction",style:{width:"240px"}},TA={key:0},xA={class:"flex-evenly"},zA={class:"formula-right flex-evenly"},CA={class:"fraction",style:{width:"240px"}},SA={class:"fraction",style:{width:"240px"}},kA={class:"flex-evenly"},jA={class:"formula-right flex-evenly"},fA={class:"fraction",style:{width:"240px"}},UA={class:"fraction",style:{width:"240px"}},bA={class:"formula-conclusion",style:{"margin-bottom":"0"}},OA={class:"flex-evenly",style:{width:"500px"}},wA={key:0,class:"flex-evenly"},YA={class:"fraction"},QA={class:"flex-evenly",style:{width:"700px"}},hA={key:0,class:"flex-evenly",style:{width:"500px"}},BA={class:"fraction",style:{width:"140px"}},RA={key:1,class:"formula-conclusion"},FA={class:"header-block flex-end",style:{"margin-top":"10px"}},PA={class:"title"},GA={key:0,class:"formula-block"},WA={class:"flex-evenly"},LA={class:"formula-right flex-evenly"},ZA={class:"fraction",style:{width:"240px"}},HA={class:"fraction",style:{width:"240px"}},JA={key:0},_A={class:"flex-evenly"},XA={class:"formula-right flex-evenly"},KA={class:"fraction",style:{width:"240px"}},uA={class:"fraction",style:{width:"240px"}},qA={class:"flex-evenly"},$A={class:"formula-right flex-evenly"},vA={class:"fraction",style:{width:"240px"}},e0={class:"fraction",style:{width:"240px"}},t0={class:"formula-conclusion",style:{"margin-bottom":"0"}},l0={key:0,class:"flex-evenly",style:{width:"500px"}},o0={key:1,class:"flex-evenly",style:{width:"700px"}},n0={key:1,class:"formula-conclusion"};function a0(o,t,l,d,i,a){var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",GE,[e.createElementVNode("div",WE,[e.createElementVNode("div",LE,[e.createElementVNode("div",ZE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_E,e.toDisplayString((p=(y=l.report)==null?void 0:y.vessel)==null?void 0:p.name)+" ("+e.toDisplayString((M=(N=l.report)==null?void 0:N.vessel)==null?void 0:M.type)+")",1)]),e.createElementVNode("div",XE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KE,e.toDisplayString(((A=(C=l.report)==null?void 0:C.voyage)==null?void 0:A.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",uE,[e.createElementVNode("div",qE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(I=l.report)==null?void 0:I.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",$E,e.toDisplayString((k=(x=l.report)==null?void 0:x.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",vE,[e.createVNode(D,{lat:(U=(m=l.report)==null?void 0:m.departure)==null?void 0:U.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:(O=l.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ey,e.toDisplayString(a.computeUTCTime((w=l.report.departure)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ty,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(Q=(Y=l.report)==null?void 0:Y.arrival)!=null&&Q.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((R=(h=l.report)==null?void 0:h.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",oy,[e.createVNode(D,{lat:(W=(G=l.report)==null?void 0:G.arrival)==null?void 0:W.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:(Z=(L=l.report)==null?void 0:L.arrival)==null?void 0:Z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ny,e.toDisplayString(a.computeUTCTime((b=(J=l.report)==null?void 0:J.arrival)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ay,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iy,e.toDisplayString((le=(te=l.report)==null?void 0:te.voyage)==null?void 0:le.loadCondition),1)])])]),e.createElementVNode("div",sy,[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",dy,[e.createElementVNode("div",ry,e.toDisplayString(a.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",cy,[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((oe=l.report)==null?void 0:oe.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le,r,ee,Ee;return e.openBlock(),e.createElementBlock("div",{key:"summary"+H,class:"segment-box flex-space"},[e.createElementVNode("div",Ny,[e.createElementVNode("div",Dy,"Seg."+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(B,Be)=>{var re,Re,Ze,He,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",My,[(re=B==null?void 0:B.departure)!=null&&re.portName?(e.openBlock(),e.createElementBlock("span",my,e.toDisplayString((Re=B==null?void 0:B.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(a.computeLat((Ze=B==null?void 0:B.departure)==null?void 0:Ze.lat).pretty)+", "+e.toDisplayString(a.computeLng((He=B==null?void 0:B.departure)==null?void 0:He.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ke=B==null?void 0:B.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",Ey,[(ue=B==null?void 0:B.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString((qe=B==null?void 0:B.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",Iy,e.toDisplayString(a.computeLat(($e=B==null?void 0:B.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(a.computeLng((ve=B==null?void 0:B.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((et=B==null?void 0:B.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",py,[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",Vy,[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((v=($=n==null?void 0:n.extend)==null?void 0:$.cp)==null?void 0:v.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:se.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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(De=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:De.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ne=(K=n==null?void 0:n.extend)==null?void 0:K.cp)==null?void 0:Ne.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(Me=n==null?void 0:n.extend)==null?void 0:Me.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",xy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",zy,[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,[((ce=n==null?void 0:n.timeConclusion)==null?void 0:ce.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ky,"Time Lost")):(e.openBlock(),e.createElementBlock("div",jy,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Uy,[((pe=n==null?void 0:n.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=n==null?void 0:n.timeConclusion)==null?void 0:Ae.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",wy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Yy,e.toDisplayString((Te=n==null?void 0:n.timeConclusion)==null?void 0:Te.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Qy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",By,[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",Ry,[((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,"FO Saving")):((Se=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Py,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Gy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Wy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ly,[((je=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Zy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((Ue=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:Ue.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((ge=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:ge.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",_y,e.toDisplayString((Ye=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.fo)==null?void 0:Ye.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Xy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ky,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",uy,[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",qy,[((j=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:j.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Saving")):((Qe=(ye=n==null?void 0:n.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",vy,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",eI,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",tI,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lI,[((Ge=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",nI,e.toDisplayString((We=(f=n==null?void 0:n.fuelConclusion)==null?void 0:f.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",aI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",iI,e.toDisplayString((Ee=(ee=n==null?void 0:n.fuelConclusion)==null?void 0:ee.dgo)==null?void 0:Ee.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",sI,"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(a.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!i.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)),i.exclusion.length?(e.openBlock(),e.createElementBlock("div",dI,[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",rI,[e.createElementVNode("table",cI,[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(i.exclusion,(n,H)=>(e.openBlock(),e.createElementBlock("tr",{key:H},[e.createElementVNode("td",null,e.toDisplayString(H+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ae=l.report)==null?void 0:ae.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[i.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:i.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>i.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:i.remarks},null,40,NI))],2)],2),e.createElementVNode("div",DI,[t[256]||(t[256]=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,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le,r,ee,Ee,B,Be,re,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,jt,ft,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,jl,fl,_l,Xl,Kl,Xe,ql,eo,to,lo,oo,io,so,ro,co,No,Do,Mo,mo,go,Eo,yo,Io,po,Ao,Vo,To,xo,zo,Co,So,ko,jo,fo,Uo,bo,Oo,wo,Yo,Qo,ho,g,Bo,Ro,Fo,Po,Go,Wo,Lo,Zo,$l,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,cn,X,ul,Nn,Dn,Mn,mn,gn,En,yn,In,nt,pn,An,Vn,Tn,u,no,xn,zn,Cn,Sn,kn,jn,fn,Un,zt,Pn,Gn,Wn,Ln,Zn,Hn,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ma,ga,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Ca,Sa,ka,ja,fa,Ua,ba,Oa,wa,Ya,Qa,ha,Ba,Ra,Fa,Pa,Ga,Wa,La,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,mi,gi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Ci,Si,ki,ji,fi,Ui,bi,Oi,wi,Yi,Qi,hi,Bi,Ri,Fi,Pi,Gi,Wi,Li,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:H,class:"segment-block"},[e.createElementVNode("div",MI,"Voyage Analysis Seg. "+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Je,Bn)=>{var Ho,Yn,$i,vi,es,ts,ls,os,ns,as;return e.openBlock(),e.createElementBlock("div",{key:Bn,class:"segment-row flex-space"},[e.createElementVNode("div",mI,[(Ho=Je==null?void 0:Je.departure)!=null&&Ho.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((Yn=Je==null?void 0:Je.departure)==null?void 0:Yn.portName),1)):(e.openBlock(),e.createElementBlock("span",EI,e.toDisplayString(a.computeLat(($i=Je==null?void 0:Je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((vi=Je==null?void 0:Je.departure)==null?void 0:vi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((es=Je==null?void 0:Je.departure)==null?void 0:es.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",yI,[(ts=Je==null?void 0:Je.arrival)!=null&&ts.portName?(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString((ls=Je==null?void 0:Je.arrival)==null?void 0:ls.portName),1)):(e.openBlock(),e.createElementBlock("span",pI,e.toDisplayString(a.computeLat((os=Je==null?void 0:Je.arrival)==null?void 0:os.lat).pretty)+", "+e.toDisplayString(a.computeLng((ns=Je==null?void 0:Je.arrival)==null?void 0:ns.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((as=Je==null?void 0:Je.arrival)==null?void 0:as.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",AI,[e.createElementVNode("table",null,[e.createElementVNode("tbody",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",VI,e.toDisplayString((v=($=n==null?void 0:n.goodWx)==null?void 0:$.outEca)==null?void 0:v.distance),1),e.createElementVNode("td",TI,e.toDisplayString((se=(ie=n==null?void 0:n.goodWx)==null?void 0:ie.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((De=(_=n==null?void 0:n.allWx)==null?void 0:_.outEca)==null?void 0:De.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(K=n==null?void 0:n.allWx)==null?void 0:K.inEca)==null?void 0:Ne.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",xI,e.toDisplayString((me=(Me=n==null?void 0:n.goodWx)==null?void 0:Me.outEca)==null?void 0:me.time),1),e.createElementVNode("td",zI,e.toDisplayString((Ie=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Ie.time),1),e.createElementVNode("td",null,e.toDisplayString((Ae=(pe=n==null?void 0:n.allWx)==null?void 0:pe.outEca)==null?void 0:Ae.time),1),e.createElementVNode("td",null,e.toDisplayString((Te=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.inEca)==null?void 0:Te.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(((ze=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(Ce=n==null?void 0:n.goodWx)==null?void 0:Ce.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(ke=n==null?void 0:n.allWx)==null?void 0:ke.outEca)==null?void 0:je.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(fe=n==null?void 0:n.allWx)==null?void 0:fe.inEca)==null?void 0:Ue.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",kI,e.toDisplayString(((ge=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:ge.sumFoCons)||"--"),1),e.createElementVNode("td",jI,e.toDisplayString(((Ye=(we=n==null?void 0:n.goodWx)==null?void 0:we.inEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((j=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:j.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Qe.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",fI,e.toDisplayString(((Ge=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((We=(f=n==null?void 0:n.goodWx)==null?void 0:f.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Le=n==null?void 0:n.allWx)==null?void 0:Le.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(ee=n==null?void 0:n.allWx)==null?void 0:ee.inEca)==null?void 0:Ee.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",bI,e.toDisplayString(((Be=(B=n==null?void 0:n.goodWx)==null?void 0:B.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",OI,e.toDisplayString(((Re=(re=n==null?void 0:n.goodWx)==null?void 0:re.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:He.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:ue.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",wI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",YI,e.toDisplayString(((et=(ve=n==null?void 0:n.goodWx)==null?void 0:ve.inEca)==null?void 0:et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.outEca)==null?void 0:it.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((dt=(st=n==null?void 0:n.allWx)==null?void 0:st.inEca)==null?void 0:dt.avgDgoCons)||"--"),1)])])]),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("table",QI,[e.createElementVNode("tbody",null,[t[58]||(t[58]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",colspan:"3"},"Good Weather Period")],-1)),t[59]||(t[59]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"},"Date"),e.createElementVNode("td",{class:"label"},"Time range"),e.createElementVNode("td",{class:"label"},"Duration (hrs)")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.noons[H],(Je,Bn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Bn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Je,(Ho,Yn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Yn},[Ho.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(Ho.type)+" "+e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(a.computePrevTime(Ho),"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeDuration(Ho.utc,a.computePrevTime(Ho))),1)])])):e.createCommentVNode("",!0)],64))),128))],64))),128))])])):e.createCommentVNode("",!0)]),(ct=i.exclusion[H])!=null&&ct.time?(e.openBlock(),e.createElementBlock("div",BI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",RI,[e.createElementVNode("div",FI,[t[69]||(t[69]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PI,[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(z=(Ct=l.report)==null?void 0:Ct.weather)!=null&&z.disableWxFactor&&((kt=(St=l.report)==null?void 0:St.weather)!=null&&kt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((jt=n==null?void 0:n.goodWx)==null?void 0:jt.pfmSpd)+" (kts)",1)):(Ut=(ft=l.report)==null?void 0:ft.weather)!=null&&Ut.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgSpd),1),t[62]||(t[62]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf)>0?(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf:`(${(ot=n==null?void 0:n.goodWx)==null?void 0:ot.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((bl=n==null?void 0:n.goodWx)==null?void 0:bl.pfmSpd)+" (kts)",1)],64)):(wl=(Ol=l.report)==null?void 0:Ol.weather)!=null&&wl.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Yl=n==null?void 0:n.goodWx)==null?void 0:Yl.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ql=n==null?void 0:n.goodWx)==null?void 0:Ql.avgWf)>0?(hl=n==null?void 0:n.goodWx)==null?void 0:hl.avgWf:`(${(Bl=n==null?void 0:n.goodWx)==null?void 0:Bl.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Rl=n==null?void 0:n.goodWx)==null?void 0:Rl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Fl=n==null?void 0:n.goodWx)==null?void 0:Fl.avgSpd),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Pl=n==null?void 0:n.goodWx)==null?void 0:Pl.avgWf)>0?(Gl=n==null?void 0:n.goodWx)==null?void 0:Gl.avgWf:`(${(Wl=n==null?void 0:n.goodWx)==null?void 0:Wl.avgWf})`),1),(Zl=(Ll=l.report)==null?void 0:Ll.weather)!=null&&Zl.favorableCur&&((Hl=n==null?void 0:n.goodWx)==null?void 0:Hl.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jl=n==null?void 0:n.goodWx)==null?void 0:Jl.avgCf)>0?(E=n==null?void 0:n.goodWx)==null?void 0:E.avgCf:`(${(he=n==null?void 0:n.goodWx)==null?void 0:he.avgCf})`),1)],64)),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",JI,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(mt=l.report)==null?void 0:mt.weather)!=null&>.favorableCur&&((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(e.openBlock(),e.createElementBlock("span",WI,e.toDisplayString((Tt=n==null?void 0:n.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf)>0?(pt=n==null?void 0:n.goodWx)==null?void 0:pt.avgCf:`(${(At=n==null?void 0:n.goodWx)==null?void 0:At.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",GI,e.toDisplayString((Vt=n==null?void 0:n.goodWx)==null?void 0:Vt.pfmSpd)+" (kts)",1)],64))],64)),((lt=n==null?void 0:n.goodWx)==null?void 0:lt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",_I,"(Under-performance)")):e.createCommentVNode("",!0),((xt=n==null?void 0:n.goodWx)==null?void 0:xt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",XI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",KI,[t[86]||(t[86]=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",uI,[(Qt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Pt=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Pt.disableWxFactor&&((Wt=(Gt=l.report)==null?void 0:Gt.weather)!=null&&Wt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",qI,"GW Average Speed")):(Zt=(Lt=l.report)==null?void 0:Lt.weather)!=null&&Zt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[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 Current Factor",-1))],64)):(Jt=(Ht=l.report)==null?void 0:Ht.weather)!=null&&Jt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[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))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[83]||(t[83]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Weather Factor",-1)),(Xt=(_t=l.report)==null?void 0:_t.weather)!=null&&Xt.favorableCur&&((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Bt=(ht=l.report)==null?void 0:ht.weather)!=null&&Bt.favorableCur&&((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[73]||(t[73]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[74]||(t[74]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",null,"-",-1)),t[72]||(t[72]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",$I,[e.createElementVNode("div",vI,[t[92]||(t[92]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ep,[(qt=(ut=l.report)==null?void 0:ut.weather)!=null&&qt.favorableCur&&(($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgWf)>0?(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgWf:`(${(cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",lp,e.toDisplayString((Nl=n==null?void 0:n.allWx)==null?void 0:Nl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((el=n==null?void 0:n.allWx)==null?void 0:el.avgCf)>0?(tl=n==null?void 0:n.allWx)==null?void 0:tl.avgCf:`(${(ll=n==null?void 0:n.allWx)==null?void 0:ll.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ol=n==null?void 0:n.allWx)==null?void 0:ol.avgWf)>0?(nl=n==null?void 0:n.allWx)==null?void 0:nl.avgWf:`(${(al=n==null?void 0:n.allWx)==null?void 0:al.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",tp,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.pfmSpd)+" (kts)",1)],64)),((Dl=n==null?void 0:n.allWx)==null?void 0:Dl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",op,"(Under-performance)")):e.createCommentVNode("",!0),((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",np,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ap,[t[102]||(t[102]=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",ip,[(gl=(ml=l.report)==null?void 0:ml.weather)!=null&&gl.favorableCur&&((El=n==null?void 0:n.allWx)==null?void 0:El.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[98]||(t[98]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[99]||(t[99]=e.createElementVNode("label",null,"-",-1)),t[100]||(t[100]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[101]||(t[101]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[93]||(t[93]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"-",-1)),t[95]||(t[95]=e.createElementVNode("label",null,"Current Factor",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[254]||(t[254]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",sp,[e.createElementVNode("div",dp,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",rp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Time Analysis",1),(Il=(yl=l.report)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(e.openBlock(),e.createElementBlock("span",cp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Np,[e.createElementVNode("div",Dp,[t[107]||(t[107]=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",Mp,[e.createElementVNode("div",mp,[e.createElementVNode("div",null,e.toDisplayString((Al=(pl=l.report)==null?void 0:pl.weather)!=null&&Al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[104]||(t[104]=e.createElementVNode("div",{class:"line"},null,-1)),t[105]||(t[105]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[106]||(t[106]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",gp,[e.createElementVNode("div",Ep,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Tl=(Vl=n==null?void 0:n.extend)==null?void 0:Vl.cp)==null?void 0:Tl.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",yp,[e.createElementVNode("div",Ip,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.report)==null?void 0:xl.weather)!=null&&zl.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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Sl=(Cl=n==null?void 0:n.extend)==null?void 0:Cl.cp)==null?void 0:Sl.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",pp,[e.createElementVNode("div",Ap,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(jl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:jl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Vp,[e.createElementVNode("div",Tp,[e.createElementVNode("div",null,e.toDisplayString((_l=(fl=l.report)==null?void 0:fl.weather)!=null&&_l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[112]||(t[112]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.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",1)]),t[113]||(t[113]=e.createElementVNode("div",null,"(c)",-1))])]),t[114]||(t[114]=e.createStaticVNode('<div class="flex-start" data-v-4d9134e2><div class="flex-space" style="width:300px;font-weight:400;" data-v-4d9134e2><label data-v-4d9134e2>Time Lost</label><div data-v-4d9134e2>=</div><div data-v-4d9134e2>(a)</div><div data-v-4d9134e2>-</div><div data-v-4d9134e2>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-4d9134e2><label data-v-4d9134e2>Time Gained</label><div data-v-4d9134e2>=</div><div data-v-4d9134e2>(c)</div><div data-v-4d9134e2>-</div><div data-v-4d9134e2>(a)</div></div></div>',1))]),e.createElementVNode("div",xp,[e.createElementVNode("div",zp,[t[115]||(t[115]=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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ql=(Xe=n==null?void 0:n.extend)==null?void 0:Xe.cp)==null?void 0:ql.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Cp,[t[116]||(t[116]=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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(to=(eo=n==null?void 0:n.extend)==null?void 0:eo.cp)==null?void 0:to.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Sp,[t[117]||(t[117]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(oo=(lo=n==null?void 0:n.extend)==null?void 0:lo.cp)==null?void 0:oo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(so=(io=n==null?void 0:n.extend)==null?void 0:io.cp)==null?void 0:so.speed,"Under"))+" kts) ",1)])]),(ro=n==null?void 0:n.goodWx)!=null&&ro.distance?(e.openBlock(),e.createElementBlock("div",kp,[e.createElementVNode("div",jp,[t[121]||(t[121]=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",fp,[e.createElementVNode("div",Up,[e.createElementVNode("div",null,e.toDisplayString((No=(co=l.report)==null?void 0:co.weather)!=null&&No.noExtrapolation?(Do=n==null?void 0:n.goodWx)==null?void 0:Do.distance:(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.goodWx)==null?void 0:mo.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",bp,[e.createElementVNode("div",Op,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(yo=(Eo=n==null?void 0:n.extend)==null?void 0:Eo.cp)==null?void 0:yo.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",wp,[e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((po=(Io=l.report)==null?void 0:Io.weather)!=null&&po.noExtrapolation?(Ao=n==null?void 0:n.goodWx)==null?void 0:Ao.distance:(Vo=n==null?void 0:n.allWx)==null?void 0:Vo.distance),1),t[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Qp,[e.createElementVNode("div",hp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Co=(zo=n==null?void 0:n.extend)==null?void 0:zo.cp)==null?void 0:Co.speed,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Bp,[e.createElementVNode("div",Rp,[e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.report)==null?void 0:So.weather)!=null&&ko.noExtrapolation?(jo=n==null?void 0:n.goodWx)==null?void 0:jo.distance:(fo=n==null?void 0:n.allWx)==null?void 0:fo.distance),1),t[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",Fp,[((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Pp,[t[130]||(t[130]=e.createElementVNode("div",null,"Time Lost",-1)),t[131]||(t[131]=e.createElementVNode("div",null,"=",-1)),t[132]||(t[132]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[133]||(t[133]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Qo=n==null?void 0:n.timeConclusion)==null?void 0:Qo.timeLost)+" (hrs)",1)])):((ho=n==null?void 0:n.timeConclusion)==null?void 0:ho.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Gp,[t[136]||(t[136]=e.createElementVNode("div",null,"Time Lost",-1)),t[137]||(t[137]=e.createElementVNode("div",null,"=",-1)),t[138]||(t[138]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[139]||(t[139]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((g=n==null?void 0:n.timeConclusion)==null?void 0:g.timeAtPlusAbtSpd),1),t[140]||(t[140]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Bo=n==null?void 0:n.timeConclusion)==null?void 0:Bo.timeAtPfmSpd),1),t[141]||(t[141]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ro=n==null?void 0:n.timeConclusion)==null?void 0:Ro.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":((Po=n==null?void 0:n.timeConclusion)==null?void 0:Po.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[142]||(t[142]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Go=n==null?void 0:n.timeConclusion)==null?void 0:Go.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Wp,e.toDisplayString(i.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",Lp,[e.createElementVNode("div",Zp,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Hp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Consumption Analysis",1),(Lo=(Wo=l.report)==null?void 0:Wo.weather)!=null&&Lo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Jp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_p,[e.createElementVNode("div",Xp,[t[149]||(t[149]=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",Kp,[e.createElementVNode("div",up,[e.createElementVNode("div",null,e.toDisplayString(($l=(Zo=l.report)==null?void 0:Zo.weather)!=null&&$l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[144]||(t[144]=e.createElementVNode("div",{class:"line"},null,-1)),t[145]||(t[145]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[146]||(t[146]=e.createElementVNode("div",null,"x",-1)),t[147]||(t[147]=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[148]||(t[148]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",qp,[t[150]||(t[150]=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)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock("div",$p," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",vp,[t[155]||(t[155]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",eA,[e.createElementVNode("div",tA,[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),t[151]||(t[151]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(qo=(uo=n==null?void 0:n.extend)==null?void 0:uo.cp)==null?void 0:qo.speed,"Under"))+"kts",1)]),t[152]||(t[152]=e.createElementVNode("div",null,"x",-1)),t[153]||(t[153]=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[154]||(t[154]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",lA,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",oA,[e.createElementVNode("div",nA,[e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.report)==null?void 0:$o.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[156]||(t[156]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tn=(en=n==null?void 0:n.extend)==null?void 0:en.cp)==null?void 0:tn.speed,"Over"))+"kts",1)]),t[157]||(t[157]=e.createElementVNode("div",null,"x",-1)),t[158]||(t[158]=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[159]||(t[159]=e.createElementVNode("div",null,"(f)",-1))])]),t[167]||(t[167]=e.createStaticVNode('<div class="flex-start" data-v-4d9134e2><div class="flex-space" style="width:300px;font-weight:400;" data-v-4d9134e2><label data-v-4d9134e2>Fuel Over-consumption</label><div data-v-4d9134e2>=</div><div data-v-4d9134e2>(d)</div><div data-v-4d9134e2>-</div><div data-v-4d9134e2>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-4d9134e2><label data-v-4d9134e2>Fuel Saving</label><div data-v-4d9134e2>=</div><div data-v-4d9134e2>(f)</div><div data-v-4d9134e2>-</div><div data-v-4d9134e2>(d)</div></div></div>',1)),((on=(ln=n.extend)==null?void 0:ln.cp)==null?void 0:on.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",aA,[t[163]||(t[163]=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",iA,[e.createElementVNode("div",sA,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((an=(nn=l.report)==null?void 0:nn.weather)!=null&&an.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",dA,[t[166]||(t[166]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",rA,[e.createElementVNode("div",cA,[t[164]||(t[164]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[165]||(t[165]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((dn=(sn=l.report)==null?void 0:sn.weather)!=null&&dn.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[252]||(t[252]=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",NA,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"}," ",-1)),e.createElementVNode("div",DA,"Seg. "+e.toDisplayString(H+1)+" Fuel Oil",1)]),(rn=n==null?void 0:n.goodWx)!=null&&rn.distance?(e.openBlock(),e.createElementBlock("div",MA,[((X=(cn=n==null?void 0:n.goodWx)==null?void 0:cn.inEca)==null?void 0:X.distance)>0?(e.openBlock(),e.createElementBlock("div",mA,[t[174]||(t[174]=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",gA,[e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((Nn=(ul=n==null?void 0:n.goodWx)==null?void 0:ul.inEca)==null?void 0:Nn.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",yA,[e.createElementVNode("div",null,e.toDisplayString((Mn=(Dn=n==null?void 0:n.extend)==null?void 0:Dn.cp)==null?void 0:Mn.dgo),1),t[169]||(t[169]=e.createElementVNode("div",{class:"line"},null,-1)),t[170]||(t[170]=e.createElementVNode("div",null,"24",-1))]),t[172]||(t[172]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((gn=(mn=n==null?void 0:n.goodWx)==null?void 0:mn.inEca)==null?void 0:gn.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",IA,[t[181]||(t[181]=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",pA,[e.createElementVNode("div",AA,[e.createElementVNode("div",null,e.toDisplayString((nt=(In=l.report)==null?void 0:In.weather)!=null&&nt.noExtrapolation?(pn=n==null?void 0:n.goodWx)==null?void 0:pn.distance:(An=n==null?void 0:n.allWx)==null?void 0:An.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Vn=n==null?void 0:n.goodWx)==null?void 0:Vn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",VA,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Tn=n==null?void 0:n.goodWx)==null?void 0:Tn.sumFoCons),1),((no=(u=n==null?void 0:n.goodWx)==null?void 0:u.inEca)==null?void 0:no.distance)>0?(e.openBlock(),e.createElementBlock("span",TA,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((zn=(xn=n==null?void 0:n.fuelConclusion)==null?void 0:xn.fo)==null?void 0:zn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Sn=n.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:kn.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",xA,[t[188]||(t[188]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",zA,[e.createElementVNode("div",CA,[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:(zt=n==null?void 0:n.allWx)==null?void 0:zt.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Pn=n==null?void 0:n.timeConclusion)==null?void 0:Pn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",SA,[e.createElementVNode("div",null,e.toDisplayString((Wn=(Gn=n==null?void 0:n.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Wn.overTolerance),1),t[183]||(t[183]=e.createElementVNode("div",{class:"line"},null,-1)),t[184]||(t[184]=e.createElementVNode("div",null,"24",-1))]),t[186]||(t[186]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Zn=(Ln=n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Zn.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",kA,[t[195]||(t[195]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",jA,[e.createElementVNode("div",fA,[e.createElementVNode("div",null,e.toDisplayString((Jn=(Hn=l.report)==null?void 0:Hn.weather)!=null&&Jn.noExtrapolation?(_n=n==null?void 0:n.goodWx)==null?void 0:_n.distance:(Xn=n==null?void 0:n.allWx)==null?void 0:Xn.distance),1),t[189]||(t[189]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=n==null?void 0:n.timeConclusion)==null?void 0:Kn.plusAbtSpd),1)]),t[192]||(t[192]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",UA,[e.createElementVNode("div",null,e.toDisplayString((qn=(un=n==null?void 0:n.fuelConclusion)==null?void 0:un.fo)==null?void 0:qn.underTolerance),1),t[190]||(t[190]=e.createElementVNode("div",{class:"line"},null,-1)),t[191]||(t[191]=e.createElementVNode("div",null,"24",-1))]),t[193]||(t[193]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((vn=($n=n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:vn.minCons)+" (mt)",1),t[194]||(t[194]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",bA,[((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",OA,[t[196]||(t[196]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[197]||(t[197]=e.createElementVNode("div",null,"=",-1)),t[198]||(t[198]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[199]||(t[199]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=n==null?void 0:n.fuelConclusion)==null?void 0:la.fo)==null?void 0:oa.entireCons),1),t[200]||(t[200]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((aa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:aa.maxCons),1),t[201]||(t[201]=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.overCons),1)]),(ra=(da=n==null?void 0:n.goodWx)==null?void 0:da.inEca)!=null&&ra.distance?(e.openBlock(),e.createElementBlock("div",wA,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",YA,[e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.goodWx)==null?void 0:ca.inEca)==null?void 0:Na.distance)+" * "+e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.overCons),1),t[202]||(t[202]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ga=(ma=l.report)==null?void 0:ma.weather)!=null&&ga.noExtrapolation?(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.distance:(ya=n==null?void 0:n.allWx)==null?void 0:ya.distance),1)]),t[205]||(t[205]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pa=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:pa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Va=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Va.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",QA,[t[206]||(t[206]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[207]||(t[207]=e.createElementVNode("div",null,"=",-1)),t[208]||(t[208]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[209]||(t[209]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:xa.minCons),1),t[210]||(t[210]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ca=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ca.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Sa=n==null?void 0:n.fuelConclusion)==null?void 0:Sa.fo)==null?void 0:ka.saving)+" (mt)",1)]),(fa=(ja=n==null?void 0:n.goodWx)==null?void 0:ja.inEca)!=null&&fa.distance?(e.openBlock(),e.createElementBlock("div",hA,[t[213]||(t[213]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[214]||(t[214]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",BA,[e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=l.report)==null?void 0:Ua.weather)!=null&&ba.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(Qa=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:Qa.distance)+" * "+e.toDisplayString((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.saving),1),t[212]||(t[212]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Fa=(Ra=l.report)==null?void 0:Ra.weather)!=null&&Fa.noExtrapolation?(Pa=n==null?void 0:n.goodWx)==null?void 0:Pa.distance:(Ga=n==null?void 0:n.allWx)==null?void 0:Ga.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((La=(Wa=n==null?void 0:n.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:La.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ha=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Ha.conclusionStatus)==="Over"?"flex-center lost":((_a=(Ja=n==null?void 0:n.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:_a.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[216]||(t[216]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ka=(Xa=n==null?void 0:n.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:Ka.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",RA,e.toDisplayString(i.noGoodWxDay),1)),((qa=(ua=n==null?void 0:n.extend)==null?void 0:ua.cp)==null?void 0:qa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",FA,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",PA,"Seg. "+e.toDisplayString(H+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",GA,[e.createElementVNode("div",WA,[t[224]||(t[224]=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",LA,[e.createElementVNode("div",ZA,[e.createElementVNode("div",null,e.toDisplayString((ei=(va=l.report)==null?void 0:va.weather)!=null&&ei.noExtrapolation?(ti=n==null?void 0:n.goodWx)==null?void 0:ti.distance:(li=n==null?void 0:n.allWx)==null?void 0:li.distance),1),t[218]||(t[218]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.goodWx)==null?void 0:oi.pfmSpd),1)]),t[221]||(t[221]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",HA,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ni=n==null?void 0:n.goodWx)==null?void 0:ni.sumDgoCons),1),((ii=(ai=n==null?void 0:n.goodWx)==null?void 0:ai.inEca)==null?void 0:ii.distance)>0?(e.openBlock(),e.createElementBlock("span",JA,[t[219]||(t[219]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((di=(si=n==null?void 0:n.fuelConclusion)==null?void 0:si.fo)==null?void 0:di.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[220]||(t[220]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ri=n==null?void 0:n.goodWx)==null?void 0:ri.time),1)]),t[222]||(t[222]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ni=(ci=n.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:Ni.entireCons)+" (mt)",1),t[223]||(t[223]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",_A,[t[231]||(t[231]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",XA,[e.createElementVNode("div",KA,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(mi=n==null?void 0:n.goodWx)==null?void 0:mi.distance:(gi=n==null?void 0:n.allWx)==null?void 0:gi.distance),1),t[225]||(t[225]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ei=n==null?void 0:n.timeConclusion)==null?void 0:Ei.minusAbtSpd),1)]),t[228]||(t[228]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",uA,[e.createElementVNode("div",null,e.toDisplayString((Ii=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ii.overTolerance),1),t[226]||(t[226]=e.createElementVNode("div",{class:"line"},null,-1)),t[227]||(t[227]=e.createElementVNode("div",null,"24",-1))]),t[229]||(t[229]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ai=(pi=n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Ai.maxCons)+" (mt)",1),t[230]||(t[230]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",qA,[t[238]||(t[238]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",$A,[e.createElementVNode("div",vA,[e.createElementVNode("div",null,e.toDisplayString((Ti=(Vi=l.report)==null?void 0:Vi.weather)!=null&&Ti.noExtrapolation?(xi=n==null?void 0:n.goodWx)==null?void 0:xi.distance:(zi=n==null?void 0:n.allWx)==null?void 0:zi.distance),1),t[232]||(t[232]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ci=n==null?void 0:n.timeConclusion)==null?void 0:Ci.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",e0,[e.createElementVNode("div",null,e.toDisplayString((ki=(Si=n==null?void 0:n.fuelConclusion)==null?void 0:Si.dgo)==null?void 0:ki.underTolerance),1),t[233]||(t[233]=e.createElementVNode("div",{class:"line"},null,-1)),t[234]||(t[234]=e.createElementVNode("div",null,"24",-1))]),t[236]||(t[236]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((fi=(ji=n.fuelConclusion)==null?void 0:ji.dgo)==null?void 0:fi.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",t0,[((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",l0,[t[239]||(t[239]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[240]||(t[240]=e.createElementVNode("div",null,"=",-1)),t[241]||(t[241]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[242]||(t[242]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:wi.entireCons),1),t[243]||(t[243]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Qi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:Qi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.overCons),1)])):((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",o0,[t[245]||(t[245]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[246]||(t[246]=e.createElementVNode("div",null,"=",-1)),t[247]||(t[247]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[248]||(t[248]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gi=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Gi.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.entireCons),1),t[250]||(t[250]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hi=(Zi=n==null?void 0:n.fuelConclusion)==null?void 0:Zi.dgo)==null?void 0:Hi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((_i=(Ji=n==null?void 0:n.fuelConclusion)==null?void 0:Ji.dgo)==null?void 0:_i.conclusionStatus)==="Over"?"flex-center lost":((Ki=(Xi=n==null?void 0:n.fuelConclusion)==null?void 0:Xi.dgo)==null?void 0:Ki.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[251]||(t[251]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((qi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:qi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",n0,e.toDisplayString(i.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const i0=Fe(PE,[["render",a0],["__scopeId","data-v-4d9134e2"]]),Jw="",s0={name:"OrmVygInventory",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){if(o.type==="BOSP")return"";{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`${P(o).utc().format(t)}`}},computeLng(){return function(o){return de.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return de.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?de.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,i,a,D,s,c,y,p,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=((a=(i=this.report)==null?void 0:i.weather)==null?void 0:a.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((y=(c=this.report)==null?void 0:c.weather)==null?void 0:y.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},d0={class:"report-inventory"},r0={class:"section summary-section"},c0={class:"summary-block"},N0={class:"label",rowspan:"4"},D0={class:"section inventory-section"},M0={class:"inventory-block flex-center"},m0={style:{"font-size":"12px"}},g0=["colspan"],E0={key:0,class:"label",colspan:"2"},y0={key:0,class:"label",rowspan:"2"},I0={key:1,class:"label",rowspan:"2"},p0={key:2,class:"label",rowspan:"2"},A0={key:3,class:"label",colspan:"2"},V0={key:4,class:"label",rowspan:"2"},T0={key:5,class:"label",colspan:"2"},x0={key:6,class:"label",rowspan:"2"},z0={key:7,class:"label",rowspan:"2"},C0={key:8,class:"label",rowspan:"2"},S0={key:0,class:"label"},k0={key:1,class:"label"},j0={key:2,class:"label"},f0={key:3,class:"label"},U0={class:"summary-tbody"};function b0(o,t,l,d,i,a){var D;return e.openBlock(),e.createElementBlock("div",d0,[e.createElementVNode("div",r0,[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",c0,[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((D=l.report)==null?void 0:D.segments,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",N0,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=s==null?void 0:s.allWx)==null?void 0:C.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(a.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=s==null?void 0:s.goodWx)==null?void 0:S.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(a.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=s==null?void 0:s.badWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=s==null?void 0:s.badWx)==null?void 0:U.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=s==null?void 0:s.badWx)==null?void 0:O.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(a.computePrecision((w=s==null?void 0:s.excluded)==null?void 0:w.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=s==null?void 0:s.excluded)==null?void 0:Y.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Q=s==null?void 0:s.excluded)==null?void 0:Q.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=s==null?void 0:s.excluded)==null?void 0:h.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=s==null?void 0:s.excluded)==null?void 0:R.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",D0,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-e8c41d6c><div class="flex-start" style="flex:1.2;" data-v-e8c41d6c><div class="legend good-wx" data-v-e8c41d6c></div><div class="label flex-end" data-v-e8c41d6c>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-e8c41d6c><div class="legend adverse-wx" data-v-e8c41d6c></div><div class="label" data-v-e8c41d6c>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-e8c41d6c><div class="legend excluded" data-v-e8c41d6c></div><div class="label" data-v-e8c41d6c>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-e8c41d6c><div data-v-e8c41d6c><label data-v-e8c41d6c>B</label><span data-v-e8c41d6c>BOSP</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>N</label><span data-v-e8c41d6c>NOON</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>E</label><span data-v-e8c41d6c>EOSP</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>*</label><span data-v-e8c41d6c>Ship Reported Position</span></div></div></div><div style="text-align:right;padding-bottom:5px;font-size:14px;font-weight:400;color:var(--idm-black-7);" data-v-e8c41d6c> The 'ORM Analysis Weather' row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",M0,[e.createElementVNode("table",m0,[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:a.computeWxColspan},"ORM Weather Analysis",8,g0),l.showFactor?(e.openBlock(),e.createElementBlock("th",E0,"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)),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",y0,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",I0,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)),i.showWave?(e.openBlock(),e.createElementBlock("th",p0,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",A0,"Swell")):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("th",V0,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",T0,"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",x0,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",z0,"wxFactor")):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("th",C0,"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)),i.showSwell?(e.openBlock(),e.createElementBlock("th",S0,"Dir")):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",k0,"HT(m)")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",j0,"Dir")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",f0,"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",U0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z;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)&&((y=s.noon)!=null&&y.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2",style:{"max-width":"150px","text-wrap":"wrap"}},e.toDisplayString((p=s.noon)==null?void 0:p.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(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.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(s.type==="BOSP"?"-":((M=(N=s.meteo)==null?void 0:N.wind)==null?void 0:M.direction)??"-"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(C=s.meteo)==null?void 0:C.wind)==null?void 0:A.scale)??"-"),3),i.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((I=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:I.height)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((k=(x=(S=s.meteo)==null?void 0:S.wave)==null?void 0:x.swell)==null?void 0:k.direction)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=(U=(m=s.meteo)==null?void 0:m.wave)==null?void 0:U.swell)==null?void 0:O.height)??"-"),3)):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((Q=(Y=(w=s.meteo)==null?void 0:w.wave)==null?void 0:Y.sig)==null?void 0:Q.height)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((R=(h=s.meteo)==null?void 0:h.current)==null?void 0:R.direction)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((G=s.meteo)==null?void 0:G.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.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(((W=s.meteo)==null?void 0:W.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(((L=s.meteo)==null?void 0:L.wxFactor)??"--"),3)):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((Z=s.meteo)==null?void 0:Z.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const O0=Fe(s0,[["render",b0],["__scopeId","data-v-e8c41d6c"]]),_w="",w0={name:"OrmVoyageChart",components:{Lng:On,Lat:wn},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`${P(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(Rn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Rn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Rn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,C,A,V,T;let o=[];const t=[],l=[],d={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let i=0,a=0;const D=this.inventory.filter(I=>I.noon)||[],s=[];this.inventory.forEach((I,S)=>{var x,k;S===0&&s.push(I.utc),I.type==="EOSP"&&((x=this.inventory[S+1])==null?void 0:x.type)==="BOSP"&&(s.push(I.utc),s.push((k=this.inventory[S+1])==null?void 0:k.utc)),S===this.inventory.length-1&&s.push(I.utc)}),s.forEach((I,S)=>{if(S%2===0){const x=P(s[S+1]).diff(P(s[S]),"minute",!0);for(let k=0;k<=x+1;k++)t.push(this.computeUTCTime(P(s[S]).clone().utc().add(k,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((I,S)=>{var k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J;const x=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(I.noon&&!o.some(b=>b.slice(0,5)===I.utc.slice(5,10))&&o.push(x),S===D.length-1&&(o=o.filter(b=>b.slice(0,5)!==I.utc.slice(5,10)),o.push(x)),i=Math.ceil(((k=I.noon)==null?void 0:k.foCons)>i?(m=I.noon)==null?void 0:m.foCons:i),i=Math.ceil(((U=I.cp)==null?void 0:U.fo)>i?(O=I.cp)==null?void 0:O.fo:i),a=Math.ceil(((w=I.noon)==null?void 0:w.dgoCons)>a?(Y=I.noon)==null?void 0:Y.dgoCons:a),a=Math.ceil(((Q=I.cp)==null?void 0:Q.dgo)>a?(h=I.cp)==null?void 0:h.dgo:a),l.push([x,(R=I.noon)==null?void 0:R.avgSpd,(G=I.noon)==null?void 0:G.foCons,(W=I.noon)==null?void 0:W.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),S<D.length-1){const b=D[S+1];l.push([x,(L=b.noon)==null?void 0:L.avgSpd,(Z=b.noon)==null?void 0:Z.foCons,(J=b.noon)==null?void 0:J.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((I,S)=>S===0||S===o.length-1||S%c===0);const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100,top:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",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.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:i+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#2a57b7"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#2a57b7"},lineStyle:{color:"#2a57b7",type:"dashed"},encode:{x:d.dateTime,y:d.fo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(M=(N=this.report)==null?void 0:N.weather)!=null&&M.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#2a57b7"},encode:{x:d.dateTime,y:d.noonFoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.spdFoConsChart)==null||C.setOption(y);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},top:"5%",left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",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.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#7191d1"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#7191d1"},lineStyle:{color:"#7191d1",type:"dashed"},encode:{x:d.dateTime,y:d.dgo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(V=(A=this.report)==null?void 0:A.weather)!=null&&V.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#7191d1"},encode:{x:d.dateTime,y:d.noonDgoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(T=this.spdDgoConsChart)==null||T.setOption(p)},renderWxCurrChart(){var C;let o=[];const t=[],l=[],d={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let i=4;const a=this.inventory||[],D=[];a.forEach((A,V)=>{var T,I;V===0&&D.push(A.utc),A.type==="EOSP"&&((T=a[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(A.utc),D.push((I=a[V+1])==null?void 0:I.utc)),V===a.length-1&&D.push(A.utc)}),D.forEach((A,V)=>{if(V%2===0){const T=P(D[V+1]).diff(P(D[V]),"minute",!0);for(let I=0;I<=T+1;I++)t.push(this.computeUTCTime(P(D[V]).clone().utc().add(I,"m").format(),"MM-DD/HHmm[Z]"))}}),a.forEach((A,V)=>{var I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se;const T=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(_=>_.slice(0,5)===A.utc.slice(5,10))&&o.push(T),V===a.length-1&&(o=o.filter(_=>_.slice(0,5)!==A.utc.slice(5,10)),o.push(T)),i=Math.ceil(((x=(S=(I=A.meteo)==null?void 0:I.wave)==null?void 0:S.sig)==null?void 0:x.height)>i?(U=(m=(k=A.meteo)==null?void 0:k.wave)==null?void 0:m.sig)==null?void 0:U.height:i),l.push([T,((O=A.noon)==null?void 0:O.windBF)||((Y=(w=A.meteo)==null?void 0:w.wind)==null?void 0:Y.scale),(h=(Q=A.meteo)==null?void 0:Q.wind)==null?void 0:h.scale,(G=(R=A.meteo)==null?void 0:R.wind)==null?void 0:G.direction,(W=A.noon)==null?void 0:W.seasHt,(J=(Z=(L=A.meteo)==null?void 0:L.wave)==null?void 0:Z.sig)==null?void 0:J.height,A.dailyAvgCf??((b=l[l.length-1])==null?void 0:b[d.anlyCurFct]),A.goodWx&&!A.excluded?20:0,A.excluded?20:0]),V<a.length-1){const _=a[V+1];l.push([T,((te=A.noon)==null?void 0:te.windBF)||((oe=(le=A.meteo)==null?void 0:le.wind)==null?void 0:oe.scale),(ae=(ne=_.meteo)==null?void 0:ne.wind)==null?void 0:ae.scale,(H=(n=_.meteo)==null?void 0:n.wind)==null?void 0:H.direction,(q=_.noon)==null?void 0:q.seasHt,(ie=(v=($=A.meteo)==null?void 0:$.wave)==null?void 0:v.sig)==null?void 0:ie.height,_.dailyAvgCf??((se=l[l.length-1])==null?void 0:se[d.anlyCurFct]),_.goodWx&&!_.excluded?20:0,_.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((A,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,y=2.5,p=1,N=5;c<-2.5||y>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,y=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(y)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(y)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,y=2.5,N=Math.abs(c)/p+5);const M={animation:!1,title:{text:"Weather and Current Factor",top:"5%",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["Current Factor","Wind BF","Sig.wave Height",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:{type:"category",data:t,boundaryGap:!1,position:"zero",axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}},yAxis:[{name:"Current Factor (kts)",show:!0,nameLocation:"middle",position:"left",offset:10,nameGap:25,min:c,max:y,interval:p,splitNumber:N,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Wind BF",nameLocation:"middle",position:"left",offset:50,nameGap:25,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,1)/5),max:Math.ceil(this.findMaxValue(l,1)/5)*5,interval:Math.ceil(this.findMaxValue(l,1)/5),splitNumber:N,show:!0,axisLine:{lineStyle:{color:"#60c43e"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Sig.wave Height (m)",nameLocation:"middle",position:"right",offset:10,nameGap:25,show:!0,startValue:0,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,5)/5),max:Math.ceil(this.findMaxValue(l,5)/5)*5,interval:Math.ceil(this.findMaxValue(l,5)/5),splitNumber:N,axisLine:{lineStyle:{color:"#21baa3"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyCurFct},itemStyle:{color:"#a362f9"},data:l,z:3},{name:"Wind BF",type:"line",yAxisIndex:1,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyWdBF},itemStyle:{color:"#15ab02"},data:l,z:3},{name:"Sig.wave Height",type:"line",yAxisIndex:2,showSymbol:!1,encode:{x:d.dateTime,y:d.anlySigWvHt},itemStyle:{color:"#017c8a"},data:l,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.currChart)==null||C.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];typeof a=="number"&&!isNaN(a)&&Number(a)>l&&(l=a)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];a<l&&(l=a)}}return l}}},Y0={class:"report-summary"},Q0={class:"section chart-section"},h0={class:"chart-block"},B0={ref:"spdFoConsChart",class:"chart"},R0={ref:"spdDgoConsChart",class:"chart"},F0={ref:"currChart",class:"chart"},P0={class:"section map-section"},G0={class:"map-block"},W0={class:"flex-space"},L0={class:"voyage-block",style:{height:"197px"}},Z0={class:"flex-space label-block",style:{width:"100%"}},H0={style:{"text-transform":"uppercase"}},J0={class:"flex-space label-block",style:{width:"100%"}},_0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},X0={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},K0={class:"flex-space label-block",style:{width:"100%"}},u0={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},q0={class:"flex-space label-block",style:{width:"100%"}},$0={key:0,class:"flex-end",style:{flex:"1"}},v0={key:1,class:"flex-end",style:{flex:"1"}},eV={class:"flex-end",style:{width:"160px"}},tV={class:"flex-space label-block",style:{width:"100%"}},lV={key:0,class:"flex-end",style:{flex:"1"}},oV={key:1,class:"flex-end",style:{flex:"1"}},nV={class:"flex-end",style:{width:"160px"}},aV={class:"flex-space label-block",style:{width:"100%"}},iV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sV=["src"];function dV(o,t,l,d,i,a){var c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",Y0,[e.createElementVNode("div",Q0,[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",h0,[e.createElementVNode("div",B0,null,512),e.createElementVNode("div",R0,null,512),e.createElementVNode("div",F0,null,512)])]),e.createElementVNode("div",P0,[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",G0,[e.createElementVNode("div",W0,[e.createElementVNode("div",L0,[e.createElementVNode("div",Z0,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",H0,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",J0,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_0,e.toDisplayString((y=(c=l.report)==null?void 0:c.vessel)==null?void 0:y.name),1),e.createElementVNode("span",X0,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",K0,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",u0,e.toDisplayString((C=(M=l.report)==null?void 0:M.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",q0,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(A=l.report)==null?void 0:A.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",$0,e.toDisplayString((I=(T=l.report)==null?void 0:T.departure)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",v0,[e.createVNode(D,{lat:(x=(S=l.report)==null?void 0:S.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:(k=l.report.departure)==null?void 0:k.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",eV,e.toDisplayString(a.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",tV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(O=(U=l.report)==null?void 0:U.arrival)!=null&&O.portName?(e.openBlock(),e.createElementBlock("span",lV,e.toDisplayString((Y=(w=l.report)==null?void 0:w.arrival)==null?void 0:Y.portName),1)):(e.openBlock(),e.createElementBlock("div",oV,[e.createVNode(D,{lat:(h=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:h.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:(G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",nV,e.toDisplayString(a.computeUTCTime((L=(W=l.report)==null?void 0:W.arrival)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",aV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iV,e.toDisplayString((J=(Z=l.report)==null?void 0:Z.voyage)==null?void 0:J.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-45a20167><div style="position:absolute;margin-top:-8px;" data-v-45a20167>LEGEND</div><div class="flex-space" data-v-45a20167><div data-v-45a20167>0812</div><div data-v-45a20167><div data-v-45a20167>08 - Day of the month</div><div data-v-45a20167>12 - Hours of the day</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-45a20167></i></div><div data-v-45a20167><div data-v-45a20167>Wind from N (000)</div><div data-v-45a20167>Each bard = 10 kts</div><div data-v-45a20167>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167>W 4</div><div data-v-45a20167>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-45a20167><div class="good-wx" data-v-45a20167>Date</div><div data-v-45a20167>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(b=l.report)==null?void 0:b.chartUrl,alt:""},null,8,sV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-45a20167><div class="header-block flex-center" data-v-45a20167><i class="iconfont" data-v-45a20167></i><div class="title" data-v-45a20167>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>1. Good Weather Method</div><div class="method-body" data-v-45a20167> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-45a20167> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-45a20167> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>4. “About”</div><div class="method-body" data-v-45a20167> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-45a20167> 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-45a20167> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>6. Further reference materials</div><div class="method-body" data-v-45a20167>Please send mail to <a href="mailto:op@ormwx.com" data-v-45a20167>op@ormwx.com</a>.</div></div></div></div>',1))])}const rV=Fe(w0,[["render",dV],["__scopeId","data-v-45a20167"]]),Xw="",Kw="",cV={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`${P(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,y;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((y=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:y.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const i=document.getElementById("col1"),a=document.getElementById("col2"),D=(i==null?void 0:i.offsetHeight)||0,s=(a==null?void 0:a.offsetHeight)||0;if(D<=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,dM)]))])}const ms=Fe(aM,[["render",rM]]),cM={install(o){o.component("PiLogo",ms)}},Gw="",Ww="",NM={name:"FliVygSummary",components:{Editor:ao},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"?P(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?P(o).utc().format("MMMM D, HHmm[Z]"):t?P(o).utc().format(t):P(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=de.LngLatHelper.lat2pretty(o).pretty,d=de.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]"),i=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),a=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:i,time2:a,fullTime2:D}}},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="",i=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,i++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,i++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,i++),i>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?de.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,i)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(s=>{let c={begin:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+P(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 D=[];d.extend.segTimes.forEach(s=>{D.push(this.computedSeg(s))}),this.segDetail.push(D),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},DM={class:"fli-main"},MM={class:"card basics"},mM={class:"list flex"},gM={class:"item"},EM={class:"content flex"},yM={class:"item"},IM={class:"content flex"},pM={class:"item"},AM={class:"content flex"},VM={class:"list"},TM={class:"item"},xM={class:"content flex"},zM={class:"content flex"},CM={class:"item"},SM={class:"content flex"},kM={class:"content flex"},jM={class:"item"},fM={class:"content flexL"},UM={class:"clause"},bM={key:0,class:"definition flex"},OM={key:1,class:"definition flex"},wM={class:"item"},YM={class:"content"},QM={key:0,class:"item"},hM={class:"content"},BM={key:1,class:"item"},RM={class:"content"},FM={key:2,class:"item"},PM={class:"content"},GM={key:3,class:"item"},WM={class:"content"},LM={key:4,class:"item"},ZM={key:5,class:"item"},HM={class:"definition flexM"},JM={class:"table"},_M={class:"summary"},XM={key:0,class:"summary-overall"},KM={class:"summary-overall-row"},uM={class:"card"},qM={class:"main-content"},$M={key:0},vM={key:1},e1={class:"card"},t1={class:"main-content"},l1={key:0},o1={key:1},n1={class:"card"},a1={class:"main-content"},i1={key:0},s1={key:1},d1={class:"summary-overall-row"},r1={class:"card"},c1={class:"main-content"},N1={class:"card"},D1={class:"main-content"},M1={class:"card"},m1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},E1={class:"card-title"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"card-segment"},A1={class:"uppercase"},V1={class:"card summary-card",style:{flex:"1"}},T1={key:0,class:"main-content"},x1={key:0,class:"iconfont success"},z1={key:1,class:"iconfont error"},C1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},k1={class:"card summary-card",style:{flex:"1"}},j1={key:0,class:"main-content"},f1={key:0,class:"iconfont success"},U1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},O1={class:"card-content",style:{"justify-content":"flex-start"}},w1={class:"card summary-card",style:{flex:"1"}},Y1={key:0,class:"main-content"},Q1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},B1={key:1,class:"main-content"},R1={class:"card-content",style:{"justify-content":"flex-start"}},F1={style:{"page-break-inside":"avoid"}},P1={class:"remarks"},G1={class:"item"},W1={class:"speed"},L1={class:"uppercase"},Z1={class:"item"},H1={key:0,class:"remark-detail"},J1={key:1,class:"remark-detail"},_1={class:"page-avoid"},X1={class:"dashed"},K1={class:"card phase-title-card",style:{flex:"0.5"}},u1={class:"card-title"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"card-segment"},em={class:"uppercase"},tm={class:"phase-analysis"},lm={class:"card phase-card",style:{flex:"1"}},om={class:"main-content"},nm={class:"main-content"},am={class:"card-content"},im={class:"card-content"},sm={class:"card-content"},dm={class:"card-content"},rm={class:"card phase-card",style:{flex:"1"}},cm={class:"main-content"},Nm={class:"main-content"},Dm={class:"card-content"},Mm={class:"card-content"},mm={class:"card-content"},gm={class:"card-content"},Em={class:"phase-analysis"},ym={class:"card phase-card",style:{flex:"1"}},Im={class:"main-content"},pm={class:"main-content"},Am={class:"card-content"},Vm={class:"card-content"},Tm={class:"card-content"},xm={class:"card-content"},zm={class:"card phase-card",style:{flex:"1"}},Cm={class:"main-content"},Sm={class:"main-content"},km={class:"card-content"},jm={class:"card-content"},fm={class:"card-content"},Um={class:"card-content"},bm={class:"card phase-card",style:{flex:"1"}},Om={class:"main-content"},wm={class:"main-content"},Ym={class:"card-content"},Qm={class:"card-content"},hm={class:"card-content"},Bm={class:"card-content"},Rm={class:"phase-analysis"},Fm={class:"card phase-card",style:{flex:"1"}},Pm={class:"main-content"},Gm={class:"main-content"},Wm={class:"card-content"},Lm={class:"card-content"},Zm={class:"card-content"},Hm={class:"card-content"},Jm={class:"card phase-card",style:{flex:"1"}},_m={class:"main-content"},Xm={class:"main-content"},Km={class:"card-content"},um={class:"card-content"},qm={class:"card-content"},$m={class:"card-content"},vm={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},eg={class:"main-content"},tg={class:"card-content"},lg={key:0},og={key:1},ng={class:"phase-card"},ag={class:"card",style:{flex:"1"}},ig={key:0,class:"main-content"},sg={key:0,class:"iconfont success"},dg={key:1,class:"iconfont error"},rg={key:1,class:"main-content"},cg={class:"nogwd"},Ng={class:"card-content",style:{"justify-content":"flex-start"}},Dg={key:0},Mg={class:"equation"},mg={style:{width:"8%"}},gg={style:{width:"10%"}},Eg={class:"equation"},yg={style:{width:"8%"}},Ig={style:{width:"10%"}},pg={class:"equation"},Ag={style:{width:"8%"}},Vg={style:{width:"10%"}},Tg={class:"phase-card"},xg={class:"card",style:{flex:"1"}},zg={key:0,class:"main-content"},Cg={key:0,class:"iconfont success"},Sg={key:1,class:"iconfont error"},kg={key:1,class:"main-content"},jg={class:"nogwd"},fg={class:"card-content",style:{"justify-content":"flex-start"}},Ug={key:0},bg={class:"equation"},Og={style:{width:"8%"}},wg={style:{width:"120px"}},Yg={style:{width:"10%"}},Qg={class:"equation"},hg={style:{width:"8%"}},Bg={style:{width:"120px"}},Rg={style:{width:"10%"}},Fg={class:"equation"},Pg={style:{width:"8%"}},Gg={style:{width:"120px"}},Wg={style:{width:"10%"}},Lg={key:0,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"},ug={class:"card-content",style:{"justify-content":"flex-start"}},qg={key:0},$g={class:"equation"},vg={style:{width:"8%"}},eE={style:{width:"120px"}},tE={style:{width:"10%"}},lE={class:"equation"},oE={style:{width:"8%"}},nE={style:{width:"120px"}},aE={style:{width:"10%"}},iE={class:"equation"},sE={style:{width:"8%"}},dE={style:{width:"120px"}},rE={style:{width:"10%"}},cE={class:"formular dashed",style:{"page-break-inside":"avoid"}},NE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DE={class:""},ME={class:"equation"},mE={style:{width:"50%"},class:"fraction"},gE={class:"equation"},EE={style:{width:"50%"},class:"fraction"},yE={class:"equation"},IE={style:{width:"50%"},class:"fraction"},pE={class:"flexL formular-item",style:{"margin-left":"20px"}},AE={class:""},VE={class:"equation"},TE={style:{width:"25%"},class:"fraction"},xE={class:"equation"},zE={style:{width:"25%"},class:"fraction"},CE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function kE(o,t,l,d,i,a){var D,s,c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.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",DM,[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",MM,[e.createElementVNode("div",mM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",EM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",yM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",IM,e.toDisplayString((p=(y=l.reportData)==null?void 0:y.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",pM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",AM,e.toDisplayString(i.date),1)])]),e.createElementVNode("div",VM,[e.createElementVNode("div",TM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",xM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||a.computedLngLat((A=(C=l.reportData)==null?void 0:C.departure)==null?void 0:A.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",zM,e.toDisplayString(a.computedTime((S=(I=l.reportData)==null?void 0:I.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",CM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((k=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:k.portName)||a.computedLngLat((U=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:U.lat,(w=(O=l.reportData)==null?void 0:O.arrival)==null?void 0:w.lng)),1),e.createElementVNode("div",kM,e.toDisplayString(a.computedTime((Q=(Y=l.reportData)==null?void 0:Y.arrival)==null?void 0:Q.utcTime,"table")),1)]),e.createElementVNode("div",jM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",fM,e.toDisplayString((R=(h=l.reportData)==null?void 0:h.voyage)==null?void 0:R.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",UM,[(W=(G=l.reportData)==null?void 0:G.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",OM,[e.createElementVNode("div",wM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",YM,"BF "+e.toDisplayString(((Z=(L=l.reportData)==null?void 0:L.weather)==null?void 0:Z.windScale)||"-"),1)]),(b=(J=l.reportData)==null?void 0:J.weather)!=null&&b.waveSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((le=(te=l.reportData)==null?void 0:te.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(ne=(oe=l.reportData)==null?void 0:oe.weather)!=null&&ne.swellSwitch?(e.openBlock(),e.createElementBlock("div",BM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(((n=(ae=l.reportData)==null?void 0:ae.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(q=(H=l.reportData)==null?void 0:H.weather)!=null&&q.sigSwitch?(e.openBlock(),e.createElementBlock("div",FM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",PM,e.toDisplayString(((v=($=l.reportData)==null?void 0:$.weather)==null?void 0:v.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(se=(ie=l.reportData)==null?void 0:ie.weather)!=null&&se.waveSwitch||(De=(_=l.reportData)==null?void 0:_.weather)!=null&&De.swellHeight||(Ne=(K=l.reportData)==null?void 0:K.weather)!=null&&Ne.sigSwitch?(e.openBlock(),e.createElementBlock("div",GM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",WM,e.toDisplayString((me=(Me=l.reportData)==null?void 0:Me.weather)==null?void 0:me.seaScale),1)])):e.createCommentVNode("",!0),(Ie=(ce=l.reportData)==null?void 0:ce.weather)!=null&&Ie.noAdverseCur?(e.openBlock(),e.createElementBlock("div",LM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ae=(pe=l.reportData)==null?void 0:pe.weather)!=null&&Ae.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ZM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",HM,[e.createElementVNode("table",JM,[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(i.cpDetail,(r,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[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",_M,[((Te=(Ve=l.reportData)==null?void 0:Ve.segments)==null?void 0:Te.length)>1?(e.openBlock(),e.createElementBlock("div",XM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",KM,[e.createElementVNode("div",uM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",qM,[(ze=(xe=l.reportData)==null?void 0:xe.goodWx)!=null&&ze.avgSpd?(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString((Se=(Ce=l.reportData)==null?void 0:Ce.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",vM,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",e1,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",t1,[(je=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&je.avgSpd?(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString((Ue=(fe=l.reportData)==null?void 0:fe.goodWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",n1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",a1,[(ge=(be=l.reportData)==null?void 0:be.goodWx)!=null&&ge.avgSpd?(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString((Ye=(we=l.reportData)==null?void 0:we.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",s1,e.toDisplayString(i.noGoodWxDay),1))])])]),e.createElementVNode("div",d1,[e.createElementVNode("div",r1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",c1,e.toDisplayString((j=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:j.avgSpd)+" kts",1)]),e.createElementVNode("div",N1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",D1,e.toDisplayString((Qe=(ye=l.reportData)==null?void 0:ye.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",M1,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",m1,e.toDisplayString((Ge=(Pe=l.reportData)==null?void 0:Pe.allWx)==null?void 0:Ge.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((f=l.reportData)==null?void 0:f.segments,(r,ee)=>{var Ee,B,Be;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",E1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(re,Re)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Re,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",y1,[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",I1,[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",p1,[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",V1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ee=r.goodWx)!=null&&Ee.distance?(e.openBlock(),e.createElementBlock("div",T1,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",z1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",k1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(B=r.goodWx)!=null&&B.distance?(e.openBlock(),e.createElementBlock("div",j1,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",f1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",U1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",O1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",w1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Be=r.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",Y1,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",B1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",R1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",F1,[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",P1,[e.createElementVNode("div",G1,[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,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee,class:"remark-speed"},[e.createElementVNode("div",W1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ee+1}. Phase ${ee+1} Applied `)+" ",1),e.createElementVNode("span",L1,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(i.segDetail[ee],(Ee,B)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+B},e.toDisplayString(`${Ee.port1} (${Ee.fullTime1}) to ${Ee.port2} (${Ee.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Z1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),i.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",H1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.excludedTableData,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",J1,e.toDisplayString(i.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Le=l.reportData)==null?void 0:Le.segments,(r,ee)=>{var Ee,B,Be,re,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,jt,ft,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,jl,fl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"phase"},[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[e.createElementVNode("div",u1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Xe,ql)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ql,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port1),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time1),1)]),e.createElementVNode("div",$1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port2),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time2),1)])],2))),128)),e.createElementVNode("div",v1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",em,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",tm,[e.createElementVNode("div",lm,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",om,[e.createElementVNode("span",null,e.toDisplayString(((Ee=r.goodWx)==null?void 0:Ee.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",nm,[e.createElementVNode("span",null,e.toDisplayString(((B=r.allWx)==null?void 0:B.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",am,[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(((Be=r.goodWx)==null?void 0:Be.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",im,[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",sm,[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(((Re=r.allWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",dm,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=r.allWx)==null?void 0:Ze.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",rm,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cm,[e.createElementVNode("span",null,e.toDisplayString(((He=r.goodWx)==null?void 0:He.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",Nm,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Dm,[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",Mm,[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(((qe=r.goodWx)==null?void 0:qe.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",mm,[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((($e=r.allWx)==null?void 0:$e.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",gm,[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(((ve=r.allWx)==null?void 0:ve.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",Em,[e.createElementVNode("div",ym,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",Im,[e.createElementVNode("span",null,e.toDisplayString(((et=r.goodWx)==null?void 0:et.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",pm,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",Am,[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",Vm,[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",Tm,[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",xm,[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",zm,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",Cm,[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",Sm,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",km,[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",jm,[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",fm,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Um,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bm,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Om,[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",wm,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ym,[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",Qm,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.goodWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hm,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.allWx)==null?void 0:At.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Bm,[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",Rm,[e.createElementVNode("div",Fm,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Pm,[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",Gm,[e.createElementVNode("span",null,e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Wm,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((z=r.goodWx)==null?void 0:z.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Lm,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zm,[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",Hm,[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",Jm,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",_m,[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",Xm,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Km,[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",um,[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",qm,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$m,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",vm,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",eg,[e.createElementVNode("span",null,e.toDisplayString(((bl=r.goodWx)==null?void 0:bl.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(Ol=r.goodWx)!=null&&Ol.distance&&!((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.favorableCur&&((Ql=r.goodWx)==null?void 0:Ql.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lg,[e.createTextVNode(e.toDisplayString(a.computedPositive((hl=r.goodWx)==null?void 0:hl.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",og,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ng,[e.createElementVNode("div",ag,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Bl=r.goodWx)!=null&&Bl.distance?(e.openBlock(),e.createElementBlock("div",ig,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sg,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rg,[e.createElementVNode("span",cg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",Ng,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rl=r.goodWx)!=null&&Rl.distance?"":"analysis-none"} card analysis-card`)},[(Fl=r.goodWx)!=null&&Fl.distance?(e.openBlock(),e.createElementBlock("div",Dg,[e.createElementVNode("div",Mg,[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",mg,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?(Wl=r.goodWx)==null?void 0:Wl.distance:(Ll=r.allWx)==null?void 0:Ll.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Zl=r.goodWx)==null?void 0:Zl.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gg,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",Eg,[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",yg,[e.createElementVNode("div",null,e.toDisplayString((Jl=(Hl=l.reportData)==null?void 0:Hl.weather)!=null&&Jl.noExtrapolation?(E=r.goodWx)==null?void 0:E.distance:(he=r.allWx)==null?void 0:he.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",Ig,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",pg,[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",Ag,[e.createElementVNode("div",null,e.toDisplayString((lt=(tt=l.reportData)==null?void 0:tt.weather)!=null&<.noExtrapolation?(xt=r.goodWx)==null?void 0:xt.distance:(Yt=r.allWx)==null?void 0:Yt.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",Vg,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",Tg,[e.createElementVNode("div",xg,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(Qt=r.goodWx)!=null&&Qt.distance?(e.openBlock(),e.createElementBlock("div",zg,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Cg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",kg,[e.createElementVNode("span",jg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",fg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ht=r.goodWx)!=null&&ht.distance?"":"analysis-none"} card analysis-card`)},[(Bt=r.goodWx)!=null&&Bt.distance?(e.openBlock(),e.createElementBlock("div",Ug,[e.createElementVNode("div",bg,[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",Og,[e.createElementVNode("div",null,e.toDisplayString((Ft=(Rt=l.reportData)==null?void 0:Rt.weather)!=null&&Ft.noExtrapolation?(Pt=r.goodWx)==null?void 0:Pt.distance:(Gt=r.allWx)==null?void 0:Gt.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Wt=r.goodWx)==null?void 0:Wt.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",wg,[e.createElementVNode("div",null,e.toDisplayString((Lt=r.goodWx)==null?void 0:Lt.sumFoCons)+" "+e.toDisplayString(((Zt=r.allWx)==null?void 0:Zt.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((Ht=r.goodWx)==null?void 0:Ht.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Yg,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Qg,[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",hg,[e.createElementVNode("div",null,e.toDisplayString((_t=(Jt=l.reportData)==null?void 0:Jt.weather)!=null&&_t.noExtrapolation?(Xt=r.goodWx)==null?void 0:Xt.distance:(Kt=r.allWx)==null?void 0:Kt.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",Bg,[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",Rg,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Fg,[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",Pg,[e.createElementVNode("div",null,e.toDisplayString((qt=(ut=l.reportData)==null?void 0:ut.weather)!=null&&qt.noExtrapolation?($t=r.goodWx)==null?void 0:$t.distance:(vt=r.allWx)==null?void 0:vt.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",Gg,[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",Wg,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((tl=(el=r==null?void 0:r.extend)==null?void 0:el.cp)==null?void 0:tl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Lg,[e.createElementVNode("div",Zg,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(ll=r.goodWx)!=null&&ll.distance?(e.openBlock(),e.createElementBlock("div",Hg,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",ug,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ol=r.goodWx)!=null&&ol.distance?"":"analysis-none"} card analysis-card`)},[(nl=r.goodWx)!=null&&nl.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",$g,[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",vg,[e.createElementVNode("div",null,e.toDisplayString((il=(al=l.reportData)==null?void 0:al.weather)!=null&&il.noExtrapolation?(sl=r.goodWx)==null?void 0:sl.distance:(dl=r.allWx)==null?void 0:dl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((rl=r.goodWx)==null?void 0:rl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",eE,[e.createElementVNode("div",null,e.toDisplayString((cl=r.goodWx)==null?void 0:cl.sumDgoCons)+" "+e.toDisplayString(((Nl=r.allWx)==null?void 0:Nl.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((Dl=r.goodWx)==null?void 0:Dl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",tE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",lE,[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",oE,[e.createElementVNode("div",null,e.toDisplayString((ml=(Ml=l.reportData)==null?void 0:Ml.weather)!=null&&ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(El=r.allWx)==null?void 0:El.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",nE,[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",aE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",iE,[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",sE,[e.createElementVNode("div",null,e.toDisplayString((Il=(yl=l.reportData)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(pl=r.goodWx)==null?void 0:pl.distance:(Al=r.allWx)==null?void 0:Al.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",dE,[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",rE,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",cE,[e.createElementVNode("div",NE,[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",DE,[e.createElementVNode("div",ME,[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",mE,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.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",gE,[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",EE,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.reportData)==null?void 0:xl.weather)!=null&&zl.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",yE,[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",IE,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=l.reportData)==null?void 0:Cl.weather)!=null&&Sl.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",pE,[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",VE,[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",TE,[e.createElementVNode("div",null,e.toDisplayString((jl=(kl=l.reportData)==null?void 0:kl.weather)!=null&&jl.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",xE,[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",zE,[e.createElementVNode("div",null,e.toDisplayString((_l=(fl=l.reportData)==null?void 0:fl.weather)!=null&&_l.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",SE,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Xl=l.reportData)==null?void 0:Xl.weather)!=null&&Kl.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 jE=Fe(NM,[["render",kE],["__scopeId","data-v-b0ef3073"]]),Lw="",fE={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 D;let i="";const a=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==a&&(i=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(i=i+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(i=i+" excluded"),i}},computedSegClass(){return function(o,t){var d,i;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((i=this.summaryTable[t+1])!=null&&i.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"?P(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):P(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}°${de.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,i,a,D;this.showCF=(i=(d=this.reportData)==null?void 0:d.weather)==null?void 0:i.showCF,this.showAisDistance=!0;let o=[];(D=(a=this.reportData)==null?void 0:a.segments)==null||D.forEach((s,c)=>{let y=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=y,o.push(M)})}),o.sort(function(s,c){let y=s.date,p=c.date;return y-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let y=s.type.charAt(0);s.abbreviation=y;const p=P(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),y==="A"?s.type="":y==="M"&&(s.type="*"),s.time=P(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(de.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(de.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},UE={id:"second-table",class:"table"},bE={class:"summary-table"},OE={class:"summary-tbody"},wE={class:"voyage-map",style:{"page-break-inside":"avoid"}},YE=["src"];function QE(o,t,l,d,i,a){var D,s,c,y,p;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly||(y=(c=l.reportData)==null?void 0:c.weather)!=null&&y.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",UE,[e.createElementVNode("div",null,[e.createElementVNode("table",bE,[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",OE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.summaryTable,(N,M)=>{var C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.time),3),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString((C=N.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(A=N.cp)==null?void 0:A.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((T=(V=N.meteo)==null?void 0:V.wind)==null?void 0:T.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((x=(S=(I=N.meteo)==null?void 0:I.wave)==null?void 0:S.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((U=(m=(k=N.meteo)==null?void 0:k.wave)==null?void 0:m.swell)==null?void 0:U.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Y=(w=(O=N.meteo)==null?void 0:O.wave)==null?void 0:w.sig)==null?void 0:Y.height)??"--"),3),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Q=N.meteo)==null?void 0:Q.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((h=N.noon)==null?void 0:h.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((R=N.noon)==null?void 0:R.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(G=N.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(W=N.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((L=N.noon)==null?void 0:L.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((Z=N.noon)==null?void 0:Z.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(J=N.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(b=N.noon)==null?void 0:b.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",wE,[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:(p=l.reportData)==null?void 0:p.chartUrl,alt:""},null,8,YE),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 hE=Fe(fE,[["render",QE],["__scopeId","data-v-ec7ec0f5"]]),Zw="",BE={components:{Summary:jE,Inventory:hE},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)}}},RE={class:"voyage-report"};function FE(o,t,l,d,i,a){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(D,{"report-data":i.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:a.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":i.reportData,class:"main"},null,8,["is-admin","report-data"])])}const gs=Fe(BE,[["render",FE],["__scopeId","data-v-77dca605"]]),Hw="",PE={name:"OrmVoyageSummary",components:{Lng:On,Lat:wn,Editor:ao},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computePrevTime(){return function(o){return P(o.utc).subtract(o.timeCalc,"hour").format()}},computeDuration(){return function(o,t){const l=P(o).diff(P(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t;if(o!=null&&o.overallAsGoodWx)t="No specific thresholds for wind/wave/currents are defined in the Charter Party",o.disableWxFactor&&o.disableCFactor?t+=", Both Wx Factor and Current Factor are ignored":o.disableWxFactor?t+=", Wx Factor is ignored":o.disableCFactor&&(t+=", Current Factor is ignored"),t+=", Therefore the Good Weather Definition in this reports does not apply any thresholds.";else{let l="";o!=null&&o.waveSwitch?l+=`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?l+=`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&&(l+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${l}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),(o==null?void 0:o.time)===100&&(o!=null&&o.timePercentage)&&(o==null?void 0:o.consecutiveTime)===1?t+=", All parts of the period.":(o==null?void 0:o.consecutiveTime)>1&!(o!=null&&o.consecTimePercentage)?t+=`, At least ${o==null?void 0:o.consecutiveTime} consecutive hours.`:t+="."}return t}},computeLng(){return function(o){return de.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return de.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t,l){if(o.consPercentage){if(t==="fo")return l==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}%`:`${o.consDgoOfUnder??o.consOfUnder}%`}else{if(t==="fo")return l==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}`:`${o.consDgoOfUnder??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=[],this.noons=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{var D,s;l.excluded.detail.forEach(c=>{const y={time:P(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+P(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(y)});const a=(s=(D=l==null?void 0:l.inventory)==null?void 0:D.sample)==null?void 0:s.hours.filter(c=>c.noon);this.noons.push([a])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},GE={class:"report-summary"},WE={class:"section voyage-section flex-space"},LE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={style:{"text-transform":"uppercase"}},JE={class:"flex-space label-block",style:{width:"100%"}},_E={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XE={class:"flex-space label-block",style:{width:"100%"}},KE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},qE={class:"flex-space label-block",style:{width:"100%"}},$E={key:0,class:"flex-end",style:{flex:"1"}},vE={key:1,class:"flex-end",style:{flex:"1"}},ey={class:"flex-end",style:{width:"150px"}},ty={class:"flex-space label-block",style:{width:"100%"}},ly={key:0,class:"flex-end",style:{flex:"1"}},oy={key:1,class:"flex-end",style:{flex:"1"}},ny={class:"flex-end",style:{width:"150px"}},ay={class:"flex-space label-block",style:{width:"100%"}},iy={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sy={class:"section weather-section"},dy={class:"definition"},ry={class:"txt"},cy={class:"section summary-section"},Ny={class:"phase-box"},Dy={class:"phase-index"},My={class:"phase-position"},my={key:0},gy={key:1},Ey={class:"phase-position"},yy={key:0},Iy={key:1},py={class:"phase-cp flex-space"},Ay={class:"cp-box"},Vy={class:"flex-space"},Ty={class:"phase-conclusion flex-space"},xy={class:"item-conclusion"},zy={class:"value flex-start"},Cy={key:0,class:"label flex-end"},Sy={key:0},ky={key:1},jy={key:2},fy={key:1,class:"label flex-end"},Uy={key:2,class:"value flex-end"},by={key:0},Oy={class:"gain"},wy={key:1},Yy={class:"lost"},Qy={key:2},hy={class:"item-conclusion"},By={class:"value flex-start"},Ry={key:0,class:"label flex-end"},Fy={key:0},Py={key:1},Gy={key:2},Wy={key:1,class:"label flex-end"},Ly={key:2,class:"value flex-end"},Zy={key:0},Hy={class:"gain"},Jy={key:1},_y={class:"lost"},Xy={key:2},Ky={class:"item-conclusion"},uy={class:"value flex-start"},qy={key:0,class:"label flex-end"},$y={key:0},vy={key:1},eI={key:2},tI={key:1,class:"label flex-end"},lI={key:2,class:"value flex-end"},oI={key:0},nI={class:"gain"},aI={key:1},iI={class:"lost"},sI={key:2},dI={key:0,class:"exclusion-block"},rI={style:{margin:"8px 0"}},cI={class:"remark-table"},NI=["innerHTML"],DI={class:"section segment-section"},MI={class:"segment-index flex-center"},mI={class:"segment-position"},gI={key:0},EI={key:1},yI={class:"segment-position"},II={key:0},pI={key:1},AI={style:{margin:"10px 0 0"}},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},CI={class:"good-wx"},SI={class:"good-wx"},kI={class:"good-wx"},jI={class:"good-wx"},fI={class:"good-wx"},UI={class:"good-wx"},bI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={class:"good-wx"},QI={key:0,style:{"margin-top":"10px"}},hI={key:0},BI={key:0,class:"flex-end tip"},RI={key:1,class:"segment-speed"},FI={class:"flex-center"},PI={class:"speed-right flex-space"},GI={class:"speed"},WI={key:1,class:"speed"},LI={key:0,class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={class:"speed"},_I={key:2,class:"under"},XI={key:3,class:"over"},KI={class:"flex-center"},uI={class:"speed-right formula flex-space"},qI={key:0},$I={key:2,class:"segment-speed"},vI={class:"flex-center"},ep={class:"speed-right flex-space"},tp={class:"speed"},lp={class:"speed"},op={key:2,class:"under"},np={key:3,class:"over"},ap={class:"flex-center"},ip={class:"speed-right formula flex-space"},sp={class:"segment-formula"},dp={class:"header-block flex-start"},rp={class:"title"},cp={key:0,style:{"margin-left":"4px","font-weight":"300"}},Np={class:"formula-block"},Dp={class:"flex-evenly"},Mp={class:"formula-right flex-evenly"},mp={class:"fraction",style:{width:"240px"}},gp={class:"flex-center"},Ep={class:"formula-left flex-space"},yp={class:"formula-right flex-evenly"},Ip={class:"fraction",style:{width:"240px"}},pp={class:"flex-center"},Ap={class:"formula-left flex-space"},Vp={class:"formula-right flex-evenly"},Tp={class:"fraction",style:{width:"240px"}},xp={class:"formula-desc"},zp={class:"flex-end"},Cp={class:"flex-end"},Sp={class:"flex-end"},kp={key:0,class:"formula-block",style:{"font-weight":"400"}},jp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},Up={class:"fraction",style:{width:"240px"}},bp={class:"flex-center"},Op={class:"formula-left flex-space"},wp={class:"formula-right flex-evenly"},Yp={class:"fraction",style:{width:"240px"}},Qp={class:"flex-center"},hp={class:"formula-left flex-space"},Bp={class:"formula-right flex-evenly"},Rp={class:"fraction",style:{width:"240px"}},Fp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Pp={key:0,class:"flex-evenly",style:{width:"500px"}},Gp={key:1,class:"flex-evenly",style:{width:"500px"}},Wp={key:1,class:"formula-conclusion"},Lp={class:"segment-formula"},Zp={class:"header-block flex-start"},Hp={class:"title"},Jp={key:0,style:{"margin-left":"4px","font-weight":"300"}},_p={class:"formula-block"},Xp={class:"flex-evenly"},Kp={class:"formula-right flex-evenly"},up={class:"fraction",style:{width:"240px"}},qp={style:{"line-height":"1"}},$p={key:0,class:"tips flex-end",style:{"font-size":"14px"}},vp={class:"flex-center"},e0={class:"formula-right flex-evenly"},t0={class:"fraction",style:{width:"240px"}},l0={class:"flex-center"},o0={class:"formula-right flex-evenly"},n0={class:"fraction",style:{width:"240px"}},a0={class:"flex-center"},i0={class:"formula-right flex-evenly"},s0={class:"fraction",style:{width:"270px"}},d0={class:"flex-center"},r0={class:"formula-right flex-evenly"},c0={class:"fraction",style:{width:"270px"}},N0={class:"header-block flex-start",style:{"margin-top":"10px"}},D0={class:"title"},M0={key:0,class:"formula-block"},m0={key:0,class:"flex-evenly"},g0={class:"formula-right flex-evenly"},E0={class:"fraction",style:{width:"60px"}},y0={class:"fraction",style:{width:"60px"}},I0={class:"flex-evenly"},p0={class:"formula-right flex-evenly"},A0={class:"fraction",style:{width:"240px"}},V0={class:"fraction",style:{width:"240px"}},T0={key:0},x0={class:"flex-evenly"},z0={class:"formula-right flex-evenly"},C0={class:"fraction",style:{width:"240px"}},S0={class:"fraction",style:{width:"240px"}},k0={class:"flex-evenly"},j0={class:"formula-right flex-evenly"},f0={class:"fraction",style:{width:"240px"}},U0={class:"fraction",style:{width:"240px"}},b0={class:"formula-conclusion",style:{"margin-bottom":"0"}},O0={class:"flex-evenly",style:{width:"500px"}},w0={key:0,class:"flex-evenly"},Y0={class:"fraction"},Q0={class:"flex-evenly",style:{width:"700px"}},h0={key:0,class:"flex-evenly",style:{width:"500px"}},B0={class:"fraction",style:{width:"140px"}},R0={key:1,class:"formula-conclusion"},F0={class:"header-block flex-end",style:{"margin-top":"10px"}},P0={class:"title"},G0={key:0,class:"formula-block"},W0={class:"flex-evenly"},L0={class:"formula-right flex-evenly"},Z0={class:"fraction",style:{width:"240px"}},H0={class:"fraction",style:{width:"240px"}},J0={key:0},_0={class:"flex-evenly"},X0={class:"formula-right flex-evenly"},K0={class:"fraction",style:{width:"240px"}},u0={class:"fraction",style:{width:"240px"}},q0={class:"flex-evenly"},$0={class:"formula-right flex-evenly"},v0={class:"fraction",style:{width:"240px"}},eA={class:"fraction",style:{width:"240px"}},tA={class:"formula-conclusion",style:{"margin-bottom":"0"}},lA={key:0,class:"flex-evenly",style:{width:"500px"}},oA={key:1,class:"flex-evenly",style:{width:"700px"}},nA={key:1,class:"formula-conclusion"};function aA(o,t,l,d,i,a){var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",GE,[e.createElementVNode("div",WE,[e.createElementVNode("div",LE,[e.createElementVNode("div",ZE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_E,e.toDisplayString((p=(y=l.report)==null?void 0:y.vessel)==null?void 0:p.name)+" ("+e.toDisplayString((M=(N=l.report)==null?void 0:N.vessel)==null?void 0:M.type)+")",1)]),e.createElementVNode("div",XE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KE,e.toDisplayString(((A=(C=l.report)==null?void 0:C.voyage)==null?void 0:A.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",uE,[e.createElementVNode("div",qE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(I=l.report)==null?void 0:I.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",$E,e.toDisplayString((k=(x=l.report)==null?void 0:x.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",vE,[e.createVNode(D,{lat:(U=(m=l.report)==null?void 0:m.departure)==null?void 0:U.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:(O=l.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ey,e.toDisplayString(a.computeUTCTime((w=l.report.departure)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ty,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(Q=(Y=l.report)==null?void 0:Y.arrival)!=null&&Q.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((R=(h=l.report)==null?void 0:h.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",oy,[e.createVNode(D,{lat:(W=(G=l.report)==null?void 0:G.arrival)==null?void 0:W.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:(Z=(L=l.report)==null?void 0:L.arrival)==null?void 0:Z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ny,e.toDisplayString(a.computeUTCTime((b=(J=l.report)==null?void 0:J.arrival)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ay,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iy,e.toDisplayString((le=(te=l.report)==null?void 0:te.voyage)==null?void 0:le.loadCondition),1)])])]),e.createElementVNode("div",sy,[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",dy,[e.createElementVNode("div",ry,e.toDisplayString(a.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",cy,[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((oe=l.report)==null?void 0:oe.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le,r,ee,Ee;return e.openBlock(),e.createElementBlock("div",{key:"summary"+H,class:"segment-box flex-space"},[e.createElementVNode("div",Ny,[e.createElementVNode("div",Dy,"Seg."+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(B,Be)=>{var re,Re,Ze,He,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",My,[(re=B==null?void 0:B.departure)!=null&&re.portName?(e.openBlock(),e.createElementBlock("span",my,e.toDisplayString((Re=B==null?void 0:B.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(a.computeLat((Ze=B==null?void 0:B.departure)==null?void 0:Ze.lat).pretty)+", "+e.toDisplayString(a.computeLng((He=B==null?void 0:B.departure)==null?void 0:He.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ke=B==null?void 0:B.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",Ey,[(ue=B==null?void 0:B.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString((qe=B==null?void 0:B.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",Iy,e.toDisplayString(a.computeLat(($e=B==null?void 0:B.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(a.computeLng((ve=B==null?void 0:B.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((et=B==null?void 0:B.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",py,[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",Vy,[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((v=($=n==null?void 0:n.extend)==null?void 0:$.cp)==null?void 0:v.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:se.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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(De=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:De.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ne=(K=n==null?void 0:n.extend)==null?void 0:K.cp)==null?void 0:Ne.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(Me=n==null?void 0:n.extend)==null?void 0:Me.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",xy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",zy,[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,[((ce=n==null?void 0:n.timeConclusion)==null?void 0:ce.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ky,"Time Lost")):(e.openBlock(),e.createElementBlock("div",jy,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Uy,[((pe=n==null?void 0:n.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=n==null?void 0:n.timeConclusion)==null?void 0:Ae.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",wy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Yy,e.toDisplayString((Te=n==null?void 0:n.timeConclusion)==null?void 0:Te.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Qy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",By,[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",Ry,[((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,"FO Saving")):((Se=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Py,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Gy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Wy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ly,[((je=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:je.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Zy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((Ue=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:Ue.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((ge=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:ge.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",_y,e.toDisplayString((Ye=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.fo)==null?void 0:Ye.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Xy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ky,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",uy,[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",qy,[((j=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:j.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Saving")):((Qe=(ye=n==null?void 0:n.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",vy,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",eI,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",tI,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lI,[((Ge=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",nI,e.toDisplayString((We=(f=n==null?void 0:n.fuelConclusion)==null?void 0:f.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",aI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",iI,e.toDisplayString((Ee=(ee=n==null?void 0:n.fuelConclusion)==null?void 0:ee.dgo)==null?void 0:Ee.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",sI,"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(a.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!i.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)),i.exclusion.length?(e.openBlock(),e.createElementBlock("div",dI,[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",rI,[e.createElementVNode("table",cI,[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(i.exclusion,(n,H)=>(e.openBlock(),e.createElementBlock("tr",{key:H},[e.createElementVNode("td",null,e.toDisplayString(H+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ae=l.report)==null?void 0:ae.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[i.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:i.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>i.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:i.remarks},null,40,NI))],2)],2),e.createElementVNode("div",DI,[t[256]||(t[256]=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,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe,Pe,Ge,f,We,Le,r,ee,Ee,B,Be,re,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,jt,ft,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,jl,fl,_l,Xl,Kl,Xe,ql,eo,to,lo,oo,io,so,ro,co,No,Do,Mo,mo,go,Eo,yo,Io,po,Ao,Vo,To,xo,zo,Co,So,ko,jo,fo,Uo,bo,Oo,wo,Yo,Qo,ho,g,Bo,Ro,Fo,Po,Go,Wo,Lo,Zo,$l,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,cn,X,ul,Nn,Dn,Mn,mn,gn,En,yn,In,nt,pn,An,Vn,Tn,u,no,xn,zn,Cn,Sn,kn,jn,fn,Un,zt,Pn,Gn,Wn,Ln,Zn,Hn,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ma,ga,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Ca,Sa,ka,ja,fa,Ua,ba,Oa,wa,Ya,Qa,ha,Ba,Ra,Fa,Pa,Ga,Wa,La,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,mi,gi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Ci,Si,ki,ji,fi,Ui,bi,Oi,wi,Yi,Qi,hi,Bi,Ri,Fi,Pi,Gi,Wi,Li,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:H,class:"segment-block"},[e.createElementVNode("div",MI,"Voyage Analysis Seg. "+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Je,Bn)=>{var Ho,Yn,$i,vi,es,ts,ls,os,ns,as;return e.openBlock(),e.createElementBlock("div",{key:Bn,class:"segment-row flex-space"},[e.createElementVNode("div",mI,[(Ho=Je==null?void 0:Je.departure)!=null&&Ho.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((Yn=Je==null?void 0:Je.departure)==null?void 0:Yn.portName),1)):(e.openBlock(),e.createElementBlock("span",EI,e.toDisplayString(a.computeLat(($i=Je==null?void 0:Je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((vi=Je==null?void 0:Je.departure)==null?void 0:vi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((es=Je==null?void 0:Je.departure)==null?void 0:es.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",yI,[(ts=Je==null?void 0:Je.arrival)!=null&&ts.portName?(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString((ls=Je==null?void 0:Je.arrival)==null?void 0:ls.portName),1)):(e.openBlock(),e.createElementBlock("span",pI,e.toDisplayString(a.computeLat((os=Je==null?void 0:Je.arrival)==null?void 0:os.lat).pretty)+", "+e.toDisplayString(a.computeLng((ns=Je==null?void 0:Je.arrival)==null?void 0:ns.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((as=Je==null?void 0:Je.arrival)==null?void 0:as.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",AI,[e.createElementVNode("table",null,[e.createElementVNode("tbody",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",VI,e.toDisplayString((v=($=n==null?void 0:n.goodWx)==null?void 0:$.outEca)==null?void 0:v.distance),1),e.createElementVNode("td",TI,e.toDisplayString((se=(ie=n==null?void 0:n.goodWx)==null?void 0:ie.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((De=(_=n==null?void 0:n.allWx)==null?void 0:_.outEca)==null?void 0:De.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(K=n==null?void 0:n.allWx)==null?void 0:K.inEca)==null?void 0:Ne.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",xI,e.toDisplayString((me=(Me=n==null?void 0:n.goodWx)==null?void 0:Me.outEca)==null?void 0:me.time),1),e.createElementVNode("td",zI,e.toDisplayString((Ie=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Ie.time),1),e.createElementVNode("td",null,e.toDisplayString((Ae=(pe=n==null?void 0:n.allWx)==null?void 0:pe.outEca)==null?void 0:Ae.time),1),e.createElementVNode("td",null,e.toDisplayString((Te=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.inEca)==null?void 0:Te.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(((ze=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(Ce=n==null?void 0:n.goodWx)==null?void 0:Ce.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(ke=n==null?void 0:n.allWx)==null?void 0:ke.outEca)==null?void 0:je.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(fe=n==null?void 0:n.allWx)==null?void 0:fe.inEca)==null?void 0:Ue.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",kI,e.toDisplayString(((ge=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:ge.sumFoCons)||"--"),1),e.createElementVNode("td",jI,e.toDisplayString(((Ye=(we=n==null?void 0:n.goodWx)==null?void 0:we.inEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((j=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:j.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Qe.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",fI,e.toDisplayString(((Ge=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((We=(f=n==null?void 0:n.goodWx)==null?void 0:f.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Le=n==null?void 0:n.allWx)==null?void 0:Le.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(ee=n==null?void 0:n.allWx)==null?void 0:ee.inEca)==null?void 0:Ee.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",bI,e.toDisplayString(((Be=(B=n==null?void 0:n.goodWx)==null?void 0:B.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",OI,e.toDisplayString(((Re=(re=n==null?void 0:n.goodWx)==null?void 0:re.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:He.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:ue.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",wI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",YI,e.toDisplayString(((et=(ve=n==null?void 0:n.goodWx)==null?void 0:ve.inEca)==null?void 0:et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.outEca)==null?void 0:it.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((dt=(st=n==null?void 0:n.allWx)==null?void 0:st.inEca)==null?void 0:dt.avgDgoCons)||"--"),1)])])]),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("table",QI,[e.createElementVNode("tbody",null,[t[58]||(t[58]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",colspan:"3"},"Good Weather Period")],-1)),t[59]||(t[59]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"},"Date"),e.createElementVNode("td",{class:"label"},"Time range"),e.createElementVNode("td",{class:"label"},"Duration (hrs)")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.noons[H],(Je,Bn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Bn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Je,(Ho,Yn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Yn},[Ho.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(Ho.type)+" "+e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(a.computePrevTime(Ho),"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeDuration(Ho.utc,a.computePrevTime(Ho))),1)])])):e.createCommentVNode("",!0)],64))),128))],64))),128))])])):e.createCommentVNode("",!0)]),(ct=i.exclusion[H])!=null&&ct.time?(e.openBlock(),e.createElementBlock("div",BI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",RI,[e.createElementVNode("div",FI,[t[69]||(t[69]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PI,[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(z=(Ct=l.report)==null?void 0:Ct.weather)!=null&&z.disableWxFactor&&((kt=(St=l.report)==null?void 0:St.weather)!=null&&kt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((jt=n==null?void 0:n.goodWx)==null?void 0:jt.pfmSpd)+" (kts)",1)):(Ut=(ft=l.report)==null?void 0:ft.weather)!=null&&Ut.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgSpd),1),t[62]||(t[62]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf)>0?(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf:`(${(ot=n==null?void 0:n.goodWx)==null?void 0:ot.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((bl=n==null?void 0:n.goodWx)==null?void 0:bl.pfmSpd)+" (kts)",1)],64)):(wl=(Ol=l.report)==null?void 0:Ol.weather)!=null&&wl.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Yl=n==null?void 0:n.goodWx)==null?void 0:Yl.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ql=n==null?void 0:n.goodWx)==null?void 0:Ql.avgWf)>0?(hl=n==null?void 0:n.goodWx)==null?void 0:hl.avgWf:`(${(Bl=n==null?void 0:n.goodWx)==null?void 0:Bl.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Rl=n==null?void 0:n.goodWx)==null?void 0:Rl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Fl=n==null?void 0:n.goodWx)==null?void 0:Fl.avgSpd),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Pl=n==null?void 0:n.goodWx)==null?void 0:Pl.avgWf)>0?(Gl=n==null?void 0:n.goodWx)==null?void 0:Gl.avgWf:`(${(Wl=n==null?void 0:n.goodWx)==null?void 0:Wl.avgWf})`),1),(Zl=(Ll=l.report)==null?void 0:Ll.weather)!=null&&Zl.favorableCur&&((Hl=n==null?void 0:n.goodWx)==null?void 0:Hl.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jl=n==null?void 0:n.goodWx)==null?void 0:Jl.avgCf)>0?(E=n==null?void 0:n.goodWx)==null?void 0:E.avgCf:`(${(he=n==null?void 0:n.goodWx)==null?void 0:he.avgCf})`),1)],64)),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",JI,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(mt=l.report)==null?void 0:mt.weather)!=null&>.favorableCur&&((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(e.openBlock(),e.createElementBlock("span",WI,e.toDisplayString((Tt=n==null?void 0:n.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf)>0?(pt=n==null?void 0:n.goodWx)==null?void 0:pt.avgCf:`(${(At=n==null?void 0:n.goodWx)==null?void 0:At.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",GI,e.toDisplayString((Vt=n==null?void 0:n.goodWx)==null?void 0:Vt.pfmSpd)+" (kts)",1)],64))],64)),((lt=n==null?void 0:n.goodWx)==null?void 0:lt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",_I,"(Under-performance)")):e.createCommentVNode("",!0),((xt=n==null?void 0:n.goodWx)==null?void 0:xt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",XI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",KI,[t[86]||(t[86]=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",uI,[(Qt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Pt=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Pt.disableWxFactor&&((Wt=(Gt=l.report)==null?void 0:Gt.weather)!=null&&Wt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",qI,"GW Average Speed")):(Zt=(Lt=l.report)==null?void 0:Lt.weather)!=null&&Zt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[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 Current Factor",-1))],64)):(Jt=(Ht=l.report)==null?void 0:Ht.weather)!=null&&Jt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[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))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[83]||(t[83]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Weather Factor",-1)),(Xt=(_t=l.report)==null?void 0:_t.weather)!=null&&Xt.favorableCur&&((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Bt=(ht=l.report)==null?void 0:ht.weather)!=null&&Bt.favorableCur&&((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[73]||(t[73]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[74]||(t[74]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",null,"-",-1)),t[72]||(t[72]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",$I,[e.createElementVNode("div",vI,[t[92]||(t[92]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ep,[(qt=(ut=l.report)==null?void 0:ut.weather)!=null&&qt.favorableCur&&(($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgWf)>0?(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgWf:`(${(cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",lp,e.toDisplayString((Nl=n==null?void 0:n.allWx)==null?void 0:Nl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((el=n==null?void 0:n.allWx)==null?void 0:el.avgCf)>0?(tl=n==null?void 0:n.allWx)==null?void 0:tl.avgCf:`(${(ll=n==null?void 0:n.allWx)==null?void 0:ll.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ol=n==null?void 0:n.allWx)==null?void 0:ol.avgWf)>0?(nl=n==null?void 0:n.allWx)==null?void 0:nl.avgWf:`(${(al=n==null?void 0:n.allWx)==null?void 0:al.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",tp,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.pfmSpd)+" (kts)",1)],64)),((Dl=n==null?void 0:n.allWx)==null?void 0:Dl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",op,"(Under-performance)")):e.createCommentVNode("",!0),((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",np,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ap,[t[102]||(t[102]=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",ip,[(gl=(ml=l.report)==null?void 0:ml.weather)!=null&&gl.favorableCur&&((El=n==null?void 0:n.allWx)==null?void 0:El.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[98]||(t[98]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[99]||(t[99]=e.createElementVNode("label",null,"-",-1)),t[100]||(t[100]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[101]||(t[101]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[93]||(t[93]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"-",-1)),t[95]||(t[95]=e.createElementVNode("label",null,"Current Factor",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[254]||(t[254]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",sp,[e.createElementVNode("div",dp,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",rp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Time Analysis",1),(Il=(yl=l.report)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(e.openBlock(),e.createElementBlock("span",cp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Np,[e.createElementVNode("div",Dp,[t[107]||(t[107]=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",Mp,[e.createElementVNode("div",mp,[e.createElementVNode("div",null,e.toDisplayString((Al=(pl=l.report)==null?void 0:pl.weather)!=null&&Al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[104]||(t[104]=e.createElementVNode("div",{class:"line"},null,-1)),t[105]||(t[105]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[106]||(t[106]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",gp,[e.createElementVNode("div",Ep,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Tl=(Vl=n==null?void 0:n.extend)==null?void 0:Vl.cp)==null?void 0:Tl.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",yp,[e.createElementVNode("div",Ip,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.report)==null?void 0:xl.weather)!=null&&zl.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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Sl=(Cl=n==null?void 0:n.extend)==null?void 0:Cl.cp)==null?void 0:Sl.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",pp,[e.createElementVNode("div",Ap,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(jl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:jl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Vp,[e.createElementVNode("div",Tp,[e.createElementVNode("div",null,e.toDisplayString((_l=(fl=l.report)==null?void 0:fl.weather)!=null&&_l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[112]||(t[112]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.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",1)]),t[113]||(t[113]=e.createElementVNode("div",null,"(c)",-1))])]),t[114]||(t[114]=e.createStaticVNode('<div class="flex-start" data-v-ae0b8926><div class="flex-space" style="width:300px;font-weight:400;" data-v-ae0b8926><label data-v-ae0b8926>Time Lost</label><div data-v-ae0b8926>=</div><div data-v-ae0b8926>(a)</div><div data-v-ae0b8926>-</div><div data-v-ae0b8926>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-ae0b8926><label data-v-ae0b8926>Time Gained</label><div data-v-ae0b8926>=</div><div data-v-ae0b8926>(c)</div><div data-v-ae0b8926>-</div><div data-v-ae0b8926>(a)</div></div></div>',1))]),e.createElementVNode("div",xp,[e.createElementVNode("div",zp,[t[115]||(t[115]=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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ql=(Xe=n==null?void 0:n.extend)==null?void 0:Xe.cp)==null?void 0:ql.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Cp,[t[116]||(t[116]=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(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(to=(eo=n==null?void 0:n.extend)==null?void 0:eo.cp)==null?void 0:to.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Sp,[t[117]||(t[117]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(oo=(lo=n==null?void 0:n.extend)==null?void 0:lo.cp)==null?void 0:oo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(so=(io=n==null?void 0:n.extend)==null?void 0:io.cp)==null?void 0:so.speed,"Under"))+" kts) ",1)])]),(ro=n==null?void 0:n.goodWx)!=null&&ro.distance?(e.openBlock(),e.createElementBlock("div",kp,[e.createElementVNode("div",jp,[t[121]||(t[121]=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",fp,[e.createElementVNode("div",Up,[e.createElementVNode("div",null,e.toDisplayString((No=(co=l.report)==null?void 0:co.weather)!=null&&No.noExtrapolation?(Do=n==null?void 0:n.goodWx)==null?void 0:Do.distance:(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.goodWx)==null?void 0:mo.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",bp,[e.createElementVNode("div",Op,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(yo=(Eo=n==null?void 0:n.extend)==null?void 0:Eo.cp)==null?void 0:yo.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",wp,[e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((po=(Io=l.report)==null?void 0:Io.weather)!=null&&po.noExtrapolation?(Ao=n==null?void 0:n.goodWx)==null?void 0:Ao.distance:(Vo=n==null?void 0:n.allWx)==null?void 0:Vo.distance),1),t[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Qp,[e.createElementVNode("div",hp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Co=(zo=n==null?void 0:n.extend)==null?void 0:zo.cp)==null?void 0:Co.speed,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Bp,[e.createElementVNode("div",Rp,[e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.report)==null?void 0:So.weather)!=null&&ko.noExtrapolation?(jo=n==null?void 0:n.goodWx)==null?void 0:jo.distance:(fo=n==null?void 0:n.allWx)==null?void 0:fo.distance),1),t[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",Fp,[((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Pp,[t[130]||(t[130]=e.createElementVNode("div",null,"Time Lost",-1)),t[131]||(t[131]=e.createElementVNode("div",null,"=",-1)),t[132]||(t[132]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[133]||(t[133]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Qo=n==null?void 0:n.timeConclusion)==null?void 0:Qo.timeLost)+" (hrs)",1)])):((ho=n==null?void 0:n.timeConclusion)==null?void 0:ho.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Gp,[t[136]||(t[136]=e.createElementVNode("div",null,"Time Lost",-1)),t[137]||(t[137]=e.createElementVNode("div",null,"=",-1)),t[138]||(t[138]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[139]||(t[139]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((g=n==null?void 0:n.timeConclusion)==null?void 0:g.timeAtPlusAbtSpd),1),t[140]||(t[140]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Bo=n==null?void 0:n.timeConclusion)==null?void 0:Bo.timeAtPfmSpd),1),t[141]||(t[141]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ro=n==null?void 0:n.timeConclusion)==null?void 0:Ro.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":((Po=n==null?void 0:n.timeConclusion)==null?void 0:Po.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[142]||(t[142]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Go=n==null?void 0:n.timeConclusion)==null?void 0:Go.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Wp,e.toDisplayString(i.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",Lp,[e.createElementVNode("div",Zp,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Hp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Consumption Analysis",1),(Lo=(Wo=l.report)==null?void 0:Wo.weather)!=null&&Lo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Jp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_p,[e.createElementVNode("div",Xp,[t[149]||(t[149]=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",Kp,[e.createElementVNode("div",up,[e.createElementVNode("div",null,e.toDisplayString(($l=(Zo=l.report)==null?void 0:Zo.weather)!=null&&$l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[144]||(t[144]=e.createElementVNode("div",{class:"line"},null,-1)),t[145]||(t[145]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[146]||(t[146]=e.createElementVNode("div",null,"x",-1)),t[147]||(t[147]=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[148]||(t[148]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",qp,[t[150]||(t[150]=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)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock("div",$p," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",vp,[t[155]||(t[155]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",e0,[e.createElementVNode("div",t0,[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),t[151]||(t[151]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(qo=(uo=n==null?void 0:n.extend)==null?void 0:uo.cp)==null?void 0:qo.speed,"Under"))+"kts",1)]),t[152]||(t[152]=e.createElementVNode("div",null,"x",-1)),t[153]||(t[153]=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[154]||(t[154]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",l0,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",o0,[e.createElementVNode("div",n0,[e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.report)==null?void 0:$o.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[156]||(t[156]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tn=(en=n==null?void 0:n.extend)==null?void 0:en.cp)==null?void 0:tn.speed,"Over"))+"kts",1)]),t[157]||(t[157]=e.createElementVNode("div",null,"x",-1)),t[158]||(t[158]=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[159]||(t[159]=e.createElementVNode("div",null,"(f)",-1))])]),t[167]||(t[167]=e.createStaticVNode('<div class="flex-start" data-v-ae0b8926><div class="flex-space" style="width:300px;font-weight:400;" data-v-ae0b8926><label data-v-ae0b8926>Fuel Over-consumption</label><div data-v-ae0b8926>=</div><div data-v-ae0b8926>(d)</div><div data-v-ae0b8926>-</div><div data-v-ae0b8926>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-ae0b8926><label data-v-ae0b8926>Fuel Saving</label><div data-v-ae0b8926>=</div><div data-v-ae0b8926>(f)</div><div data-v-ae0b8926>-</div><div data-v-ae0b8926>(d)</div></div></div>',1)),((on=(ln=n.extend)==null?void 0:ln.cp)==null?void 0:on.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",a0,[t[163]||(t[163]=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",i0,[e.createElementVNode("div",s0,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((an=(nn=l.report)==null?void 0:nn.weather)!=null&&an.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",d0,[t[166]||(t[166]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",r0,[e.createElementVNode("div",c0,[t[164]||(t[164]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[165]||(t[165]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((dn=(sn=l.report)==null?void 0:sn.weather)!=null&&dn.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[252]||(t[252]=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",N0,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"}," ",-1)),e.createElementVNode("div",D0,"Seg. "+e.toDisplayString(H+1)+" Fuel Oil",1)]),(rn=n==null?void 0:n.goodWx)!=null&&rn.distance?(e.openBlock(),e.createElementBlock("div",M0,[((X=(cn=n==null?void 0:n.goodWx)==null?void 0:cn.inEca)==null?void 0:X.distance)>0?(e.openBlock(),e.createElementBlock("div",m0,[t[174]||(t[174]=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",g0,[e.createElementVNode("div",E0,[e.createElementVNode("div",null,e.toDisplayString((Nn=(ul=n==null?void 0:n.goodWx)==null?void 0:ul.inEca)==null?void 0:Nn.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",y0,[e.createElementVNode("div",null,e.toDisplayString((Mn=(Dn=n==null?void 0:n.extend)==null?void 0:Dn.cp)==null?void 0:Mn.dgo),1),t[169]||(t[169]=e.createElementVNode("div",{class:"line"},null,-1)),t[170]||(t[170]=e.createElementVNode("div",null,"24",-1))]),t[172]||(t[172]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((gn=(mn=n==null?void 0:n.goodWx)==null?void 0:mn.inEca)==null?void 0:gn.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",I0,[t[181]||(t[181]=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",p0,[e.createElementVNode("div",A0,[e.createElementVNode("div",null,e.toDisplayString((nt=(In=l.report)==null?void 0:In.weather)!=null&&nt.noExtrapolation?(pn=n==null?void 0:n.goodWx)==null?void 0:pn.distance:(An=n==null?void 0:n.allWx)==null?void 0:An.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Vn=n==null?void 0:n.goodWx)==null?void 0:Vn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",V0,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Tn=n==null?void 0:n.goodWx)==null?void 0:Tn.sumFoCons),1),((no=(u=n==null?void 0:n.goodWx)==null?void 0:u.inEca)==null?void 0:no.distance)>0?(e.openBlock(),e.createElementBlock("span",T0,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((zn=(xn=n==null?void 0:n.fuelConclusion)==null?void 0:xn.fo)==null?void 0:zn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Sn=n.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:kn.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",x0,[t[188]||(t[188]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",z0,[e.createElementVNode("div",C0,[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:(zt=n==null?void 0:n.allWx)==null?void 0:zt.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Pn=n==null?void 0:n.timeConclusion)==null?void 0:Pn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",S0,[e.createElementVNode("div",null,e.toDisplayString((Wn=(Gn=n==null?void 0:n.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Wn.overTolerance),1),t[183]||(t[183]=e.createElementVNode("div",{class:"line"},null,-1)),t[184]||(t[184]=e.createElementVNode("div",null,"24",-1))]),t[186]||(t[186]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Zn=(Ln=n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Zn.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",k0,[t[195]||(t[195]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",j0,[e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((Jn=(Hn=l.report)==null?void 0:Hn.weather)!=null&&Jn.noExtrapolation?(_n=n==null?void 0:n.goodWx)==null?void 0:_n.distance:(Xn=n==null?void 0:n.allWx)==null?void 0:Xn.distance),1),t[189]||(t[189]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=n==null?void 0:n.timeConclusion)==null?void 0:Kn.plusAbtSpd),1)]),t[192]||(t[192]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString((qn=(un=n==null?void 0:n.fuelConclusion)==null?void 0:un.fo)==null?void 0:qn.underTolerance),1),t[190]||(t[190]=e.createElementVNode("div",{class:"line"},null,-1)),t[191]||(t[191]=e.createElementVNode("div",null,"24",-1))]),t[193]||(t[193]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((vn=($n=n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:vn.minCons)+" (mt)",1),t[194]||(t[194]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",b0,[((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",O0,[t[196]||(t[196]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[197]||(t[197]=e.createElementVNode("div",null,"=",-1)),t[198]||(t[198]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[199]||(t[199]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=n==null?void 0:n.fuelConclusion)==null?void 0:la.fo)==null?void 0:oa.entireCons),1),t[200]||(t[200]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((aa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:aa.maxCons),1),t[201]||(t[201]=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.overCons),1)]),(ra=(da=n==null?void 0:n.goodWx)==null?void 0:da.inEca)!=null&&ra.distance?(e.openBlock(),e.createElementBlock("div",w0,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.goodWx)==null?void 0:ca.inEca)==null?void 0:Na.distance)+" * "+e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.overCons),1),t[202]||(t[202]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ga=(ma=l.report)==null?void 0:ma.weather)!=null&&ga.noExtrapolation?(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.distance:(ya=n==null?void 0:n.allWx)==null?void 0:ya.distance),1)]),t[205]||(t[205]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pa=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:pa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Va=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Va.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Q0,[t[206]||(t[206]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[207]||(t[207]=e.createElementVNode("div",null,"=",-1)),t[208]||(t[208]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[209]||(t[209]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:xa.minCons),1),t[210]||(t[210]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ca=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ca.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Sa=n==null?void 0:n.fuelConclusion)==null?void 0:Sa.fo)==null?void 0:ka.saving)+" (mt)",1)]),(fa=(ja=n==null?void 0:n.goodWx)==null?void 0:ja.inEca)!=null&&fa.distance?(e.openBlock(),e.createElementBlock("div",h0,[t[213]||(t[213]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[214]||(t[214]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",B0,[e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=l.report)==null?void 0:Ua.weather)!=null&&ba.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(Qa=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:Qa.distance)+" * "+e.toDisplayString((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.saving),1),t[212]||(t[212]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Fa=(Ra=l.report)==null?void 0:Ra.weather)!=null&&Fa.noExtrapolation?(Pa=n==null?void 0:n.goodWx)==null?void 0:Pa.distance:(Ga=n==null?void 0:n.allWx)==null?void 0:Ga.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((La=(Wa=n==null?void 0:n.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:La.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ha=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Ha.conclusionStatus)==="Over"?"flex-center lost":((_a=(Ja=n==null?void 0:n.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:_a.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[216]||(t[216]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ka=(Xa=n==null?void 0:n.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:Ka.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",R0,e.toDisplayString(i.noGoodWxDay),1)),((qa=(ua=n==null?void 0:n.extend)==null?void 0:ua.cp)==null?void 0:qa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",F0,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",P0,"Seg. "+e.toDisplayString(H+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",G0,[e.createElementVNode("div",W0,[t[224]||(t[224]=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",L0,[e.createElementVNode("div",Z0,[e.createElementVNode("div",null,e.toDisplayString((ei=(va=l.report)==null?void 0:va.weather)!=null&&ei.noExtrapolation?(ti=n==null?void 0:n.goodWx)==null?void 0:ti.distance:(li=n==null?void 0:n.allWx)==null?void 0:li.distance),1),t[218]||(t[218]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.goodWx)==null?void 0:oi.pfmSpd),1)]),t[221]||(t[221]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",H0,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ni=n==null?void 0:n.goodWx)==null?void 0:ni.sumDgoCons),1),((ii=(ai=n==null?void 0:n.goodWx)==null?void 0:ai.inEca)==null?void 0:ii.distance)>0?(e.openBlock(),e.createElementBlock("span",J0,[t[219]||(t[219]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((di=(si=n==null?void 0:n.fuelConclusion)==null?void 0:si.fo)==null?void 0:di.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[220]||(t[220]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ri=n==null?void 0:n.goodWx)==null?void 0:ri.time),1)]),t[222]||(t[222]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ni=(ci=n.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:Ni.entireCons)+" (mt)",1),t[223]||(t[223]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",_0,[t[231]||(t[231]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",X0,[e.createElementVNode("div",K0,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(mi=n==null?void 0:n.goodWx)==null?void 0:mi.distance:(gi=n==null?void 0:n.allWx)==null?void 0:gi.distance),1),t[225]||(t[225]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ei=n==null?void 0:n.timeConclusion)==null?void 0:Ei.minusAbtSpd),1)]),t[228]||(t[228]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",u0,[e.createElementVNode("div",null,e.toDisplayString((Ii=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ii.overTolerance),1),t[226]||(t[226]=e.createElementVNode("div",{class:"line"},null,-1)),t[227]||(t[227]=e.createElementVNode("div",null,"24",-1))]),t[229]||(t[229]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ai=(pi=n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Ai.maxCons)+" (mt)",1),t[230]||(t[230]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",q0,[t[238]||(t[238]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",$0,[e.createElementVNode("div",v0,[e.createElementVNode("div",null,e.toDisplayString((Ti=(Vi=l.report)==null?void 0:Vi.weather)!=null&&Ti.noExtrapolation?(xi=n==null?void 0:n.goodWx)==null?void 0:xi.distance:(zi=n==null?void 0:n.allWx)==null?void 0:zi.distance),1),t[232]||(t[232]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ci=n==null?void 0:n.timeConclusion)==null?void 0:Ci.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",eA,[e.createElementVNode("div",null,e.toDisplayString((ki=(Si=n==null?void 0:n.fuelConclusion)==null?void 0:Si.dgo)==null?void 0:ki.underTolerance),1),t[233]||(t[233]=e.createElementVNode("div",{class:"line"},null,-1)),t[234]||(t[234]=e.createElementVNode("div",null,"24",-1))]),t[236]||(t[236]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((fi=(ji=n.fuelConclusion)==null?void 0:ji.dgo)==null?void 0:fi.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",tA,[((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",lA,[t[239]||(t[239]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[240]||(t[240]=e.createElementVNode("div",null,"=",-1)),t[241]||(t[241]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[242]||(t[242]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:wi.entireCons),1),t[243]||(t[243]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Qi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:Qi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.overCons),1)])):((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oA,[t[245]||(t[245]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[246]||(t[246]=e.createElementVNode("div",null,"=",-1)),t[247]||(t[247]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[248]||(t[248]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gi=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Gi.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.entireCons),1),t[250]||(t[250]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hi=(Zi=n==null?void 0:n.fuelConclusion)==null?void 0:Zi.dgo)==null?void 0:Hi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((_i=(Ji=n==null?void 0:n.fuelConclusion)==null?void 0:Ji.dgo)==null?void 0:_i.conclusionStatus)==="Over"?"flex-center lost":((Ki=(Xi=n==null?void 0:n.fuelConclusion)==null?void 0:Xi.dgo)==null?void 0:Ki.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[251]||(t[251]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((qi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:qi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",nA,e.toDisplayString(i.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const iA=Fe(PE,[["render",aA],["__scopeId","data-v-ae0b8926"]]),Jw="",sA={name:"OrmVygInventory",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){if(o.type==="BOSP")return"";{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`${P(o).utc().format(t)}`}},computeLng(){return function(o){return de.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return de.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?de.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,i,a,D,s,c,y,p,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=((a=(i=this.report)==null?void 0:i.weather)==null?void 0:a.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((y=(c=this.report)==null?void 0:c.weather)==null?void 0:y.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},dA={class:"report-inventory"},rA={class:"section summary-section"},cA={class:"summary-block"},NA={class:"label",rowspan:"4"},DA={class:"section inventory-section"},MA={class:"inventory-block flex-center"},mA={style:{"font-size":"12px"}},gA=["colspan"],EA={key:0,class:"label",colspan:"2"},yA={key:0,class:"label",rowspan:"2"},IA={key:1,class:"label",rowspan:"2"},pA={key:2,class:"label",rowspan:"2"},AA={key:3,class:"label",colspan:"2"},VA={key:4,class:"label",rowspan:"2"},TA={key:5,class:"label",colspan:"2"},xA={key:6,class:"label",rowspan:"2"},zA={key:7,class:"label",rowspan:"2"},CA={key:8,class:"label",rowspan:"2"},SA={key:0,class:"label"},kA={key:1,class:"label"},jA={key:2,class:"label"},fA={key:3,class:"label"},UA={class:"summary-tbody"};function bA(o,t,l,d,i,a){var D;return e.openBlock(),e.createElementBlock("div",dA,[e.createElementVNode("div",rA,[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",cA,[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((D=l.report)==null?void 0:D.segments,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",NA,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=s==null?void 0:s.allWx)==null?void 0:C.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(a.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=s==null?void 0:s.goodWx)==null?void 0:S.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(a.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=s==null?void 0:s.badWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=s==null?void 0:s.badWx)==null?void 0:U.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=s==null?void 0:s.badWx)==null?void 0:O.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(a.computePrecision((w=s==null?void 0:s.excluded)==null?void 0:w.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=s==null?void 0:s.excluded)==null?void 0:Y.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Q=s==null?void 0:s.excluded)==null?void 0:Q.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=s==null?void 0:s.excluded)==null?void 0:h.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=s==null?void 0:s.excluded)==null?void 0:R.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",DA,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-e8c41d6c><div class="flex-start" style="flex:1.2;" data-v-e8c41d6c><div class="legend good-wx" data-v-e8c41d6c></div><div class="label flex-end" data-v-e8c41d6c>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-e8c41d6c><div class="legend adverse-wx" data-v-e8c41d6c></div><div class="label" data-v-e8c41d6c>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-e8c41d6c><div class="legend excluded" data-v-e8c41d6c></div><div class="label" data-v-e8c41d6c>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-e8c41d6c><div data-v-e8c41d6c><label data-v-e8c41d6c>B</label><span data-v-e8c41d6c>BOSP</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>N</label><span data-v-e8c41d6c>NOON</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>E</label><span data-v-e8c41d6c>EOSP</span></div><div data-v-e8c41d6c><label data-v-e8c41d6c>*</label><span data-v-e8c41d6c>Ship Reported Position</span></div></div></div><div style="text-align:right;padding-bottom:5px;font-size:14px;font-weight:400;color:var(--idm-black-7);" data-v-e8c41d6c> The 'ORM Analysis Weather' row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",MA,[e.createElementVNode("table",mA,[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:a.computeWxColspan},"ORM Weather Analysis",8,gA),l.showFactor?(e.openBlock(),e.createElementBlock("th",EA,"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)),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",yA,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",IA,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)),i.showWave?(e.openBlock(),e.createElementBlock("th",pA,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",AA,"Swell")):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("th",VA,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",TA,"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",xA,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",zA,"wxFactor")):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("th",CA,"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)),i.showSwell?(e.openBlock(),e.createElementBlock("th",SA,"Dir")):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",kA,"HT(m)")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",jA,"Dir")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",fA,"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",UA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z;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)&&((y=s.noon)!=null&&y.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2",style:{"max-width":"150px","text-wrap":"wrap"}},e.toDisplayString((p=s.noon)==null?void 0:p.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(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.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(s.type==="BOSP"?"-":((M=(N=s.meteo)==null?void 0:N.wind)==null?void 0:M.direction)??"-"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(C=s.meteo)==null?void 0:C.wind)==null?void 0:A.scale)??"-"),3),i.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((I=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:I.height)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((k=(x=(S=s.meteo)==null?void 0:S.wave)==null?void 0:x.swell)==null?void 0:k.direction)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=(U=(m=s.meteo)==null?void 0:m.wave)==null?void 0:U.swell)==null?void 0:O.height)??"-"),3)):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((Q=(Y=(w=s.meteo)==null?void 0:w.wave)==null?void 0:Y.sig)==null?void 0:Q.height)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((R=(h=s.meteo)==null?void 0:h.current)==null?void 0:R.direction)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((G=s.meteo)==null?void 0:G.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.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(((W=s.meteo)==null?void 0:W.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(((L=s.meteo)==null?void 0:L.wxFactor)??"--"),3)):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((Z=s.meteo)==null?void 0:Z.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const OA=Fe(sA,[["render",bA],["__scopeId","data-v-e8c41d6c"]]),_w="",wA={name:"OrmVoyageChart",components:{Lng:On,Lat:wn},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`${P(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(Rn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Rn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Rn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,C,A,V,T;let o=[];const t=[],l=[],d={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let i=0,a=0;const D=this.inventory.filter(I=>I.noon)||[],s=[];this.inventory.forEach((I,S)=>{var x,k;S===0&&s.push(I.utc),I.type==="EOSP"&&((x=this.inventory[S+1])==null?void 0:x.type)==="BOSP"&&(s.push(I.utc),s.push((k=this.inventory[S+1])==null?void 0:k.utc)),S===this.inventory.length-1&&s.push(I.utc)}),s.forEach((I,S)=>{if(S%2===0){const x=P(s[S+1]).diff(P(s[S]),"minute",!0);for(let k=0;k<=x+1;k++)t.push(this.computeUTCTime(P(s[S]).clone().utc().add(k,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((I,S)=>{var k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J;const x=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(I.noon&&!o.some(b=>b.slice(0,5)===I.utc.slice(5,10))&&o.push(x),S===D.length-1&&(o=o.filter(b=>b.slice(0,5)!==I.utc.slice(5,10)),o.push(x)),i=Math.ceil(((k=I.noon)==null?void 0:k.foCons)>i?(m=I.noon)==null?void 0:m.foCons:i),i=Math.ceil(((U=I.cp)==null?void 0:U.fo)>i?(O=I.cp)==null?void 0:O.fo:i),a=Math.ceil(((w=I.noon)==null?void 0:w.dgoCons)>a?(Y=I.noon)==null?void 0:Y.dgoCons:a),a=Math.ceil(((Q=I.cp)==null?void 0:Q.dgo)>a?(h=I.cp)==null?void 0:h.dgo:a),l.push([x,(R=I.noon)==null?void 0:R.avgSpd,(G=I.noon)==null?void 0:G.foCons,(W=I.noon)==null?void 0:W.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),S<D.length-1){const b=D[S+1];l.push([x,(L=b.noon)==null?void 0:L.avgSpd,(Z=b.noon)==null?void 0:Z.foCons,(J=b.noon)==null?void 0:J.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((I,S)=>S===0||S===o.length-1||S%c===0);const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100,top:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",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.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:i+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#2a57b7"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#2a57b7"},lineStyle:{color:"#2a57b7",type:"dashed"},encode:{x:d.dateTime,y:d.fo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(M=(N=this.report)==null?void 0:N.weather)!=null&&M.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#2a57b7"},encode:{x:d.dateTime,y:d.noonFoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.spdFoConsChart)==null||C.setOption(y);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},top:"5%",left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",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.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#7191d1"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#7191d1"},lineStyle:{color:"#7191d1",type:"dashed"},encode:{x:d.dateTime,y:d.dgo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(V=(A=this.report)==null?void 0:A.weather)!=null&&V.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#7191d1"},encode:{x:d.dateTime,y:d.noonDgoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(T=this.spdDgoConsChart)==null||T.setOption(p)},renderWxCurrChart(){var C;let o=[];const t=[],l=[],d={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let i=4;const a=this.inventory||[],D=[];a.forEach((A,V)=>{var T,I;V===0&&D.push(A.utc),A.type==="EOSP"&&((T=a[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(A.utc),D.push((I=a[V+1])==null?void 0:I.utc)),V===a.length-1&&D.push(A.utc)}),D.forEach((A,V)=>{if(V%2===0){const T=P(D[V+1]).diff(P(D[V]),"minute",!0);for(let I=0;I<=T+1;I++)t.push(this.computeUTCTime(P(D[V]).clone().utc().add(I,"m").format(),"MM-DD/HHmm[Z]"))}}),a.forEach((A,V)=>{var I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se;const T=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(_=>_.slice(0,5)===A.utc.slice(5,10))&&o.push(T),V===a.length-1&&(o=o.filter(_=>_.slice(0,5)!==A.utc.slice(5,10)),o.push(T)),i=Math.ceil(((x=(S=(I=A.meteo)==null?void 0:I.wave)==null?void 0:S.sig)==null?void 0:x.height)>i?(U=(m=(k=A.meteo)==null?void 0:k.wave)==null?void 0:m.sig)==null?void 0:U.height:i),l.push([T,((O=A.noon)==null?void 0:O.windBF)||((Y=(w=A.meteo)==null?void 0:w.wind)==null?void 0:Y.scale),(h=(Q=A.meteo)==null?void 0:Q.wind)==null?void 0:h.scale,(G=(R=A.meteo)==null?void 0:R.wind)==null?void 0:G.direction,(W=A.noon)==null?void 0:W.seasHt,(J=(Z=(L=A.meteo)==null?void 0:L.wave)==null?void 0:Z.sig)==null?void 0:J.height,A.dailyAvgCf??((b=l[l.length-1])==null?void 0:b[d.anlyCurFct]),A.goodWx&&!A.excluded?20:0,A.excluded?20:0]),V<a.length-1){const _=a[V+1];l.push([T,((te=A.noon)==null?void 0:te.windBF)||((oe=(le=A.meteo)==null?void 0:le.wind)==null?void 0:oe.scale),(ae=(ne=_.meteo)==null?void 0:ne.wind)==null?void 0:ae.scale,(H=(n=_.meteo)==null?void 0:n.wind)==null?void 0:H.direction,(q=_.noon)==null?void 0:q.seasHt,(ie=(v=($=A.meteo)==null?void 0:$.wave)==null?void 0:v.sig)==null?void 0:ie.height,_.dailyAvgCf??((se=l[l.length-1])==null?void 0:se[d.anlyCurFct]),_.goodWx&&!_.excluded?20:0,_.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((A,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,y=2.5,p=1,N=5;c<-2.5||y>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,y=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(y)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(y)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,y=2.5,N=Math.abs(c)/p+5);const M={animation:!1,title:{text:"Weather and Current Factor",top:"5%",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["Current Factor","Wind BF","Sig.wave Height",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:{type:"category",data:t,boundaryGap:!1,position:"zero",axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}},yAxis:[{name:"Current Factor (kts)",show:!0,nameLocation:"middle",position:"left",offset:10,nameGap:25,min:c,max:y,interval:p,splitNumber:N,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Wind BF",nameLocation:"middle",position:"left",offset:50,nameGap:25,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,1)/5),max:Math.ceil(this.findMaxValue(l,1)/5)*5,interval:Math.ceil(this.findMaxValue(l,1)/5),splitNumber:N,show:!0,axisLine:{lineStyle:{color:"#60c43e"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Sig.wave Height (m)",nameLocation:"middle",position:"right",offset:10,nameGap:25,show:!0,startValue:0,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,5)/5),max:Math.ceil(this.findMaxValue(l,5)/5)*5,interval:Math.ceil(this.findMaxValue(l,5)/5),splitNumber:N,axisLine:{lineStyle:{color:"#21baa3"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyCurFct},itemStyle:{color:"#a362f9"},data:l,z:3},{name:"Wind BF",type:"line",yAxisIndex:1,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyWdBF},itemStyle:{color:"#15ab02"},data:l,z:3},{name:"Sig.wave Height",type:"line",yAxisIndex:2,showSymbol:!1,encode:{x:d.dateTime,y:d.anlySigWvHt},itemStyle:{color:"#017c8a"},data:l,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.currChart)==null||C.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];typeof a=="number"&&!isNaN(a)&&Number(a)>l&&(l=a)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];a<l&&(l=a)}}return l}}},YA={class:"report-summary"},QA={class:"section chart-section"},hA={class:"chart-block"},BA={ref:"spdFoConsChart",class:"chart"},RA={ref:"spdDgoConsChart",class:"chart"},FA={ref:"currChart",class:"chart"},PA={class:"section map-section"},GA={class:"map-block"},WA={class:"flex-space"},LA={class:"voyage-block",style:{height:"197px"}},ZA={class:"flex-space label-block",style:{width:"100%"}},HA={style:{"text-transform":"uppercase"}},JA={class:"flex-space label-block",style:{width:"100%"}},_A={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XA={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},KA={class:"flex-space label-block",style:{width:"100%"}},uA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},qA={class:"flex-space label-block",style:{width:"100%"}},$A={key:0,class:"flex-end",style:{flex:"1"}},vA={key:1,class:"flex-end",style:{flex:"1"}},eV={class:"flex-end",style:{width:"160px"}},tV={class:"flex-space label-block",style:{width:"100%"}},lV={key:0,class:"flex-end",style:{flex:"1"}},oV={key:1,class:"flex-end",style:{flex:"1"}},nV={class:"flex-end",style:{width:"160px"}},aV={class:"flex-space label-block",style:{width:"100%"}},iV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sV=["src"];function dV(o,t,l,d,i,a){var c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",YA,[e.createElementVNode("div",QA,[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",hA,[e.createElementVNode("div",BA,null,512),e.createElementVNode("div",RA,null,512),e.createElementVNode("div",FA,null,512)])]),e.createElementVNode("div",PA,[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",GA,[e.createElementVNode("div",WA,[e.createElementVNode("div",LA,[e.createElementVNode("div",ZA,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HA,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JA,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_A,e.toDisplayString((y=(c=l.report)==null?void 0:c.vessel)==null?void 0:y.name),1),e.createElementVNode("span",XA,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",KA,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",uA,e.toDisplayString((C=(M=l.report)==null?void 0:M.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",qA,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(A=l.report)==null?void 0:A.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",$A,e.toDisplayString((I=(T=l.report)==null?void 0:T.departure)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",vA,[e.createVNode(D,{lat:(x=(S=l.report)==null?void 0:S.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:(k=l.report.departure)==null?void 0:k.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",eV,e.toDisplayString(a.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",tV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(O=(U=l.report)==null?void 0:U.arrival)!=null&&O.portName?(e.openBlock(),e.createElementBlock("span",lV,e.toDisplayString((Y=(w=l.report)==null?void 0:w.arrival)==null?void 0:Y.portName),1)):(e.openBlock(),e.createElementBlock("div",oV,[e.createVNode(D,{lat:(h=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:h.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:(G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",nV,e.toDisplayString(a.computeUTCTime((L=(W=l.report)==null?void 0:W.arrival)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",aV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iV,e.toDisplayString((J=(Z=l.report)==null?void 0:Z.voyage)==null?void 0:J.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-45a20167><div style="position:absolute;margin-top:-8px;" data-v-45a20167>LEGEND</div><div class="flex-space" data-v-45a20167><div data-v-45a20167>0812</div><div data-v-45a20167><div data-v-45a20167>08 - Day of the month</div><div data-v-45a20167>12 - Hours of the day</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-45a20167></i></div><div data-v-45a20167><div data-v-45a20167>Wind from N (000)</div><div data-v-45a20167>Each bard = 10 kts</div><div data-v-45a20167>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167>W 4</div><div data-v-45a20167>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-45a20167><div class="good-wx" data-v-45a20167>Date</div><div data-v-45a20167>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(b=l.report)==null?void 0:b.chartUrl,alt:""},null,8,sV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-45a20167><div class="header-block flex-center" data-v-45a20167><i class="iconfont" data-v-45a20167></i><div class="title" data-v-45a20167>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>1. Good Weather Method</div><div class="method-body" data-v-45a20167> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-45a20167> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-45a20167> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>4. “About”</div><div class="method-body" data-v-45a20167> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-45a20167> 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-45a20167> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-45a20167> 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-45a20167><div class="method-title" data-v-45a20167>6. Further reference materials</div><div class="method-body" data-v-45a20167>Please send mail to <a href="mailto:op@ormwx.com" data-v-45a20167>op@ormwx.com</a>.</div></div></div></div>',1))])}const rV=Fe(wA,[["render",dV],["__scopeId","data-v-45a20167"]]),Xw="",Kw="",cV={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`${P(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,y;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((y=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:y.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const i=document.getElementById("col1"),a=document.getElementById("col2"),D=(i==null?void 0:i.offsetHeight)||0,s=(a==null?void 0:a.offsetHeight)||0;if(D<=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>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<div class="vrpt-from">From: ${t.from}</div>
|
|
49
49
|
<div class="vrpt-to">To: ${t.to}</div>
|
|
50
50
|
<div class="vrpt-subject">Subject: ${t.subject}</div>
|
|
51
|
-
<br/>`;N=N+d+"</div>",a.insertAdjacentHTML("beforeend",N)}})}}},NV={class:"report-email"};function DV(o,t,l,d,i,a){return e.openBlock(),e.createElementBlock("div",NV,t[0]||(t[0]=[e.createStaticVNode('<div class="section email-section" data-v-0dbac70b><div class="header-block flex-center" data-v-0dbac70b><i class="iconfont" data-v-0dbac70b></i><div class="title" data-v-0dbac70b>Emails</div></div><div class="content-box" data-v-0dbac70b><div id="col1" class="col col1" data-v-0dbac70b></div><div id="col2" class="col col2" data-v-0dbac70b></div></div></div>',1)]))}const MV=Fe(cV,[["render",DV],["__scopeId","data-v-0dbac70b"]]),uw="",mV={name:"OrmVoyageIndex",components:{Brand:vl,VoySummary:
|
|
51
|
+
<br/>`;N=N+d+"</div>",a.insertAdjacentHTML("beforeend",N)}})}}},NV={class:"report-email"};function DV(o,t,l,d,i,a){return e.openBlock(),e.createElementBlock("div",NV,t[0]||(t[0]=[e.createStaticVNode('<div class="section email-section" data-v-0dbac70b><div class="header-block flex-center" data-v-0dbac70b><i class="iconfont" data-v-0dbac70b></i><div class="title" data-v-0dbac70b>Emails</div></div><div class="content-box" data-v-0dbac70b><div id="col1" class="col col1" data-v-0dbac70b></div><div id="col2" class="col col2" data-v-0dbac70b></div></div></div>',1)]))}const MV=Fe(cV,[["render",DV],["__scopeId","data-v-0dbac70b"]]),uw="",mV={name:"OrmVoyageIndex",components:{Brand:vl,VoySummary:iA,Inventory:OA,Chart:rV,Email:MV,Loading:Fn},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}}},watch:{report:{handler(o,t){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(o){this.$emit("commit",o)},prepare(){var t,l;const o=[];(l=(t=this.report)==null?void 0:t.segments)==null||l.forEach(d=>{const i=d.extend.cp;let a,D,s=!1;d.inventory.sample.hours.forEach((c,y)=>{a||(a=c),(!D||s)&&(D=c,s=!1),a.segIndex===c.segIndex?a.segLength=(a.segLength||0)+1:(a=c,a.segLength=1),D.noonLength=(D.noonLength||0)+1;let p=c.type.charAt(0);["N","M","E"].includes(p)&&(s=!0,D.dailyAvgCf=c.dailyAvgCf,D.avgSpdCalc=c.avgSpdCalc,D.distanceCalc=c.distanceCalc,D.noon&&(D.noon.foCons=c.noon.foCons,D.noon.dgoCons=c.noon.dgoCons)),c.abbrev=p,p=p==="M"?"*":p==="A"?"":p,c.time=`${p} ${this.computeUTCTime(c.utc,"MMM-DD/HHmm[Z]")}`,c._lng=de.LngLatHelper.lng2pretty(c.lng),c._lat=de.LngLatHelper.lat2pretty(c.lat),c.cp=i,c.goodWx=c.type==="BOSP"?!1:c.goodWx,o.push(c)})}),o.sort((d,i)=>d.positionTime-i.positionTime),this.inventory=o}}};function gV(o,t,l,d,i,a){var M,C,A;const D=e.resolveComponent("Brand"),s=e.resolveComponent("Loading"),c=e.resolveComponent("VoySummary"),y=e.resolveComponent("Inventory"),p=e.resolveComponent("Chart"),N=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((C=(M=l.report)==null?void 0:M.weather)!=null&&C.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(D,{name:"Voyage Analysis Report",issued:l.report.createdAt},null,8,["issued"]),e.createVNode(s,{loading:i.loading,onTimeout:t[0]||(t[0]=V=>i.loading=!1)},null,8,["loading"]),e.createVNode(c,{report:l.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(y,{report:l.report,inventory:i.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(p,{report:l.report,inventory:i.inventory,class:"main"},null,8,["report","inventory"]),((A=l.voyageEmails)==null?void 0:A.length)>0?(e.openBlock(),e.createBlock(N,{key:0,report:l.report,"voyage-emails":l.voyageEmails},null,8,["report","voyage-emails"])):e.createCommentVNode("",!0)],2)}const Es=Fe(mV,[["render",gV],["__scopeId","data-v-4d206d4b"]]),EV={install(o){o.component("FliVoyageReport",gs),o.component("OrmVoyageReport",Es)}},qw="",$w="",yV={name:"IdmTropical",components:{TropicalReport:Hd.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(o){this.center=o}}},IV={class:"typhoon-report-container"};function pV(o,t,l,d,i,a){const D=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",IV,[l.report?(e.openBlock(),e.createBlock(D,{key:0,report:l.report,model:l.model,ts:l.ts,token:l.token,onCenter:a.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const ys=Fe(yV,[["render",pV]]),AV={install(o){o.component("TropicalReport",ys)}},vw="",VV={name:"OrmInvoice",components:{IdmBrand:vl},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,t="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${P(o).utcOffset(8).format(t)}`:"-"}}},watch:{report:{handler(){var o,t,l,d,i,a,D;this.reservations4Route=(t=(o=this.report)==null?void 0:o.reservations)==null?void 0:t.filter(s=>s.props),this.reservations4Point=(d=(l=this.report)==null?void 0:l.reservations)==null?void 0:d.filter(s=>!s.props),this.totalInUS=(a=(i=this.report)==null?void 0:i.reservations)==null?void 0:a.reduce((s,c)=>Math.round((s+c.amount)*100)/100,0),(D=this.reservations4Route)!=null&&D.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},TV={class:"invoice-report"},xV={class:"section items-section"},zV={class:"flex-start"},CV=["innerHTML"],SV={class:"flex-space"},kV={class:"invoice-item"},jV={key:0,class:"invoice-item"},fV=["colspan"],UV=["colspan"],bV=["colspan"],OV={class:"total"},wV=["colspan"],YV={class:"total"},QV=["colspan"],hV={class:"total"},BV={key:1},RV=["colspan"],FV={class:"total"},PV={key:0,class:"memo-block"},GV=["innerHTML"],WV={class:"section company-section"},LV={class:"company-item"},ZV={class:"company-item"},HV={class:"company-item"},JV={class:"company-item"},_V={class:"company-item"},XV={class:"company-item"},KV={class:"company-item"},uV={class:"company-item"},qV={class:"company-item"},$V={class:"company-item"},vV={class:"company-item"},e2={class:"company-item"},t2={class:"company-item"},l2={class:"company-item"};function o2(o,t,l,d,i,a){var s,c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se,_,De;const D=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",TV,[e.createVNode(D,{name:"INVOICE",issued:l.report.createdAt},null,8,["issued"]),e.createElementVNode("div",xV,[e.createElementVNode("div",zV,[t[0]||(t[0]=e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(y=(c=(s=l.report)==null?void 0:s.invoiceTitle)==null?void 0:c.name)==null?void 0:y.replace(`
|
|
52
52
|
`,"<br/>")},null,8,CV)]),e.createElementVNode("div",SV,[e.createElementVNode("div",kV,"Invoice No. "+e.toDisplayString(l.report.number),1),(p=l.report)!=null&&p.paymentDate?(e.openBlock(),e.createElementBlock("div",jV,"Paid: "+e.toDisplayString(a.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(N=i.reservations4Route)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[1]||(t[1]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",{style:{width:"80px"}},"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",{style:{width:"80px"}},"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.reservations4Route,(K,Ne)=>{var Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,je,fe,Ue,be,ge,we,Ye,Oe,j,ye,Qe;return e.openBlock(),e.createElementBlock("tr",{key:Ne},[e.createElementVNode("td",null,e.toDisplayString((ce=(me=(Me=K.props)==null?void 0:Me[0])==null?void 0:me.voyage)==null?void 0:ce.number),1),e.createElementVNode("td",null,e.toDisplayString(((Ae=(pe=(Ie=K.props)==null?void 0:Ie[0])==null?void 0:pe.voyage)==null?void 0:Ae.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((xe=(Te=(Ve=K.props)==null?void 0:Ve[0])==null?void 0:Te.vessel)==null?void 0:xe.name),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(ze=K.props)==null?void 0:ze[0])==null?void 0:Ce.voyage)==null?void 0:Se.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((fe=(je=(ke=K.props)==null?void 0:ke[0])==null?void 0:je.departure)==null?void 0:fe.name),1),e.createElementVNode("td",null,e.toDisplayString((ge=(be=(Ue=K.props)==null?void 0:Ue[0])==null?void 0:be.departure)==null?void 0:ge.atd),1),e.createElementVNode("td",null,e.toDisplayString((Oe=(Ye=(we=K.props)==null?void 0:we[0])==null?void 0:Ye.destination)==null?void 0:Oe.name),1),e.createElementVNode("td",null,e.toDisplayString((Qe=(ye=(j=K.props)==null?void 0:j[0])==null?void 0:ye.destination)==null?void 0:Qe.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(K.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(M=i.reservations4Point)!=null&&M.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",null,"NO.",-1)),e.createElementVNode("td",{colspan:i.maxColspans-1},"Items.",8,fV),t[3]||(t[3]=e.createElementVNode("td",null,"Amounts",-1))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.reservations4Point,(K,Ne)=>(e.openBlock(),e.createElementBlock("tr",{key:Ne},[e.createElementVNode("td",null,e.toDisplayString(K.number),1),e.createElementVNode("td",{colspan:i.maxColspans-1},e.toDisplayString(K.items),9,UV),e.createElementVNode("td",null,"$"+e.toDisplayString(K.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((C=l.report)==null?void 0:C.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},t[4]||(t[4]=[e.createElementVNode("span",null,"Total in USD",-1)]),8,bV),e.createElementVNode("td",OV,[e.createElementVNode("span",null,e.toDisplayString(`$${i.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},t[5]||(t[5]=[e.createElementVNode("span",null,"Exchange Rate",-1)]),8,wV),e.createElementVNode("td",YV,[e.createElementVNode("span",null,e.toDisplayString((A=l.report)==null?void 0:A.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},"Total in CNY",8,QV),e.createElementVNode("td",hV,"¥"+e.toDisplayString((V=l.report)==null?void 0:V.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",BV,[e.createElementVNode("td",{colspan:i.maxColspans},t[6]||(t[6]=[e.createElementVNode("span",null,"Total in USD",-1)]),8,RV),e.createElementVNode("td",FV,[e.createElementVNode("span",null,e.toDisplayString(`$${(T=l.report)==null?void 0:T.paymentAmount}`),1)])]))])]),(I=l.report)!=null&&I.memo?(e.openBlock(),e.createElementBlock("div",PV,[t[7]||(t[7]=e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),e.createElementVNode("div",{class:"invoice-item",innerHTML:(x=(S=l.report)==null?void 0:S.memo)==null?void 0:x.replace(`
|
|
53
53
|
`,"<br/>")},null,8,GV)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",WV,[t[22]||(t[22]=e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),((k=l.report)==null?void 0:k.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",LV,[t[8]||(t[8]=e.createElementVNode("label",null,"Bank",-1)),e.createElementVNode("span",null,e.toDisplayString((U=i.account[(m=l.report)==null?void 0:m.paymentType])==null?void 0:U.bank),1)]),e.createElementVNode("div",ZV,[t[9]||(t[9]=e.createElementVNode("label",null,"Account",-1)),e.createElementVNode("span",null,e.toDisplayString((w=i.account[(O=l.report)==null?void 0:O.paymentType])==null?void 0:w.number),1)]),e.createElementVNode("div",HV,[t[10]||(t[10]=e.createElementVNode("label",null,"Title",-1)),e.createElementVNode("span",null,e.toDisplayString((Q=i.account[(Y=l.report)==null?void 0:Y.paymentType])==null?void 0:Q.title),1)]),e.createElementVNode("div",JV,[t[11]||(t[11]=e.createElementVNode("label",null,"Addr",-1)),e.createElementVNode("span",null,e.toDisplayString((R=i.account[(h=l.report)==null?void 0:h.paymentType])==null?void 0:R.address),1)]),e.createElementVNode("div",_V,[t[12]||(t[12]=e.createElementVNode("label",null,"Tel",-1)),e.createElementVNode("span",null,e.toDisplayString((W=i.account[(G=l.report)==null?void 0:G.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",XV,[t[13]||(t[13]=e.createElementVNode("label",null,"Tax ID",-1)),e.createElementVNode("span",null,e.toDisplayString((Z=i.account[(L=l.report)==null?void 0:L.paymentType])==null?void 0:Z.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",KV,[t[14]||(t[14]=e.createElementVNode("label",null,"Beneficiary's Name",-1)),e.createElementVNode("span",null,e.toDisplayString((b=i.account[(J=l.report)==null?void 0:J.paymentType])==null?void 0:b.title),1)]),e.createElementVNode("div",uV,[t[15]||(t[15]=e.createElementVNode("label",null,"Bank Name",-1)),e.createElementVNode("span",null,e.toDisplayString((le=i.account[(te=l.report)==null?void 0:te.paymentType])==null?void 0:le.bank),1)]),e.createElementVNode("div",qV,[t[16]||(t[16]=e.createElementVNode("label",null,"Bank Address",-1)),e.createElementVNode("span",null,e.toDisplayString((ne=i.account[(oe=l.report)==null?void 0:oe.paymentType])==null?void 0:ne.bankAddr),1)]),e.createElementVNode("div",$V,[t[17]||(t[17]=e.createElementVNode("label",null,"Account No.",-1)),e.createElementVNode("span",null,e.toDisplayString((n=i.account[(ae=l.report)==null?void 0:ae.paymentType])==null?void 0:n.number),1)]),e.createElementVNode("div",vV,[t[18]||(t[18]=e.createElementVNode("label",null,"SWIFT",-1)),e.createElementVNode("span",null,e.toDisplayString((q=i.account[(H=l.report)==null?void 0:H.paymentType])==null?void 0:q.swift),1)]),e.createElementVNode("div",e2,[t[19]||(t[19]=e.createElementVNode("label",null,"Intermediary Bank",-1)),e.createElementVNode("span",null,e.toDisplayString((v=i.account[($=l.report)==null?void 0:$.paymentType])==null?void 0:v.intermediaryBank),1)]),e.createElementVNode("div",t2,[t[20]||(t[20]=e.createElementVNode("label",null,"SWIFT",-1)),e.createElementVNode("span",null,e.toDisplayString((se=i.account[(ie=l.report)==null?void 0:ie.paymentType])==null?void 0:se.intermediaryBankSwift),1)]),e.createElementVNode("div",l2,[t[21]||(t[21]=e.createElementVNode("label",null,"ABA NO.",-1)),e.createElementVNode("span",null,e.toDisplayString((De=i.account[(_=l.report)==null?void 0:_.paymentType])==null?void 0:De.intermediaryBankAbaNo),1)])],64))]),t[23]||(t[23]=e.createStaticVNode('<div class="section sign-section" data-v-ef29cdd7><div class="flex-space" data-v-ef29cdd7><div class="sign-block" data-v-ef29cdd7><div data-v-ef29cdd7>Finance Team</div><div data-v-ef29cdd7>Ocean Right Marine Service Co., Ltd.</div><div data-v-ef29cdd7>Email: <a href="mailto:op@ormwx.com" data-v-ef29cdd7>op@ormwx.com</a></div><div data-v-ef29cdd7>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-ef29cdd7>Thank You</div></div></div>',1))])}const Is=Fe(VV,[["render",o2],["__scopeId","data-v-ef29cdd7"]]),eY="",n2={name:"FliInvoice",props:{report:{type:Object,default:()=>({})}},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,t="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${P(o).utcOffset(8).format(t)}`:"-"}}},watch:{report:{handler(){var o,t,l,d,i,a,D;this.reservations4Route=(t=(o=this.report)==null?void 0:o.reservations)==null?void 0:t.filter(s=>s.props),this.reservations4Point=(d=(l=this.report)==null?void 0:l.reservations)==null?void 0:d.filter(s=>!s.props),this.totalInUS=(a=(i=this.report)==null?void 0:i.reservations)==null?void 0:a.reduce((s,c)=>Math.round((s+c.amount)*100)/100,0),(D=this.reservations4Route)!=null&&D.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},a2={class:"invoice-report"},i2={class:"section items-section"},s2={class:"flex-start"},d2=["innerHTML"],r2={class:"flex-space"},c2={class:"invoice-item"},N2={key:0,class:"invoice-item"},D2=["colspan"],M2=["colspan"],m2=["colspan"],g2={class:"total"},E2=["colspan"],y2={class:"total"},I2=["colspan"],p2={class:"total"},A2={key:1},V2=["colspan"],T2={class:"total"},x2={key:0,class:"memo-block"},z2=["innerHTML"];function C2(o,t,l,d,i,a){var D,s,c,y,p,N,M,C,A,V,T,I,S;return e.openBlock(),e.createElementBlock("div",a2,[e.createElementVNode("div",i2,[e.createElementVNode("div",s2,[t[0]||(t[0]=e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(c=(s=(D=l.report)==null?void 0:D.invoiceTitle)==null?void 0:s.name)==null?void 0:c.replace(`
|
|
54
54
|
`,"<br/>")},null,8,d2)]),e.createElementVNode("div",r2,[e.createElementVNode("div",c2,"Invoice No. "+e.toDisplayString(l.report.number),1),(y=l.report)!=null&&y.paymentDate?(e.openBlock(),e.createElementBlock("div",N2,"Paid: "+e.toDisplayString(a.computeTime(l.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(p=i.reservations4Route)!=null&&p.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[1]||(t[1]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.reservations4Route,(x,k)=>{var m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",null,e.toDisplayString((O=(U=(m=x.props)==null?void 0:m[0])==null?void 0:U.voyage)==null?void 0:O.number),1),e.createElementVNode("td",null,e.toDisplayString(((Q=(Y=(w=x.props)==null?void 0:w[0])==null?void 0:Y.voyage)==null?void 0:Q.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((G=(R=(h=x.props)==null?void 0:h[0])==null?void 0:R.vessel)==null?void 0:G.name),1),e.createElementVNode("td",null,e.toDisplayString((Z=(L=(W=x.props)==null?void 0:W[0])==null?void 0:L.voyage)==null?void 0:Z.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((te=(b=(J=x.props)==null?void 0:J[0])==null?void 0:b.departure)==null?void 0:te.name),1),e.createElementVNode("td",null,e.toDisplayString((ne=(oe=(le=x.props)==null?void 0:le[0])==null?void 0:oe.departure)==null?void 0:ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((H=(n=(ae=x.props)==null?void 0:ae[0])==null?void 0:n.destination)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((v=($=(q=x.props)==null?void 0:q[0])==null?void 0:$.destination)==null?void 0:v.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(x.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=i.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",null,"NO.",-1)),e.createElementVNode("td",{colspan:i.maxColspans-1},"Items.",8,D2),t[3]||(t[3]=e.createElementVNode("td",null,"Amounts",-1))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.reservations4Point,(x,k)=>(e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",null,e.toDisplayString(x.number),1),e.createElementVNode("td",{colspan:i.maxColspans-1},e.toDisplayString(x.items),9,M2),e.createElementVNode("td",null,"$"+e.toDisplayString(x.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((M=l.report)==null?void 0:M.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},t[4]||(t[4]=[e.createElementVNode("span",null,"Total in USD",-1)]),8,m2),e.createElementVNode("td",g2,[e.createElementVNode("span",null,e.toDisplayString(`$${i.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},t[5]||(t[5]=[e.createElementVNode("span",null,"Exchange Rate",-1)]),8,E2),e.createElementVNode("td",y2,[e.createElementVNode("span",null,e.toDisplayString((C=l.report)==null?void 0:C.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:i.maxColspans},"Total in CNY",8,I2),e.createElementVNode("td",p2,"¥"+e.toDisplayString((A=l.report)==null?void 0:A.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",A2,[e.createElementVNode("td",{colspan:i.maxColspans},t[6]||(t[6]=[e.createElementVNode("span",null,"Total in USD",-1)]),8,V2),e.createElementVNode("td",T2,[e.createElementVNode("span",null,e.toDisplayString(`$${(V=l.report)==null?void 0:V.paymentAmount}`),1)])]))])]),(T=l.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",x2,[t[7]||(t[7]=e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),e.createElementVNode("div",{class:"invoice-item",innerHTML:(S=(I=l.report)==null?void 0:I.memo)==null?void 0:S.replace(`
|