@idmwx/idmui-report 4.5.5 → 4.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,sM)]))])}const ds=Re(nM,[["render",dM]]),rM={install(o){o.component("PiLogo",ds)}},zY="",SY="",cM={name:"FliVygSummary",components:{Editor:vl},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"?G(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?G(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?G(o).utc().format("MMMM D, HHmm[Z]"):t?G(o).utc().format(t):G(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=se.LngLatHelper.lat2pretty(o).pretty,d=se.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),i=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:a,time2:i,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="",a=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?se.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,a)=>{let i=d.excluded;if(i.sumDistance>0&&i.detail.forEach(s=>{let c={begin:G(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:G(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:G(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(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))})}}},NM={class:"fli-main"},DM={class:"card basics"},MM={class:"list flex"},gM={class:"item"},mM={class:"content flex"},EM={class:"item"},yM={class:"content flex"},IM={class:"item"},pM={class:"content flex"},AM={class:"list"},VM={class:"item"},TM={class:"content flex"},xM={class:"content flex"},zM={class:"item"},SM={class:"content flex"},CM={class:"content flex"},kM={class:"item"},fM={class:"content flexL"},jM={class:"clause"},bM={key:0,class:"definition flex"},UM={key:1,class:"definition flex"},OM={class:"item"},wM={class:"content"},YM={key:0,class:"item"},hM={class:"content"},QM={key:1,class:"item"},BM={class:"content"},RM={key:2,class:"item"},FM={class:"content"},PM={key:3,class:"item"},LM={class:"content"},GM={key:4,class:"item"},WM={key:5,class:"item"},ZM={class:"definition flexM"},HM={class:"table"},JM={class:"summary"},_M={key:0,class:"summary-overall"},XM={class:"summary-overall-row"},KM={class:"card"},uM={class:"main-content"},qM={key:0},$M={key:1},vM={class:"card"},e1={class:"main-content"},t1={key:0},l1={key:1},o1={class:"card"},n1={class:"main-content"},a1={key:0},i1={key:1},s1={class:"summary-overall-row"},d1={class:"card"},r1={class:"main-content"},c1={class:"card"},N1={class:"main-content"},D1={class:"card"},M1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},m1={class:"card-title"},E1={class:"card-segment"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"uppercase"},A1={class:"card summary-card",style:{flex:"1"}},V1={key:0,class:"main-content"},T1={key:0,class:"iconfont success"},x1={key:1,class:"iconfont error"},z1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},C1={class:"card summary-card",style:{flex:"1"}},k1={key:0,class:"main-content"},f1={key:0,class:"iconfont success"},j1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},U1={class:"card-content",style:{"justify-content":"flex-start"}},O1={class:"card summary-card",style:{flex:"1"}},w1={key:0,class:"main-content"},Y1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},Q1={key:1,class:"main-content"},B1={class:"card-content",style:{"justify-content":"flex-start"}},R1={style:{"page-break-inside":"avoid"}},F1={class:"remarks"},P1={class:"item"},L1={class:"speed"},G1={class:"uppercase"},W1={class:"item"},Z1={key:0,class:"remark-detail"},H1={key:1,class:"remark-detail"},J1={class:"page-avoid"},_1={class:"dashed"},X1={class:"card phase-title-card",style:{flex:"0.5"}},K1={class:"card-title"},u1={class:"card-segment"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"uppercase"},eg={class:"phase-analysis"},tg={class:"card phase-card",style:{flex:"1"}},lg={class:"main-content"},og={class:"main-content"},ng={class:"card-content"},ag={class:"card-content"},ig={class:"card-content"},sg={class:"card-content"},dg={class:"card phase-card",style:{flex:"1"}},rg={class:"main-content"},cg={class:"main-content"},Ng={class:"card-content"},Dg={class:"card-content"},Mg={class:"card-content"},gg={class:"card-content"},mg={class:"phase-analysis"},Eg={class:"card phase-card",style:{flex:"1"}},yg={class:"main-content"},Ig={class:"main-content"},pg={class:"card-content"},Ag={class:"card-content"},Vg={class:"card-content"},Tg={class:"card-content"},xg={class:"card phase-card",style:{flex:"1"}},zg={class:"main-content"},Sg={class:"main-content"},Cg={class:"card-content"},kg={class:"card-content"},fg={class:"card-content"},jg={class:"card-content"},bg={class:"card phase-card",style:{flex:"1"}},Ug={class:"main-content"},Og={class:"main-content"},wg={class:"card-content"},Yg={class:"card-content"},hg={class:"card-content"},Qg={class:"card-content"},Bg={class:"phase-analysis"},Rg={class:"card phase-card",style:{flex:"1"}},Fg={class:"main-content"},Pg={class:"main-content"},Lg={class:"card-content"},Gg={class:"card-content"},Wg={class:"card-content"},Zg={class:"card-content"},Hg={class:"card phase-card",style:{flex:"1"}},Jg={class:"main-content"},_g={class:"main-content"},Xg={class:"card-content"},Kg={class:"card-content"},ug={class:"card-content"},qg={class:"card-content"},$g={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vg={class:"main-content"},em={class:"card-content"},tm={key:0},lm={key:1},om={class:"phase-card"},nm={class:"card",style:{flex:"1"}},am={key:0,class:"main-content"},im={key:0,class:"iconfont success"},sm={key:1,class:"iconfont error"},dm={key:1,class:"main-content"},rm={class:"nogwd"},cm={class:"card-content",style:{"justify-content":"flex-start"}},Nm={key:0},Dm={class:"equation"},Mm={style:{width:"8%"}},gm={style:{width:"10%"}},mm={class:"equation"},Em={style:{width:"8%"}},ym={style:{width:"10%"}},Im={class:"equation"},pm={style:{width:"8%"}},Am={style:{width:"10%"}},Vm={class:"phase-card"},Tm={class:"card",style:{flex:"1"}},xm={key:0,class:"main-content"},zm={key:0,class:"iconfont success"},Sm={key:1,class:"iconfont error"},Cm={key:1,class:"main-content"},km={class:"nogwd"},fm={class:"card-content",style:{"justify-content":"flex-start"}},jm={key:0},bm={class:"equation"},Um={style:{width:"8%"}},Om={style:{width:"120px"}},wm={style:{width:"10%"}},Ym={class:"equation"},hm={style:{width:"8%"}},Qm={style:{width:"120px"}},Bm={style:{width:"10%"}},Rm={class:"equation"},Fm={style:{width:"8%"}},Pm={style:{width:"120px"}},Lm={style:{width:"10%"}},Gm={key:0,class:"phase-card"},Wm={class:"card",style:{flex:"1"}},Zm={key:0,class:"main-content"},Hm={key:0,class:"iconfont success"},Jm={key:1,class:"iconfont error"},_m={key:1,class:"main-content"},Xm={class:"nogwd"},Km={class:"card-content",style:{"justify-content":"flex-start"}},um={key:0},qm={class:"equation"},$m={style:{width:"8%"}},vm={style:{width:"120px"}},eE={style:{width:"10%"}},tE={class:"equation"},lE={style:{width:"8%"}},oE={style:{width:"120px"}},nE={style:{width:"10%"}},aE={class:"equation"},iE={style:{width:"8%"}},sE={style:{width:"120px"}},dE={style:{width:"10%"}},rE={class:"formular dashed",style:{"page-break-inside":"avoid"}},cE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},NE={class:""},DE={class:"equation"},ME={style:{width:"50%"},class:"fraction"},gE={class:"equation"},mE={style:{width:"50%"},class:"fraction"},EE={class:"equation"},yE={style:{width:"50%"},class:"fraction"},IE={class:"flexL formular-item",style:{"margin-left":"20px"}},pE={class:""},AE={class:"equation"},VE={style:{width:"25%"},class:"fraction"},TE={class:"equation"},xE={style:{width:"25%"},class:"fraction"},zE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function CE(o,t,l,d,a,i){var D,s,c,m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe,n,Z,u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze;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",NM,[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",DM,[e.createElementVNode("div",MM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",mM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",EM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",yM,e.toDisplayString((p=(m=l.reportData)==null?void 0:m.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",IM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",pM,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",AM,[e.createElementVNode("div",VM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",TM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||i.computedLngLat((y=(x=l.reportData)==null?void 0:x.departure)==null?void 0:y.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",xM,e.toDisplayString(i.computedTime((S=(A=l.reportData)==null?void 0:A.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",zM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((C=(z=l.reportData)==null?void 0:z.arrival)==null?void 0:C.portName)||i.computedLngLat((j=(E=l.reportData)==null?void 0:E.arrival)==null?void 0:j.lat,(F=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:F.lng)),1),e.createElementVNode("div",CM,e.toDisplayString(i.computedTime((g=(L=l.reportData)==null?void 0:L.arrival)==null?void 0:g.utcTime,"table")),1)]),e.createElementVNode("div",kM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",fM,e.toDisplayString((U=(b=l.reportData)==null?void 0:b.voyage)==null?void 0:U.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",jM,[(R=(O=l.reportData)==null?void 0:O.weather)!=null&&R.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",UM,[e.createElementVNode("div",OM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",wM,"BF "+e.toDisplayString(((P=(w=l.reportData)==null?void 0:w.weather)==null?void 0:P.windScale)||"-"),1)]),(Y=(Q=l.reportData)==null?void 0:Q.weather)!=null&&Y.waveSwitch?(e.openBlock(),e.createElementBlock("div",YM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((ee=(v=l.reportData)==null?void 0:v.weather)==null?void 0:ee.waveHeight)||"-")+" Meter",1)])):(le=(te=l.reportData)==null?void 0:te.weather)!=null&&le.swellSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",BM,e.toDisplayString(((n=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(u=(Z=l.reportData)==null?void 0:Z.weather)!=null&&u.sigSwitch?(e.openBlock(),e.createElementBlock("div",RM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",FM,e.toDisplayString((($=(q=l.reportData)==null?void 0:q.weather)==null?void 0:$.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ae=(ne=l.reportData)==null?void 0:ne.weather)!=null&&ae.waveSwitch||(Ne=(J=l.reportData)==null?void 0:J.weather)!=null&&Ne.swellHeight||(re=(X=l.reportData)==null?void 0:X.weather)!=null&&re.sigSwitch?(e.openBlock(),e.createElementBlock("div",PM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",LM,e.toDisplayString((Me=(De=l.reportData)==null?void 0:De.weather)==null?void 0:Me.seaScale),1)])):e.createCommentVNode("",!0),(ge=(de=l.reportData)==null?void 0:de.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",GM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ee=(me=l.reportData)==null?void 0:me.weather)!=null&&Ee.noExtrapolation?(e.openBlock(),e.createElementBlock("div",WM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",ZM,[e.createElementVNode("table",HM,[t[13]||(t[13]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(r,ie)=>(e.openBlock(),e.createElementBlock("tr",{key:ie},[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",JM,[((Ie=(ye=l.reportData)==null?void 0:ye.segments)==null?void 0:Ie.length)>1?(e.openBlock(),e.createElementBlock("div",_M,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",XM,[e.createElementVNode("div",KM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",uM,[(xe=(Te=l.reportData)==null?void 0:Te.goodWx)!=null&&xe.avgSpd?(e.openBlock(),e.createElementBlock("div",qM,e.toDisplayString((Se=(ze=l.reportData)==null?void 0:ze.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",vM,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",e1,[(ke=(Ce=l.reportData)==null?void 0:Ce.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",t1,e.toDisplayString((je=(fe=l.reportData)==null?void 0:fe.goodWx)==null?void 0:je.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",o1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",n1,[(pe=(be=l.reportData)==null?void 0:be.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",a1,e.toDisplayString((he=(Ye=l.reportData)==null?void 0:Ye.goodWx)==null?void 0:he.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",s1,[e.createElementVNode("div",d1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",r1,e.toDisplayString((k=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:k.avgSpd)+" kts",1)]),e.createElementVNode("div",c1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",N1,e.toDisplayString((Qe=(Ve=l.reportData)==null?void 0:Ve.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",D1,[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=(Le=l.reportData)==null?void 0:Le.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((h=l.reportData)==null?void 0:h.segments,(r,ie)=>{var Ae,W,Fe;return e.openBlock(),e.createElementBlock("div",{key:ie,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",m1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ie+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(ce,Pe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Pe,class:e.normalizeClass(a.segDetail[ie].length>1?"dashed":"")},[e.createElementVNode("div",E1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port1),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time1),1)]),e.createElementVNode("div",y1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port2),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time2),1)])],2))),128)),e.createElementVNode("div",I1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",p1,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",A1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ae=r.goodWx)!=null&&Ae.distance?(e.openBlock(),e.createElementBlock("div",V1,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",T1,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",z1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",C1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(W=r.goodWx)!=null&&W.distance?(e.openBlock(),e.createElementBlock("div",k1,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",f1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",U1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",O1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Fe=r.goodWx)!=null&&Fe.distance?(e.openBlock(),e.createElementBlock("div",w1,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Y1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",B1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",R1,[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",F1,[e.createElementVNode("div",P1,[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,ie)=>(e.openBlock(),e.createElementBlock("div",{key:ie,class:"remark-speed"},[e.createElementVNode("div",L1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ie+1}. Phase ${ie+1} Applied `)+" ",1),e.createElementVNode("span",G1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(Ae,W)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+W},e.toDisplayString(`${Ae.port1} (${Ae.fullTime1}) to ${Ae.port2} (${Ae.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",W1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(r,ie)=>(e.openBlock(),e.createElementBlock("div",{key:ie},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",H1,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=l.reportData)==null?void 0:Ze.segments,(r,ie)=>{var Ae,W,Fe,ce,Pe,He,Je,Ke,ue,qe,$e,ve,et,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,pt,At,xt,zt,St,Ct,kt,ft,jt,bt,Ut,Ot,wt,Yt,ht,Qt,Bt,Rt,Ft,Pt,Lt,Gt,Wt,Zt,Ht,Jt,_t,Xt,Kt,I,Ue,f,tt,Vt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Sl,Cl,kl,fl,jl,bl,Ul,Ol,wl,Yl,hl,Ql,Bl,Rl,Fl,Pl,Ll,Gl,Wl,Zl,Hl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ie,class:"phase"},[e.createElementVNode("div",J1,[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ie+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(_e,$l)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+$l,class:e.normalizeClass(a.segDetail[ie].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port1),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time1),1)]),e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port2),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time2),1)])],2))),128)),e.createElementVNode("div",$1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",v1,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",eg,[e.createElementVNode("div",tg,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",lg,[e.createElementVNode("span",null,e.toDisplayString(((Ae=r.goodWx)==null?void 0:Ae.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",og,[e.createElementVNode("span",null,e.toDisplayString(((W=r.allWx)==null?void 0:W.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",ng,[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(((Fe=r.goodWx)==null?void 0:Fe.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ag,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ce=r.goodWx)==null?void 0:ce.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ig,[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(((Pe=r.allWx)==null?void 0:Pe.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",sg,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((He=r.allWx)==null?void 0:He.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1))]),e.createElementVNode("div",dg,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",rg,[e.createElementVNode("span",null,e.toDisplayString(((Je=r.goodWx)==null?void 0:Je.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cg,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Ng,[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",Dg,[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",Mg,[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",gg,[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",mg,[e.createElementVNode("div",Eg,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",yg,[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",Ig,[e.createElementVNode("span",null,e.toDisplayString(((ot=r.allWx)==null?void 0:ot.distance)||"-")+" nm",1)]),e.createElementVNode("div",pg,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=r.goodWx)==null?void 0:nt.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Ag,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=r.goodWx)==null?void 0:at.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Vg,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.allWx)==null?void 0:it.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Tg,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.allWx)==null?void 0:st.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",xg,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",zg,[e.createElementVNode("span",null,e.toDisplayString(((dt=r.goodWx)==null?void 0:dt.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Sg,[e.createElementVNode("span",null,e.toDisplayString(((rt=r.allWx)==null?void 0:rt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Cg,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",kg,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=r.goodWx)==null?void 0:Nt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",fg,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.allWx)==null?void 0:Dt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",jg,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.allWx)==null?void 0:Mt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bg,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Ug,[e.createElementVNode("span",null,e.toDisplayString(((gt=r.goodWx)==null?void 0:gt.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",Og,[e.createElementVNode("span",null,e.toDisplayString(((mt=r.allWx)==null?void 0:mt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",wg,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Yg,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=r.goodWx)==null?void 0:yt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hg,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.allWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Qg,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.allWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",Bg,[e.createElementVNode("div",Rg,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Fg,[e.createElementVNode("span",null,e.toDisplayString(((At=r.goodWx)==null?void 0:At.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Pg,[e.createElementVNode("span",null,e.toDisplayString(((xt=r.allWx)==null?void 0:xt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Lg,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((zt=r.goodWx)==null?void 0:zt.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Gg,[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",Wg,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zg,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Hg,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",Jg,[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",_g,[e.createElementVNode("span",null,e.toDisplayString(((jt=r.allWx)==null?void 0:jt.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Xg,[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",Kg,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ut=r.goodWx)==null?void 0:Ut.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ug,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.allWx)==null?void 0:Ot.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",qg,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",$g,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",vg,[e.createElementVNode("span",null,e.toDisplayString(((Yt=r.goodWx)==null?void 0:Yt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",em,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(ht=r.goodWx)!=null&&ht.distance&&!((Bt=(Qt=l.reportData)==null?void 0:Qt.weather)!=null&&Bt.favorableCur&&((Rt=r.goodWx)==null?void 0:Rt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",tm,[e.createTextVNode(e.toDisplayString(i.computedPositive((Ft=r.goodWx)==null?void 0:Ft.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",lm,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",om,[e.createElementVNode("div",nm,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Pt=r.goodWx)!=null&&Pt.distance?(e.openBlock(),e.createElementBlock("div",am,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",im,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",sm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",dm,[e.createElementVNode("span",rm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",cm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lt=r.goodWx)!=null&&Lt.distance?"":"analysis-none"} card analysis-card`)},[(Gt=r.goodWx)!=null&&Gt.distance?(e.openBlock(),e.createElementBlock("div",Nm,[e.createElementVNode("div",Dm,[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",Mm,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Wt=l.reportData)==null?void 0:Wt.weather)!=null&&Zt.noExtrapolation?(Ht=r.goodWx)==null?void 0:Ht.distance:(Jt=r.allWx)==null?void 0:Jt.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((_t=r.goodWx)==null?void 0:_t.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gm,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",mm,[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",Em,[e.createElementVNode("div",null,e.toDisplayString((Kt=(Xt=l.reportData)==null?void 0:Xt.weather)!=null&&Kt.noExtrapolation?(I=r.goodWx)==null?void 0:I.distance:(Ue=r.allWx)==null?void 0:Ue.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",ym,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",Im,[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",pm,[e.createElementVNode("div",null,e.toDisplayString((tt=(f=l.reportData)==null?void 0:f.weather)!=null&&tt.noExtrapolation?(Vt=r.goodWx)==null?void 0:Vt.distance:(ut=r.allWx)==null?void 0:ut.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",Am,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",Vm,[e.createElementVNode("div",Tm,[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",xm,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",zm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Cm,[e.createElementVNode("span",km,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",fm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=r.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(vt=r.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",jm,[e.createElementVNode("div",bm,[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",Um,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ll=r.goodWx)==null?void 0:ll.distance:(ol=r.allWx)==null?void 0:ol.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((nl=r.goodWx)==null?void 0:nl.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Om,[e.createElementVNode("div",null,e.toDisplayString((al=r.goodWx)==null?void 0:al.sumFoCons)+" "+e.toDisplayString(((il=r.allWx)==null?void 0:il.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((sl=r.goodWx)==null?void 0:sl.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",wm,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Ym,[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",hm,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?(cl=r.goodWx)==null?void 0:cl.distance:(Nl=r.allWx)==null?void 0:Nl.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Qm,[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",Bm,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Rm,[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",Fm,[e.createElementVNode("div",null,e.toDisplayString((Ml=(Dl=l.reportData)==null?void 0:Dl.weather)!=null&&Ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(ml=r.allWx)==null?void 0:ml.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Pm,[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",Lm,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((yl=(El=r==null?void 0:r.extend)==null?void 0:El.cp)==null?void 0:yl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Gm,[e.createElementVNode("div",Wm,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Il=r.goodWx)!=null&&Il.distance?(e.openBlock(),e.createElementBlock("div",Zm,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Hm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Jm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",_m,[e.createElementVNode("span",Xm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",Km,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(pl=r.goodWx)!=null&&pl.distance?"":"analysis-none"} card analysis-card`)},[(Al=r.goodWx)!=null&&Al.distance?(e.openBlock(),e.createElementBlock("div",um,[e.createElementVNode("div",qm,[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",$m,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.noExtrapolation?(xl=r.goodWx)==null?void 0:xl.distance:(zl=r.allWx)==null?void 0:zl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Sl=r.goodWx)==null?void 0:Sl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((Cl=r.goodWx)==null?void 0:Cl.sumDgoCons)+" "+e.toDisplayString(((kl=r.allWx)==null?void 0:kl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fl=r.goodWx)==null?void 0:fl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",eE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",tE,[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",lE,[e.createElementVNode("div",null,e.toDisplayString((bl=(jl=l.reportData)==null?void 0:jl.weather)!=null&&bl.noExtrapolation?(Ul=r.goodWx)==null?void 0:Ul.distance:(Ol=r.allWx)==null?void 0:Ol.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",oE,[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",nE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",aE,[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",iE,[e.createElementVNode("div",null,e.toDisplayString((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.noExtrapolation?(hl=r.goodWx)==null?void 0:hl.distance:(Ql=r.allWx)==null?void 0:Ql.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",sE,[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",dE,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",rE,[e.createElementVNode("div",cE,[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",NE,[e.createElementVNode("div",DE,[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((Rl=(Bl=l.reportData)==null?void 0:Bl.weather)!=null&&Rl.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",mE,[e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=l.reportData)==null?void 0:Fl.weather)!=null&&Pl.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",EE,[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",yE,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ll=l.reportData)==null?void 0:Ll.weather)!=null&&Gl.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",IE,[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",pE,[e.createElementVNode("div",AE,[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",VE,[e.createElementVNode("div",null,e.toDisplayString((Zl=(Wl=l.reportData)==null?void 0:Wl.weather)!=null&&Zl.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",TE,[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",xE,[e.createElementVNode("div",null,e.toDisplayString((_l=(Hl=l.reportData)==null?void 0:Hl.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",zE,[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 kE=Re(cM,[["render",CE],["__scopeId","data-v-b0ef3073"]]),CY="",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 a="";const i=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==i&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(a=a+" excluded"),a}},computedSegClass(){return function(o,t){var d,a;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((a=this.summaryTable[t+1])!=null&&a.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?G(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?G(o).utc().format("MMMM-DD/HHmm[Z]"):G(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}°${se.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,a,i,D;this.showCF=(a=(d=this.reportData)==null?void 0:d.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(D=(i=this.reportData)==null?void 0:i.segments)==null||D.forEach((s,c)=>{let m=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=m,o.push(M)})}),o.sort(function(s,c){let m=s.date,p=c.date;return m-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let m=s.type.charAt(0);s.abbreviation=m;const p=G(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),m==="A"?s.type="":m==="M"&&(s.type="*"),s.time=G(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(se.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(se.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},jE={id:"second-table",class:"table"},bE={class:"summary-table"},UE={class:"summary-tbody"},OE={class:"voyage-map",style:{"page-break-inside":"avoid"}},wE=["src"];function YE(o,t,l,d,a,i){var D,s,c,m,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||(m=(c=l.reportData)==null?void 0:c.weather)!=null&&m.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",jE,[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",UE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(N,M)=>{var x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(i.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.time),3),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString((x=N.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(y=N.cp)==null?void 0:y.speed),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.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(i.computedClass(N,M))},e.toDisplayString(((z=(S=(A=N.meteo)==null?void 0:A.wave)==null?void 0:S.swell)==null?void 0:z.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((j=(E=(C=N.meteo)==null?void 0:C.wave)==null?void 0:E.swell)==null?void 0:j.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((L=(F=(B=N.meteo)==null?void 0:B.wave)==null?void 0:F.sig)==null?void 0:L.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((g=N.meteo)==null?void 0:g.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((b=N.noon)==null?void 0:b.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((U=N.noon)==null?void 0:U.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(O=N.cp)==null?void 0:O.fo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(R=N.cp)==null?void 0:R.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((w=N.noon)==null?void 0:w.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((P=N.noon)==null?void 0:P.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(Q=N.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(Y=N.noon)==null?void 0:Y.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",OE,[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,wE),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=Re(fE,[["render",YE],["__scopeId","data-v-ec7ec0f5"]]),kY="",QE={components:{Summary:kE,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)}}},BE={class:"voyage-report"};function RE(o,t,l,d,a,i){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",BE,[e.createVNode(D,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:i.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const rs=Re(QE,[["render",RE],["__scopeId","data-v-77dca605"]]),fY="",FE={name:"OrmVoyageSummary",components:{Lng:Pn,Lat:Ln,Editor:vl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computeDuration(){return function(o,t){const l=G(o).diff(G(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${G(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(o){return se.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return se.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 m={time:G(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+G(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(m)});const i=(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([i])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},PE={class:"report-summary"},LE={class:"section voyage-section flex-space"},GE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},WE={class:"flex-space label-block",style:{width:"100%"}},ZE={style:{"text-transform":"uppercase"}},HE={class:"flex-space label-block",style:{width:"100%"}},JE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_E={class:"flex-space label-block",style:{width:"100%"}},XE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},KE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},uE={class:"flex-space label-block",style:{width:"100%"}},qE={key:0,class:"flex-end",style:{flex:"1"}},$E={key:1,class:"flex-end",style:{flex:"1"}},vE={class:"flex-end",style:{width:"150px"}},ey={class:"flex-space label-block",style:{width:"100%"}},ty={key:0,class:"flex-end",style:{flex:"1"}},ly={key:1,class:"flex-end",style:{flex:"1"}},oy={class:"flex-end",style:{width:"150px"}},ny={class:"flex-space label-block",style:{width:"100%"}},ay={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},iy={class:"section weather-section"},sy={class:"definition"},dy={class:"txt"},ry={class:"section summary-section"},cy={class:"phase-box"},Ny={class:"phase-index"},Dy={class:"phase-position"},My={key:0},gy={key:1},my={class:"phase-position"},Ey={key:0},yy={key:1},Iy={class:"phase-cp flex-space"},py={class:"cp-box"},Ay={class:"flex-space"},Vy={class:"phase-conclusion flex-space"},Ty={class:"item-conclusion"},xy={class:"value flex-start"},zy={key:0,class:"label flex-end"},Sy={key:0},Cy={key:1},ky={key:2},fy={key:1,class:"label flex-end"},jy={key:2,class:"value flex-end"},by={key:0},Uy={class:"gain"},Oy={key:1},wy={class:"lost"},Yy={key:2},hy={class:"item-conclusion"},Qy={class:"value flex-start"},By={key:0,class:"label flex-end"},Ry={key:0},Fy={key:1},Py={key:2},Ly={key:1,class:"label flex-end"},Gy={key:2,class:"value flex-end"},Wy={key:0},Zy={class:"gain"},Hy={key:1},Jy={class:"lost"},_y={key:2},Xy={class:"item-conclusion"},Ky={class:"value flex-start"},uy={key:0,class:"label flex-end"},qy={key:0},$y={key:1},vy={key:2},eI={key:1,class:"label flex-end"},tI={key:2,class:"value flex-end"},lI={key:0},oI={class:"gain"},nI={key:1},aI={class:"lost"},iI={key:2},sI={key:0,class:"exclusion-block"},dI={style:{margin:"8px 0"}},rI={class:"remark-table"},cI=["innerHTML"],NI={class:"section segment-section"},DI={class:"segment-index flex-center"},MI={class:"segment-position"},gI={key:0},mI={key:1},EI={class:"segment-position"},yI={key:0},II={key:1},pI={style:{margin:"10px 0 0"}},AI={class:"good-wx"},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},SI={class:"good-wx"},CI={class:"good-wx"},kI={class:"good-wx"},fI={class:"good-wx"},jI={class:"good-wx"},bI={class:"good-wx"},UI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={key:0,style:{"margin-top":"10px"}},hI={key:0},QI={key:0,class:"flex-end tip"},BI={key:1,class:"segment-speed"},RI={class:"flex-center"},FI={class:"speed-right flex-space"},PI={class:"speed"},LI={key:1,class:"speed"},GI={key:0,class:"speed"},WI={class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={key:2,class:"under"},_I={key:3,class:"over"},XI={class:"flex-center"},KI={class:"speed-right formula flex-space"},uI={key:0},qI={key:2,class:"segment-speed"},$I={class:"flex-center"},vI={class:"speed-right flex-space"},ep={class:"speed"},tp={class:"speed"},lp={key:2,class:"under"},op={key:3,class:"over"},np={class:"flex-center"},ap={class:"speed-right formula flex-space"},ip={class:"segment-formula"},sp={class:"header-block flex-start"},dp={class:"title"},rp={key:0,style:{"margin-left":"4px","font-weight":"300"}},cp={class:"formula-block"},Np={class:"flex-evenly"},Dp={class:"formula-right flex-evenly"},Mp={class:"fraction",style:{width:"240px"}},gp={class:"flex-center"},mp={class:"formula-left flex-space"},Ep={class:"formula-right flex-evenly"},yp={class:"fraction",style:{width:"240px"}},Ip={class:"flex-center"},pp={class:"formula-left flex-space"},Ap={class:"formula-right flex-evenly"},Vp={class:"fraction",style:{width:"240px"}},Tp={class:"formula-desc"},xp={class:"flex-end"},zp={class:"flex-end"},Sp={class:"flex-end"},Cp={key:0,class:"formula-block",style:{"font-weight":"400"}},kp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},jp={class:"fraction",style:{width:"240px"}},bp={class:"flex-center"},Up={class:"formula-left flex-space"},Op={class:"formula-right flex-evenly"},wp={class:"fraction",style:{width:"240px"}},Yp={class:"flex-center"},hp={class:"formula-left flex-space"},Qp={class:"formula-right flex-evenly"},Bp={class:"fraction",style:{width:"240px"}},Rp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Fp={key:0,class:"flex-evenly",style:{width:"500px"}},Pp={key:1,class:"flex-evenly",style:{width:"500px"}},Lp={key:1,class:"formula-conclusion"},Gp={class:"segment-formula"},Wp={class:"header-block flex-start"},Zp={class:"title"},Hp={key:0,style:{"margin-left":"4px","font-weight":"300"}},Jp={class:"formula-block"},_p={class:"flex-evenly"},Xp={class:"formula-right flex-evenly"},Kp={class:"fraction",style:{width:"240px"}},up={style:{"line-height":"1"}},qp={key:0,class:"tips flex-end",style:{"font-size":"14px"}},$p={class:"flex-center"},vp={class:"formula-right flex-evenly"},e0={class:"fraction",style:{width:"240px"}},t0={class:"flex-center"},l0={class:"formula-right flex-evenly"},o0={class:"fraction",style:{width:"240px"}},n0={class:"flex-center"},a0={class:"formula-right flex-evenly"},i0={class:"fraction",style:{width:"270px"}},s0={class:"flex-center"},d0={class:"formula-right flex-evenly"},r0={class:"fraction",style:{width:"270px"}},c0={class:"header-block flex-start",style:{"margin-top":"10px"}},N0={class:"title"},D0={key:0,class:"formula-block"},M0={key:0,class:"flex-evenly"},g0={class:"formula-right flex-evenly"},m0={class:"fraction",style:{width:"60px"}},E0={class:"fraction",style:{width:"60px"}},y0={class:"flex-evenly"},I0={class:"formula-right flex-evenly"},p0={class:"fraction",style:{width:"240px"}},A0={class:"fraction",style:{width:"240px"}},V0={key:0},T0={class:"flex-evenly"},x0={class:"formula-right flex-evenly"},z0={class:"fraction",style:{width:"240px"}},S0={class:"fraction",style:{width:"240px"}},C0={class:"flex-evenly"},k0={class:"formula-right flex-evenly"},f0={class:"fraction",style:{width:"240px"}},j0={class:"fraction",style:{width:"240px"}},b0={class:"formula-conclusion",style:{"margin-bottom":"0"}},U0={class:"flex-evenly",style:{width:"500px"}},O0={key:0,class:"flex-evenly"},w0={class:"fraction"},Y0={class:"flex-evenly",style:{width:"700px"}},h0={key:0,class:"flex-evenly",style:{width:"500px"}},Q0={class:"fraction",style:{width:"140px"}},B0={key:1,class:"formula-conclusion"},R0={class:"header-block flex-end",style:{"margin-top":"10px"}},F0={class:"title"},P0={key:0,class:"formula-block"},L0={class:"flex-evenly"},G0={class:"formula-right flex-evenly"},W0={class:"fraction",style:{width:"240px"}},Z0={class:"fraction",style:{width:"240px"}},H0={key:0},J0={class:"flex-evenly"},_0={class:"formula-right flex-evenly"},X0={class:"fraction",style:{width:"240px"}},K0={class:"fraction",style:{width:"240px"}},u0={class:"flex-evenly"},q0={class:"formula-right flex-evenly"},$0={class:"fraction",style:{width:"240px"}},v0={class:"fraction",style:{width:"240px"}},eA={class:"formula-conclusion",style:{"margin-bottom":"0"}},tA={key:0,class:"flex-evenly",style:{width:"500px"}},lA={key:1,class:"flex-evenly",style:{width:"700px"}},oA={key:1,class:"formula-conclusion"};function nA(o,t,l,d,a,i){var m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",PE,[e.createElementVNode("div",LE,[e.createElementVNode("div",GE,[e.createElementVNode("div",WE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",ZE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",HE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",JE,e.toDisplayString((p=(m=l.report)==null?void 0:m.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",_E,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",XE,e.toDisplayString(((y=(x=l.report)==null?void 0:x.voyage)==null?void 0:y.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",KE,[e.createElementVNode("div",uE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(A=l.report)==null?void 0:A.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",qE,e.toDisplayString((C=(z=l.report)==null?void 0:z.departure)==null?void 0:C.portName),1)):(e.openBlock(),e.createElementBlock("div",$E,[e.createVNode(D,{lat:(j=(E=l.report)==null?void 0:E.departure)==null?void 0:j.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:(B=l.report.departure)==null?void 0:B.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",vE,e.toDisplayString(i.computeUTCTime((F=l.report.departure)==null?void 0:F.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ey,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(g=(L=l.report)==null?void 0:L.arrival)!=null&&g.portName?(e.openBlock(),e.createElementBlock("span",ty,e.toDisplayString((U=(b=l.report)==null?void 0:b.arrival)==null?void 0:U.portName),1)):(e.openBlock(),e.createElementBlock("div",ly,[e.createVNode(D,{lat:(R=(O=l.report)==null?void 0:O.arrival)==null?void 0:R.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:(P=(w=l.report)==null?void 0:w.arrival)==null?void 0:P.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oy,e.toDisplayString(i.computeUTCTime((Y=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:Y.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ny,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",ay,e.toDisplayString((ee=(v=l.report)==null?void 0:v.voyage)==null?void 0:ee.loadCondition),1)])])]),e.createElementVNode("div",iy,[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",sy,[e.createElementVNode("div",dy,e.toDisplayString(i.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",ry,[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((te=l.report)==null?void 0:te.segments,(n,Z)=>{var u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze,r,ie,Ae;return e.openBlock(),e.createElementBlock("div",{key:"summary"+Z,class:"segment-box flex-space"},[e.createElementVNode("div",cy,[e.createElementVNode("div",Ny,"Seg."+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((u=n==null?void 0:n.extend)==null?void 0:u.segTimes,(W,Fe)=>{var ce,Pe,He,Je,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Fe,class:"phase-row flex-space"},[e.createElementVNode("div",Dy,[(ce=W==null?void 0:W.departure)!=null&&ce.portName?(e.openBlock(),e.createElementBlock("span",My,e.toDisplayString((Pe=W==null?void 0:W.departure)==null?void 0:Pe.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(i.computeLat((He=W==null?void 0:W.departure)==null?void 0:He.lat).pretty)+", "+e.toDisplayString(i.computeLng((Je=W==null?void 0:W.departure)==null?void 0:Je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Ke=W==null?void 0:W.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",my,[(ue=W==null?void 0:W.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",Ey,e.toDisplayString((qe=W==null?void 0:W.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString(i.computeLat(($e=W==null?void 0:W.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(i.computeLng((ve=W==null?void 0:W.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((et=W==null?void 0:W.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Iy,[e.createElementVNode("div",py,[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",Ay,[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(($=(q=n==null?void 0:n.extend)==null?void 0:q.cp)==null?void 0:$.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ae=(ne=n==null?void 0:n.extend)==null?void 0:ne.cp)==null?void 0:ae.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ne=(J=n==null?void 0:n.extend)==null?void 0:J.cp)==null?void 0:Ne.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((re=(X=n==null?void 0:n.extend)==null?void 0:X.cp)==null?void 0:re.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"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(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Me=(De=n==null?void 0:n.extend)==null?void 0:De.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(i.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(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Vy,[e.createElementVNode("div",Ty,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",xy,[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",zy,[((de=n==null?void 0:n.timeConclusion)==null?void 0:de.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Cy,"Time Lost")):(e.openBlock(),e.createElementBlock("div",ky,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jy,[((me=n==null?void 0:n.timeConclusion)==null?void 0:me.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Uy,e.toDisplayString((Ee=n==null?void 0:n.timeConclusion)==null?void 0:Ee.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((ye=n==null?void 0:n.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Oy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",wy,e.toDisplayString((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Yy,"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",Qy,[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",By,[((xe=(Te=n==null?void 0:n.fuelConclusion)==null?void 0:Te.fo)==null?void 0:xe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ry,"FO Saving")):((Se=(ze=n==null?void 0:n.fuelConclusion)==null?void 0:ze.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Fy,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Py,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Ly,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Gy,[((ke=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Wy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Zy,e.toDisplayString((je=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:je.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((pe=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Hy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Jy,e.toDisplayString((he=(Ye=n==null?void 0:n.fuelConclusion)==null?void 0:Ye.fo)==null?void 0:he.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",_y,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xy,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",Ky,[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",uy,[((k=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:k.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",qy,"DO/GO Saving")):((Qe=(Ve=n==null?void 0:n.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",vy,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",eI,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",tI,[((Ge=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",lI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",oI,e.toDisplayString((We=(h=n==null?void 0:n.fuelConclusion)==null?void 0:h.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",nI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",aI,e.toDisplayString((Ae=(ie=n==null?void 0:n.fuelConclusion)==null?void 0:ie.dgo)==null?void 0:Ae.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",iI,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((le=l.report)==null?void 0:le.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),a.exclusion.length?(e.openBlock(),e.createElementBlock("div",sI,[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",dI,[e.createElementVNode("table",rI,[t[43]||(t[43]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(n,Z)=>(e.openBlock(),e.createElementBlock("tr",{key:Z},[e.createElementVNode("td",null,e.toDisplayString(Z+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((oe=l.report)==null?void 0:oe.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>a.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>i.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>i.handleEdit&&i.handleEdit(...n)),innerHTML:a.remarks},null,40,cI))],2)],2),e.createElementVNode("div",NI,[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,Z)=>{var u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze,r,ie,Ae,W,Fe,ce,Pe,He,Je,Ke,ue,qe,$e,ve,et,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,pt,At,xt,zt,St,Ct,kt,ft,jt,bt,Ut,Ot,wt,Yt,ht,Qt,Bt,Rt,Ft,Pt,Lt,Gt,Wt,Zt,Ht,Jt,_t,Xt,Kt,I,Ue,f,tt,Vt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Sl,Cl,kl,fl,jl,bl,Ul,Ol,wl,Yl,hl,Ql,Bl,Rl,Fl,Pl,Ll,Gl,Wl,Zl,Hl,_l,Xl,Kl,_e,$l,eo,to,lo,oo,no,ao,io,so,ro,co,No,Do,Mo,go,mo,Eo,yo,Io,po,Ao,Vo,To,xo,zo,So,Co,ko,fo,jo,bo,Uo,Oo,wo,Yo,ho,Qo,Bo,Ro,Fo,Po,Lo,Go,Wo,Zo,Ho,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,_,Jl,cn,Nn,Dn,Mn,gn,mn,En,yn,Xe,Vn,Tn,xn,zn,K,ul,Sn,Cn,kn,fn,jn,bn,Un,On,lt,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ga,ma,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Sa,Ca,ka,fa,ja,ba,Ua,Oa,wa,Ya,ha,Qa,Ba,Ra,Fa,Pa,La,Ga,Wa,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,gi,mi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Si,Ci,ki,fi,ji,bi,Ui,Oi,wi,Yi,hi,Qi,Bi,Ri,Fi,Pi,Li,Gi,Wi,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:Z,class:"segment-block"},[e.createElementVNode("div",DI,"Voyage Analysis Seg. "+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((u=n==null?void 0:n.extend)==null?void 0:u.segTimes,(we,Zn)=>{var In,pn,wn,Yn,hn,Qn,Bn,Rn,$i,vi;return e.openBlock(),e.createElementBlock("div",{key:Zn,class:"segment-row flex-space"},[e.createElementVNode("div",MI,[(In=we==null?void 0:we.departure)!=null&&In.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((pn=we==null?void 0:we.departure)==null?void 0:pn.portName),1)):(e.openBlock(),e.createElementBlock("span",mI,e.toDisplayString(i.computeLat((wn=we==null?void 0:we.departure)==null?void 0:wn.lat).pretty)+", "+e.toDisplayString(i.computeLng((Yn=we==null?void 0:we.departure)==null?void 0:Yn.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((hn=we==null?void 0:we.departure)==null?void 0:hn.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",EI,[(Qn=we==null?void 0:we.arrival)!=null&&Qn.portName?(e.openBlock(),e.createElementBlock("span",yI,e.toDisplayString((Bn=we==null?void 0:we.arrival)==null?void 0:Bn.portName),1)):(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString(i.computeLat((Rn=we==null?void 0:we.arrival)==null?void 0:Rn.lat).pretty)+", "+e.toDisplayString(i.computeLng(($i=we==null?void 0:we.arrival)==null?void 0:$i.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((vi=we==null?void 0:we.arrival)==null?void 0:vi.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",pI,[e.createElementVNode("table",null,[t[55]||(t[55]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),t[56]||(t[56]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",AI,e.toDisplayString(($=(q=n==null?void 0:n.goodWx)==null?void 0:q.outEca)==null?void 0:$.distance),1),e.createElementVNode("td",VI,e.toDisplayString((ae=(ne=n==null?void 0:n.goodWx)==null?void 0:ne.inEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(J=n==null?void 0:n.allWx)==null?void 0:J.outEca)==null?void 0:Ne.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(X=n==null?void 0:n.allWx)==null?void 0:X.inEca)==null?void 0:re.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",TI,e.toDisplayString((Me=(De=n==null?void 0:n.goodWx)==null?void 0:De.outEca)==null?void 0:Me.time),1),e.createElementVNode("td",xI,e.toDisplayString((ge=(de=n==null?void 0:n.goodWx)==null?void 0:de.inEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(me=n==null?void 0:n.allWx)==null?void 0:me.outEca)==null?void 0:Ee.time),1),e.createElementVNode("td",null,e.toDisplayString((Ie=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Ie.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",zI,e.toDisplayString(((xe=(Te=n==null?void 0:n.goodWx)==null?void 0:Te.outEca)==null?void 0:xe.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(ze=n==null?void 0:n.goodWx)==null?void 0:ze.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ke=(Ce=n==null?void 0:n.allWx)==null?void 0:Ce.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(fe=n==null?void 0:n.allWx)==null?void 0:fe.inEca)==null?void 0:je.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",CI,e.toDisplayString(((pe=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",kI,e.toDisplayString(((he=(Ye=n==null?void 0:n.goodWx)==null?void 0:Ye.inEca)==null?void 0:he.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((k=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:k.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.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=(Le=n==null?void 0:n.goodWx)==null?void 0:Le.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",jI,e.toDisplayString(((We=(h=n==null?void 0:n.goodWx)==null?void 0:h.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ae=(ie=n==null?void 0:n.allWx)==null?void 0:ie.inEca)==null?void 0:Ae.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(((Fe=(W=n==null?void 0:n.goodWx)==null?void 0:W.outEca)==null?void 0:Fe.sumDgoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((Pe=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Pe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(He=n==null?void 0:n.allWx)==null?void 0:He.outEca)==null?void 0:Je.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",OI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",wI,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(((nt=(ot=n==null?void 0:n.allWx)==null?void 0:ot.outEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.inEca)==null?void 0:it.avgDgoCons)||"--"),1)])]),(st=n==null?void 0:n.goodWx)!=null&&st.distance?(e.openBlock(),e.createElementBlock("table",YI,[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(a.noons[Z],(we,Zn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Zn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(we,(In,pn)=>{var wn,Yn,hn,Qn,Bn,Rn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:pn},[In.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(In.type)+" "+e.toDisplayString(i.computeUTCTime(In.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(i.computeUTCTime((hn=we[pn-1]||((Yn=(wn=a.noons[Z-1])==null?void 0:wn[0])==null?void 0:Yn.at(-1)))==null?void 0:hn.utc,"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeUTCTime(In.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(i.computeDuration(In.utc,(Rn=we[pn-1]||((Bn=(Qn=a.noons[Z-1])==null?void 0:Qn[0])==null?void 0:Bn.at(-1)))==null?void 0:Rn.utc)),1)])])):e.createCommentVNode("",!0)],64)}),128))],64))),128))])):e.createCommentVNode("",!0)]),(dt=a.exclusion[Z])!=null&&dt.time?(e.openBlock(),e.createElementBlock("div",QI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("div",BI,[e.createElementVNode("div",RI,[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",FI,[(Nt=(ct=l.report)==null?void 0:ct.weather)!=null&&Nt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(xt=l.report)==null?void 0:xt.weather)!=null&&zt.disableWxFactor&&((Ct=(St=l.report)==null?void 0:St.weather)!=null&&Ct.disableCFactor)?(e.openBlock(),e.createElementBlock("span",GI,e.toDisplayString((kt=n==null?void 0:n.goodWx)==null?void 0:kt.pfmSpd)+" (kts)",1)):(jt=(ft=l.report)==null?void 0:ft.weather)!=null&&jt.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(((Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf)>0?(Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf:`(${(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",WI,e.toDisplayString((Yt=n==null?void 0:n.goodWx)==null?void 0:Yt.pfmSpd)+" (kts)",1)],64)):(Qt=(ht=l.report)==null?void 0:ht.weather)!=null&&Qt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf)>0?(Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.avgWf:`(${(Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((Lt=n==null?void 0:n.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.avgSpd),1),t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Wt=n==null?void 0:n.goodWx)==null?void 0:Wt.avgWf)>0?(Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgWf:`(${(Ht=n==null?void 0:n.goodWx)==null?void 0:Ht.avgWf})`),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.avgCf)>0?(_t=n==null?void 0:n.goodWx)==null?void 0:_t.avgCf:`(${(Xt=n==null?void 0:n.goodWx)==null?void 0:Xt.avgCf})`),1),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.favorableCur&&((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((mt=n==null?void 0:n.goodWx)==null?void 0:mt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgCf:`(${(It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",PI,e.toDisplayString((pt=n==null?void 0:n.goodWx)==null?void 0:pt.pfmSpd)+" (kts)",1)],64))],64)),((I=n==null?void 0:n.goodWx)==null?void 0:I.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",JI,"(Under-performance)")):e.createCommentVNode("",!0),((Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",_I,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XI,[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",KI,[(tt=(f=l.report)==null?void 0:f.weather)!=null&&tt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(vt=($t=l.report)==null?void 0:$t.weather)!=null&&vt.disableWxFactor&&((tl=(el=l.report)==null?void 0:el.weather)!=null&&tl.disableCFactor)?(e.openBlock(),e.createElementBlock("label",uI,"GW Average Speed")):(ol=(ll=l.report)==null?void 0:ll.weather)!=null&&ol.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)):(al=(nl=l.report)==null?void 0:nl.weather)!=null&&al.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[81]||(t[81]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"-",-1)),t[83]||(t[83]=e.createElementVNode("label",null,"GW Weather Factor",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(ut=(Vt=l.report)==null?void 0:Vt.weather)!=null&&ut.favorableCur&&((qt=n==null?void 0:n.goodWx)==null?void 0:qt.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",qI,[e.createElementVNode("div",$I,[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",vI,[(sl=(il=l.report)==null?void 0:il.weather)!=null&&sl.favorableCur&&((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((yl=n==null?void 0:n.allWx)==null?void 0:yl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Il=n==null?void 0:n.allWx)==null?void 0:Il.avgWf)>0?(pl=n==null?void 0:n.allWx)==null?void 0:pl.avgWf:`(${(Al=n==null?void 0:n.allWx)==null?void 0:Al.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",tp,e.toDisplayString((Vl=n==null?void 0:n.allWx)==null?void 0:Vl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((rl=n==null?void 0:n.allWx)==null?void 0:rl.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((cl=n==null?void 0:n.allWx)==null?void 0:cl.avgCf)>0?(Nl=n==null?void 0:n.allWx)==null?void 0:Nl.avgCf:`(${(Dl=n==null?void 0:n.allWx)==null?void 0:Dl.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.avgWf)>0?(gl=n==null?void 0:n.allWx)==null?void 0:gl.avgWf:`(${(ml=n==null?void 0:n.allWx)==null?void 0:ml.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ep,e.toDisplayString((El=n==null?void 0:n.allWx)==null?void 0:El.pfmSpd)+" (kts)",1)],64)),((Tl=n==null?void 0:n.allWx)==null?void 0:Tl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",lp,"(Under-performance)")):e.createCommentVNode("",!0),((xl=n==null?void 0:n.allWx)==null?void 0:xl.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",op,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",np,[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",ap,[(Sl=(zl=l.report)==null?void 0:zl.weather)!=null&&Sl.favorableCur&&((Cl=n==null?void 0:n.allWx)==null?void 0:Cl.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",ip,[e.createElementVNode("div",sp,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",dp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Time Analysis",1),(fl=(kl=l.report)==null?void 0:kl.weather)!=null&&fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",rp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cp,[e.createElementVNode("div",Np,[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",Dp,[e.createElementVNode("div",Mp,[e.createElementVNode("div",null,e.toDisplayString((bl=(jl=l.report)==null?void 0:jl.weather)!=null&&bl.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",mp,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ol=(Ul=n==null?void 0:n.extend)==null?void 0:Ul.cp)==null?void 0:Ol.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Ep,[e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((Yl=(wl=l.report)==null?void 0:wl.weather)!=null&&Yl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ql=(hl=n==null?void 0:n.extend)==null?void 0:hl.cp)==null?void 0:Ql.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",Ip,[e.createElementVNode("div",pp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Rl=(Bl=n==null?void 0:n.extend)==null?void 0:Bl.cp)==null?void 0:Rl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Vp,[e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=l.report)==null?void 0:Fl.weather)!=null&&Pl.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Gl=(Ll=n==null?void 0:n.extend)==null?void 0:Ll.cp)==null?void 0:Gl.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-d5bd5e44><div class="flex-space" style="width:300px;font-weight:400;" data-v-d5bd5e44><label data-v-d5bd5e44>Time Lost</label><div data-v-d5bd5e44>=</div><div data-v-d5bd5e44>(a)</div><div data-v-d5bd5e44>-</div><div data-v-d5bd5e44>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d5bd5e44><label data-v-d5bd5e44>Time Gained</label><div data-v-d5bd5e44>=</div><div data-v-d5bd5e44>(c)</div><div data-v-d5bd5e44>-</div><div data-v-d5bd5e44>(a)</div></div></div>',1))]),e.createElementVNode("div",Tp,[e.createElementVNode("div",xp,[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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Zl=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:Zl.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",zp,[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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(_l=(Hl=n==null?void 0:n.extend)==null?void 0:Hl.cp)==null?void 0:_l.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,($l=(_e=n==null?void 0:n.extend)==null?void 0:_e.cp)==null?void 0:$l.speed,"Under"))+" kts) ",1)])]),(eo=n==null?void 0:n.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",Cp,[e.createElementVNode("div",kp,[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",jp,[e.createElementVNode("div",null,e.toDisplayString((lo=(to=l.report)==null?void 0:to.weather)!=null&&lo.noExtrapolation?(oo=n==null?void 0:n.goodWx)==null?void 0:oo.distance:(no=n==null?void 0:n.allWx)==null?void 0:no.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ao=n==null?void 0:n.goodWx)==null?void 0:ao.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((io=n==null?void 0:n.timeConclusion)==null?void 0:io.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",bp,[e.createElementVNode("div",Up,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ro=(so=n==null?void 0:n.extend)==null?void 0:so.cp)==null?void 0:ro.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Op,[e.createElementVNode("div",wp,[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[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.timeConclusion)==null?void 0:mo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Yp,[e.createElementVNode("div",hp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.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,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Qp,[e.createElementVNode("div",Bp,[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[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",Rp,[((zo=n==null?void 0:n.timeConclusion)==null?void 0:zo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Fp,[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((So=n==null?void 0:n.timeConclusion)==null?void 0:So.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Co=n==null?void 0:n.timeConclusion)==null?void 0:Co.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ko=n==null?void 0:n.timeConclusion)==null?void 0:ko.timeLost)+" (hrs)",1)])):((fo=n==null?void 0:n.timeConclusion)==null?void 0:fo.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Pp,[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((jo=n==null?void 0:n.timeConclusion)==null?void 0:jo.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((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?"flex-center lost":((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.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(((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Lp,e.toDisplayString(a.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",Gp,[e.createElementVNode("div",Wp,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Zp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Consumption Analysis",1),(Qo=(ho=l.report)==null?void 0:ho.weather)!=null&&Qo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Hp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Jp,[e.createElementVNode("div",_p,[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",Xp,[e.createElementVNode("div",Kp,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Bo=l.report)==null?void 0:Bo.weather)!=null&&Ro.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",up,[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)),((Po=(Fo=n.extend)==null?void 0:Fo.cp)==null?void 0:Po.dgo)>0?(e.openBlock(),e.createElementBlock("div",qp," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",$p,[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",vp,[e.createElementVNode("div",e0,[e.createElementVNode("div",null,e.toDisplayString((Go=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Go.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Zo=(Wo=n==null?void 0:n.extend)==null?void 0:Wo.cp)==null?void 0:Zo.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",t0,[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",l0,[e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Ho=l.report)==null?void 0:Ho.weather)!=null&&Jo.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Xo=(_o=n==null?void 0:n.extend)==null?void 0:_o.cp)==null?void 0:Xo.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-d5bd5e44><div class="flex-space" style="width:300px;font-weight:400;" data-v-d5bd5e44><label data-v-d5bd5e44>Fuel Over-consumption</label><div data-v-d5bd5e44>=</div><div data-v-d5bd5e44>(d)</div><div data-v-d5bd5e44>-</div><div data-v-d5bd5e44>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d5bd5e44><label data-v-d5bd5e44>Fuel Saving</label><div data-v-d5bd5e44>=</div><div data-v-d5bd5e44>(f)</div><div data-v-d5bd5e44>-</div><div data-v-d5bd5e44>(d)</div></div></div>',1)),((uo=(Ko=n.extend)==null?void 0:Ko.cp)==null?void 0:uo.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",n0,[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",a0,[e.createElementVNode("div",i0,[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(($o=(qo=l.report)==null?void 0:qo.weather)!=null&&$o.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",s0,[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",d0,[e.createElementVNode("div",r0,[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((en=(vo=l.report)==null?void 0:vo.weather)!=null&&en.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",c0,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"},"  ",-1)),e.createElementVNode("div",N0,"Seg. "+e.toDisplayString(Z+1)+" Fuel Oil",1)]),(tn=n==null?void 0:n.goodWx)!=null&&tn.distance?(e.openBlock(),e.createElementBlock("div",D0,[((on=(ln=n==null?void 0:n.goodWx)==null?void 0:ln.inEca)==null?void 0:on.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",m0,[e.createElementVNode("div",null,e.toDisplayString((an=(nn=n==null?void 0:n.goodWx)==null?void 0:nn.inEca)==null?void 0:an.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",E0,[e.createElementVNode("div",null,e.toDisplayString((dn=(sn=n==null?void 0:n.extend)==null?void 0:sn.cp)==null?void 0:dn.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((_=(rn=n==null?void 0:n.goodWx)==null?void 0:rn.inEca)==null?void 0:_.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((cn=(Jl=n==null?void 0:n.fuelConclusion)==null?void 0:Jl.fo)==null?void 0:cn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",y0,[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",I0,[e.createElementVNode("div",p0,[e.createElementVNode("div",null,e.toDisplayString((Dn=(Nn=l.report)==null?void 0:Nn.weather)!=null&&Dn.noExtrapolation?(Mn=n==null?void 0:n.goodWx)==null?void 0:Mn.distance:(gn=n==null?void 0:n.allWx)==null?void 0:gn.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mn=n==null?void 0:n.goodWx)==null?void 0:mn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",A0,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((En=n==null?void 0:n.goodWx)==null?void 0:En.sumFoCons),1),((Xe=(yn=n==null?void 0:n.goodWx)==null?void 0:yn.inEca)==null?void 0:Xe.distance)>0?(e.openBlock(),e.createElementBlock("span",V0,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((Tn=(Vn=n==null?void 0:n.fuelConclusion)==null?void 0:Vn.fo)==null?void 0:Tn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((xn=n==null?void 0:n.goodWx)==null?void 0:xn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((K=(zn=n.fuelConclusion)==null?void 0:zn.fo)==null?void 0:K.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",T0,[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",x0,[e.createElementVNode("div",z0,[e.createElementVNode("div",null,e.toDisplayString((Sn=(ul=l.report)==null?void 0:ul.weather)!=null&&Sn.noExtrapolation?(Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.distance:(kn=n==null?void 0:n.allWx)==null?void 0:kn.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fn=n==null?void 0:n.timeConclusion)==null?void 0:fn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",S0,[e.createElementVNode("div",null,e.toDisplayString((bn=(jn=n==null?void 0:n.fuelConclusion)==null?void 0:jn.fo)==null?void 0:bn.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((On=(Un=n.fuelConclusion)==null?void 0:Un.fo)==null?void 0:On.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",C0,[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",k0,[e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((Jn=(lt=l.report)==null?void 0:lt.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",j0,[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",U0,[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",O0,[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",w0,[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((ma=(ga=l.report)==null?void 0:ga.weather)!=null&&ma.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",Y0,[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((Sa=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Sa.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Ca=n==null?void 0:n.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:ka.saving)+" (mt)",1)]),(ja=(fa=n==null?void 0:n.goodWx)==null?void 0:fa.inEca)!=null&&ja.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",Q0,[e.createElementVNode("div",null,e.toDisplayString((Ua=(ba=l.report)==null?void 0:ba.weather)!=null&&Ua.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(ha=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:ha.distance)+" * "+e.toDisplayString((Ba=(Qa=n==null?void 0:n.fuelConclusion)==null?void 0:Qa.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:(La=n==null?void 0:n.allWx)==null?void 0:La.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Wa=(Ga=n==null?void 0:n.fuelConclusion)==null?void 0:Ga.fo)==null?void 0:Wa.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",B0,e.toDisplayString(a.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",R0,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",F0,"Seg. "+e.toDisplayString(Z+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",P0,[e.createElementVNode("div",L0,[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",G0,[e.createElementVNode("div",W0,[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",Z0,[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",H0,[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",J0,[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",_0,[e.createElementVNode("div",X0,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(gi=n==null?void 0:n.goodWx)==null?void 0:gi.distance:(mi=n==null?void 0:n.allWx)==null?void 0:mi.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",K0,[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",u0,[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",q0,[e.createElementVNode("div",$0,[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((Si=n==null?void 0:n.timeConclusion)==null?void 0:Si.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",v0,[e.createElementVNode("div",null,e.toDisplayString((ki=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.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((ji=(fi=n.fuelConclusion)==null?void 0:fi.dgo)==null?void 0:ji.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",eA,[((Ui=(bi=n==null?void 0:n.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:Ui.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",tA,[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((hi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:hi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(Qi=n==null?void 0:n.fuelConclusion)==null?void 0:Qi.dgo)==null?void 0:Bi.overCons),1)])):((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.fo)==null?void 0:Fi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",lA,[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((Li=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Li.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Wi=(Gi=n==null?void 0:n.fuelConclusion)==null?void 0:Gi.dgo)==null?void 0:Wi.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",oA,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const aA=Re(FE,[["render",nA],["__scopeId","data-v-d5bd5e44"]]),jY="",iA={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`${G(o).utc().format(t)}`}},computeLng(){return function(o){return se.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return se.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?se.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,a,i,D,s,c,m,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=((i=(a=this.report)==null?void 0:a.weather)==null?void 0:i.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((m=(c=this.report)==null?void 0:c.weather)==null?void 0:m.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},sA={class:"report-inventory"},dA={class:"section summary-section"},rA={class:"summary-block"},cA={class:"label",rowspan:"4"},NA={class:"section inventory-section"},DA={class:"inventory-block flex-center"},MA={style:{"font-size":"12px"}},gA=["colspan"],mA={key:0,class:"label",colspan:"2"},EA={key:0,class:"label",rowspan:"2"},yA={key:1,class:"label",rowspan:"2"},IA={key:2,class:"label",rowspan:"2"},pA={key:3,class:"label",colspan:"2"},AA={key:4,class:"label",rowspan:"2"},VA={key:5,class:"label",colspan:"2"},TA={key:6,class:"label",rowspan:"2"},xA={key:7,class:"label",rowspan:"2"},zA={key:8,class:"label",rowspan:"2"},SA={key:0,class:"label"},CA={key:1,class:"label"},kA={key:2,class:"label"},fA={key:3,class:"label"},jA={class:"summary-tbody"};function bA(o,t,l,d,a,i){var D;return e.openBlock(),e.createElementBlock("div",sA,[e.createElementVNode("div",dA,[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",rA,[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 m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",cA,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((m=s==null?void 0:s.allWx)==null?void 0:m.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((x=s==null?void 0:s.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((y=s==null?void 0:s.goodWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.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(i.computePrecision((z=s==null?void 0:s.badWx)==null?void 0:z.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((C=s==null?void 0:s.badWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((E=s==null?void 0:s.badWx)==null?void 0:E.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((j=s==null?void 0:s.badWx)==null?void 0:j.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((B=s==null?void 0:s.badWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((F=s==null?void 0:s.excluded)==null?void 0:F.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((L=s==null?void 0:s.excluded)==null?void 0:L.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((g=s==null?void 0:s.excluded)==null?void 0:g.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((b=s==null?void 0:s.excluded)==null?void 0:b.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((U=s==null?void 0:s.excluded)==null?void 0:U.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",NA,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-fcb1f7ca><div class="flex-start" style="flex:1.2;" data-v-fcb1f7ca><div class="legend good-wx" data-v-fcb1f7ca></div><div class="label flex-end" data-v-fcb1f7ca>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-fcb1f7ca><div class="legend adverse-wx" data-v-fcb1f7ca></div><div class="label" data-v-fcb1f7ca>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-fcb1f7ca><div class="legend excluded" data-v-fcb1f7ca></div><div class="label" data-v-fcb1f7ca>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-fcb1f7ca><div data-v-fcb1f7ca><label data-v-fcb1f7ca>B</label><span data-v-fcb1f7ca>BOSP</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>N</label><span data-v-fcb1f7ca>NOON</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>E</label><span data-v-fcb1f7ca>EOSP</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>*</label><span data-v-fcb1f7ca>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-fcb1f7ca> The &#39;ORM Analysis Weather&#39; row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",DA,[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:i.computeWxColspan},"ORM Weather Analysis",8,gA),l.showFactor?(e.openBlock(),e.createElementBlock("th",mA,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",EA,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",yA,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),a.showWave?(e.openBlock(),e.createElementBlock("th",IA,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",pA,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",AA,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",VA,"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",TA,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",xA,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",zA,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),a.showSwell?(e.openBlock(),e.createElementBlock("th",SA,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",CA,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",kA,"Dir")):e.createCommentVNode("",!0),a.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",jA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P;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)&&((m=s.noon)!=null&&m.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2"},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(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(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"?"-":((y=(x=s.meteo)==null?void 0:x.wind)==null?void 0:y.scale)??"-"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:A.height)??"-"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((C=(z=(S=s.meteo)==null?void 0:S.wave)==null?void 0:z.swell)==null?void 0:C.direction)??"-"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((B=(j=(E=s.meteo)==null?void 0:E.wave)==null?void 0:j.swell)==null?void 0:B.height)??"-"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((g=(L=(F=s.meteo)==null?void 0:F.wave)==null?void 0:L.sig)==null?void 0:g.height)??"-"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((U=(b=s.meteo)==null?void 0:b.current)==null?void 0:U.direction)??"-"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=s.meteo)==null?void 0:O.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((R=s.meteo)==null?void 0:R.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(((w=s.meteo)==null?void 0:w.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((P=s.meteo)==null?void 0:P.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const UA=Re(iA,[["render",bA],["__scopeId","data-v-fcb1f7ca"]]),bY="",OA={name:"OrmVoyageChart",components:{Lng:Pn,Lat:Ln},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`${G(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(Wn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Wn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Wn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,x,y,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 a=0,i=0;const D=this.inventory.filter(A=>A.noon)||[],s=[];this.inventory.forEach((A,S)=>{var z,C;S===0&&s.push(A.utc),A.type==="EOSP"&&((z=this.inventory[S+1])==null?void 0:z.type)==="BOSP"&&(s.push(A.utc),s.push((C=this.inventory[S+1])==null?void 0:C.utc)),S===this.inventory.length-1&&s.push(A.utc)}),s.forEach((A,S)=>{if(S%2===0){const z=G(s[S+1]).diff(G(s[S]),"minute",!0);for(let C=0;C<=z+1;C++)t.push(this.computeUTCTime(G(s[S]).clone().utc().add(C,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((A,S)=>{var C,E,j,B,F,L,g,b,U,O,R,w,P,Q;const z=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(Y=>Y.slice(0,5)===A.utc.slice(5,10))&&o.push(z),S===D.length-1&&(o=o.filter(Y=>Y.slice(0,5)!==A.utc.slice(5,10)),o.push(z)),a=Math.ceil(((C=A.noon)==null?void 0:C.foCons)>a?(E=A.noon)==null?void 0:E.foCons:a),a=Math.ceil(((j=A.cp)==null?void 0:j.fo)>a?(B=A.cp)==null?void 0:B.fo:a),i=Math.ceil(((F=A.noon)==null?void 0:F.dgoCons)>i?(L=A.noon)==null?void 0:L.dgoCons:i),i=Math.ceil(((g=A.cp)==null?void 0:g.dgo)>i?(b=A.cp)==null?void 0:b.dgo:i),l.push([z,(U=A.noon)==null?void 0:U.avgSpd,(O=A.noon)==null?void 0:O.foCons,(R=A.noon)==null?void 0:R.dgoCons,A.avgSpdCalc,A.cp.speed,A.goodWx&&!A.excluded?100:0,A.cp.dgo,A.cp.fo,A.excluded?100:0]),S<D.length-1){const Y=D[S+1];l.push([z,(w=Y.noon)==null?void 0:w.avgSpd,(P=Y.noon)==null?void 0:P.foCons,(Q=Y.noon)==null?void 0:Q.dgoCons,Y.avgSpdCalc,Y.cp.speed,Y.goodWx&&!Y.excluded?100:0,Y.cp.dgo,Y.cp.fo,Y.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((A,S)=>S===0||S===o.length-1||S%c===0);const m={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:a+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}]};(x=this.spdFoConsChart)==null||x.setOption(m);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:i+.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=(y=this.report)==null?void 0:y.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 x;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 a=4;const i=this.inventory||[],D=[];i.forEach((y,V)=>{var T,A;V===0&&D.push(y.utc),y.type==="EOSP"&&((T=i[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(y.utc),D.push((A=i[V+1])==null?void 0:A.utc)),V===i.length-1&&D.push(y.utc)}),D.forEach((y,V)=>{if(V%2===0){const T=G(D[V+1]).diff(G(D[V]),"minute",!0);for(let A=0;A<=T+1;A++)t.push(this.computeUTCTime(G(D[V]).clone().utc().add(A,"m").format(),"MM-DD/HHmm[Z]"))}}),i.forEach((y,V)=>{var A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe,n,Z,u,q,$,ne,ae;const T=this.computeUTCTime(y.utc,"MM-DD/HHmm[Z]");if(y.noon&&!o.some(J=>J.slice(0,5)===y.utc.slice(5,10))&&o.push(T),V===i.length-1&&(o=o.filter(J=>J.slice(0,5)!==y.utc.slice(5,10)),o.push(T)),a=Math.ceil(((z=(S=(A=y.meteo)==null?void 0:A.wave)==null?void 0:S.sig)==null?void 0:z.height)>a?(j=(E=(C=y.meteo)==null?void 0:C.wave)==null?void 0:E.sig)==null?void 0:j.height:a),l.push([T,((B=y.noon)==null?void 0:B.windBF)||((L=(F=y.meteo)==null?void 0:F.wind)==null?void 0:L.scale),(b=(g=y.meteo)==null?void 0:g.wind)==null?void 0:b.scale,(O=(U=y.meteo)==null?void 0:U.wind)==null?void 0:O.direction,(R=y.noon)==null?void 0:R.seasHt,(Q=(P=(w=y.meteo)==null?void 0:w.wave)==null?void 0:P.sig)==null?void 0:Q.height,y.dailyAvgCf??((Y=l[l.length-1])==null?void 0:Y[d.anlyCurFct]),y.goodWx&&!y.excluded?20:0,y.excluded?20:0]),V<i.length-1){const J=i[V+1];l.push([T,((v=y.noon)==null?void 0:v.windBF)||((te=(ee=y.meteo)==null?void 0:ee.wind)==null?void 0:te.scale),(oe=(le=J.meteo)==null?void 0:le.wind)==null?void 0:oe.scale,(Z=(n=J.meteo)==null?void 0:n.wind)==null?void 0:Z.direction,(u=J.noon)==null?void 0:u.seasHt,(ne=($=(q=y.meteo)==null?void 0:q.wave)==null?void 0:$.sig)==null?void 0:ne.height,J.dailyAvgCf??((ae=l[l.length-1])==null?void 0:ae[d.anlyCurFct]),J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((y,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,m=2.5,p=1,N=5;c<-2.5||m>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,m=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(m)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(m)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,m=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:!0,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:m,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:(y,V)=>{if(y>=0)return y}}},{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:(y,V)=>{if(y>=0)return y}}},{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}]};(x=this.currChart)==null||x.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const a=o[d];if(a.length>=t+1){const i=a[t];typeof i=="number"&&!isNaN(i)&&Number(i)>l&&(l=i)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const a=o[d];if(a.length>=t+1){const i=a[t];i<l&&(l=i)}}return l}}},wA={class:"report-summary"},YA={class:"section chart-section"},hA={class:"chart-block"},QA={ref:"spdFoConsChart",class:"chart"},BA={ref:"spdDgoConsChart",class:"chart"},RA={ref:"currChart",class:"chart"},FA={class:"section map-section"},PA={class:"map-block"},LA={class:"flex-space"},GA={class:"voyage-block",style:{height:"197px"}},WA={class:"flex-space label-block",style:{width:"100%"}},ZA={style:{"text-transform":"uppercase"}},HA={class:"flex-space label-block",style:{width:"100%"}},JA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_A={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},XA={class:"flex-space label-block",style:{width:"100%"}},KA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uA={class:"flex-space label-block",style:{width:"100%"}},qA={key:0,class:"flex-end",style:{flex:"1"}},$A={key:1,class:"flex-end",style:{flex:"1"}},vA={class:"flex-end",style:{width:"160px"}},eV={class:"flex-space label-block",style:{width:"100%"}},tV={key:0,class:"flex-end",style:{flex:"1"}},lV={key:1,class:"flex-end",style:{flex:"1"}},oV={class:"flex-end",style:{width:"160px"}},nV={class:"flex-space label-block",style:{width:"100%"}},aV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},iV=["src"];function sV(o,t,l,d,a,i){var c,m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",wA,[e.createElementVNode("div",YA,[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",QA,null,512),e.createElementVNode("div",BA,null,512),e.createElementVNode("div",RA,null,512)])]),e.createElementVNode("div",FA,[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",PA,[e.createElementVNode("div",LA,[e.createElementVNode("div",GA,[e.createElementVNode("div",WA,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",ZA,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",HA,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",JA,e.toDisplayString((m=(c=l.report)==null?void 0:c.vessel)==null?void 0:m.name),1),e.createElementVNode("span",_A,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",XA,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KA,e.toDisplayString((x=(M=l.report)==null?void 0:M.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",uA,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(y=l.report)==null?void 0:y.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",qA,e.toDisplayString((A=(T=l.report)==null?void 0:T.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",$A,[e.createVNode(D,{lat:(z=(S=l.report)==null?void 0:S.departure)==null?void 0:z.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:(C=l.report.departure)==null?void 0:C.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",vA,e.toDisplayString(i.computeUTCTime((E=l.report.departure)==null?void 0:E.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",eV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(B=(j=l.report)==null?void 0:j.arrival)!=null&&B.portName?(e.openBlock(),e.createElementBlock("span",tV,e.toDisplayString((L=(F=l.report)==null?void 0:F.arrival)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",lV,[e.createVNode(D,{lat:(b=(g=l.report)==null?void 0:g.arrival)==null?void 0:b.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=(U=l.report)==null?void 0:U.arrival)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oV,e.toDisplayString(i.computeUTCTime((w=(R=l.report)==null?void 0:R.arrival)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",nV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",aV,e.toDisplayString((Q=(P=l.report)==null?void 0:P.voyage)==null?void 0:Q.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-bc08b8a6><div style="position:absolute;margin-top:-8px;" data-v-bc08b8a6>LEGEND</div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6>0812</div><div data-v-bc08b8a6><div data-v-bc08b8a6>08 - Day of the month</div><div data-v-bc08b8a6>12 - Hours of the day</div></div></div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-bc08b8a6></i></div><div data-v-bc08b8a6><div data-v-bc08b8a6>Wind from N (000)</div><div data-v-bc08b8a6>Each bard = 10 kts</div><div data-v-bc08b8a6>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6>W 4</div><div data-v-bc08b8a6>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-bc08b8a6><div class="good-wx" data-v-bc08b8a6>Date</div><div data-v-bc08b8a6>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(Y=l.report)==null?void 0:Y.chartUrl,alt:""},null,8,iV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-bc08b8a6><div class="header-block flex-center" data-v-bc08b8a6><i class="iconfont" data-v-bc08b8a6></i><div class="title" data-v-bc08b8a6>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-bc08b8a6><div class="method-title" data-v-bc08b8a6>1. Good Weather Method</div><div class="method-body" data-v-bc08b8a6> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-bc08b8a6> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-bc08b8a6> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-bc08b8a6><div class="method-title" data-v-bc08b8a6>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>4. “About”</div><div class="method-body" data-v-bc08b8a6> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>6. Further reference materials</div><div class="method-body" data-v-bc08b8a6>Please send mail to <a href="mailto:op@ormwx.com" data-v-bc08b8a6>op@ormwx.com</a>.</div></div></div></div>',1))])}const dV=Re(OA,[["render",sV],["__scopeId","data-v-bc08b8a6"]]),UY="",OY="",rV={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`${G(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,m;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((m=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:m.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const a=document.getElementById("col1"),i=document.getElementById("col2"),D=(a==null?void 0:a.offsetHeight)||0,s=(i==null?void 0:i.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,sM)]))])}const ds=Re(nM,[["render",dM]]),rM={install(o){o.component("PiLogo",ds)}},zY="",SY="",cM={name:"FliVygSummary",components:{Editor:vl},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"?G(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?G(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?G(o).utc().format("MMMM D, HHmm[Z]"):t?G(o).utc().format(t):G(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=se.LngLatHelper.lat2pretty(o).pretty,d=se.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),i=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:a,time2:i,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="",a=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?se.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,a)=>{let i=d.excluded;if(i.sumDistance>0&&i.detail.forEach(s=>{let c={begin:G(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:G(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:G(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(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))})}}},NM={class:"fli-main"},DM={class:"card basics"},MM={class:"list flex"},gM={class:"item"},mM={class:"content flex"},EM={class:"item"},yM={class:"content flex"},IM={class:"item"},pM={class:"content flex"},AM={class:"list"},VM={class:"item"},TM={class:"content flex"},xM={class:"content flex"},zM={class:"item"},SM={class:"content flex"},CM={class:"content flex"},kM={class:"item"},fM={class:"content flexL"},jM={class:"clause"},bM={key:0,class:"definition flex"},UM={key:1,class:"definition flex"},OM={class:"item"},wM={class:"content"},YM={key:0,class:"item"},hM={class:"content"},QM={key:1,class:"item"},BM={class:"content"},RM={key:2,class:"item"},FM={class:"content"},PM={key:3,class:"item"},LM={class:"content"},GM={key:4,class:"item"},WM={key:5,class:"item"},ZM={class:"definition flexM"},HM={class:"table"},JM={class:"summary"},_M={key:0,class:"summary-overall"},XM={class:"summary-overall-row"},KM={class:"card"},uM={class:"main-content"},qM={key:0},$M={key:1},vM={class:"card"},e1={class:"main-content"},t1={key:0},l1={key:1},o1={class:"card"},n1={class:"main-content"},a1={key:0},i1={key:1},s1={class:"summary-overall-row"},d1={class:"card"},r1={class:"main-content"},c1={class:"card"},N1={class:"main-content"},D1={class:"card"},M1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},m1={class:"card-title"},E1={class:"card-segment"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"uppercase"},A1={class:"card summary-card",style:{flex:"1"}},V1={key:0,class:"main-content"},T1={key:0,class:"iconfont success"},x1={key:1,class:"iconfont error"},z1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},C1={class:"card summary-card",style:{flex:"1"}},k1={key:0,class:"main-content"},f1={key:0,class:"iconfont success"},j1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},U1={class:"card-content",style:{"justify-content":"flex-start"}},O1={class:"card summary-card",style:{flex:"1"}},w1={key:0,class:"main-content"},Y1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},Q1={key:1,class:"main-content"},B1={class:"card-content",style:{"justify-content":"flex-start"}},R1={style:{"page-break-inside":"avoid"}},F1={class:"remarks"},P1={class:"item"},L1={class:"speed"},G1={class:"uppercase"},W1={class:"item"},Z1={key:0,class:"remark-detail"},H1={key:1,class:"remark-detail"},J1={class:"page-avoid"},_1={class:"dashed"},X1={class:"card phase-title-card",style:{flex:"0.5"}},K1={class:"card-title"},u1={class:"card-segment"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"uppercase"},eg={class:"phase-analysis"},tg={class:"card phase-card",style:{flex:"1"}},lg={class:"main-content"},og={class:"main-content"},ng={class:"card-content"},ag={class:"card-content"},ig={class:"card-content"},sg={class:"card-content"},dg={class:"card phase-card",style:{flex:"1"}},rg={class:"main-content"},cg={class:"main-content"},Ng={class:"card-content"},Dg={class:"card-content"},Mg={class:"card-content"},gg={class:"card-content"},mg={class:"phase-analysis"},Eg={class:"card phase-card",style:{flex:"1"}},yg={class:"main-content"},Ig={class:"main-content"},pg={class:"card-content"},Ag={class:"card-content"},Vg={class:"card-content"},Tg={class:"card-content"},xg={class:"card phase-card",style:{flex:"1"}},zg={class:"main-content"},Sg={class:"main-content"},Cg={class:"card-content"},kg={class:"card-content"},fg={class:"card-content"},jg={class:"card-content"},bg={class:"card phase-card",style:{flex:"1"}},Ug={class:"main-content"},Og={class:"main-content"},wg={class:"card-content"},Yg={class:"card-content"},hg={class:"card-content"},Qg={class:"card-content"},Bg={class:"phase-analysis"},Rg={class:"card phase-card",style:{flex:"1"}},Fg={class:"main-content"},Pg={class:"main-content"},Lg={class:"card-content"},Gg={class:"card-content"},Wg={class:"card-content"},Zg={class:"card-content"},Hg={class:"card phase-card",style:{flex:"1"}},Jg={class:"main-content"},_g={class:"main-content"},Xg={class:"card-content"},Kg={class:"card-content"},ug={class:"card-content"},qg={class:"card-content"},$g={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vg={class:"main-content"},em={class:"card-content"},tm={key:0},lm={key:1},om={class:"phase-card"},nm={class:"card",style:{flex:"1"}},am={key:0,class:"main-content"},im={key:0,class:"iconfont success"},sm={key:1,class:"iconfont error"},dm={key:1,class:"main-content"},rm={class:"nogwd"},cm={class:"card-content",style:{"justify-content":"flex-start"}},Nm={key:0},Dm={class:"equation"},Mm={style:{width:"8%"}},gm={style:{width:"10%"}},mm={class:"equation"},Em={style:{width:"8%"}},ym={style:{width:"10%"}},Im={class:"equation"},pm={style:{width:"8%"}},Am={style:{width:"10%"}},Vm={class:"phase-card"},Tm={class:"card",style:{flex:"1"}},xm={key:0,class:"main-content"},zm={key:0,class:"iconfont success"},Sm={key:1,class:"iconfont error"},Cm={key:1,class:"main-content"},km={class:"nogwd"},fm={class:"card-content",style:{"justify-content":"flex-start"}},jm={key:0},bm={class:"equation"},Um={style:{width:"8%"}},Om={style:{width:"120px"}},wm={style:{width:"10%"}},Ym={class:"equation"},hm={style:{width:"8%"}},Qm={style:{width:"120px"}},Bm={style:{width:"10%"}},Rm={class:"equation"},Fm={style:{width:"8%"}},Pm={style:{width:"120px"}},Lm={style:{width:"10%"}},Gm={key:0,class:"phase-card"},Wm={class:"card",style:{flex:"1"}},Zm={key:0,class:"main-content"},Hm={key:0,class:"iconfont success"},Jm={key:1,class:"iconfont error"},_m={key:1,class:"main-content"},Xm={class:"nogwd"},Km={class:"card-content",style:{"justify-content":"flex-start"}},um={key:0},qm={class:"equation"},$m={style:{width:"8%"}},vm={style:{width:"120px"}},eE={style:{width:"10%"}},tE={class:"equation"},lE={style:{width:"8%"}},oE={style:{width:"120px"}},nE={style:{width:"10%"}},aE={class:"equation"},iE={style:{width:"8%"}},sE={style:{width:"120px"}},dE={style:{width:"10%"}},rE={class:"formular dashed",style:{"page-break-inside":"avoid"}},cE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},NE={class:""},DE={class:"equation"},ME={style:{width:"50%"},class:"fraction"},gE={class:"equation"},mE={style:{width:"50%"},class:"fraction"},EE={class:"equation"},yE={style:{width:"50%"},class:"fraction"},IE={class:"flexL formular-item",style:{"margin-left":"20px"}},pE={class:""},AE={class:"equation"},VE={style:{width:"25%"},class:"fraction"},TE={class:"equation"},xE={style:{width:"25%"},class:"fraction"},zE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function CE(o,t,l,d,a,i){var D,s,c,m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe,n,Z,u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze;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",NM,[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",DM,[e.createElementVNode("div",MM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",mM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",EM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",yM,e.toDisplayString((p=(m=l.reportData)==null?void 0:m.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",IM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",pM,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",AM,[e.createElementVNode("div",VM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",TM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||i.computedLngLat((y=(x=l.reportData)==null?void 0:x.departure)==null?void 0:y.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",xM,e.toDisplayString(i.computedTime((S=(A=l.reportData)==null?void 0:A.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",zM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((C=(z=l.reportData)==null?void 0:z.arrival)==null?void 0:C.portName)||i.computedLngLat((j=(E=l.reportData)==null?void 0:E.arrival)==null?void 0:j.lat,(F=(B=l.reportData)==null?void 0:B.arrival)==null?void 0:F.lng)),1),e.createElementVNode("div",CM,e.toDisplayString(i.computedTime((g=(L=l.reportData)==null?void 0:L.arrival)==null?void 0:g.utcTime,"table")),1)]),e.createElementVNode("div",kM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",fM,e.toDisplayString((U=(b=l.reportData)==null?void 0:b.voyage)==null?void 0:U.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",jM,[(R=(O=l.reportData)==null?void 0:O.weather)!=null&&R.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",UM,[e.createElementVNode("div",OM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",wM,"BF "+e.toDisplayString(((P=(w=l.reportData)==null?void 0:w.weather)==null?void 0:P.windScale)||"-"),1)]),(Y=(Q=l.reportData)==null?void 0:Q.weather)!=null&&Y.waveSwitch?(e.openBlock(),e.createElementBlock("div",YM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((ee=(v=l.reportData)==null?void 0:v.weather)==null?void 0:ee.waveHeight)||"-")+" Meter",1)])):(le=(te=l.reportData)==null?void 0:te.weather)!=null&&le.swellSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",BM,e.toDisplayString(((n=(oe=l.reportData)==null?void 0:oe.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(u=(Z=l.reportData)==null?void 0:Z.weather)!=null&&u.sigSwitch?(e.openBlock(),e.createElementBlock("div",RM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",FM,e.toDisplayString((($=(q=l.reportData)==null?void 0:q.weather)==null?void 0:$.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ae=(ne=l.reportData)==null?void 0:ne.weather)!=null&&ae.waveSwitch||(Ne=(J=l.reportData)==null?void 0:J.weather)!=null&&Ne.swellHeight||(re=(X=l.reportData)==null?void 0:X.weather)!=null&&re.sigSwitch?(e.openBlock(),e.createElementBlock("div",PM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",LM,e.toDisplayString((Me=(De=l.reportData)==null?void 0:De.weather)==null?void 0:Me.seaScale),1)])):e.createCommentVNode("",!0),(ge=(de=l.reportData)==null?void 0:de.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",GM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ee=(me=l.reportData)==null?void 0:me.weather)!=null&&Ee.noExtrapolation?(e.openBlock(),e.createElementBlock("div",WM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",ZM,[e.createElementVNode("table",HM,[t[13]||(t[13]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(r,ie)=>(e.openBlock(),e.createElementBlock("tr",{key:ie},[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",JM,[((Ie=(ye=l.reportData)==null?void 0:ye.segments)==null?void 0:Ie.length)>1?(e.openBlock(),e.createElementBlock("div",_M,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",XM,[e.createElementVNode("div",KM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",uM,[(xe=(Te=l.reportData)==null?void 0:Te.goodWx)!=null&&xe.avgSpd?(e.openBlock(),e.createElementBlock("div",qM,e.toDisplayString((Se=(ze=l.reportData)==null?void 0:ze.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",vM,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",e1,[(ke=(Ce=l.reportData)==null?void 0:Ce.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",t1,e.toDisplayString((je=(fe=l.reportData)==null?void 0:fe.goodWx)==null?void 0:je.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",o1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",n1,[(pe=(be=l.reportData)==null?void 0:be.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",a1,e.toDisplayString((he=(Ye=l.reportData)==null?void 0:Ye.goodWx)==null?void 0:he.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",s1,[e.createElementVNode("div",d1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",r1,e.toDisplayString((k=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:k.avgSpd)+" kts",1)]),e.createElementVNode("div",c1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",N1,e.toDisplayString((Qe=(Ve=l.reportData)==null?void 0:Ve.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",D1,[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=(Le=l.reportData)==null?void 0:Le.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((h=l.reportData)==null?void 0:h.segments,(r,ie)=>{var Ae,W,Fe;return e.openBlock(),e.createElementBlock("div",{key:ie,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",m1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ie+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(ce,Pe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Pe,class:e.normalizeClass(a.segDetail[ie].length>1?"dashed":"")},[e.createElementVNode("div",E1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port1),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time1),1)]),e.createElementVNode("div",y1,[e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.port2),1),e.createElementVNode("div",null,e.toDisplayString(ce==null?void 0:ce.time2),1)])],2))),128)),e.createElementVNode("div",I1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",p1,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",A1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ae=r.goodWx)!=null&&Ae.distance?(e.openBlock(),e.createElementBlock("div",V1,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",T1,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",z1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",C1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(W=r.goodWx)!=null&&W.distance?(e.openBlock(),e.createElementBlock("div",k1,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",f1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",U1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",O1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Fe=r.goodWx)!=null&&Fe.distance?(e.openBlock(),e.createElementBlock("div",w1,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Y1,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",B1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",R1,[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",F1,[e.createElementVNode("div",P1,[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,ie)=>(e.openBlock(),e.createElementBlock("div",{key:ie,class:"remark-speed"},[e.createElementVNode("div",L1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ie+1}. Phase ${ie+1} Applied `)+" ",1),e.createElementVNode("span",G1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(Ae,W)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+W},e.toDisplayString(`${Ae.port1} (${Ae.fullTime1}) to ${Ae.port2} (${Ae.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",W1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(r,ie)=>(e.openBlock(),e.createElementBlock("div",{key:ie},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",H1,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=l.reportData)==null?void 0:Ze.segments,(r,ie)=>{var Ae,W,Fe,ce,Pe,He,Je,Ke,ue,qe,$e,ve,et,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,pt,At,xt,zt,St,Ct,kt,ft,jt,bt,Ut,Ot,wt,Yt,ht,Qt,Bt,Rt,Ft,Pt,Lt,Gt,Wt,Zt,Ht,Jt,_t,Xt,Kt,I,Ue,f,tt,Vt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Sl,Cl,kl,fl,jl,bl,Ul,Ol,wl,Yl,hl,Ql,Bl,Rl,Fl,Pl,Ll,Gl,Wl,Zl,Hl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ie,class:"phase"},[e.createElementVNode("div",J1,[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ie+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[ie],(_e,$l)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+$l,class:e.normalizeClass(a.segDetail[ie].length>1?"dashed":"")},[e.createElementVNode("div",u1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port1),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time1),1)]),e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.port2),1),e.createElementVNode("div",null,e.toDisplayString(_e==null?void 0:_e.time2),1)])],2))),128)),e.createElementVNode("div",$1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",v1,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",eg,[e.createElementVNode("div",tg,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",lg,[e.createElementVNode("span",null,e.toDisplayString(((Ae=r.goodWx)==null?void 0:Ae.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",og,[e.createElementVNode("span",null,e.toDisplayString(((W=r.allWx)==null?void 0:W.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",ng,[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(((Fe=r.goodWx)==null?void 0:Fe.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ag,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ce=r.goodWx)==null?void 0:ce.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ig,[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(((Pe=r.allWx)==null?void 0:Pe.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",sg,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((He=r.allWx)==null?void 0:He.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1))]),e.createElementVNode("div",dg,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",rg,[e.createElementVNode("span",null,e.toDisplayString(((Je=r.goodWx)==null?void 0:Je.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cg,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Ng,[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",Dg,[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",Mg,[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",gg,[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",mg,[e.createElementVNode("div",Eg,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",yg,[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",Ig,[e.createElementVNode("span",null,e.toDisplayString(((ot=r.allWx)==null?void 0:ot.distance)||"-")+" nm",1)]),e.createElementVNode("div",pg,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=r.goodWx)==null?void 0:nt.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Ag,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=r.goodWx)==null?void 0:at.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Vg,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.allWx)==null?void 0:it.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Tg,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.allWx)==null?void 0:st.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",xg,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",zg,[e.createElementVNode("span",null,e.toDisplayString(((dt=r.goodWx)==null?void 0:dt.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Sg,[e.createElementVNode("span",null,e.toDisplayString(((rt=r.allWx)==null?void 0:rt.time)||"-")+" hrs",1)]),e.createElementVNode("div",Cg,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",kg,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=r.goodWx)==null?void 0:Nt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",fg,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.allWx)==null?void 0:Dt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",jg,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.allWx)==null?void 0:Mt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bg,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Ug,[e.createElementVNode("span",null,e.toDisplayString(((gt=r.goodWx)==null?void 0:gt.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",Og,[e.createElementVNode("span",null,e.toDisplayString(((mt=r.allWx)==null?void 0:mt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",wg,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Yg,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=r.goodWx)==null?void 0:yt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hg,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.allWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Qg,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.allWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",Bg,[e.createElementVNode("div",Rg,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Fg,[e.createElementVNode("span",null,e.toDisplayString(((At=r.goodWx)==null?void 0:At.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Pg,[e.createElementVNode("span",null,e.toDisplayString(((xt=r.allWx)==null?void 0:xt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Lg,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((zt=r.goodWx)==null?void 0:zt.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Gg,[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",Wg,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zg,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Hg,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",Jg,[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",_g,[e.createElementVNode("span",null,e.toDisplayString(((jt=r.allWx)==null?void 0:jt.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Xg,[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",Kg,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ut=r.goodWx)==null?void 0:Ut.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",ug,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.allWx)==null?void 0:Ot.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",qg,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",$g,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",vg,[e.createElementVNode("span",null,e.toDisplayString(((Yt=r.goodWx)==null?void 0:Yt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",em,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(ht=r.goodWx)!=null&&ht.distance&&!((Bt=(Qt=l.reportData)==null?void 0:Qt.weather)!=null&&Bt.favorableCur&&((Rt=r.goodWx)==null?void 0:Rt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",tm,[e.createTextVNode(e.toDisplayString(i.computedPositive((Ft=r.goodWx)==null?void 0:Ft.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",lm,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",om,[e.createElementVNode("div",nm,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Pt=r.goodWx)!=null&&Pt.distance?(e.openBlock(),e.createElementBlock("div",am,[i.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",im,"")):e.createCommentVNode("",!0),i.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",sm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",dm,[e.createElementVNode("span",rm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",cm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Lt=r.goodWx)!=null&&Lt.distance?"":"analysis-none"} card analysis-card`)},[(Gt=r.goodWx)!=null&&Gt.distance?(e.openBlock(),e.createElementBlock("div",Nm,[e.createElementVNode("div",Dm,[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",Mm,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Wt=l.reportData)==null?void 0:Wt.weather)!=null&&Zt.noExtrapolation?(Ht=r.goodWx)==null?void 0:Ht.distance:(Jt=r.allWx)==null?void 0:Jt.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((_t=r.goodWx)==null?void 0:_t.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gm,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",mm,[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",Em,[e.createElementVNode("div",null,e.toDisplayString((Kt=(Xt=l.reportData)==null?void 0:Xt.weather)!=null&&Kt.noExtrapolation?(I=r.goodWx)==null?void 0:I.distance:(Ue=r.allWx)==null?void 0:Ue.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",ym,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",Im,[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",pm,[e.createElementVNode("div",null,e.toDisplayString((tt=(f=l.reportData)==null?void 0:f.weather)!=null&&tt.noExtrapolation?(Vt=r.goodWx)==null?void 0:Vt.distance:(ut=r.allWx)==null?void 0:ut.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",Am,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",Vm,[e.createElementVNode("div",Tm,[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",xm,[i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",zm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Cm,[e.createElementVNode("span",km,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",fm,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($t=r.goodWx)!=null&&$t.distance?"":"analysis-none"} card analysis-card`)},[(vt=r.goodWx)!=null&&vt.distance?(e.openBlock(),e.createElementBlock("div",jm,[e.createElementVNode("div",bm,[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",Um,[e.createElementVNode("div",null,e.toDisplayString((tl=(el=l.reportData)==null?void 0:el.weather)!=null&&tl.noExtrapolation?(ll=r.goodWx)==null?void 0:ll.distance:(ol=r.allWx)==null?void 0:ol.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((nl=r.goodWx)==null?void 0:nl.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Om,[e.createElementVNode("div",null,e.toDisplayString((al=r.goodWx)==null?void 0:al.sumFoCons)+" "+e.toDisplayString(((il=r.allWx)==null?void 0:il.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((sl=r.goodWx)==null?void 0:sl.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",wm,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Ym,[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",hm,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=l.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?(cl=r.goodWx)==null?void 0:cl.distance:(Nl=r.allWx)==null?void 0:Nl.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Qm,[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",Bm,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Rm,[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",Fm,[e.createElementVNode("div",null,e.toDisplayString((Ml=(Dl=l.reportData)==null?void 0:Dl.weather)!=null&&Ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(ml=r.allWx)==null?void 0:ml.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Pm,[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",Lm,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((yl=(El=r==null?void 0:r.extend)==null?void 0:El.cp)==null?void 0:yl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Gm,[e.createElementVNode("div",Wm,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Il=r.goodWx)!=null&&Il.distance?(e.openBlock(),e.createElementBlock("div",Zm,[i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Hm,"")):e.createCommentVNode("",!0),i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Jm,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",_m,[e.createElementVNode("span",Xm,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",Km,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(i.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(pl=r.goodWx)!=null&&pl.distance?"":"analysis-none"} card analysis-card`)},[(Al=r.goodWx)!=null&&Al.distance?(e.openBlock(),e.createElementBlock("div",um,[e.createElementVNode("div",qm,[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",$m,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.noExtrapolation?(xl=r.goodWx)==null?void 0:xl.distance:(zl=r.allWx)==null?void 0:zl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Sl=r.goodWx)==null?void 0:Sl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",vm,[e.createElementVNode("div",null,e.toDisplayString((Cl=r.goodWx)==null?void 0:Cl.sumDgoCons)+" "+e.toDisplayString(((kl=r.allWx)==null?void 0:kl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fl=r.goodWx)==null?void 0:fl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",eE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",tE,[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",lE,[e.createElementVNode("div",null,e.toDisplayString((bl=(jl=l.reportData)==null?void 0:jl.weather)!=null&&bl.noExtrapolation?(Ul=r.goodWx)==null?void 0:Ul.distance:(Ol=r.allWx)==null?void 0:Ol.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",oE,[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",nE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",aE,[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",iE,[e.createElementVNode("div",null,e.toDisplayString((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.noExtrapolation?(hl=r.goodWx)==null?void 0:hl.distance:(Ql=r.allWx)==null?void 0:Ql.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",sE,[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",dE,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",rE,[e.createElementVNode("div",cE,[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",NE,[e.createElementVNode("div",DE,[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((Rl=(Bl=l.reportData)==null?void 0:Bl.weather)!=null&&Rl.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",mE,[e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=l.reportData)==null?void 0:Fl.weather)!=null&&Pl.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",EE,[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",yE,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ll=l.reportData)==null?void 0:Ll.weather)!=null&&Gl.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",IE,[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",pE,[e.createElementVNode("div",AE,[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",VE,[e.createElementVNode("div",null,e.toDisplayString((Zl=(Wl=l.reportData)==null?void 0:Wl.weather)!=null&&Zl.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",TE,[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",xE,[e.createElementVNode("div",null,e.toDisplayString((_l=(Hl=l.reportData)==null?void 0:Hl.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",zE,[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 kE=Re(cM,[["render",CE],["__scopeId","data-v-b0ef3073"]]),CY="",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 a="";const i=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==i&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(a=a+" excluded"),a}},computedSegClass(){return function(o,t){var d,a;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((a=this.summaryTable[t+1])!=null&&a.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?G(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?G(o).utc().format("MMMM-DD/HHmm[Z]"):G(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}°${se.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,a,i,D;this.showCF=(a=(d=this.reportData)==null?void 0:d.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(D=(i=this.reportData)==null?void 0:i.segments)==null||D.forEach((s,c)=>{let m=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=m,o.push(M)})}),o.sort(function(s,c){let m=s.date,p=c.date;return m-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let m=s.type.charAt(0);s.abbreviation=m;const p=G(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),m==="A"?s.type="":m==="M"&&(s.type="*"),s.time=G(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(se.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(se.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},jE={id:"second-table",class:"table"},bE={class:"summary-table"},UE={class:"summary-tbody"},OE={class:"voyage-map",style:{"page-break-inside":"avoid"}},wE=["src"];function YE(o,t,l,d,a,i){var D,s,c,m,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||(m=(c=l.reportData)==null?void 0:c.weather)!=null&&m.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",jE,[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",UE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(N,M)=>{var x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(i.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.time),3),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),i.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString((x=N.noon)==null?void 0:x.port),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(y=N.cp)==null?void 0:y.speed),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(i.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(i.computedClass(N,M))},e.toDisplayString(((z=(S=(A=N.meteo)==null?void 0:A.wave)==null?void 0:S.swell)==null?void 0:z.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((j=(E=(C=N.meteo)==null?void 0:C.wave)==null?void 0:E.swell)==null?void 0:j.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((L=(F=(B=N.meteo)==null?void 0:B.wave)==null?void 0:F.sig)==null?void 0:L.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(((g=N.meteo)==null?void 0:g.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((b=N.noon)==null?void 0:b.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((U=N.noon)==null?void 0:U.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(O=N.cp)==null?void 0:O.fo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(R=N.cp)==null?void 0:R.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((w=N.noon)==null?void 0:w.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((P=N.noon)==null?void 0:P.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(Q=N.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(i.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(Y=N.noon)==null?void 0:Y.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",OE,[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,wE),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=Re(fE,[["render",YE],["__scopeId","data-v-ec7ec0f5"]]),kY="",QE={components:{Summary:kE,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)}}},BE={class:"voyage-report"};function RE(o,t,l,d,a,i){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",BE,[e.createVNode(D,{"report-data":a.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:i.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const rs=Re(QE,[["render",RE],["__scopeId","data-v-77dca605"]]),fY="",FE={name:"OrmVoyageSummary",components:{Lng:Pn,Lat:Ln,Editor:vl},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computeDuration(){return function(o,t){const l=G(o).diff(G(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${G(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(o){return se.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return se.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 m={time:G(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+G(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(m)});const i=(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([i])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},PE={class:"report-summary"},LE={class:"section voyage-section flex-space"},GE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},WE={class:"flex-space label-block",style:{width:"100%"}},ZE={style:{"text-transform":"uppercase"}},HE={class:"flex-space label-block",style:{width:"100%"}},JE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_E={class:"flex-space label-block",style:{width:"100%"}},XE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},KE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},uE={class:"flex-space label-block",style:{width:"100%"}},qE={key:0,class:"flex-end",style:{flex:"1"}},$E={key:1,class:"flex-end",style:{flex:"1"}},vE={class:"flex-end",style:{width:"150px"}},ey={class:"flex-space label-block",style:{width:"100%"}},ty={key:0,class:"flex-end",style:{flex:"1"}},ly={key:1,class:"flex-end",style:{flex:"1"}},oy={class:"flex-end",style:{width:"150px"}},ny={class:"flex-space label-block",style:{width:"100%"}},ay={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},iy={class:"section weather-section"},sy={class:"definition"},dy={class:"txt"},ry={class:"section summary-section"},cy={class:"phase-box"},Ny={class:"phase-index"},Dy={class:"phase-position"},My={key:0},gy={key:1},my={class:"phase-position"},Ey={key:0},yy={key:1},Iy={class:"phase-cp flex-space"},py={class:"cp-box"},Ay={class:"flex-space"},Vy={class:"phase-conclusion flex-space"},Ty={class:"item-conclusion"},xy={class:"value flex-start"},zy={key:0,class:"label flex-end"},Sy={key:0},Cy={key:1},ky={key:2},fy={key:1,class:"label flex-end"},jy={key:2,class:"value flex-end"},by={key:0},Uy={class:"gain"},Oy={key:1},wy={class:"lost"},Yy={key:2},hy={class:"item-conclusion"},Qy={class:"value flex-start"},By={key:0,class:"label flex-end"},Ry={key:0},Fy={key:1},Py={key:2},Ly={key:1,class:"label flex-end"},Gy={key:2,class:"value flex-end"},Wy={key:0},Zy={class:"gain"},Hy={key:1},Jy={class:"lost"},_y={key:2},Xy={class:"item-conclusion"},Ky={class:"value flex-start"},uy={key:0,class:"label flex-end"},qy={key:0},$y={key:1},vy={key:2},eI={key:1,class:"label flex-end"},tI={key:2,class:"value flex-end"},lI={key:0},oI={class:"gain"},nI={key:1},aI={class:"lost"},iI={key:2},sI={key:0,class:"exclusion-block"},dI={style:{margin:"8px 0"}},rI={class:"remark-table"},cI=["innerHTML"],NI={class:"section segment-section"},DI={class:"segment-index flex-center"},MI={class:"segment-position"},gI={key:0},mI={key:1},EI={class:"segment-position"},yI={key:0},II={key:1},pI={style:{margin:"10px 0 0"}},AI={class:"good-wx"},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},SI={class:"good-wx"},CI={class:"good-wx"},kI={class:"good-wx"},fI={class:"good-wx"},jI={class:"good-wx"},bI={class:"good-wx"},UI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={key:0,style:{"margin-top":"10px"}},hI={key:0},QI={key:0,class:"flex-end tip"},BI={key:1,class:"segment-speed"},RI={class:"flex-center"},FI={class:"speed-right flex-space"},PI={class:"speed"},LI={key:1,class:"speed"},GI={key:0,class:"speed"},WI={class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={key:2,class:"under"},_I={key:3,class:"over"},XI={class:"flex-center"},KI={class:"speed-right formula flex-space"},uI={key:0},qI={key:2,class:"segment-speed"},$I={class:"flex-center"},vI={class:"speed-right flex-space"},ep={class:"speed"},tp={class:"speed"},lp={key:2,class:"under"},op={key:3,class:"over"},np={class:"flex-center"},ap={class:"speed-right formula flex-space"},ip={class:"segment-formula"},sp={class:"header-block flex-start"},dp={class:"title"},rp={key:0,style:{"margin-left":"4px","font-weight":"300"}},cp={class:"formula-block"},Np={class:"flex-evenly"},Dp={class:"formula-right flex-evenly"},Mp={class:"fraction",style:{width:"240px"}},gp={class:"flex-center"},mp={class:"formula-left flex-space"},Ep={class:"formula-right flex-evenly"},yp={class:"fraction",style:{width:"240px"}},Ip={class:"flex-center"},pp={class:"formula-left flex-space"},Ap={class:"formula-right flex-evenly"},Vp={class:"fraction",style:{width:"240px"}},Tp={class:"formula-desc"},xp={class:"flex-end"},zp={class:"flex-end"},Sp={class:"flex-end"},Cp={key:0,class:"formula-block",style:{"font-weight":"400"}},kp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},jp={class:"fraction",style:{width:"240px"}},bp={class:"flex-center"},Up={class:"formula-left flex-space"},Op={class:"formula-right flex-evenly"},wp={class:"fraction",style:{width:"240px"}},Yp={class:"flex-center"},hp={class:"formula-left flex-space"},Qp={class:"formula-right flex-evenly"},Bp={class:"fraction",style:{width:"240px"}},Rp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Fp={key:0,class:"flex-evenly",style:{width:"500px"}},Pp={key:1,class:"flex-evenly",style:{width:"500px"}},Lp={key:1,class:"formula-conclusion"},Gp={class:"segment-formula"},Wp={class:"header-block flex-start"},Zp={class:"title"},Hp={key:0,style:{"margin-left":"4px","font-weight":"300"}},Jp={class:"formula-block"},_p={class:"flex-evenly"},Xp={class:"formula-right flex-evenly"},Kp={class:"fraction",style:{width:"240px"}},up={style:{"line-height":"1"}},qp={key:0,class:"tips flex-end",style:{"font-size":"14px"}},$p={class:"flex-center"},vp={class:"formula-right flex-evenly"},e0={class:"fraction",style:{width:"240px"}},t0={class:"flex-center"},l0={class:"formula-right flex-evenly"},o0={class:"fraction",style:{width:"240px"}},n0={class:"flex-center"},a0={class:"formula-right flex-evenly"},i0={class:"fraction",style:{width:"270px"}},s0={class:"flex-center"},d0={class:"formula-right flex-evenly"},r0={class:"fraction",style:{width:"270px"}},c0={class:"header-block flex-start",style:{"margin-top":"10px"}},N0={class:"title"},D0={key:0,class:"formula-block"},M0={key:0,class:"flex-evenly"},g0={class:"formula-right flex-evenly"},m0={class:"fraction",style:{width:"60px"}},E0={class:"fraction",style:{width:"60px"}},y0={class:"flex-evenly"},I0={class:"formula-right flex-evenly"},p0={class:"fraction",style:{width:"240px"}},A0={class:"fraction",style:{width:"240px"}},V0={key:0},T0={class:"flex-evenly"},x0={class:"formula-right flex-evenly"},z0={class:"fraction",style:{width:"240px"}},S0={class:"fraction",style:{width:"240px"}},C0={class:"flex-evenly"},k0={class:"formula-right flex-evenly"},f0={class:"fraction",style:{width:"240px"}},j0={class:"fraction",style:{width:"240px"}},b0={class:"formula-conclusion",style:{"margin-bottom":"0"}},U0={class:"flex-evenly",style:{width:"500px"}},O0={key:0,class:"flex-evenly"},w0={class:"fraction"},Y0={class:"flex-evenly",style:{width:"700px"}},h0={key:0,class:"flex-evenly",style:{width:"500px"}},Q0={class:"fraction",style:{width:"140px"}},B0={key:1,class:"formula-conclusion"},R0={class:"header-block flex-end",style:{"margin-top":"10px"}},F0={class:"title"},P0={key:0,class:"formula-block"},L0={class:"flex-evenly"},G0={class:"formula-right flex-evenly"},W0={class:"fraction",style:{width:"240px"}},Z0={class:"fraction",style:{width:"240px"}},H0={key:0},J0={class:"flex-evenly"},_0={class:"formula-right flex-evenly"},X0={class:"fraction",style:{width:"240px"}},K0={class:"fraction",style:{width:"240px"}},u0={class:"flex-evenly"},q0={class:"formula-right flex-evenly"},$0={class:"fraction",style:{width:"240px"}},v0={class:"fraction",style:{width:"240px"}},eA={class:"formula-conclusion",style:{"margin-bottom":"0"}},tA={key:0,class:"flex-evenly",style:{width:"500px"}},lA={key:1,class:"flex-evenly",style:{width:"700px"}},oA={key:1,class:"formula-conclusion"};function nA(o,t,l,d,a,i){var m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",PE,[e.createElementVNode("div",LE,[e.createElementVNode("div",GE,[e.createElementVNode("div",WE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",ZE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",HE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",JE,e.toDisplayString((p=(m=l.report)==null?void 0:m.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",_E,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",XE,e.toDisplayString(((y=(x=l.report)==null?void 0:x.voyage)==null?void 0:y.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",KE,[e.createElementVNode("div",uE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(A=l.report)==null?void 0:A.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",qE,e.toDisplayString((C=(z=l.report)==null?void 0:z.departure)==null?void 0:C.portName),1)):(e.openBlock(),e.createElementBlock("div",$E,[e.createVNode(D,{lat:(j=(E=l.report)==null?void 0:E.departure)==null?void 0:j.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:(B=l.report.departure)==null?void 0:B.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",vE,e.toDisplayString(i.computeUTCTime((F=l.report.departure)==null?void 0:F.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ey,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(g=(L=l.report)==null?void 0:L.arrival)!=null&&g.portName?(e.openBlock(),e.createElementBlock("span",ty,e.toDisplayString((U=(b=l.report)==null?void 0:b.arrival)==null?void 0:U.portName),1)):(e.openBlock(),e.createElementBlock("div",ly,[e.createVNode(D,{lat:(R=(O=l.report)==null?void 0:O.arrival)==null?void 0:R.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:(P=(w=l.report)==null?void 0:w.arrival)==null?void 0:P.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oy,e.toDisplayString(i.computeUTCTime((Y=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:Y.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ny,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",ay,e.toDisplayString((ee=(v=l.report)==null?void 0:v.voyage)==null?void 0:ee.loadCondition),1)])])]),e.createElementVNode("div",iy,[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",sy,[e.createElementVNode("div",dy,e.toDisplayString(i.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",ry,[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((te=l.report)==null?void 0:te.segments,(n,Z)=>{var u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze,r,ie,Ae;return e.openBlock(),e.createElementBlock("div",{key:"summary"+Z,class:"segment-box flex-space"},[e.createElementVNode("div",cy,[e.createElementVNode("div",Ny,"Seg."+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((u=n==null?void 0:n.extend)==null?void 0:u.segTimes,(W,Fe)=>{var ce,Pe,He,Je,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Fe,class:"phase-row flex-space"},[e.createElementVNode("div",Dy,[(ce=W==null?void 0:W.departure)!=null&&ce.portName?(e.openBlock(),e.createElementBlock("span",My,e.toDisplayString((Pe=W==null?void 0:W.departure)==null?void 0:Pe.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(i.computeLat((He=W==null?void 0:W.departure)==null?void 0:He.lat).pretty)+", "+e.toDisplayString(i.computeLng((Je=W==null?void 0:W.departure)==null?void 0:Je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((Ke=W==null?void 0:W.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",my,[(ue=W==null?void 0:W.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",Ey,e.toDisplayString((qe=W==null?void 0:W.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString(i.computeLat(($e=W==null?void 0:W.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(i.computeLng((ve=W==null?void 0:W.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((et=W==null?void 0:W.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Iy,[e.createElementVNode("div",py,[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",Ay,[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(($=(q=n==null?void 0:n.extend)==null?void 0:q.cp)==null?void 0:$.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ae=(ne=n==null?void 0:n.extend)==null?void 0:ne.cp)==null?void 0:ae.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ne=(J=n==null?void 0:n.extend)==null?void 0:J.cp)==null?void 0:Ne.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((re=(X=n==null?void 0:n.extend)==null?void 0:X.cp)==null?void 0:re.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"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(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Me=(De=n==null?void 0:n.extend)==null?void 0:De.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(i.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(i.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Vy,[e.createElementVNode("div",Ty,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",xy,[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",zy,[((de=n==null?void 0:n.timeConclusion)==null?void 0:de.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Cy,"Time Lost")):(e.openBlock(),e.createElementBlock("div",ky,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",fy,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",jy,[((me=n==null?void 0:n.timeConclusion)==null?void 0:me.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Uy,e.toDisplayString((Ee=n==null?void 0:n.timeConclusion)==null?void 0:Ee.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((ye=n==null?void 0:n.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Oy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",wy,e.toDisplayString((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Yy,"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",Qy,[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",By,[((xe=(Te=n==null?void 0:n.fuelConclusion)==null?void 0:Te.fo)==null?void 0:xe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ry,"FO Saving")):((Se=(ze=n==null?void 0:n.fuelConclusion)==null?void 0:ze.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Fy,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Py,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Ly,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Gy,[((ke=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Wy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Zy,e.toDisplayString((je=(fe=n==null?void 0:n.fuelConclusion)==null?void 0:fe.fo)==null?void 0:je.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((pe=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Hy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Jy,e.toDisplayString((he=(Ye=n==null?void 0:n.fuelConclusion)==null?void 0:Ye.fo)==null?void 0:he.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",_y,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xy,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",Ky,[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",uy,[((k=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:k.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",qy,"DO/GO Saving")):((Qe=(Ve=n==null?void 0:n.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",vy,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",eI,e.toDisplayString(a.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",tI,[((Ge=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",lI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",oI,e.toDisplayString((We=(h=n==null?void 0:n.fuelConclusion)==null?void 0:h.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",nI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",aI,e.toDisplayString((Ae=(ie=n==null?void 0:n.fuelConclusion)==null?void 0:ie.dgo)==null?void 0:Ae.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",iI,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((le=l.report)==null?void 0:le.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),a.exclusion.length?(e.openBlock(),e.createElementBlock("div",sI,[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",dI,[e.createElementVNode("table",rI,[t[43]||(t[43]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(n,Z)=>(e.openBlock(),e.createElementBlock("tr",{key:Z},[e.createElementVNode("td",null,e.toDisplayString(Z+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(i.computeBlankHtml((oe=l.report)==null?void 0:oe.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:a.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>a.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>i.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>i.handleEdit&&i.handleEdit(...n)),innerHTML:a.remarks},null,40,cI))],2)],2),e.createElementVNode("div",NI,[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,Z)=>{var u,q,$,ne,ae,J,Ne,X,re,De,Me,de,ge,me,Ee,ye,Ie,Te,xe,ze,Se,Ce,ke,fe,je,be,pe,Ye,he,Oe,k,Ve,Qe,Le,Ge,h,We,Ze,r,ie,Ae,W,Fe,ce,Pe,He,Je,Ke,ue,qe,$e,ve,et,ot,nt,at,it,st,dt,rt,ct,Nt,Dt,Mt,gt,mt,Et,yt,It,pt,At,xt,zt,St,Ct,kt,ft,jt,bt,Ut,Ot,wt,Yt,ht,Qt,Bt,Rt,Ft,Pt,Lt,Gt,Wt,Zt,Ht,Jt,_t,Xt,Kt,I,Ue,f,tt,Vt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,gl,ml,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Sl,Cl,kl,fl,jl,bl,Ul,Ol,wl,Yl,hl,Ql,Bl,Rl,Fl,Pl,Ll,Gl,Wl,Zl,Hl,_l,Xl,Kl,_e,$l,eo,to,lo,oo,no,ao,io,so,ro,co,No,Do,Mo,go,mo,Eo,yo,Io,po,Ao,Vo,To,xo,zo,So,Co,ko,fo,jo,bo,Uo,Oo,wo,Yo,ho,Qo,Bo,Ro,Fo,Po,Lo,Go,Wo,Zo,Ho,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,_,Jl,cn,Nn,Dn,Mn,gn,mn,En,yn,Xe,Vn,Tn,xn,zn,K,ul,Sn,Cn,kn,fn,jn,bn,Un,On,lt,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ga,ma,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Sa,Ca,ka,fa,ja,ba,Ua,Oa,wa,Ya,ha,Qa,Ba,Ra,Fa,Pa,La,Ga,Wa,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,gi,mi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Si,Ci,ki,fi,ji,bi,Ui,Oi,wi,Yi,hi,Qi,Bi,Ri,Fi,Pi,Li,Gi,Wi,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:Z,class:"segment-block"},[e.createElementVNode("div",DI,"Voyage Analysis Seg. "+e.toDisplayString(Z+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((u=n==null?void 0:n.extend)==null?void 0:u.segTimes,(we,Zn)=>{var In,pn,wn,Yn,hn,Qn,Bn,Rn,$i,vi;return e.openBlock(),e.createElementBlock("div",{key:Zn,class:"segment-row flex-space"},[e.createElementVNode("div",MI,[(In=we==null?void 0:we.departure)!=null&&In.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((pn=we==null?void 0:we.departure)==null?void 0:pn.portName),1)):(e.openBlock(),e.createElementBlock("span",mI,e.toDisplayString(i.computeLat((wn=we==null?void 0:we.departure)==null?void 0:wn.lat).pretty)+", "+e.toDisplayString(i.computeLng((Yn=we==null?void 0:we.departure)==null?void 0:Yn.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((hn=we==null?void 0:we.departure)==null?void 0:hn.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",EI,[(Qn=we==null?void 0:we.arrival)!=null&&Qn.portName?(e.openBlock(),e.createElementBlock("span",yI,e.toDisplayString((Bn=we==null?void 0:we.arrival)==null?void 0:Bn.portName),1)):(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString(i.computeLat((Rn=we==null?void 0:we.arrival)==null?void 0:Rn.lat).pretty)+", "+e.toDisplayString(i.computeLng(($i=we==null?void 0:we.arrival)==null?void 0:$i.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(i.computeUTCTime((vi=we==null?void 0:we.arrival)==null?void 0:vi.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",pI,[e.createElementVNode("table",null,[t[55]||(t[55]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),t[56]||(t[56]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",AI,e.toDisplayString(($=(q=n==null?void 0:n.goodWx)==null?void 0:q.outEca)==null?void 0:$.distance),1),e.createElementVNode("td",VI,e.toDisplayString((ae=(ne=n==null?void 0:n.goodWx)==null?void 0:ne.inEca)==null?void 0:ae.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(J=n==null?void 0:n.allWx)==null?void 0:J.outEca)==null?void 0:Ne.distance),1),e.createElementVNode("td",null,e.toDisplayString((re=(X=n==null?void 0:n.allWx)==null?void 0:X.inEca)==null?void 0:re.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",TI,e.toDisplayString((Me=(De=n==null?void 0:n.goodWx)==null?void 0:De.outEca)==null?void 0:Me.time),1),e.createElementVNode("td",xI,e.toDisplayString((ge=(de=n==null?void 0:n.goodWx)==null?void 0:de.inEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(me=n==null?void 0:n.allWx)==null?void 0:me.outEca)==null?void 0:Ee.time),1),e.createElementVNode("td",null,e.toDisplayString((Ie=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Ie.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",zI,e.toDisplayString(((xe=(Te=n==null?void 0:n.goodWx)==null?void 0:Te.outEca)==null?void 0:xe.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(ze=n==null?void 0:n.goodWx)==null?void 0:ze.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ke=(Ce=n==null?void 0:n.allWx)==null?void 0:Ce.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(fe=n==null?void 0:n.allWx)==null?void 0:fe.inEca)==null?void 0:je.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",CI,e.toDisplayString(((pe=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",kI,e.toDisplayString(((he=(Ye=n==null?void 0:n.goodWx)==null?void 0:Ye.inEca)==null?void 0:he.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((k=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:k.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.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=(Le=n==null?void 0:n.goodWx)==null?void 0:Le.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",jI,e.toDisplayString(((We=(h=n==null?void 0:n.goodWx)==null?void 0:h.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ae=(ie=n==null?void 0:n.allWx)==null?void 0:ie.inEca)==null?void 0:Ae.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(((Fe=(W=n==null?void 0:n.goodWx)==null?void 0:W.outEca)==null?void 0:Fe.sumDgoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((Pe=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Pe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Je=(He=n==null?void 0:n.allWx)==null?void 0:He.outEca)==null?void 0:Je.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",OI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",wI,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(((nt=(ot=n==null?void 0:n.allWx)==null?void 0:ot.outEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.inEca)==null?void 0:it.avgDgoCons)||"--"),1)])]),(st=n==null?void 0:n.goodWx)!=null&&st.distance?(e.openBlock(),e.createElementBlock("table",YI,[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(a.noons[Z],(we,Zn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Zn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(we,(In,pn)=>{var wn,Yn,hn,Qn,Bn,Rn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:pn},[In.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(In.type)+" "+e.toDisplayString(i.computeUTCTime(In.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(i.computeUTCTime((hn=we[pn-1]||((Yn=(wn=a.noons[Z-1])==null?void 0:wn[0])==null?void 0:Yn.at(-1)))==null?void 0:hn.utc,"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(i.computeUTCTime(In.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(i.computeDuration(In.utc,(Rn=we[pn-1]||((Bn=(Qn=a.noons[Z-1])==null?void 0:Qn[0])==null?void 0:Bn.at(-1)))==null?void 0:Rn.utc)),1)])])):e.createCommentVNode("",!0)],64)}),128))],64))),128))])):e.createCommentVNode("",!0)]),(dt=a.exclusion[Z])!=null&&dt.time?(e.openBlock(),e.createElementBlock("div",QI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("div",BI,[e.createElementVNode("div",RI,[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",FI,[(Nt=(ct=l.report)==null?void 0:ct.weather)!=null&&Nt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(zt=(xt=l.report)==null?void 0:xt.weather)!=null&&zt.disableWxFactor&&((Ct=(St=l.report)==null?void 0:St.weather)!=null&&Ct.disableCFactor)?(e.openBlock(),e.createElementBlock("span",GI,e.toDisplayString((kt=n==null?void 0:n.goodWx)==null?void 0:kt.pfmSpd)+" (kts)",1)):(jt=(ft=l.report)==null?void 0:ft.weather)!=null&&jt.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(((Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf)>0?(Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf:`(${(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",WI,e.toDisplayString((Yt=n==null?void 0:n.goodWx)==null?void 0:Yt.pfmSpd)+" (kts)",1)],64)):(Qt=(ht=l.report)==null?void 0:ht.weather)!=null&&Qt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf)>0?(Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.avgWf:`(${(Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((Lt=n==null?void 0:n.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.avgSpd),1),t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Wt=n==null?void 0:n.goodWx)==null?void 0:Wt.avgWf)>0?(Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgWf:`(${(Ht=n==null?void 0:n.goodWx)==null?void 0:Ht.avgWf})`),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.avgCf)>0?(_t=n==null?void 0:n.goodWx)==null?void 0:_t.avgCf:`(${(Xt=n==null?void 0:n.goodWx)==null?void 0:Xt.avgCf})`),1),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.favorableCur&&((gt=n==null?void 0:n.goodWx)==null?void 0:gt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((mt=n==null?void 0:n.goodWx)==null?void 0:mt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgCf:`(${(It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",PI,e.toDisplayString((pt=n==null?void 0:n.goodWx)==null?void 0:pt.pfmSpd)+" (kts)",1)],64))],64)),((I=n==null?void 0:n.goodWx)==null?void 0:I.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",JI,"(Under-performance)")):e.createCommentVNode("",!0),((Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",_I,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XI,[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",KI,[(tt=(f=l.report)==null?void 0:f.weather)!=null&&tt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(vt=($t=l.report)==null?void 0:$t.weather)!=null&&vt.disableWxFactor&&((tl=(el=l.report)==null?void 0:el.weather)!=null&&tl.disableCFactor)?(e.openBlock(),e.createElementBlock("label",uI,"GW Average Speed")):(ol=(ll=l.report)==null?void 0:ll.weather)!=null&&ol.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)):(al=(nl=l.report)==null?void 0:nl.weather)!=null&&al.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[81]||(t[81]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"-",-1)),t[83]||(t[83]=e.createElementVNode("label",null,"GW Weather Factor",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(ut=(Vt=l.report)==null?void 0:Vt.weather)!=null&&ut.favorableCur&&((qt=n==null?void 0:n.goodWx)==null?void 0:qt.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",qI,[e.createElementVNode("div",$I,[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",vI,[(sl=(il=l.report)==null?void 0:il.weather)!=null&&sl.favorableCur&&((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((yl=n==null?void 0:n.allWx)==null?void 0:yl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Il=n==null?void 0:n.allWx)==null?void 0:Il.avgWf)>0?(pl=n==null?void 0:n.allWx)==null?void 0:pl.avgWf:`(${(Al=n==null?void 0:n.allWx)==null?void 0:Al.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",tp,e.toDisplayString((Vl=n==null?void 0:n.allWx)==null?void 0:Vl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((rl=n==null?void 0:n.allWx)==null?void 0:rl.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((cl=n==null?void 0:n.allWx)==null?void 0:cl.avgCf)>0?(Nl=n==null?void 0:n.allWx)==null?void 0:Nl.avgCf:`(${(Dl=n==null?void 0:n.allWx)==null?void 0:Dl.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.avgWf)>0?(gl=n==null?void 0:n.allWx)==null?void 0:gl.avgWf:`(${(ml=n==null?void 0:n.allWx)==null?void 0:ml.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ep,e.toDisplayString((El=n==null?void 0:n.allWx)==null?void 0:El.pfmSpd)+" (kts)",1)],64)),((Tl=n==null?void 0:n.allWx)==null?void 0:Tl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",lp,"(Under-performance)")):e.createCommentVNode("",!0),((xl=n==null?void 0:n.allWx)==null?void 0:xl.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",op,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",np,[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",ap,[(Sl=(zl=l.report)==null?void 0:zl.weather)!=null&&Sl.favorableCur&&((Cl=n==null?void 0:n.allWx)==null?void 0:Cl.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",ip,[e.createElementVNode("div",sp,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",dp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Time Analysis",1),(fl=(kl=l.report)==null?void 0:kl.weather)!=null&&fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",rp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",cp,[e.createElementVNode("div",Np,[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",Dp,[e.createElementVNode("div",Mp,[e.createElementVNode("div",null,e.toDisplayString((bl=(jl=l.report)==null?void 0:jl.weather)!=null&&bl.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",mp,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ol=(Ul=n==null?void 0:n.extend)==null?void 0:Ul.cp)==null?void 0:Ol.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Ep,[e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((Yl=(wl=l.report)==null?void 0:wl.weather)!=null&&Yl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ql=(hl=n==null?void 0:n.extend)==null?void 0:hl.cp)==null?void 0:Ql.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",Ip,[e.createElementVNode("div",pp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Rl=(Bl=n==null?void 0:n.extend)==null?void 0:Bl.cp)==null?void 0:Rl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Vp,[e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=l.report)==null?void 0:Fl.weather)!=null&&Pl.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Gl=(Ll=n==null?void 0:n.extend)==null?void 0:Ll.cp)==null?void 0:Gl.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-d01e604e><div class="flex-space" style="width:300px;font-weight:400;" data-v-d01e604e><label data-v-d01e604e>Time Lost</label><div data-v-d01e604e>=</div><div data-v-d01e604e>(a)</div><div data-v-d01e604e>-</div><div data-v-d01e604e>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d01e604e><label data-v-d01e604e>Time Gained</label><div data-v-d01e604e>=</div><div data-v-d01e604e>(c)</div><div data-v-d01e604e>-</div><div data-v-d01e604e>(a)</div></div></div>',1))]),e.createElementVNode("div",Tp,[e.createElementVNode("div",xp,[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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Zl=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:Zl.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",zp,[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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(_l=(Hl=n==null?void 0:n.extend)==null?void 0:Hl.cp)==null?void 0:_l.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,($l=(_e=n==null?void 0:n.extend)==null?void 0:_e.cp)==null?void 0:$l.speed,"Under"))+" kts) ",1)])]),(eo=n==null?void 0:n.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",Cp,[e.createElementVNode("div",kp,[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",jp,[e.createElementVNode("div",null,e.toDisplayString((lo=(to=l.report)==null?void 0:to.weather)!=null&&lo.noExtrapolation?(oo=n==null?void 0:n.goodWx)==null?void 0:oo.distance:(no=n==null?void 0:n.allWx)==null?void 0:no.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ao=n==null?void 0:n.goodWx)==null?void 0:ao.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((io=n==null?void 0:n.timeConclusion)==null?void 0:io.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",bp,[e.createElementVNode("div",Up,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ro=(so=n==null?void 0:n.extend)==null?void 0:so.cp)==null?void 0:ro.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Op,[e.createElementVNode("div",wp,[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[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.timeConclusion)==null?void 0:mo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Yp,[e.createElementVNode("div",hp,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(i.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,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",Qp,[e.createElementVNode("div",Bp,[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[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",Rp,[((zo=n==null?void 0:n.timeConclusion)==null?void 0:zo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",Fp,[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((So=n==null?void 0:n.timeConclusion)==null?void 0:So.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Co=n==null?void 0:n.timeConclusion)==null?void 0:Co.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ko=n==null?void 0:n.timeConclusion)==null?void 0:ko.timeLost)+" (hrs)",1)])):((fo=n==null?void 0:n.timeConclusion)==null?void 0:fo.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Pp,[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((jo=n==null?void 0:n.timeConclusion)==null?void 0:jo.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((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?"flex-center lost":((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.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(((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Lp,e.toDisplayString(a.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",Gp,[e.createElementVNode("div",Wp,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Zp,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(Z+1)+" Consumption Analysis",1),(Qo=(ho=l.report)==null?void 0:ho.weather)!=null&&Qo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",Hp,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Jp,[e.createElementVNode("div",_p,[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",Xp,[e.createElementVNode("div",Kp,[e.createElementVNode("div",null,e.toDisplayString((Ro=(Bo=l.report)==null?void 0:Bo.weather)!=null&&Ro.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",up,[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)),((Po=(Fo=n.extend)==null?void 0:Fo.cp)==null?void 0:Po.dgo)>0?(e.openBlock(),e.createElementBlock("div",qp," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",$p,[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",vp,[e.createElementVNode("div",e0,[e.createElementVNode("div",null,e.toDisplayString((Go=(Lo=l.report)==null?void 0:Lo.weather)!=null&&Go.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Zo=(Wo=n==null?void 0:n.extend)==null?void 0:Wo.cp)==null?void 0:Zo.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",t0,[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",l0,[e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Ho=l.report)==null?void 0:Ho.weather)!=null&&Jo.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(i.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Xo=(_o=n==null?void 0:n.extend)==null?void 0:_o.cp)==null?void 0:Xo.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-d01e604e><div class="flex-space" style="width:300px;font-weight:400;" data-v-d01e604e><label data-v-d01e604e>Fuel Over-consumption</label><div data-v-d01e604e>=</div><div data-v-d01e604e>(d)</div><div data-v-d01e604e>-</div><div data-v-d01e604e>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d01e604e><label data-v-d01e604e>Fuel Saving</label><div data-v-d01e604e>=</div><div data-v-d01e604e>(f)</div><div data-v-d01e604e>-</div><div data-v-d01e604e>(d)</div></div></div>',1)),((uo=(Ko=n.extend)==null?void 0:Ko.cp)==null?void 0:uo.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",n0,[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",a0,[e.createElementVNode("div",i0,[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(($o=(qo=l.report)==null?void 0:qo.weather)!=null&&$o.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",s0,[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",d0,[e.createElementVNode("div",r0,[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((en=(vo=l.report)==null?void 0:vo.weather)!=null&&en.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",c0,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"},"  ",-1)),e.createElementVNode("div",N0,"Seg. "+e.toDisplayString(Z+1)+" Fuel Oil",1)]),(tn=n==null?void 0:n.goodWx)!=null&&tn.distance?(e.openBlock(),e.createElementBlock("div",D0,[((on=(ln=n==null?void 0:n.goodWx)==null?void 0:ln.inEca)==null?void 0:on.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",m0,[e.createElementVNode("div",null,e.toDisplayString((an=(nn=n==null?void 0:n.goodWx)==null?void 0:nn.inEca)==null?void 0:an.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",E0,[e.createElementVNode("div",null,e.toDisplayString((dn=(sn=n==null?void 0:n.extend)==null?void 0:sn.cp)==null?void 0:dn.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((_=(rn=n==null?void 0:n.goodWx)==null?void 0:rn.inEca)==null?void 0:_.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((cn=(Jl=n==null?void 0:n.fuelConclusion)==null?void 0:Jl.fo)==null?void 0:cn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",y0,[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",I0,[e.createElementVNode("div",p0,[e.createElementVNode("div",null,e.toDisplayString((Dn=(Nn=l.report)==null?void 0:Nn.weather)!=null&&Dn.noExtrapolation?(Mn=n==null?void 0:n.goodWx)==null?void 0:Mn.distance:(gn=n==null?void 0:n.allWx)==null?void 0:gn.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mn=n==null?void 0:n.goodWx)==null?void 0:mn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",A0,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((En=n==null?void 0:n.goodWx)==null?void 0:En.sumFoCons),1),((Xe=(yn=n==null?void 0:n.goodWx)==null?void 0:yn.inEca)==null?void 0:Xe.distance)>0?(e.openBlock(),e.createElementBlock("span",V0,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((Tn=(Vn=n==null?void 0:n.fuelConclusion)==null?void 0:Vn.fo)==null?void 0:Tn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((xn=n==null?void 0:n.goodWx)==null?void 0:xn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((K=(zn=n.fuelConclusion)==null?void 0:zn.fo)==null?void 0:K.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",T0,[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",x0,[e.createElementVNode("div",z0,[e.createElementVNode("div",null,e.toDisplayString((Sn=(ul=l.report)==null?void 0:ul.weather)!=null&&Sn.noExtrapolation?(Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.distance:(kn=n==null?void 0:n.allWx)==null?void 0:kn.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((fn=n==null?void 0:n.timeConclusion)==null?void 0:fn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",S0,[e.createElementVNode("div",null,e.toDisplayString((bn=(jn=n==null?void 0:n.fuelConclusion)==null?void 0:jn.fo)==null?void 0:bn.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((On=(Un=n.fuelConclusion)==null?void 0:Un.fo)==null?void 0:On.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",C0,[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",k0,[e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((Jn=(lt=l.report)==null?void 0:lt.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",j0,[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",U0,[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",O0,[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",w0,[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((ma=(ga=l.report)==null?void 0:ga.weather)!=null&&ma.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",Y0,[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((Sa=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Sa.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Ca=n==null?void 0:n.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:ka.saving)+" (mt)",1)]),(ja=(fa=n==null?void 0:n.goodWx)==null?void 0:fa.inEca)!=null&&ja.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",Q0,[e.createElementVNode("div",null,e.toDisplayString((Ua=(ba=l.report)==null?void 0:ba.weather)!=null&&Ua.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(ha=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:ha.distance)+" * "+e.toDisplayString((Ba=(Qa=n==null?void 0:n.fuelConclusion)==null?void 0:Qa.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:(La=n==null?void 0:n.allWx)==null?void 0:La.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Wa=(Ga=n==null?void 0:n.fuelConclusion)==null?void 0:Ga.fo)==null?void 0:Wa.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",B0,e.toDisplayString(a.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",R0,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",F0,"Seg. "+e.toDisplayString(Z+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",P0,[e.createElementVNode("div",L0,[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",G0,[e.createElementVNode("div",W0,[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",Z0,[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",H0,[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",J0,[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",_0,[e.createElementVNode("div",X0,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(gi=n==null?void 0:n.goodWx)==null?void 0:gi.distance:(mi=n==null?void 0:n.allWx)==null?void 0:mi.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",K0,[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",u0,[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",q0,[e.createElementVNode("div",$0,[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((Si=n==null?void 0:n.timeConclusion)==null?void 0:Si.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",v0,[e.createElementVNode("div",null,e.toDisplayString((ki=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.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((ji=(fi=n.fuelConclusion)==null?void 0:fi.dgo)==null?void 0:ji.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",eA,[((Ui=(bi=n==null?void 0:n.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:Ui.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",tA,[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((hi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:hi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(Qi=n==null?void 0:n.fuelConclusion)==null?void 0:Qi.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",lA,[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((Li=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Li.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Wi=(Gi=n==null?void 0:n.fuelConclusion)==null?void 0:Gi.dgo)==null?void 0:Wi.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",oA,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const aA=Re(FE,[["render",nA],["__scopeId","data-v-d01e604e"]]),jY="",iA={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`${G(o).utc().format(t)}`}},computeLng(){return function(o){return se.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return se.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?se.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,a,i,D,s,c,m,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=((i=(a=this.report)==null?void 0:a.weather)==null?void 0:i.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((m=(c=this.report)==null?void 0:c.weather)==null?void 0:m.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},sA={class:"report-inventory"},dA={class:"section summary-section"},rA={class:"summary-block"},cA={class:"label",rowspan:"4"},NA={class:"section inventory-section"},DA={class:"inventory-block flex-center"},MA={style:{"font-size":"12px"}},gA=["colspan"],mA={key:0,class:"label",colspan:"2"},EA={key:0,class:"label",rowspan:"2"},yA={key:1,class:"label",rowspan:"2"},IA={key:2,class:"label",rowspan:"2"},pA={key:3,class:"label",colspan:"2"},AA={key:4,class:"label",rowspan:"2"},VA={key:5,class:"label",colspan:"2"},TA={key:6,class:"label",rowspan:"2"},xA={key:7,class:"label",rowspan:"2"},zA={key:8,class:"label",rowspan:"2"},SA={key:0,class:"label"},CA={key:1,class:"label"},kA={key:2,class:"label"},fA={key:3,class:"label"},jA={class:"summary-tbody"};function bA(o,t,l,d,a,i){var D;return e.openBlock(),e.createElementBlock("div",sA,[e.createElementVNode("div",dA,[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",rA,[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 m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",cA,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((m=s==null?void 0:s.allWx)==null?void 0:m.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((x=s==null?void 0:s.allWx)==null?void 0:x.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((y=s==null?void 0:s.goodWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.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(i.computePrecision((z=s==null?void 0:s.badWx)==null?void 0:z.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((C=s==null?void 0:s.badWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((E=s==null?void 0:s.badWx)==null?void 0:E.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((j=s==null?void 0:s.badWx)==null?void 0:j.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((B=s==null?void 0:s.badWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((F=s==null?void 0:s.excluded)==null?void 0:F.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((L=s==null?void 0:s.excluded)==null?void 0:L.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((g=s==null?void 0:s.excluded)==null?void 0:g.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((b=s==null?void 0:s.excluded)==null?void 0:b.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(i.computePrecision((U=s==null?void 0:s.excluded)==null?void 0:U.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",NA,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-fcb1f7ca><div class="flex-start" style="flex:1.2;" data-v-fcb1f7ca><div class="legend good-wx" data-v-fcb1f7ca></div><div class="label flex-end" data-v-fcb1f7ca>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-fcb1f7ca><div class="legend adverse-wx" data-v-fcb1f7ca></div><div class="label" data-v-fcb1f7ca>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-fcb1f7ca><div class="legend excluded" data-v-fcb1f7ca></div><div class="label" data-v-fcb1f7ca>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-fcb1f7ca><div data-v-fcb1f7ca><label data-v-fcb1f7ca>B</label><span data-v-fcb1f7ca>BOSP</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>N</label><span data-v-fcb1f7ca>NOON</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>E</label><span data-v-fcb1f7ca>EOSP</span></div><div data-v-fcb1f7ca><label data-v-fcb1f7ca>*</label><span data-v-fcb1f7ca>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-fcb1f7ca> The &#39;ORM Analysis Weather&#39; row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",DA,[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:i.computeWxColspan},"ORM Weather Analysis",8,gA),l.showFactor?(e.openBlock(),e.createElementBlock("th",mA,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",EA,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",yA,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),a.showWave?(e.openBlock(),e.createElementBlock("th",IA,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",pA,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",AA,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",VA,"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",TA,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",xA,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",zA,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),a.showSwell?(e.openBlock(),e.createElementBlock("th",SA,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",CA,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",kA,"Dir")):e.createCommentVNode("",!0),a.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",jA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P;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)&&((m=s.noon)!=null&&m.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2"},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(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(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"?"-":((y=(x=s.meteo)==null?void 0:x.wind)==null?void 0:y.scale)??"-"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:A.height)??"-"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((C=(z=(S=s.meteo)==null?void 0:S.wave)==null?void 0:z.swell)==null?void 0:C.direction)??"-"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((B=(j=(E=s.meteo)==null?void 0:E.wave)==null?void 0:j.swell)==null?void 0:B.height)??"-"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((g=(L=(F=s.meteo)==null?void 0:F.wave)==null?void 0:L.sig)==null?void 0:g.height)??"-"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((U=(b=s.meteo)==null?void 0:b.current)==null?void 0:U.direction)??"-"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=s.meteo)==null?void 0:O.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((R=s.meteo)==null?void 0:R.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(((w=s.meteo)==null?void 0:w.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((P=s.meteo)==null?void 0:P.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(i.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const UA=Re(iA,[["render",bA],["__scopeId","data-v-fcb1f7ca"]]),bY="",OA={name:"OrmVoyageChart",components:{Lng:Pn,Lat:Ln},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`${G(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(Wn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Wn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Wn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,x,y,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 a=0,i=0;const D=this.inventory.filter(A=>A.noon)||[],s=[];this.inventory.forEach((A,S)=>{var z,C;S===0&&s.push(A.utc),A.type==="EOSP"&&((z=this.inventory[S+1])==null?void 0:z.type)==="BOSP"&&(s.push(A.utc),s.push((C=this.inventory[S+1])==null?void 0:C.utc)),S===this.inventory.length-1&&s.push(A.utc)}),s.forEach((A,S)=>{if(S%2===0){const z=G(s[S+1]).diff(G(s[S]),"minute",!0);for(let C=0;C<=z+1;C++)t.push(this.computeUTCTime(G(s[S]).clone().utc().add(C,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((A,S)=>{var C,E,j,B,F,L,g,b,U,O,R,w,P,Q;const z=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(Y=>Y.slice(0,5)===A.utc.slice(5,10))&&o.push(z),S===D.length-1&&(o=o.filter(Y=>Y.slice(0,5)!==A.utc.slice(5,10)),o.push(z)),a=Math.ceil(((C=A.noon)==null?void 0:C.foCons)>a?(E=A.noon)==null?void 0:E.foCons:a),a=Math.ceil(((j=A.cp)==null?void 0:j.fo)>a?(B=A.cp)==null?void 0:B.fo:a),i=Math.ceil(((F=A.noon)==null?void 0:F.dgoCons)>i?(L=A.noon)==null?void 0:L.dgoCons:i),i=Math.ceil(((g=A.cp)==null?void 0:g.dgo)>i?(b=A.cp)==null?void 0:b.dgo:i),l.push([z,(U=A.noon)==null?void 0:U.avgSpd,(O=A.noon)==null?void 0:O.foCons,(R=A.noon)==null?void 0:R.dgoCons,A.avgSpdCalc,A.cp.speed,A.goodWx&&!A.excluded?100:0,A.cp.dgo,A.cp.fo,A.excluded?100:0]),S<D.length-1){const Y=D[S+1];l.push([z,(w=Y.noon)==null?void 0:w.avgSpd,(P=Y.noon)==null?void 0:P.foCons,(Q=Y.noon)==null?void 0:Q.dgoCons,Y.avgSpdCalc,Y.cp.speed,Y.goodWx&&!Y.excluded?100:0,Y.cp.dgo,Y.cp.fo,Y.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((A,S)=>S===0||S===o.length-1||S%c===0);const m={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:a+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}]};(x=this.spdFoConsChart)==null||x.setOption(m);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:i+.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=(y=this.report)==null?void 0:y.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 x;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 a=4;const i=this.inventory||[],D=[];i.forEach((y,V)=>{var T,A;V===0&&D.push(y.utc),y.type==="EOSP"&&((T=i[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(y.utc),D.push((A=i[V+1])==null?void 0:A.utc)),V===i.length-1&&D.push(y.utc)}),D.forEach((y,V)=>{if(V%2===0){const T=G(D[V+1]).diff(G(D[V]),"minute",!0);for(let A=0;A<=T+1;A++)t.push(this.computeUTCTime(G(D[V]).clone().utc().add(A,"m").format(),"MM-DD/HHmm[Z]"))}}),i.forEach((y,V)=>{var A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y,v,ee,te,le,oe,n,Z,u,q,$,ne,ae;const T=this.computeUTCTime(y.utc,"MM-DD/HHmm[Z]");if(y.noon&&!o.some(J=>J.slice(0,5)===y.utc.slice(5,10))&&o.push(T),V===i.length-1&&(o=o.filter(J=>J.slice(0,5)!==y.utc.slice(5,10)),o.push(T)),a=Math.ceil(((z=(S=(A=y.meteo)==null?void 0:A.wave)==null?void 0:S.sig)==null?void 0:z.height)>a?(j=(E=(C=y.meteo)==null?void 0:C.wave)==null?void 0:E.sig)==null?void 0:j.height:a),l.push([T,((B=y.noon)==null?void 0:B.windBF)||((L=(F=y.meteo)==null?void 0:F.wind)==null?void 0:L.scale),(b=(g=y.meteo)==null?void 0:g.wind)==null?void 0:b.scale,(O=(U=y.meteo)==null?void 0:U.wind)==null?void 0:O.direction,(R=y.noon)==null?void 0:R.seasHt,(Q=(P=(w=y.meteo)==null?void 0:w.wave)==null?void 0:P.sig)==null?void 0:Q.height,y.dailyAvgCf??((Y=l[l.length-1])==null?void 0:Y[d.anlyCurFct]),y.goodWx&&!y.excluded?20:0,y.excluded?20:0]),V<i.length-1){const J=i[V+1];l.push([T,((v=y.noon)==null?void 0:v.windBF)||((te=(ee=y.meteo)==null?void 0:ee.wind)==null?void 0:te.scale),(oe=(le=J.meteo)==null?void 0:le.wind)==null?void 0:oe.scale,(Z=(n=J.meteo)==null?void 0:n.wind)==null?void 0:Z.direction,(u=J.noon)==null?void 0:u.seasHt,(ne=($=(q=y.meteo)==null?void 0:q.wave)==null?void 0:$.sig)==null?void 0:ne.height,J.dailyAvgCf??((ae=l[l.length-1])==null?void 0:ae[d.anlyCurFct]),J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((y,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,m=2.5,p=1,N=5;c<-2.5||m>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,m=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(m)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(m)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,m=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:!0,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:m,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:(y,V)=>{if(y>=0)return y}}},{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:(y,V)=>{if(y>=0)return y}}},{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}]};(x=this.currChart)==null||x.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const a=o[d];if(a.length>=t+1){const i=a[t];typeof i=="number"&&!isNaN(i)&&Number(i)>l&&(l=i)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const a=o[d];if(a.length>=t+1){const i=a[t];i<l&&(l=i)}}return l}}},wA={class:"report-summary"},YA={class:"section chart-section"},hA={class:"chart-block"},QA={ref:"spdFoConsChart",class:"chart"},BA={ref:"spdDgoConsChart",class:"chart"},RA={ref:"currChart",class:"chart"},FA={class:"section map-section"},PA={class:"map-block"},LA={class:"flex-space"},GA={class:"voyage-block",style:{height:"197px"}},WA={class:"flex-space label-block",style:{width:"100%"}},ZA={style:{"text-transform":"uppercase"}},HA={class:"flex-space label-block",style:{width:"100%"}},JA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_A={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},XA={class:"flex-space label-block",style:{width:"100%"}},KA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uA={class:"flex-space label-block",style:{width:"100%"}},qA={key:0,class:"flex-end",style:{flex:"1"}},$A={key:1,class:"flex-end",style:{flex:"1"}},vA={class:"flex-end",style:{width:"160px"}},eV={class:"flex-space label-block",style:{width:"100%"}},tV={key:0,class:"flex-end",style:{flex:"1"}},lV={key:1,class:"flex-end",style:{flex:"1"}},oV={class:"flex-end",style:{width:"160px"}},nV={class:"flex-space label-block",style:{width:"100%"}},aV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},iV=["src"];function sV(o,t,l,d,a,i){var c,m,p,N,M,x,y,V,T,A,S,z,C,E,j,B,F,L,g,b,U,O,R,w,P,Q,Y;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",wA,[e.createElementVNode("div",YA,[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",QA,null,512),e.createElementVNode("div",BA,null,512),e.createElementVNode("div",RA,null,512)])]),e.createElementVNode("div",FA,[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",PA,[e.createElementVNode("div",LA,[e.createElementVNode("div",GA,[e.createElementVNode("div",WA,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",ZA,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",HA,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",JA,e.toDisplayString((m=(c=l.report)==null?void 0:c.vessel)==null?void 0:m.name),1),e.createElementVNode("span",_A,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",XA,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KA,e.toDisplayString((x=(M=l.report)==null?void 0:M.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",uA,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(y=l.report)==null?void 0:y.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",qA,e.toDisplayString((A=(T=l.report)==null?void 0:T.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",$A,[e.createVNode(D,{lat:(z=(S=l.report)==null?void 0:S.departure)==null?void 0:z.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:(C=l.report.departure)==null?void 0:C.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",vA,e.toDisplayString(i.computeUTCTime((E=l.report.departure)==null?void 0:E.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",eV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(B=(j=l.report)==null?void 0:j.arrival)!=null&&B.portName?(e.openBlock(),e.createElementBlock("span",tV,e.toDisplayString((L=(F=l.report)==null?void 0:F.arrival)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",lV,[e.createVNode(D,{lat:(b=(g=l.report)==null?void 0:g.arrival)==null?void 0:b.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=(U=l.report)==null?void 0:U.arrival)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",oV,e.toDisplayString(i.computeUTCTime((w=(R=l.report)==null?void 0:R.arrival)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",nV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",aV,e.toDisplayString((Q=(P=l.report)==null?void 0:P.voyage)==null?void 0:Q.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-bc08b8a6><div style="position:absolute;margin-top:-8px;" data-v-bc08b8a6>LEGEND</div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6>0812</div><div data-v-bc08b8a6><div data-v-bc08b8a6>08 - Day of the month</div><div data-v-bc08b8a6>12 - Hours of the day</div></div></div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-bc08b8a6></i></div><div data-v-bc08b8a6><div data-v-bc08b8a6>Wind from N (000)</div><div data-v-bc08b8a6>Each bard = 10 kts</div><div data-v-bc08b8a6>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-bc08b8a6><div data-v-bc08b8a6>W 4</div><div data-v-bc08b8a6>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-bc08b8a6><div class="good-wx" data-v-bc08b8a6>Date</div><div data-v-bc08b8a6>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(Y=l.report)==null?void 0:Y.chartUrl,alt:""},null,8,iV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-bc08b8a6><div class="header-block flex-center" data-v-bc08b8a6><i class="iconfont" data-v-bc08b8a6></i><div class="title" data-v-bc08b8a6>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-bc08b8a6><div class="method-title" data-v-bc08b8a6>1. Good Weather Method</div><div class="method-body" data-v-bc08b8a6> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-bc08b8a6> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-bc08b8a6> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-bc08b8a6><div class="method-title" data-v-bc08b8a6>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>4. “About”</div><div class="method-body" data-v-bc08b8a6> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-bc08b8a6> 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-bc08b8a6> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-bc08b8a6> 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-bc08b8a6><div class="method-title" data-v-bc08b8a6>6. Further reference materials</div><div class="method-body" data-v-bc08b8a6>Please send mail to <a href="mailto:op@ormwx.com" data-v-bc08b8a6>op@ormwx.com</a>.</div></div></div></div>',1))])}const dV=Re(OA,[["render",sV],["__scopeId","data-v-bc08b8a6"]]),UY="",OY="",rV={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`${G(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,m;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((m=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:m.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const a=document.getElementById("col1"),i=document.getElementById("col2"),D=(a==null?void 0:a.offsetHeight)||0,s=(i==null?void 0:i.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>