@idmwx/idmui-report 3.6.3 → 3.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -12
- package/dist/index.umd.cjs +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -38,17 +38,17 @@
|
|
|
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)];function ch(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const on=Ce(oh,[["render",ch]]),ih={install(o){o.component("PiLogo",on)}},LY="",WY="",dh={name:"FliVygSummary",components:{Editor:Go},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 s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?u(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?u(o).utc().format("MMMM D, HHmm[Z]"):s?u(o).utc().format(s):u(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-d80f1a42"),o=o(),e.popScopeId(),o),rh=d(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),bh={class:"content flex"},gh={class:"item"},xh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),kh={class:"content flex"},Dh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),uh={class:"content"},Kh={key:2,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),b1={class:"main-content"},g1={key:0},x1={key:1},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},u1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},b_={class:"uppercase"},g_={class:"item"},x_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),k_={key:0,class:"remark-detail"},D_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),u_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},bE={class:"card phase-card",style:{flex:"1"}},gE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),xE={class:"main-content"},kE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),DE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$E=d(()=>e.createElementVNode("span",null,"nm",-1)),HE={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),uE={class:"card-content"},KE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),by={class:"main-content"},gy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),xy={class:"main-content"},ky={class:"card-content"},Dy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},$y=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Hy={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},bN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xN={style:{width:"10%"}},kN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},uN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},bV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xV={style:{width:"8%"}},kV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},uV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={style:{width:"10%"}},XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),qV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),bf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gf={style:{width:"10%"}},xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),kf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Df={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),uf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=d(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b0={style:{width:"25%"},class:"fraction"},g0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),B0=d(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function w0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",bh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",gh,[xh,e.createElementVNode("div",kh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",uh,e.toDisplayString(((v=(j=t.reportData)==null?void 0:j.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",Kh,[jh,e.createElementVNode("div",Xh,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=t.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(ge=(be=t.reportData)==null?void 0:be.weather)!=null&&ge.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[c1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),i1,e.createElementVNode("div",d1,[((ke=(xe=t.reportData)==null?void 0:xe.segments)==null?void 0:ke.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(De=t.reportData)==null?void 0:De.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=t.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",b1,[(Le=(Pe=t.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(($e=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:$e.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",x1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Ne=(He=t.reportData)==null?void 0:He.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Ke=(ue=t.reportData)==null?void 0:ue.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(je=t.reportData)==null?void 0:je.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[u1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",b_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",g_,[x_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",k_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",D_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",u_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",bE,[gE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),kE,e.createElementVNode("div",DE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),$E])])]),e.createElementVNode("div",HE,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",uE,[KE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),jE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",by,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),gy,e.createElementVNode("div",xy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",ky,[Dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[$y,e.createElementVNode("div",Hy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",Ky,[jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),Xy])])]),e.createElementVNode("div",qy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",cN,[iN,($t=m.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ht=m.goodWx)!=null&&Ht.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=t.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),bN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),gN,e.createElementVNode("div",xN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),kN]),e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=t.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Kt=(ut=t.reportData)==null?void 0:ut.weather)!=null&&Kt.noExtrapolation?(jt=m.goodWx)==null?void 0:jt.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",uN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",jN,[XN,qN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=t.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((bo=m.goodWx)==null?void 0:bo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",cV,[iV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((xo=(go=t.reportData)==null?void 0:go.weather)!=null&&xo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[bV,gV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),kV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),DV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),uV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),KV,e.createElementVNode("div",jV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),XV]),e.createElementVNode("div",qV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(uo=m.allWx)==null?void 0:uo.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=t.reportData)==null?void 0:Ko.weather)!=null&&jo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),bf,e.createElementVNode("div",gf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),xf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),kf,e.createElementVNode("div",Df,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),uf]),Kf])]),e.createElementVNode("div",jf,[Xf,e.createElementVNode("div",qf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,c0]),e.createElementVNode("div",i0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),g0,x0]),k0,D0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-d80f1a42"]]),GY="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?u(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):u(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=u(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=u(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},ja=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),F0=ja(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=ja(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=ja(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>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-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function R0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-c9bf3740"]]),RY="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},Y0={class:"voyage-report"};function Z0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Ce(U0,[["render",Z0],["__scopeId","data-v-e76f9905"]]),zY="",Q0={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:u(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+u(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},u0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},X0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),b2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},g2={class:"section weather-section"},x2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),k2={class:"definition"},D2={class:"txt"},C2={class:"section summary-section"},S2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=i(()=>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)),G2={class:"flex-space"},R2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Y2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),J2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),u2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},X2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),q2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),eb={key:0,class:"label flex-end"},tb={key:0},ob={key:1},lb={key:2},ab={key:1,class:"label flex-end"},nb={key:2,class:"value flex-end"},sb={key:0},cb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ib={class:"gain"},db=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rb={key:1},mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),pb={class:"lost"},hb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_b={key:2},Eb={class:"item-conclusion"},yb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nb={class:"value flex-start"},Vb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fb={key:0,class:"label flex-end"},bb={key:0},gb={key:1},xb={key:2},kb={key:1,class:"label flex-end"},Db={key:2,class:"value flex-end"},Cb={key:0},Sb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bb={class:"gain"},wb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ab={key:1},Tb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fb={class:"lost"},Ob=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Pb={key:2},Lb={class:"item-conclusion"},Wb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$b={class:"value flex-start"},Hb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mb={key:0,class:"label flex-end"},Ib={key:0},Gb={key:1},Rb={key:2},zb={key:1,class:"label flex-end"},Ub={key:2,class:"value flex-end"},Yb={key:0},Zb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Qb={class:"gain"},Jb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ub={key:1},Kb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jb={class:"lost"},Xb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),qb={key:2},vb=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),eg=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tg={key:0,class:"exclusion-block"},og=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lg=i(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),ag={style:{margin:"8px 0"}},ng={class:"remark-table"},sg=i(()=>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)),cg=["innerHTML"],ig={class:"section segment-section"},dg=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rg={class:"segment-index flex-center"},mg={class:"segment-position"},pg={key:0},hg={key:1},_g=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Eg={class:"segment-position"},yg={key:0},Ng={key:1},Vg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fg={style:{margin:"10px 0 0"}},bg=i(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),gg=i(()=>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)),xg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),kg={class:"good-wx"},Dg={class:"good-wx"},Cg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sg={class:"good-wx"},Bg={class:"good-wx"},wg=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ag={class:"good-wx"},Tg={class:"good-wx"},Fg=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Og={class:"good-wx"},Pg={class:"good-wx"},Lg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wg={class:"good-wx"},$g={class:"good-wx"},Hg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mg={class:"good-wx"},Ig={class:"good-wx"},Gg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rg={class:"good-wx"},zg={class:"good-wx"},Ug={key:0,class:"flex-end tip"},Yg={key:1,class:"segment-speed"},Zg={class:"flex-center"},Qg=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jg={class:"speed-right flex-space"},ug=i(()=>e.createElementVNode("span",null,"-",-1)),Kg=i(()=>e.createElementVNode("label",null,"=",-1)),jg={class:"speed"},Xg={key:1,class:"speed"},qg={key:0,class:"speed"},vg=i(()=>e.createElementVNode("span",null,"-",-1)),ex=i(()=>e.createElementVNode("label",null,"=",-1)),tx={class:"speed"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx=i(()=>e.createElementVNode("span",null,"-",-1)),sx=i(()=>e.createElementVNode("span",null,"-",-1)),cx=i(()=>e.createElementVNode("label",null,"=",-1)),ix={class:"speed"},dx={key:2,class:"under"},rx={key:3,class:"over"},mx={class:"flex-center"},px=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hx={class:"speed-right formula flex-space"},_x=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ex=i(()=>e.createElementVNode("label",null,"-",-1)),yx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Nx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fx={key:0},bx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),gx=i(()=>e.createElementVNode("label",null,"-",-1)),xx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),kx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Dx=i(()=>e.createElementVNode("label",null,"-",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bx=i(()=>e.createElementVNode("label",null,"-",-1)),wx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx={key:2,class:"segment-speed"},Ox={class:"flex-center"},Px=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lx={class:"speed-right flex-space"},Wx=i(()=>e.createElementVNode("span",null,"-",-1)),$x=i(()=>e.createElementVNode("span",null,"-",-1)),Hx=i(()=>e.createElementVNode("label",null,"=",-1)),Mx={class:"speed"},Ix=i(()=>e.createElementVNode("span",null,"-",-1)),Gx=i(()=>e.createElementVNode("label",null,"=",-1)),Rx={class:"speed"},zx={key:2,class:"under"},Ux={key:3,class:"over"},Yx={class:"flex-center"},Zx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qx={class:"speed-right formula flex-space"},Jx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ux=i(()=>e.createElementVNode("label",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),jx=i(()=>e.createElementVNode("label",null,"-",-1)),Xx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vx=i(()=>e.createElementVNode("label",null,"-",-1)),ek=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),ok=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lk={class:"segment-formula"},ak={class:"header-block flex-start"},nk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sk={class:"title"},ck={key:0,style:{"margin-left":"4px","font-weight":"300"}},ik={class:"formula-block"},dk={class:"flex-evenly"},rk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mk={class:"formula-right flex-evenly"},pk={class:"fraction",style:{width:"240px"}},hk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_k=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ek=i(()=>e.createElementVNode("div",null,"(a)",-1)),yk={class:"flex-center"},Nk={class:"formula-left flex-space"},Vk=i(()=>e.createElementVNode("label",null,"=",-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"(b)",-1)),kk={class:"flex-center"},Dk={class:"formula-left flex-space"},Ck=i(()=>e.createElementVNode("label",null,"=",-1)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"240px"}},wk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ak=i(()=>e.createElementVNode("div",null,"(c)",-1)),Tk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Fk={class:"formula-desc"},Ok={class:"flex-end"},Pk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Lk={class:"flex-end"},Wk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),$k={class:"flex-end"},Hk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Mk={key:0,class:"formula-block",style:{"font-weight":"400"}},Ik={class:"flex-evenly"},Gk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Rk={class:"formula-right flex-evenly"},zk={class:"fraction",style:{width:"240px"}},Uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=i(()=>e.createElementVNode("div",null,"=",-1)),Zk=i(()=>e.createElementVNode("div",null,"(a')",-1)),Qk={class:"flex-center"},Jk={class:"formula-left flex-space"},uk=i(()=>e.createElementVNode("label",null,"=",-1)),Kk={class:"formula-right flex-evenly"},jk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(b')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(c')",-1)),i3={class:"formula-conclusion",style:{"margin-bottom":"0"}},d3={key:0,class:"flex-evenly",style:{width:"500px"}},r3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),m3=i(()=>e.createElementVNode("div",null,"=",-1)),p3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),h3=i(()=>e.createElementVNode("div",null,"=",-1)),_3=i(()=>e.createElementVNode("div",null,"-",-1)),E3=i(()=>e.createElementVNode("div",null,"=",-1)),y3={key:1,class:"flex-evenly",style:{width:"500px"}},N3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),V3=i(()=>e.createElementVNode("div",null,"=",-1)),f3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),b3=i(()=>e.createElementVNode("div",null,"=",-1)),g3=i(()=>e.createElementVNode("div",null,"-",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),k3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),D3={key:1,class:"formula-conclusion"},C3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),S3={class:"segment-formula"},B3={class:"header-block flex-start"},w3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),A3={class:"title"},T3={key:0,style:{"margin-left":"4px","font-weight":"300"}},F3={class:"formula-block"},O3={class:"flex-evenly"},P3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),L3={class:"formula-right flex-evenly"},W3={class:"fraction",style:{width:"240px"}},$3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),H3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M3=i(()=>e.createElementVNode("div",null,"x",-1)),I3=i(()=>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)),G3=i(()=>e.createElementVNode("div",null,"(d)",-1)),R3={style:{"line-height":"1"}},z3=i(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),U3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},Y3={class:"flex-center"},Z3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Q3={class:"formula-right flex-evenly"},J3={class:"fraction",style:{width:"240px"}},u3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),K3=i(()=>e.createElementVNode("div",null,"x",-1)),j3=i(()=>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)),X3=i(()=>e.createElementVNode("div",null,"(e)",-1)),q3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>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)),nD=i(()=>e.createElementVNode("div",null,"(f)",-1)),sD=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),cD={class:"flex-center"},iD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dD={class:"formula-right flex-evenly"},rD={class:"fraction",style:{width:"270px"}},mD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD={class:"flex-center"},_D=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),ED={class:"formula-right flex-evenly"},yD={class:"fraction",style:{width:"270px"}},ND=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),VD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fD=i(()=>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)),bD={class:"header-block flex-start",style:{"margin-top":"10px"}},gD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),xD={class:"title"},kD={key:0,class:"formula-block"},DD={key:0,class:"flex-evenly"},CD=i(()=>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)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"60px"}},wD=i(()=>e.createElementVNode("div",null,"-",-1)),AD={class:"fraction",style:{width:"60px"}},TD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FD=i(()=>e.createElementVNode("div",null,"24",-1)),OD=i(()=>e.createElementVNode("div",null,"*",-1)),PD=i(()=>e.createElementVNode("div",null,"=",-1)),LD={class:"flex-evenly"},WD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$D={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"240px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"x",-1)),GD={class:"fraction",style:{width:"240px"}},RD={key:0},zD=i(()=>e.createElementVNode("span",null," + ",-1)),UD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),YD=i(()=>e.createElementVNode("div",null,"=",-1)),ZD=i(()=>e.createElementVNode("div",null,"(d')",-1)),QD={class:"flex-evenly"},JD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),uD={class:"formula-right flex-evenly"},KD={class:"fraction",style:{width:"240px"}},jD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),XD=i(()=>e.createElementVNode("div",null,"x",-1)),qD={class:"fraction",style:{width:"240px"}},vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"24",-1)),tC=i(()=>e.createElementVNode("div",null,"=",-1)),oC=i(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=i(()=>e.createElementVNode("div",null,"24",-1)),pC=i(()=>e.createElementVNode("div",null,"=",-1)),hC=i(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=i(()=>e.createElementVNode("div",null,"=",-1)),VC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=i(()=>e.createElementVNode("div",null,"=",-1)),bC=i(()=>e.createElementVNode("div",null,"-",-1)),gC=i(()=>e.createElementVNode("div",null,"=",-1)),xC={key:0,class:"flex-evenly"},kC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),DC=i(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),FC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC=i(()=>e.createElementVNode("div",null,"-",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},uC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},XC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},kS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),DS=i(()=>e.createElementVNode("div",null,"24",-1)),CS=i(()=>e.createElementVNode("div",null,"=",-1)),SS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=i(()=>e.createElementVNode("div",null,"=",-1)),FS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=i(()=>e.createElementVNode("div",null,"=",-1)),PS=i(()=>e.createElementVNode("div",null,"-",-1)),LS=i(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=i(()=>e.createElementVNode("div",null,"=",-1)),MS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=i(()=>e.createElementVNode("div",null,"=",-1)),GS=i(()=>e.createElementVNode("div",null,"-",-1)),RS=i(()=>e.createElementVNode("div",null,"=",-1)),zS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",u0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[X0,e.createElementVNode("span",q0,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",i2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),y2,e.createVNode(c,{lng:(W=(H=t.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",b2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",g2,[x2,e.createElementVNode("div",k2,[e.createElementVNode("div",D2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+j,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",A2,[(Me=$==null?void 0:$.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=$==null?void 0:$.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",G2,[R2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),u2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[X2,e.createElementVNode("div",q2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),v2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",eb,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tb,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ob,"Time Lost")):(e.openBlock(),e.createElementBlock("div",lb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ab,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sb,[cb,e.createElementVNode("span",ib,e.toDisplayString((fe=l==null?void 0:l.timeConclusion)==null?void 0:fe.timeGain),1),db])):((be=l==null?void 0:l.timeConclusion)==null?void 0:be.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("span",pb,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeLost),1),hb])):(e.openBlock(),e.createElementBlock("div",_b,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Eb,[yb,e.createElementVNode("div",Nb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Vb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fb,[((ke=(xe=l==null?void 0:l.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",bb,"FO Saving")):((Te=(De=l==null?void 0:l.fuelConclusion)==null?void 0:De.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",gb,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",xb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",kb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Db,[((Oe=(Fe=l==null?void 0:l.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cb,[Sb,e.createElementVNode("span",Bb,e.toDisplayString((Le=(Pe=l==null?void 0:l.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),wb])):(($e=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:$e.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,[Tb,e.createElementVNode("span",Fb,e.toDisplayString((Ne=(He=l==null?void 0:l.fuelConclusion)==null?void 0:He.fo)==null?void 0:Ne.overCons),1),Ob])):(e.openBlock(),e.createElementBlock("div",Pb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lb,[Wb,e.createElementVNode("div",$b,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Hb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mb,[((Ke=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(je=l==null?void 0:l.fuelConclusion)==null?void 0:je.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Gb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Rb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ub,[((Ge=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yb,[Zb,e.createElementVNode("span",Qb,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),Jb])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",ub,[Kb,e.createElementVNode("span",jb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),Xb])):(e.openBlock(),e.createElementBlock("div",qb,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vb]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eg,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tg,[og,lg,e.createElementVNode("div",ag,[e.createElementVNode("table",ng,[sg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,cg))],2)],2),e.createElementVNode("div",ig,[dg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,ul,Kl,jl,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga,K,Mo,Ra,za,Ua,Ya,Za,Qa,Ja,ua,ct,kn,Dn,Cn,Sn,Bn,wn,An,Tn,Fn,On,Pn,Ln,Wn,$n,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,un,Kn,jn,Xn,qn,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,bs,gs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,us,Ks,js,Xs,qs,vs,ec,tc,oc,lc,ac,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,bc,gc,xc,kc,Dc,Cc;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(we,gY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:gY,class:"segment-row flex-space"},[e.createElementVNode("div",mg,[(Sc=we==null?void 0:we.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString((Bc=we==null?void 0:we.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",hg,e.toDisplayString(n.computeLat((wc=we==null?void 0:we.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=we==null?void 0:we.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=we==null?void 0:we.departure)==null?void 0:Tc.utcTime))+")",1)]),_g,e.createElementVNode("div",Eg,[(Fc=we==null?void 0:we.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",yg,e.toDisplayString((Oc=we==null?void 0:we.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Ng,e.toDisplayString(n.computeLat((Pc=we==null?void 0:we.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=we==null?void 0:we.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=we==null?void 0:we.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Vg,e.createElementVNode("div",fg,[e.createElementVNode("table",null,[bg,gg,e.createElementVNode("tr",null,[xg,e.createElementVNode("td",kg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Dg,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",Sg,e.toDisplayString((me=(X=l==null?void 0:l.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(be=l==null?void 0:l.allWx)==null?void 0:be.inEca)==null?void 0:ge.time),1)]),e.createElementVNode("tr",null,[wg,e.createElementVNode("td",Ag,e.toDisplayString(((ke=(xe=l==null?void 0:l.goodWx)==null?void 0:xe.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",Tg,e.toDisplayString(((Te=(De=l==null?void 0:l.goodWx)==null?void 0:De.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=l==null?void 0:l.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=l==null?void 0:l.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fg,e.createElementVNode("td",Og,e.toDisplayString((($e=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",Pg,e.toDisplayString(((Ne=(He=l==null?void 0:l.goodWx)==null?void 0:He.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(je=l==null?void 0:l.allWx)==null?void 0:je.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lg,e.createElementVNode("td",Wg,e.toDisplayString(((Ge=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",$g,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hg,e.createElementVNode("td",Mg,e.toDisplayString(((Be=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ig,e.toDisplayString(((Re=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",Rg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zg,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[j])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ug,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yg,[e.createElementVNode("div",Zg,[Qg,e.createElementVNode("div",Jg,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",qg,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),vg,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ex,e.createElementVNode("span",tx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=t.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf)>0?(nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgWf:`(${(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgWf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgSpd),1),nx,e.createElementVNode("span",null,e.toDisplayString((($t=l==null?void 0:l.goodWx)==null?void 0:$t.avgWf)>0?(Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.avgWf:`(${(Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.avgWf})`),1),sx,e.createElementVNode("span",null,e.toDisplayString(((It=l==null?void 0:l.goodWx)==null?void 0:It.avgCf)>0?(Gt=l==null?void 0:l.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=l==null?void 0:l.goodWx)==null?void 0:Rt.avgCf})`),1),cx,e.createElementVNode("span",ix,e.toDisplayString((zt=l==null?void 0:l.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",Xg,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),ug,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),Kg,e.createElementVNode("span",jg,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=l==null?void 0:l.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dx,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mx,[px,e.createElementVNode("div",hx,[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Xt=(jt=t.report)==null?void 0:jt.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=t.report)==null?void 0:qt.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fx,"GW Average Speed")):(to=(eo=t.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[bx,gx,xx],64)):(lo=(oo=t.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[kx,Dx,Cx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sx,Bx,wx,Ax,Tx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(ut=(Jt=t.report)==null?void 0:Jt.weather)!=null&&ut.favorableCur&&((Kt=l==null?void 0:l.goodWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Nx,Vx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_x,Ex,yx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fx,[e.createElementVNode("div",Ox,[Px,e.createElementVNode("div",Lx,[(No=(yo=t.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=l==null?void 0:l.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Ix,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Gx,e.createElementVNode("span",Rx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.allWx)==null?void 0:fo.avgSpd),1),Wx,e.createElementVNode("span",null,e.toDisplayString(((bo=l==null?void 0:l.allWx)==null?void 0:bo.avgCf)>0?(go=l==null?void 0:l.allWx)==null?void 0:go.avgCf:`(${(xo=l==null?void 0:l.allWx)==null?void 0:xo.avgCf})`),1),$x,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Hx,e.createElementVNode("span",Mx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zx,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ux,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yx,[Zx,e.createElementVNode("div",Qx,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[qx,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,ux,Kx,jx,Xx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Ro=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",ck,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ik,[e.createElementVNode("div",dk,[rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hk,_k]),Ek])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Zo=(Yo=l==null?void 0:l.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),Vk]),e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Ko=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),xk])]),e.createElementVNode("div",kk,[e.createElementVNode("div",Dk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(jo=l==null?void 0:l.extend)==null?void 0:jo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Ak])]),Tk]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$k,[Hk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Mk,[e.createElementVNode("div",Ik,[Gk,e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Uk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),Yk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Zk])]),e.createElementVNode("div",Qk,[e.createElementVNode("div",Jk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),uk]),e.createElementVNode("div",Kk,[e.createElementVNode("div",jk,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),Xk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),qk,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",d3,[r3,m3,p3,h3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",y3,[N3,V3,f3,b3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),g3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[k3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",D3,e.toDisplayString(a.noGoodWxDay),1))]),C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[w3,e.createElementVNode("div",A3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",T3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[e.createElementVNode("div",null,e.toDisplayString((Kl=(ul=t.report)==null?void 0:ul.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,G3])]),e.createElementVNode("div",R3,[z3,((Xl=(jl=l.extend)==null?void 0:jl.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",U3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,[e.createElementVNode("div",J3,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),u3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),K3,j3,X3])]),e.createElementVNode("div",q3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lD,aD,nD])]),sD,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",cD,[iD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,pD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hD,[_D,e.createElementVNode("div",ED,[e.createElementVNode("div",yD,[ND,VD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fD,e.createElementVNode("div",bD,[gD,e.createElementVNode("div",xD,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",kD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",DD,[CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),wD,e.createElementVNode("div",AD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),TD,FD]),OD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),PD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",$D,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),MD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),ID,e.createElementVNode("div",GD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",RD,[zD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),UD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),YD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),ZD])]),e.createElementVNode("div",QD,[JD,e.createElementVNode("div",uD,[e.createElementVNode("div",KD,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Mo=l==null?void 0:l.allWx)==null?void 0:Mo.distance),1),jD,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),XD,e.createElementVNode("div",qD,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),vD,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(ua=l==null?void 0:l.goodWx)==null?void 0:ua.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),cC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),iC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),gC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",xC,[kC,DC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Kn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((Xn=(jn=l==null?void 0:l.fuelConclusion)==null?void 0:jn.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[uC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",cS,[e.createElementVNode("div",iS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((us=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:us.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=t.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.distance),1),bS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),gS,e.createElementVNode("div",xS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),kS,DS]),CS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-44fbbd8a"]]),UY="",QS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},uS={class:"section summary-section"},KS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={class:"summary-block"},XS=q(()=>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)),qS={class:"label",rowspan:"4"},vS=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e4=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t4=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o4=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l4={class:"section inventory-section"},a4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),n4={class:"inventory-block flex-center"},s4={style:{"font-size":"12px"}},c4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r4=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m4=["colspan"],p4={key:0,class:"label",colspan:"2"},h4=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f4={key:0,class:"label",rowspan:"2"},b4=q(()=>e.createElementVNode("br",null,null,-1)),g4={key:1,class:"label",rowspan:"2"},x4=q(()=>e.createElementVNode("br",null,null,-1)),k4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D4={key:2,class:"label",rowspan:"2"},C4=q(()=>e.createElementVNode("br",null,null,-1)),S4={key:3,class:"label",colspan:"2"},B4={key:4,class:"label",rowspan:"2"},w4=q(()=>e.createElementVNode("br",null,null,-1)),A4={key:5,class:"label",colspan:"2"},T4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F4={key:6,class:"label",rowspan:"2"},O4={key:7,class:"label",rowspan:"2"},P4={key:8,class:"label",rowspan:"2"},L4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q4={key:0,class:"label"},J4={key:1,class:"label"},u4={key:2,class:"label"},K4={key:3,class:"label"},j4=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),X4=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),q4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a5={class:"summary-tbody"};function n5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",uS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[XS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",qS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l4,[a4,e.createElementVNode("div",n4,[e.createElementVNode("table",s4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c4,i4,d4,r4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m4),t.showFactor?(e.openBlock(),e.createElementBlock("th",p4,"Factor")):e.createCommentVNode("",!0),h4,_4]),e.createElementVNode("tr",null,[E4,y4,N4,V4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f4,[e.createTextVNode("Spd"),b4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g4,[e.createTextVNode("Dis"),x4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k4,a.showWave?(e.openBlock(),e.createElementBlock("th",D4,[e.createTextVNode("Sea HT"),C4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Sig Wave"),w4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A4,"Current")):e.createCommentVNode("",!0),T4,t.showFactor?(e.openBlock(),e.createElementBlock("th",F4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",O4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P4,"Water Temp.")):e.createCommentVNode("",!0),L4,W4,$4,H4,M4,I4,G4,R4]),e.createElementVNode("tr",null,[z4,U4,Y4,Z4,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q4,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J4,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",u4,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K4,"CF(kts)")):e.createCommentVNode("",!0),j4,X4,q4,v4,e5,t5,o5,l5])]),e.createElementVNode("tbody",a5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s5=Ce(QS,[["render",n5],["__scopeId","data-v-a18f941f"]]),YY="",c5={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(E);const c={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),i5={class:"report-summary"},d5={class:"section chart-section"},r5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m5={class:"chart-block"},p5={ref:"spdFoConsChart",class:"chart"},h5={ref:"spdDgoConsChart",class:"chart"},_5={ref:"currChart",class:"chart"},E5={class:"section map-section"},y5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N5={class:"map-block"},V5={class:"flex-space"},f5={class:"voyage-block",style:{height:"197px"}},b5={class:"flex-space label-block",style:{width:"100%"}},g5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),x5={style:{"text-transform":"uppercase"}},k5={class:"flex-space label-block",style:{width:"100%"}},D5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B5={class:"flex-space label-block",style:{width:"100%"}},w5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T5={class:"flex-space label-block",style:{width:"100%"}},F5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O5={key:0,class:"flex-end",style:{flex:"1"}},P5={key:1,class:"flex-end",style:{flex:"1"}},L5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W5={class:"flex-end",style:{width:"160px"}},$5={class:"flex-space label-block",style:{width:"100%"}},H5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M5={key:0,class:"flex-end",style:{flex:"1"}},I5={key:1,class:"flex-end",style:{flex:"1"}},G5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R5={class:"flex-end",style:{width:"160px"}},z5={class:"flex-space label-block",style:{width:"100%"}},U5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z5=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),Q5=["src"],J5=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-92ed3e90> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-92ed3e90> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function u5(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",i5,[e.createElementVNode("div",d5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("div",p5,null,512),e.createElementVNode("div",h5,null,512),e.createElementVNode("div",_5,null,512)])]),e.createElementVNode("div",E5,[y5,e.createElementVNode("div",N5,[e.createElementVNode("div",V5,[e.createElementVNode("div",f5,[e.createElementVNode("div",b5,[g5,e.createElementVNode("span",x5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",k5,[D5,e.createElementVNode("span",C5,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S5,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B5,[w5,e.createElementVNode("span",A5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",T5,[F5,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O5,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P5,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L5,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W5,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$5,[H5,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M5,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I5,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G5,e.createVNode(c,{lng:(H=(L=t.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R5,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z5,[U5,e.createElementVNode("span",Y5,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z5]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,Q5)])]),J5])}const K5=Ce(c5,[["render",u5],["__scopeId","data-v-92ed3e90"]]),ZY="",QY="",j5={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"mail-item item-left inbox":"mail-item item-right outbox"}">
|
|
42
|
-
<div class="date">Date: ${s.date}</div>
|
|
43
|
-
<div class="from">From: ${s.from}</div>
|
|
44
|
-
<div class="to">To: ${s.to}</div>
|
|
45
|
-
<div class="subject">Subject: ${s.subject}</div>
|
|
46
|
-
<br/>`;h=h+r+"</div>",a.insertAdjacentHTML("beforeend",h)}else{let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"mail-item item-
|
|
47
|
-
<div class="date">Date: ${s.date}</div>
|
|
48
|
-
<div class="from">From: ${s.from}</div>
|
|
49
|
-
<div class="to">To: ${s.to}</div>
|
|
50
|
-
<div class="subject">Subject: ${s.subject}</div>
|
|
51
|
-
<br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},X5={class:"report-email"},q5=[e.createStaticVNode('<div class="section email-section" data-v-
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function ch(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("i",lh,[(e.openBlock(),e.createElementBlock("svg",ah,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:t.fill,"fill-opacity":.6,stroke:"none"},sh,8,nh)]))])}const on=Ce(oh,[["render",ch]]),ih={install(o){o.component("PiLogo",on)}},LY="",WY="",dh={name:"FliVygSummary",components:{Editor:Go},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 s,t;return(t=(s=this.reportData)==null?void 0:s.weather)!=null&&t.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,s){return s=="subtitle"?u(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?u(o).utc().format("MMMM D, HHmm[Z]"):s?u(o).utc().format(s):u(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,s){const t=ae.LngLatHelper.lat2pretty(o).pretty,r=ae.LngLatHelper.lng2pretty(s).pretty;return`${t} ${r}`}},computedSeg(){return function(o){const s=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),t=this.computedTime(o.departure.utcTime,"summary"),r=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),a=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),n=this.computedTime(o.arrival.utcTime,"summary"),E=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:t,fullTime1:r,port2:a,time2:n,fullTime2:E}}},computedTimeConclusion(){return function(o){let s=o.conclusionStatus,t={conclusion:"",className:"",timeCon:""};return s=="No"?(t.conclusion="No Time Lost/Gained",t.className="",t.timeCon=""):s=="Lost"?(t.conclusion="Time Lost",t.className="error",t.timeCon=`${o.timeLost} hrs`):(t.conclusion="Time Gained",t.className="success",t.timeCon=`${o.timeGain} hrs`),t}},computedFuleConclusion(){return function(o,s){let t=o.conclusionStatus,r={conclusion:"",className:"",cons:""};return t==="No"?(r.conclusion="No Over/Under",r.className="",r.cons=""):t==="Over"?(s==="FO"?r.conclusion="FO Over":r.conclusion="DO/GO Over",r.className="error",r.cons=`${o.overCons} mt`):(s==="FO"?r.conclusion="FO Under":r.conclusion="DO/GO Under",r.className="success",r.cons=`${o.saving} mt`),r}},computedUnit(){return function(o,s){return s?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let s="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let t=o==null?void 0:o.windScale,r="",a=0;return o!=null&&o.waveSwitch?(r+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,a++):o!=null&&o.swellSwitch?(r+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,a++):o!=null&&o.sigSwitch&&(r+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,a++),a>0&&(r+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),s=`Winds are BF/${t} or less${r}`,o!=null&&o.noAdverseCur&&(s+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(o,s,t){let r="";if(o==="No")return r=t?"bg-color-normal":"color-normal",r;switch(s){case"time":o==="Lost"?r="color-fail":r="color-success";break;case"fuel":o==="Over"?r="color-fail":r="color-success";break;case"pfm":o==="Under"?r="color-fail":r="color-success";break}return t&&(r="bg-"+r),r}},computedAbt4Spd(){return function(o){var s,t,r;return(s=o.timeConclusion)!=null&&s.spdPercentage?ae.LngLatHelper.roundPrecision(o.extend.cp.speed*(((t=o==null?void 0:o.timeConclusion)==null?void 0:t.spdOfAbout)/100),2):(r=o==null?void 0:o.timeConclusion)==null?void 0:r.spdOfAbout}}},watch:{reportData:{handler(o,s){var t;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(t=this.reportData)==null?void 0:t.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,t;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(t=(s=this.reportData)==null?void 0:s.segments)==null||t.forEach((r,a)=>{let n=r.excluded;if(n.sumDistance>0&&n.detail.forEach(c=>{let p={begin:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:u(c.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+u(c.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.excludedTableData.push(p)}),!o.includes(r.seg)){o.push(r.seg);let c=Object.assign({},r.extend.cp);c.spdOfOver=`+${r.timeConclusion.spdOfOver}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.spdOfUnder=`-${r.timeConclusion.spdOfUnder}${this.computedUnit("speed",r.timeConclusion.spdPercentage)}`,c.over=`+${r.fuelConclusion.consOfOver}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,c.under=`-${r.fuelConclusion.consOfUnder}${this.computedUnit("cons",r.fuelConclusion.consPercentage)}`,this.cpDetail.push(c)}let E=[];r.extend.segTimes.forEach(c=>{E.push(this.computedSeg(c))}),this.segDetail.push(E),this.goodDays.push(r.inventory.sample.hours.filter(c=>c.type!=="A"&&c.goodWx))})}}},d=o=>(e.pushScopeId("data-v-d80f1a42"),o=o(),e.popScopeId(),o),rh=d(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),mh={class:"fli-main"},ph=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),hh={class:"card basics"},_h={class:"list flex"},Eh={class:"item"},yh=d(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),Nh={class:"content flex"},Vh={class:"item"},fh=d(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),bh={class:"content flex"},gh={class:"item"},xh=d(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),kh={class:"content flex"},Dh={class:"list"},Ch={class:"item"},Sh=d(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),Bh={class:"content flex"},wh={class:"content flex"},Ah={class:"item"},Th=d(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Fh={class:"content flex"},Oh={class:"content flex"},Ph={class:"item"},Lh=d(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Wh={class:"content flexL"},$h=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Hh={class:"clause"},Mh={key:0,class:"definition flex"},Ih={key:1,class:"definition flex"},Gh={class:"item"},Rh=d(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),zh={class:"content"},Uh={key:0,class:"item"},Yh=d(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Zh={class:"content"},Qh={key:1,class:"item"},Jh=d(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),uh={class:"content"},Kh={key:2,class:"item"},jh=d(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Xh={class:"content"},qh={key:3,class:"item"},vh=d(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),e1={class:"content"},t1={key:4,class:"item"},o1=[d(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],l1={key:5,class:"item"},a1=[d(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),d(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],n1={class:"definition flexM"},s1={class:"table"},c1=d(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),i1=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),d1={class:"summary"},r1={key:0,class:"summary-overall"},m1=d(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),p1={class:"summary-overall-row"},h1={class:"card"},_1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),E1={class:"main-content"},y1={key:0},N1={key:1},V1={class:"card"},f1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),b1={class:"main-content"},g1={key:0},x1={key:1},k1={class:"card"},D1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),C1={class:"main-content"},S1={key:0},B1={key:1},w1={class:"summary-overall-row"},A1={class:"card"},T1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),F1={class:"main-content"},O1={class:"card"},P1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),L1={class:"main-content"},W1={class:"card"},$1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),H1={class:"main-content"},M1=d(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),I1={class:"card",style:{flex:"1.5"}},G1={class:"card-title"},R1=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),z1={class:"card-segment"},U1={class:"card-segment"},Y1={class:"card-segment"},Z1=d(()=>e.createElementVNode("div",null,"Applied",-1)),Q1={class:"uppercase"},J1={class:"card summary-card",style:{flex:"1"}},u1=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),K1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},X1={key:1,class:"iconfont error"},q1={key:1,class:"main-content"},v1={class:"card-content",style:{"justify-content":"flex-start"}},e_={class:"card summary-card",style:{flex:"1"}},t_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),o_={key:0,class:"main-content"},l_={key:0,class:"iconfont success"},a_={key:1,class:"iconfont error"},n_={key:1,class:"main-content"},s_={class:"card-content",style:{"justify-content":"flex-start"}},c_={class:"card summary-card",style:{flex:"1"}},i_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),d_={key:0,class:"main-content"},r_={key:0,class:"iconfont success"},m_={key:1,class:"iconfont error"},p_={key:1,class:"main-content"},h_={class:"card-content",style:{"justify-content":"flex-start"}},__={style:{"page-break-inside":"avoid"}},E_=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),y_={class:"remarks"},N_={class:"item"},V_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),f_={class:"speed"},b_={class:"uppercase"},g_={class:"item"},x_=d(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),k_={key:0,class:"remark-detail"},D_={key:1,class:"remark-detail"},C_={class:"page-avoid"},S_={class:"dashed"},B_={class:"card phase-title-card",style:{flex:"0.5"}},w_={class:"card-title"},A_=d(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T_={class:"card-segment"},F_={class:"card-segment"},O_={class:"card-segment"},P_=d(()=>e.createElementVNode("div",null,"Applied",-1)),L_={class:"uppercase"},W_=d(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),$_={class:"phase-analysis"},H_={class:"card phase-card",style:{flex:"1"}},M_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),I_={class:"main-content"},G_=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),R_={class:"main-content"},z_={class:"card-content"},U_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Y_=d(()=>e.createElementVNode("span",null,"mt",-1)),Z_={class:"card-content"},Q_=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),J_=d(()=>e.createElementVNode("span",null,"mt",-1)),u_={class:"card-content"},K_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),j_=d(()=>e.createElementVNode("span",null,"mt",-1)),X_={class:"card-content"},q_=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),v_=d(()=>e.createElementVNode("span",null,"mt",-1)),eE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),tE={class:"card phase-card",style:{flex:"1"}},oE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),lE={class:"main-content"},aE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),nE={class:"main-content"},sE={class:"card-content"},cE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),iE=d(()=>e.createElementVNode("span",null,"mt",-1)),dE={class:"card-content"},rE=d(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),mE=d(()=>e.createElementVNode("span",null,"mt",-1)),pE={class:"card-content"},hE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),_E=d(()=>e.createElementVNode("span",null,"mt",-1)),EE={class:"card-content"},yE=d(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),NE=d(()=>e.createElementVNode("span",null,"mt",-1)),VE=d(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),fE={class:"phase-analysis"},bE={class:"card phase-card",style:{flex:"1"}},gE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),xE={class:"main-content"},kE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),DE={class:"main-content"},CE={class:"card-content"},SE=d(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),BE=d(()=>e.createElementVNode("span",null,"nm",-1)),wE={class:"card-content"},AE=d(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),TE=d(()=>e.createElementVNode("span",null,"nm",-1)),FE={class:"card-content"},OE=d(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),PE=d(()=>e.createElementVNode("span",null,"nm",-1)),LE={class:"card-content"},WE=d(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),$E=d(()=>e.createElementVNode("span",null,"nm",-1)),HE={class:"card phase-card",style:{flex:"1"}},ME=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),IE={class:"main-content"},GE=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),RE={class:"main-content"},zE={class:"card-content"},UE=d(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),YE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ZE={class:"card-content"},QE=d(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),JE=d(()=>e.createElementVNode("span",null,"hrs",-1)),uE={class:"card-content"},KE=d(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),jE=d(()=>e.createElementVNode("span",null,"hrs",-1)),XE={class:"card-content"},qE=d(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),vE=d(()=>e.createElementVNode("span",null,"hrs",-1)),ey={class:"card phase-card",style:{flex:"1"}},ty=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),oy={class:"main-content"},ly=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),ay={class:"main-content"},ny={class:"card-content"},sy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),cy=d(()=>e.createElementVNode("span",null,"kts",-1)),iy={class:"card-content"},dy=d(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),ry=d(()=>e.createElementVNode("span",null,"kts",-1)),my={class:"card-content"},py=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),hy=d(()=>e.createElementVNode("span",null,"kts",-1)),_y={class:"card-content"},Ey=d(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),yy=d(()=>e.createElementVNode("span",null,"kts",-1)),Ny={class:"phase-analysis"},Vy={class:"card phase-card",style:{flex:"1"}},fy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),by={class:"main-content"},gy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),xy={class:"main-content"},ky={class:"card-content"},Dy=d(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),Cy=d(()=>e.createElementVNode("span",null,"mt",-1)),Sy={class:"card-content"},By=d(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),wy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ay={class:"card-content"},Ty=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),Fy=d(()=>e.createElementVNode("span",null,"mt",-1)),Oy={class:"card-content"},Py=d(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),Ly=d(()=>e.createElementVNode("span",null,"mt",-1)),Wy={class:"card phase-card",style:{flex:"1"}},$y=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),Hy={class:"main-content"},My=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),Iy={class:"main-content"},Gy={class:"card-content"},Ry=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Uy={class:"card-content"},Yy=d(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),Zy=d(()=>e.createElementVNode("span",null,"mt",-1)),Qy={class:"card-content"},Jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),uy=d(()=>e.createElementVNode("span",null,"mt",-1)),Ky={class:"card-content"},jy=d(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),Xy=d(()=>e.createElementVNode("span",null,"mt",-1)),qy={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},vy=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),eN={class:"main-content"},tN={class:"card-content"},oN=d(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),lN={key:0},aN=d(()=>e.createElementVNode("span",null,"kts",-1)),nN={key:1},sN={class:"phase-card"},cN={class:"card",style:{flex:"1"}},iN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),dN={key:0,class:"main-content"},rN={key:0,class:"iconfont success"},mN={key:1,class:"iconfont error"},pN={key:1,class:"main-content"},hN={class:"nogwd"},_N={class:"card-content",style:{"justify-content":"flex-start"}},EN={key:0},yN={class:"equation"},NN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),VN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),fN={style:{width:"8%"}},bN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xN={style:{width:"10%"}},kN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),DN={class:"equation"},CN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),SN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),BN={style:{width:"8%"}},wN=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),TN={style:{width:"10%"}},FN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),ON={class:"equation"},PN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),LN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),WN={style:{width:"8%"}},$N=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),MN={style:{width:"10%"}},IN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),GN={class:"phase-card"},RN={class:"card",style:{flex:"1"}},zN=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),UN={key:0,class:"main-content"},YN={key:0,class:"iconfont success"},ZN={key:1,class:"iconfont error"},QN={key:1,class:"main-content"},JN={class:"nogwd"},uN={class:"card-content",style:{"justify-content":"flex-start"}},KN={key:0},jN={class:"equation"},XN=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qN=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),vN={style:{width:"8%"}},eV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oV={style:{width:"120px"}},lV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nV={style:{width:"10%"}},sV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),cV={class:"equation"},iV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),dV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),rV={style:{width:"8%"}},mV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),hV={style:{width:"120px"}},_V=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EV=d(()=>e.createElementVNode("div",null,"24",-1)),yV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),NV={style:{width:"10%"}},VV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),fV={class:"equation"},bV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),gV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xV={style:{width:"8%"}},kV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),CV={style:{width:"120px"}},SV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BV=d(()=>e.createElementVNode("div",null,"24",-1)),wV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),AV={style:{width:"10%"}},TV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),FV={key:0,class:"phase-card"},OV={class:"card",style:{flex:"1"}},PV=d(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),LV={key:0,class:"main-content"},WV={key:0,class:"iconfont success"},$V={key:1,class:"iconfont error"},HV={key:1,class:"main-content"},MV={class:"nogwd"},IV={class:"card-content",style:{"justify-content":"flex-start"}},GV={key:0},RV={class:"equation"},zV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),UV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),YV={style:{width:"8%"}},ZV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),JV={style:{width:"120px"}},uV=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),jV={style:{width:"10%"}},XV=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),qV={class:"equation"},vV=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),ef=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),tf={style:{width:"8%"}},of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),af={style:{width:"120px"}},nf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sf=d(()=>e.createElementVNode("div",null,"24",-1)),cf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),df={style:{width:"10%"}},rf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),mf={class:"equation"},pf=d(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),hf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_f={style:{width:"8%"}},Ef=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Nf={style:{width:"120px"}},Vf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=d(()=>e.createElementVNode("div",null,"24",-1)),bf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gf={style:{width:"10%"}},xf=d(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),kf=d(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),Df={class:"formular dashed",style:{"page-break-inside":"avoid"}},Cf={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},Sf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),Bf={class:""},wf={class:"equation"},Af=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),Tf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"50%"},class:"fraction"},Of=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pf=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Lf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),Wf={class:"equation"},$f=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),Hf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"50%"},class:"fraction"},If=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Gf=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),Rf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zf={class:"equation"},Uf=d(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),Yf=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"50%"},class:"fraction"},Qf=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Jf=d(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),uf=d(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Kf=d(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),jf={class:"flexL formular-item",style:{"margin-left":"20px"}},Xf=d(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),qf={class:""},vf={class:"equation"},e0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o0={style:{width:"25%"},class:"fraction"},l0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a0=d(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),n0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),s0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),c0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),i0={class:"equation"},d0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),r0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),m0={style:{width:"25%"},class:"fraction"},p0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),_0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),E0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),y0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),N0={class:"equation"},V0=d(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),f0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b0={style:{width:"25%"},class:"fraction"},g0=d(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x0=d(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),k0=d(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),D0=d(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),C0=d(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),S0=d(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),B0=d(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function w0(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,j,v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly?"watermark":"")},[rh,e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,[e.createElementVNode("div",_h,[e.createElementVNode("div",Eh,[yh,e.createElementVNode("div",Nh,e.toDisplayString((p=t.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",bh,e.toDisplayString((g=(b=t.reportData)==null?void 0:b.vessel)==null?void 0:g.name),1)]),e.createElementVNode("div",gh,[xh,e.createElementVNode("div",kh,e.toDisplayString(a.date),1)])]),e.createElementVNode("div",Dh,[e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",Bh,e.toDisplayString(((N=(h=t.reportData)==null?void 0:h.departure)==null?void 0:N.portName)||n.computedLngLat((x=(D=t.reportData)==null?void 0:D.departure)==null?void 0:x.lat,(k=(C=t.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",wh,e.toDisplayString(n.computedTime((F=(T=t.reportData)==null?void 0:T.departure)==null?void 0:F.utcTime,"table")),1)]),e.createElementVNode("div",Ah,[Th,e.createElementVNode("div",Fh,e.toDisplayString(((w=(B=t.reportData)==null?void 0:B.arrival)==null?void 0:w.portName)||n.computedLngLat((O=(f=t.reportData)==null?void 0:f.arrival)==null?void 0:O.lat,(G=(I=t.reportData)==null?void 0:I.arrival)==null?void 0:G.lng)),1),e.createElementVNode("div",Oh,e.toDisplayString(n.computedTime((z=(R=t.reportData)==null?void 0:R.arrival)==null?void 0:z.utcTime,"table")),1)]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,e.toDisplayString((L=(_=t.reportData)==null?void 0:_.voyage)==null?void 0:L.loadCondition),1)])])]),$h,e.createElementVNode("div",Hh,[(W=(H=t.reportData)==null?void 0:H.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Mh,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Gh,[Rh,e.createElementVNode("div",zh,"BF "+e.toDisplayString(((M=(P=t.reportData)==null?void 0:P.weather)==null?void 0:M.windScale)||"-"),1)]),(U=(Q=t.reportData)==null?void 0:Q.weather)!=null&&U.waveSwitch?(e.openBlock(),e.createElementBlock("div",Uh,[Yh,e.createElementVNode("div",Zh,e.toDisplayString(((ne=(J=t.reportData)==null?void 0:J.weather)==null?void 0:ne.waveHeight)||"-")+" Meter",1)])):(l=(se=t.reportData)==null?void 0:se.weather)!=null&&l.swellSwitch?(e.openBlock(),e.createElementBlock("div",Qh,[Jh,e.createElementVNode("div",uh,e.toDisplayString(((v=(j=t.reportData)==null?void 0:j.weather)==null?void 0:v.swellHeight)||"-")+" Meter",1)])):(te=(ee=t.reportData)==null?void 0:ee.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",Kh,[jh,e.createElementVNode("div",Xh,e.toDisplayString(((le=(oe=t.reportData)==null?void 0:oe.weather)==null?void 0:le.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ie=(ce=t.reportData)==null?void 0:ce.weather)!=null&&ie.waveSwitch||(_e=(de=t.reportData)==null?void 0:de.weather)!=null&&_e.swellHeight||(me=(X=t.reportData)==null?void 0:X.weather)!=null&&me.sigSwitch?(e.openBlock(),e.createElementBlock("div",qh,[vh,e.createElementVNode("div",e1,e.toDisplayString((ye=(Ee=t.reportData)==null?void 0:Ee.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(fe=(re=t.reportData)==null?void 0:re.weather)!=null&&fe.noAdverseCur?(e.openBlock(),e.createElementBlock("div",t1,o1)):e.createCommentVNode("",!0),(ge=(be=t.reportData)==null?void 0:be.weather)!=null&&ge.noExtrapolation?(e.openBlock(),e.createElementBlock("div",l1,a1)):e.createCommentVNode("",!0)])),e.createElementVNode("div",n1,[e.createElementVNode("table",s1,[c1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.cpDetail,(m,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString(m==null?void 0:m.type),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.speed} | ${m==null?void 0:m.spdOfOver} , ${m.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.fo} | ${m==null?void 0:m.over} , ${m.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${m==null?void 0:m.dgo} | ${m==null?void 0:m.over} , ${m.under}`),1)]))),128))])])])]),i1,e.createElementVNode("div",d1,[((ke=(xe=t.reportData)==null?void 0:xe.segments)==null?void 0:ke.length)>1?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("div",p1,[e.createElementVNode("div",h1,[_1,e.createElementVNode("div",E1,[(Te=(De=t.reportData)==null?void 0:De.goodWx)!=null&&Te.avgSpd?(e.openBlock(),e.createElementBlock("div",y1,e.toDisplayString((Oe=(Fe=t.reportData)==null?void 0:Fe.goodWx)==null?void 0:Oe.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",N1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",V1,[f1,e.createElementVNode("div",b1,[(Le=(Pe=t.reportData)==null?void 0:Pe.goodWx)!=null&&Le.avgSpd?(e.openBlock(),e.createElementBlock("div",g1,e.toDisplayString(($e=(We=t.reportData)==null?void 0:We.goodWx)==null?void 0:$e.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",x1,e.toDisplayString(a.noGoodWxDay),1))])]),e.createElementVNode("div",k1,[D1,e.createElementVNode("div",C1,[(Ne=(He=t.reportData)==null?void 0:He.goodWx)!=null&&Ne.avgSpd?(e.openBlock(),e.createElementBlock("div",S1,e.toDisplayString((Ke=(ue=t.reportData)==null?void 0:ue.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",B1,e.toDisplayString(a.noGoodWxDay),1))])])]),e.createElementVNode("div",w1,[e.createElementVNode("div",A1,[T1,e.createElementVNode("div",F1,e.toDisplayString((A=(je=t.reportData)==null?void 0:je.allWx)==null?void 0:A.avgSpd)+" kts",1)]),e.createElementVNode("div",O1,[P1,e.createElementVNode("div",L1,e.toDisplayString((Ge=(Se=t.reportData)==null?void 0:Se.allWx)==null?void 0:Ge.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",W1,[$1,e.createElementVNode("div",H1,e.toDisplayString((qe=(Xe=t.reportData)==null?void 0:Xe.allWx)==null?void 0:qe.avgDgoEcaCons)+" mt",1)])]),M1])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ve=t.reportData)==null?void 0:ve.segments,(m,$)=>{var Be,Me,Re;return e.openBlock(),e.createElementBlock("div",{key:$,class:"summary-seg"},[e.createElementVNode("div",I1,[e.createElementVNode("div",G1,[R1,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(pe,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ue,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",z1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",U1,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Y1,[Z1,e.createElementVNode("div",null,[e.createElementVNode("span",Q1,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",J1,[u1,(Be=m.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",K1,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",X1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",q1,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",v1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",e_,[t_,(Me=m.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",o_,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",l_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",a_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",n_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",s_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",c_,[i_,(Re=m.goodWx)!=null&&Re.distance?(e.openBlock(),e.createElementBlock("div",d_,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",r_,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",m_,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("span",null,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",h_,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",__,[E_,e.createElementVNode("div",y_,[e.createElementVNode("div",N_,[V_,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((et=t.reportData)==null?void 0:et.segments,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"remark-speed"},[e.createElementVNode("div",f_,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${$+1}. Phase ${$+1} Applied `)+" ",1),e.createElementVNode("span",b_,e.toDisplayString(m.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(Be,Me)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Me},e.toDisplayString(`${Be.port1} (${Be.fullTime1}) to ${Be.port2} (${Be.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",g_,[x_,a.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",k_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.excludedTableData,(m,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},e.toDisplayString(`From ${m.begin} to ${m.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",D_,e.toDisplayString(a.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((tt=t.reportData)==null?void 0:tt.segments,(m,$)=>{var Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl;return e.openBlock(),e.createElementBlock("div",{key:$,class:"phase"},[e.createElementVNode("div",C_,[e.createElementVNode("div",S_,[e.createElementVNode("div",B_,[e.createElementVNode("div",w_,[A_,e.createElementVNode("span",null,"Phase "+e.toDisplayString($+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.segDetail[$],(st,pl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+pl,class:e.normalizeClass(a.segDetail[$].length>1?"dashed":"")},[e.createElementVNode("div",T_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port1),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time1),1)]),e.createElementVNode("div",F_,[e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.port2),1),e.createElementVNode("div",null,e.toDisplayString(st==null?void 0:st.time2),1)])],2))),128)),e.createElementVNode("div",O_,[P_,e.createElementVNode("div",null,[e.createElementVNode("span",L_,e.toDisplayString(m.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(m.extend.cp.dgo)+"mt",1)])])])]),W_,e.createElementVNode("div",$_,[e.createElementVNode("div",H_,[M_,e.createElementVNode("div",I_,[e.createElementVNode("span",null,e.toDisplayString(((Be=m.goodWx)==null?void 0:Be.avgFoEcaCons)||"-")+" mt",1)]),G_,e.createElementVNode("div",R_,[e.createElementVNode("span",null,e.toDisplayString(((Me=m.allWx)==null?void 0:Me.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",z_,[U_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=m.goodWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),Y_])]),e.createElementVNode("div",Z_,[Q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=m.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),J_])]),e.createElementVNode("div",u_,[K_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ue=m.allWx)==null?void 0:Ue.outEca.avgFoCons)||"-"),1),j_])]),e.createElementVNode("div",X_,[q_,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=m.allWx)==null?void 0:ot.inEca.avgFoEcaCons)||"-"),1),v_])]),eE]),e.createElementVNode("div",tE,[oE,e.createElementVNode("div",lE,[e.createElementVNode("span",null,e.toDisplayString(((lt=m.goodWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),aE,e.createElementVNode("div",nE,[e.createElementVNode("span",null,e.toDisplayString(((dt=m.allWx)==null?void 0:dt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",sE,[cE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=m.goodWx)==null?void 0:rt.outEca.avgDgoCons)||"-"),1),iE])]),e.createElementVNode("div",dE,[rE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=m.goodWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),mE])]),e.createElementVNode("div",pE,[hE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=m.allWx)==null?void 0:pt.outEca.avgDgoCons)||"-"),1),_E])]),e.createElementVNode("div",EE,[yE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=m.allWx)==null?void 0:_t.inEca.avgDgoEcaCons)||"-"),1),NE])]),VE])]),e.createElementVNode("div",fE,[e.createElementVNode("div",bE,[gE,e.createElementVNode("div",xE,[e.createElementVNode("span",null,e.toDisplayString(((Et=m.goodWx)==null?void 0:Et.distance)||"-")+" nm",1)]),kE,e.createElementVNode("div",DE,[e.createElementVNode("span",null,e.toDisplayString(((yt=m.allWx)==null?void 0:yt.distance)||"-")+" nm",1)]),e.createElementVNode("div",CE,[SE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=m.goodWx)==null?void 0:Nt.outEca.distance)||"-"),1),BE])]),e.createElementVNode("div",wE,[AE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=m.goodWx)==null?void 0:Vt.inEca.distance)||"-"),1),TE])]),e.createElementVNode("div",FE,[OE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=m.allWx)==null?void 0:ft.outEca.distance)||"-"),1),PE])]),e.createElementVNode("div",LE,[WE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=m.allWx)==null?void 0:bt.inEca.distance)||"-"),1),$E])])]),e.createElementVNode("div",HE,[ME,e.createElementVNode("div",IE,[e.createElementVNode("span",null,e.toDisplayString(((gt=m.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),GE,e.createElementVNode("div",RE,[e.createElementVNode("span",null,e.toDisplayString(((xt=m.allWx)==null?void 0:xt.time)||"-")+" hrs",1)]),e.createElementVNode("div",zE,[UE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=m.goodWx)==null?void 0:kt.outEca.time)||"-"),1),YE])]),e.createElementVNode("div",ZE,[QE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=m.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),JE])]),e.createElementVNode("div",uE,[KE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=m.allWx)==null?void 0:Ct.outEca.time)||"-"),1),jE])]),e.createElementVNode("div",XE,[qE,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=m.allWx)==null?void 0:St.inEca.time)||"-"),1),vE])])]),e.createElementVNode("div",ey,[ty,e.createElementVNode("div",oy,[e.createElementVNode("span",null,e.toDisplayString(((Bt=m.goodWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),ly,e.createElementVNode("div",ay,[e.createElementVNode("span",null,e.toDisplayString(((wt=m.allWx)==null?void 0:wt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ny,[sy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=m.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),cy])]),e.createElementVNode("div",iy,[dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=m.goodWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),ry])]),e.createElementVNode("div",my,[py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=m.allWx)==null?void 0:Ft.outEca.avgSpd)||"-"),1),hy])]),e.createElementVNode("div",_y,[Ey,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=m.allWx)==null?void 0:Ot.inEca.avgSpd)||"-"),1),yy])])])]),e.createElementVNode("div",Ny,[e.createElementVNode("div",Vy,[fy,e.createElementVNode("div",by,[e.createElementVNode("span",null,e.toDisplayString(((Pt=m.goodWx)==null?void 0:Pt.sumFoCons)||"-")+" mt",1)]),gy,e.createElementVNode("div",xy,[e.createElementVNode("span",null,e.toDisplayString(((no=m.allWx)==null?void 0:no.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",ky,[Dy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((so=m.goodWx)==null?void 0:so.outEca.sumFoCons)||"-"),1),Cy])]),e.createElementVNode("div",Sy,[By,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((co=m.goodWx)==null?void 0:co.inEca.sumFoCons)||"-"),1),wy])]),e.createElementVNode("div",Ay,[Ty,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((io=m.allWx)==null?void 0:io.outEca.sumFoCons)||"-"),1),Fy])]),e.createElementVNode("div",Oy,[Py,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ro=m.allWx)==null?void 0:ro.inEca.sumFoCons)||"-"),1),Ly])])]),e.createElementVNode("div",Wy,[$y,e.createElementVNode("div",Hy,[e.createElementVNode("span",null,e.toDisplayString(((mo=m.goodWx)==null?void 0:mo.sumDgoCons)||"-")+" mt",1)]),My,e.createElementVNode("div",Iy,[e.createElementVNode("span",null,e.toDisplayString(((po=m.allWx)==null?void 0:po.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Gy,[Ry,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=m.goodWx)==null?void 0:ho.outEca.sumDgoCons)||"-"),1),zy])]),e.createElementVNode("div",Uy,[Yy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=m.goodWx)==null?void 0:_o.inEca.sumDgoCons)||"-"),1),Zy])]),e.createElementVNode("div",Qy,[Jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Eo=m.allWx)==null?void 0:Eo.outEca.sumDgoCons)||"-"),1),uy])]),e.createElementVNode("div",Ky,[jy,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((S=m.allWx)==null?void 0:S.inEca.sumDgoCons)||"-"),1),Xy])])]),e.createElementVNode("div",qy,[vy,e.createElementVNode("div",eN,[e.createElementVNode("span",null,e.toDisplayString(((Ie=m.goodWx)==null?void 0:Ie.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tN,[oN,(at=m.goodWx)!=null&&at.distance&&!((ht=(nt=t.reportData)==null?void 0:nt.weather)!=null&&ht.favorableCur&&((Lt=m.goodWx)==null?void 0:Lt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lN,[e.createTextVNode(e.toDisplayString(n.computedPositive((Wt=m.goodWx)==null?void 0:Wt.avgCf)),1),aN])):(e.openBlock(),e.createElementBlock("b",nN,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",sN,[e.createElementVNode("div",cN,[iN,($t=m.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",dN,[n.computedTimeConclusion(m.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",rN,"")):e.createCommentVNode("",!0),n.computedTimeConclusion(m.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",mN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",pN,[e.createElementVNode("span",hN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",_N,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedTimeConclusion(m.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedTimeConclusion(m.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ht=m.goodWx)!=null&&Ht.distance?"":"analysis-none"} card analysis-card`)},[(Mt=m.goodWx)!=null&&Mt.distance?(e.openBlock(),e.createElementBlock("div",EN,[e.createElementVNode("div",yN,[NN,VN,e.createElementVNode("div",fN,[e.createElementVNode("div",null,e.toDisplayString((Gt=(It=t.reportData)==null?void 0:It.weather)!=null&&Gt.noExtrapolation?(Rt=m.goodWx)==null?void 0:Rt.distance:(zt=m.allWx)==null?void 0:zt.distance),1),bN,e.createElementVNode("div",null,e.toDisplayString((Ut=m.goodWx)==null?void 0:Ut.pfmSpd),1)]),gN,e.createElementVNode("div",xN,e.toDisplayString(m.timeConclusion.timeAtPfmSpd)+" Hrs",1),kN]),e.createElementVNode("div",DN,[CN,SN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=t.reportData)==null?void 0:Yt.weather)!=null&&Zt.noExtrapolation?(Qt=m.goodWx)==null?void 0:Qt.distance:(Jt=m.allWx)==null?void 0:Jt.distance),1),wN,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),AN,e.createElementVNode("div",TN,e.toDisplayString(m.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),FN]),e.createElementVNode("div",ON,[PN,LN,e.createElementVNode("div",WN,[e.createElementVNode("div",null,e.toDisplayString((Kt=(ut=t.reportData)==null?void 0:ut.weather)!=null&&Kt.noExtrapolation?(jt=m.goodWx)==null?void 0:jt.distance:(Xt=m.allWx)==null?void 0:Xt.distance),1),$N,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.plusAbtSpd),1)]),HN,e.createElementVNode("div",MN,e.toDisplayString(m.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),IN])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",GN,[e.createElementVNode("div",RN,[zN,(qt=m.goodWx)!=null&&qt.distance?(e.openBlock(),e.createElementBlock("div",UN,[n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",YN,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ZN,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",QN,[e.createElementVNode("span",JN,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",uN,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(vt=m.goodWx)!=null&&vt.distance?"":"analysis-none"} card analysis-card`)},[(eo=m.goodWx)!=null&&eo.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",jN,[XN,qN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=t.reportData)==null?void 0:to.weather)!=null&&oo.noExtrapolation?(lo=m.goodWx)==null?void 0:lo.distance:(yo=m.allWx)==null?void 0:yo.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString((No=m.goodWx)==null?void 0:No.pfmSpd),1)]),tV,e.createElementVNode("div",oV,[e.createElementVNode("div",null,e.toDisplayString((Vo=m.goodWx)==null?void 0:Vo.sumFoCons)+" "+e.toDisplayString(((fo=m.allWx)==null?void 0:fo.inEca.distance)>0?` + ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),lV,e.createElementVNode("div",null,e.toDisplayString((bo=m.goodWx)==null?void 0:bo.time),1)]),aV,e.createElementVNode("div",nV,e.toDisplayString(m.fuelConclusion.fo.entireCons)+" MT",1),sV]),e.createElementVNode("div",cV,[iV,dV,e.createElementVNode("div",rV,[e.createElementVNode("div",null,e.toDisplayString((xo=(go=t.reportData)==null?void 0:go.weather)!=null&&xo.noExtrapolation?(ko=m.goodWx)==null?void 0:ko.distance:(Do=m.allWx)==null?void 0:Do.distance),1),mV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),pV,e.createElementVNode("div",hV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.overTolerance),1),_V,EV]),yV,e.createElementVNode("div",NV,e.toDisplayString(m.fuelConclusion.fo.maxCons)+" MT",1),VV]),e.createElementVNode("div",fV,[bV,gV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=t.reportData)==null?void 0:Co.weather)!=null&&So.noExtrapolation?(Bo=m.goodWx)==null?void 0:Bo.distance:(wo=m.allWx)==null?void 0:wo.distance),1),kV,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),DV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.fo.underTolerance),1),SV,BV]),wV,e.createElementVNode("div",AV,e.toDisplayString(m.fuelConclusion.fo.minCons)+" MT",1),TV])])):e.createCommentVNode("",!0)],2)]),((To=(Ao=m==null?void 0:m.extend)==null?void 0:Ao.cp)==null?void 0:To.dgo)>0?(e.openBlock(),e.createElementBlock("div",FV,[e.createElementVNode("div",OV,[PV,(Fo=m.goodWx)!=null&&Fo.distance?(e.openBlock(),e.createElementBlock("div",LV,[n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",WV,"")):e.createCommentVNode("",!0),n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",$V,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("span",MV,e.toDisplayString(a.noGoodWxDay),1)])),e.createElementVNode("div",IV,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(n.computedFuleConclusion(m.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Oo=m.goodWx)!=null&&Oo.distance?"":"analysis-none"} card analysis-card`)},[(Po=m.goodWx)!=null&&Po.distance?(e.openBlock(),e.createElementBlock("div",GV,[e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Lo=t.reportData)==null?void 0:Lo.weather)!=null&&Wo.noExtrapolation?($o=m.goodWx)==null?void 0:$o.distance:(Ho=m.allWx)==null?void 0:Ho.distance),1),ZV,e.createElementVNode("div",null,e.toDisplayString((Ro=m.goodWx)==null?void 0:Ro.pfmSpd),1)]),QV,e.createElementVNode("div",JV,[e.createElementVNode("div",null,e.toDisplayString((zo=m.goodWx)==null?void 0:zo.sumDgoCons)+" "+e.toDisplayString(((Uo=m.allWx)==null?void 0:Uo.inEca.distance)>0?` - ${m.fuelConclusion.fo.dgoAsFoCons}`:""),1),uV,e.createElementVNode("div",null,e.toDisplayString((Yo=m.goodWx)==null?void 0:Yo.time),1)]),KV,e.createElementVNode("div",jV,e.toDisplayString(m.fuelConclusion.dgo.entireCons)+" MT",1),XV]),e.createElementVNode("div",qV,[vV,ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=t.reportData)==null?void 0:Zo.weather)!=null&&Qo.noExtrapolation?(Jo=m.goodWx)==null?void 0:Jo.distance:(uo=m.allWx)==null?void 0:uo.distance),1),of,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),lf,e.createElementVNode("div",af,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.overTolerance),1),nf,sf]),cf,e.createElementVNode("div",df,e.toDisplayString(m.fuelConclusion.dgo.maxCons)+" MT",1),rf]),e.createElementVNode("div",mf,[pf,hf,e.createElementVNode("div",_f,[e.createElementVNode("div",null,e.toDisplayString((jo=(Ko=t.reportData)==null?void 0:Ko.weather)!=null&&jo.noExtrapolation?(Xo=m.goodWx)==null?void 0:Xo.distance:(qo=m.allWx)==null?void 0:qo.distance),1),Ef,e.createElementVNode("div",null,e.toDisplayString(m.timeConclusion.minusAbtSpd),1)]),yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString(m.fuelConclusion.dgo.underTolerance),1),Vf,ff]),bf,e.createElementVNode("div",gf,e.toDisplayString(m.fuelConclusion.dgo.minCons)+" MT",1),xf])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),kf,e.createElementVNode("div",Df,[e.createElementVNode("div",Cf,[Sf,e.createElementVNode("div",Bf,[e.createElementVNode("div",wf,[Af,Tf,e.createElementVNode("div",Ff,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=t.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Of,Pf]),Lf]),e.createElementVNode("div",Wf,[$f,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=t.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?"Good Weather Distance":"Total Distance"),1),If,Gf]),Rf]),e.createElementVNode("div",zf,[Uf,Yf,e.createElementVNode("div",Zf,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=t.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Good Weather Distance":"Total Distance"),1),Qf,Jf]),uf]),Kf])]),e.createElementVNode("div",jf,[Xf,e.createElementVNode("div",qf,[e.createElementVNode("div",vf,[e0,t0,e.createElementVNode("div",o0,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=t.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l0,a0]),n0,s0,c0]),e.createElementVNode("div",i0,[d0,r0,e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((il=(cl=t.reportData)==null?void 0:cl.weather)!=null&&il.noExtrapolation?"Good Weather Distance":"Total Distance"),1),p0,h0]),_0,E0,y0]),e.createElementVNode("div",N0,[V0,f0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=t.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),g0,x0]),k0,D0,C0]),S0,B0])])])])])}),128))])],2)}const A0=Ce(dh,[["render",w0],["__scopeId","data-v-d80f1a42"]]),GY="",T0={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,s,t,r){var E;let a="";const n=((E=this.summaryTable)==null?void 0:E.length)-1;return t&&s!==n&&(a=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!r&&(a=a+" good-weather"),(o==null?void 0:o.excluded)===!0&&!r&&(a=a+" excluded"),a}},computedSegClass(){return function(o,s){var r,a;const t=((r=this.summaryTable)==null?void 0:r.length)-1;if(t>-1){if(o.isFirstSeg&&s!==t)return"td-no-bottom td-top";if((a=this.summaryTable[s+1])!=null&&a.isFirstSeg)return"td-bottom";if(s!==t)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var s;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(s=o.noon)!=null&&s.port)}},computedTime(){return function(o,s){return s==="subtitle"?u(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?u(o).utc().format("MMMM-DD/HHmm[Z]"):u(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${ae.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var r,a,n,E;this.showCF=(a=(r=this.reportData)==null?void 0:r.weather)==null?void 0:a.showCF,this.showAisDistance=!0;let o=[];(E=(n=this.reportData)==null?void 0:n.segments)==null||E.forEach((c,p)=>{let b=c.extend.cp;c.inventory.sample.hours.forEach((g,h)=>{let N=JSON.parse(JSON.stringify(g));N.cp=b,o.push(N)})}),o.sort(function(c,p){let b=c.date,g=p.date;return b-g});let s="",t="";o.forEach((c,p)=>{c.seg!==s&&(c.isFirstSeg=!0,s=c.seg);let b=c.type.charAt(0);c.abbreviation=b;const g=u(c.utc).utc().format("D-MMM");g!==t&&(c.lastdate=g,t=g),b==="A"?c.type="":b==="M"&&(c.type="*"),c.time=u(c.utc).utc().format("HH:mm[Z]"),c.lngPretty=this.getLonLat(ae.LngLatHelper.lng2pretty(c.lng)),c.latPretty=this.getLonLat(ae.LngLatHelper.lat2pretty(c.lat))}),this.summaryTable=o}}},ja=o=>(e.pushScopeId("data-v-c9bf3740"),o=o(),e.popScopeId(),o),F0=ja(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),O0={id:"second-table",class:"table"},P0={class:"summary-table"},L0=ja(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),W0={class:"summary-tbody"},$0=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-c9bf3740><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg gwd" data-v-c9bf3740></div></div> Good Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg adverse" data-v-c9bf3740></div></div> Adverse Weather Days </div><div class="item" data-v-c9bf3740><div class="legend" data-v-c9bf3740><div class="legend-bg excluded" data-v-c9bf3740></div></div> Excluded Periods </div></div>',1),H0={class:"voyage-map",style:{"page-break-inside":"avoid"}},M0=ja(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),I0=["src"],G0=e.createStaticVNode('<div class="legend-block" data-v-c9bf3740><div style="position:relative;left:-20px;" data-v-c9bf3740><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-c9bf3740><div data-v-c9bf3740>7</div><br data-v-c9bf3740><div data-v-c9bf3740>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-c9bf3740></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-c9bf3740> LEGEND: <br data-v-c9bf3740> Wind from NE(045) <br data-v-c9bf3740> Each barb = 10 kts <br data-v-c9bf3740> 1/2 barb = 5 kts <br data-v-c9bf3740></div></div><div style="transform:scale(0.95);" data-v-c9bf3740> 7 - DAY OF THE MONTH <br data-v-c9bf3740> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-c9bf3740><div class="goodWx" data-v-c9bf3740>Date</div> Good weather days<br data-v-c9bf3740></div></div>',1);function R0(o,s,t,r,a,n){var E,c,p,b,g;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((c=(E=t.reportData)==null?void 0:E.weather)!=null&&c.referenceOnly||(b=(p=t.reportData)==null?void 0:p.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[F0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,[e.createElementVNode("table",P0,[L0,e.createElementVNode("tbody",W0,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.summaryTable,(h,N)=>{var D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(n.computedSegClass(h,N))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.time),3),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),n.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString((D=h.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(x=h.cp)==null?void 0:x.speed),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((k=(C=h.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((B=(F=(T=h.meteo)==null?void 0:T.wave)==null?void 0:F.swell)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((O=(f=(w=h.meteo)==null?void 0:w.wave)==null?void 0:f.swell)==null?void 0:O.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((R=(G=(I=h.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height)??"--"),3),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(((z=h.meteo)==null?void 0:z.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((_=h.noon)==null?void 0:_.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((L=h.noon)==null?void 0:L.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.fo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(W=h.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((P=h.noon)==null?void 0:P.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(Q=h.noon)==null?void 0:Q.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(n.computedClass(h,N))},e.toDisplayString(h.abbreviation==="A"?"":(U=h.noon)==null?void 0:U.dgoBrob),3)])}),128))])])])]),$0,e.createElementVNode("div",H0,[M0,e.createElementVNode("img",{style:{width:"100%"},src:(g=t.reportData)==null?void 0:g.chartUrl,alt:""},null,8,I0),G0])],2)}const z0=Ce(T0,[["render",R0],["__scopeId","data-v-c9bf3740"]]),RY="",U0={components:{Summary:A0,Inventory:z0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},Y0={class:"voyage-report"};function Z0(o,s,t,r,a,n){const E=e.resolveComponent("Summary"),c=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",Y0,[e.createVNode(E,{"report-data":a.reportData,class:"main","editor-disabled":t.editorDisabled,onCommit:n.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(c,{"is-admin":t.isAdmin,"report-data":a.reportData,class:"main"},null,8,["is-admin","report-data"])])}const ln=Ce(U0,[["render",Z0],["__scopeId","data-v-e76f9905"]]),zY="",Q0={name:"OrmVoyageSummary",components:{Lng:Wa,Lat:$a,Editor:Go},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeWeatherDef(){return function(o){let s="";o!=null&&o.waveSwitch?s+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?s+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(s+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let t=`Winds are BF/${o==null?void 0:o.windScale} or less, ${s}`;return o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(t+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(t="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?t+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?t+=" Wx Factor is ignored.":o.disableCFactor&&(t+=" Current Factor is ignored."),t+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),t}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,s,t){return t==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,s){return o.consPercentage?s==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`:s==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(o=this.report)==null?void 0:o.segments)==null||s.forEach((t,r)=>{const a=t.excluded;a.sumDistance>0&&a.detail.forEach(n=>{const E={time:u(n.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+u(n.end).utc().format("MMM-DD/HHmm[Z]"),duration:n.duration,distance:n.distance,fo:n.foCons,dgo:n.dgoCons};this.exclusion.push(E)})})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},i=o=>(e.pushScopeId("data-v-44fbbd8a"),o=o(),e.popScopeId(),o),J0={class:"report-summary"},u0={class:"section voyage-section flex-space"},K0={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},j0={class:"flex-space label-block",style:{width:"100%"}},X0=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),q0={style:{"text-transform":"uppercase"}},v0={class:"flex-space label-block",style:{width:"100%"}},e2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),t2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},o2={class:"flex-space label-block",style:{width:"100%"}},l2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),a2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},n2={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},s2={class:"flex-space label-block",style:{width:"100%"}},c2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),i2={key:0,class:"flex-end",style:{flex:"1"}},d2={key:1,class:"flex-end",style:{flex:"1"}},r2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),m2={class:"flex-end",style:{width:"150px"}},p2={class:"flex-space label-block",style:{width:"100%"}},h2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_2={key:0,class:"flex-end",style:{flex:"1"}},E2={key:1,class:"flex-end",style:{flex:"1"}},y2=i(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N2={class:"flex-end",style:{width:"150px"}},V2={class:"flex-space label-block",style:{width:"100%"}},f2=i(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),b2={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},g2={class:"section weather-section"},x2=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),k2={class:"definition"},D2={class:"txt"},C2={class:"section summary-section"},S2=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),B2={class:"phase-box"},w2={class:"phase-index"},A2={class:"phase-position"},T2={key:0},F2={key:1},O2=i(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),P2={class:"phase-position"},L2={key:0},W2={key:1},$2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),H2={class:"phase-cp flex-space"},M2={class:"cp-box"},I2=i(()=>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)),G2={class:"flex-space"},R2=i(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),U2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Y2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),Z2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),Q2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),J2=i(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),u2=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),K2={class:"phase-conclusion flex-space"},j2={class:"item-conclusion"},X2=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),q2={class:"value flex-start"},v2=i(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),eb={key:0,class:"label flex-end"},tb={key:0},ob={key:1},lb={key:2},ab={key:1,class:"label flex-end"},nb={key:2,class:"value flex-end"},sb={key:0},cb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),ib={class:"gain"},db=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),rb={key:1},mb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),pb={class:"lost"},hb=i(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),_b={key:2},Eb={class:"item-conclusion"},yb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),Nb={class:"value flex-start"},Vb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),fb={key:0,class:"label flex-end"},bb={key:0},gb={key:1},xb={key:2},kb={key:1,class:"label flex-end"},Db={key:2,class:"value flex-end"},Cb={key:0},Sb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Bb={class:"gain"},wb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Ab={key:1},Tb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Fb={class:"lost"},Ob=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Pb={key:2},Lb={class:"item-conclusion"},Wb=i(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),$b={class:"value flex-start"},Hb=i(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Mb={key:0,class:"label flex-end"},Ib={key:0},Gb={key:1},Rb={key:2},zb={key:1,class:"label flex-end"},Ub={key:2,class:"value flex-end"},Yb={key:0},Zb=i(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Qb={class:"gain"},Jb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ub={key:1},Kb=i(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),jb={class:"lost"},Xb=i(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),qb={key:2},vb=i(()=>e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1)),eg=i(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),tg={key:0,class:"exclusion-block"},og=i(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),lg=i(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),ag={style:{margin:"8px 0"}},ng={class:"remark-table"},sg=i(()=>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)),cg=["innerHTML"],ig={class:"section segment-section"},dg=i(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),rg={class:"segment-index flex-center"},mg={class:"segment-position"},pg={key:0},hg={key:1},_g=i(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Eg={class:"segment-position"},yg={key:0},Ng={key:1},Vg=i(()=>e.createElementVNode("div",{class:"bb"},null,-1)),fg={style:{margin:"10px 0 0"}},bg=i(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),gg=i(()=>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)),xg=i(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),kg={class:"good-wx"},Dg={class:"good-wx"},Cg=i(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Sg={class:"good-wx"},Bg={class:"good-wx"},wg=i(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Ag={class:"good-wx"},Tg={class:"good-wx"},Fg=i(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Og={class:"good-wx"},Pg={class:"good-wx"},Lg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Wg={class:"good-wx"},$g={class:"good-wx"},Hg=i(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Mg={class:"good-wx"},Ig={class:"good-wx"},Gg=i(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Rg={class:"good-wx"},zg={class:"good-wx"},Ug={key:0,class:"flex-end tip"},Yg={key:1,class:"segment-speed"},Zg={class:"flex-center"},Qg=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Jg={class:"speed-right flex-space"},ug=i(()=>e.createElementVNode("span",null,"-",-1)),Kg=i(()=>e.createElementVNode("label",null,"=",-1)),jg={class:"speed"},Xg={key:1,class:"speed"},qg={key:0,class:"speed"},vg=i(()=>e.createElementVNode("span",null,"-",-1)),ex=i(()=>e.createElementVNode("label",null,"=",-1)),tx={class:"speed"},ox=i(()=>e.createElementVNode("span",null,"-",-1)),lx=i(()=>e.createElementVNode("label",null,"=",-1)),ax={class:"speed"},nx=i(()=>e.createElementVNode("span",null,"-",-1)),sx=i(()=>e.createElementVNode("span",null,"-",-1)),cx=i(()=>e.createElementVNode("label",null,"=",-1)),ix={class:"speed"},dx={key:2,class:"under"},rx={key:3,class:"over"},mx={class:"flex-center"},px=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),hx={class:"speed-right formula flex-space"},_x=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Ex=i(()=>e.createElementVNode("label",null,"-",-1)),yx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Nx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Vx=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),fx={key:0},bx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),gx=i(()=>e.createElementVNode("label",null,"-",-1)),xx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),kx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Dx=i(()=>e.createElementVNode("label",null,"-",-1)),Cx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Sx=i(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),Bx=i(()=>e.createElementVNode("label",null,"-",-1)),wx=i(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),Ax=i(()=>e.createElementVNode("label",null,"-",-1)),Tx=i(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Fx={key:2,class:"segment-speed"},Ox={class:"flex-center"},Px=i(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Lx={class:"speed-right flex-space"},Wx=i(()=>e.createElementVNode("span",null,"-",-1)),$x=i(()=>e.createElementVNode("span",null,"-",-1)),Hx=i(()=>e.createElementVNode("label",null,"=",-1)),Mx={class:"speed"},Ix=i(()=>e.createElementVNode("span",null,"-",-1)),Gx=i(()=>e.createElementVNode("label",null,"=",-1)),Rx={class:"speed"},zx={key:2,class:"under"},Ux={key:3,class:"over"},Yx={class:"flex-center"},Zx=i(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Qx={class:"speed-right formula flex-space"},Jx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),ux=i(()=>e.createElementVNode("label",null,"-",-1)),Kx=i(()=>e.createElementVNode("label",null,"Current Factor",-1)),jx=i(()=>e.createElementVNode("label",null,"-",-1)),Xx=i(()=>e.createElementVNode("label",null,"Weather Factor",-1)),qx=i(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),vx=i(()=>e.createElementVNode("label",null,"-",-1)),ek=i(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),tk=i(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),ok=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),lk={class:"segment-formula"},ak={class:"header-block flex-start"},nk=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),sk={class:"title"},ck={key:0,style:{"margin-left":"4px","font-weight":"300"}},ik={class:"formula-block"},dk={class:"flex-evenly"},rk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),mk={class:"formula-right flex-evenly"},pk={class:"fraction",style:{width:"240px"}},hk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),_k=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Ek=i(()=>e.createElementVNode("div",null,"(a)",-1)),yk={class:"flex-center"},Nk={class:"formula-left flex-space"},Vk=i(()=>e.createElementVNode("label",null,"=",-1)),fk={class:"formula-right flex-evenly"},bk={class:"fraction",style:{width:"240px"}},gk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),xk=i(()=>e.createElementVNode("div",null,"(b)",-1)),kk={class:"flex-center"},Dk={class:"formula-left flex-space"},Ck=i(()=>e.createElementVNode("label",null,"=",-1)),Sk={class:"formula-right flex-evenly"},Bk={class:"fraction",style:{width:"240px"}},wk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ak=i(()=>e.createElementVNode("div",null,"(c)",-1)),Tk=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Lost</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(a)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Time Gained</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(c)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(a)</div></div></div>',1),Fk={class:"formula-desc"},Ok={class:"flex-end"},Pk=i(()=>e.createElementVNode("label",null,"Time Lost",-1)),Lk={class:"flex-end"},Wk=i(()=>e.createElementVNode("label",null,"Time Gained",-1)),$k={class:"flex-end"},Hk=i(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),Mk={key:0,class:"formula-block",style:{"font-weight":"400"}},Ik={class:"flex-evenly"},Gk=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Rk={class:"formula-right flex-evenly"},zk={class:"fraction",style:{width:"240px"}},Uk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yk=i(()=>e.createElementVNode("div",null,"=",-1)),Zk=i(()=>e.createElementVNode("div",null,"(a')",-1)),Qk={class:"flex-center"},Jk={class:"formula-left flex-space"},uk=i(()=>e.createElementVNode("label",null,"=",-1)),Kk={class:"formula-right flex-evenly"},jk={class:"fraction",style:{width:"240px"}},Xk=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qk=i(()=>e.createElementVNode("div",null,"=",-1)),vk=i(()=>e.createElementVNode("div",null,"(b')",-1)),e3={class:"flex-center"},t3={class:"formula-left flex-space"},o3=i(()=>e.createElementVNode("label",null,"=",-1)),l3={class:"formula-right flex-evenly"},a3={class:"fraction",style:{width:"240px"}},n3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),s3=i(()=>e.createElementVNode("div",null,"=",-1)),c3=i(()=>e.createElementVNode("div",null,"(c')",-1)),i3={class:"formula-conclusion",style:{"margin-bottom":"0"}},d3={key:0,class:"flex-evenly",style:{width:"500px"}},r3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),m3=i(()=>e.createElementVNode("div",null,"=",-1)),p3=i(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),h3=i(()=>e.createElementVNode("div",null,"=",-1)),_3=i(()=>e.createElementVNode("div",null,"-",-1)),E3=i(()=>e.createElementVNode("div",null,"=",-1)),y3={key:1,class:"flex-evenly",style:{width:"500px"}},N3=i(()=>e.createElementVNode("div",null,"Time Lost",-1)),V3=i(()=>e.createElementVNode("div",null,"=",-1)),f3=i(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),b3=i(()=>e.createElementVNode("div",null,"=",-1)),g3=i(()=>e.createElementVNode("div",null,"-",-1)),x3=i(()=>e.createElementVNode("div",null,"=",-1)),k3=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),D3={key:1,class:"formula-conclusion"},C3=i(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),S3={class:"segment-formula"},B3={class:"header-block flex-start"},w3=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),A3={class:"title"},T3={key:0,style:{"margin-left":"4px","font-weight":"300"}},F3={class:"formula-block"},O3={class:"flex-evenly"},P3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),L3={class:"formula-right flex-evenly"},W3={class:"fraction",style:{width:"240px"}},$3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),H3=i(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),M3=i(()=>e.createElementVNode("div",null,"x",-1)),I3=i(()=>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)),G3=i(()=>e.createElementVNode("div",null,"(d)",-1)),R3={style:{"line-height":"1"}},z3=i(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),U3={key:0,class:"tips flex-end",style:{"font-size":"14px"}},Y3={class:"flex-center"},Z3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Q3={class:"formula-right flex-evenly"},J3={class:"fraction",style:{width:"240px"}},u3=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),K3=i(()=>e.createElementVNode("div",null,"x",-1)),j3=i(()=>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)),X3=i(()=>e.createElementVNode("div",null,"(e)",-1)),q3={class:"flex-center"},v3=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),eD={class:"formula-right flex-evenly"},tD={class:"fraction",style:{width:"240px"}},oD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lD=i(()=>e.createElementVNode("div",null,"x",-1)),aD=i(()=>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)),nD=i(()=>e.createElementVNode("div",null,"(f)",-1)),sD=e.createStaticVNode('<div class="flex-start" data-v-44fbbd8a><div class="flex-space" style="width:300px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Over-consumption</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(d)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44fbbd8a><label data-v-44fbbd8a>Fuel Saving</label><div data-v-44fbbd8a>=</div><div data-v-44fbbd8a>(f)</div><div data-v-44fbbd8a>-</div><div data-v-44fbbd8a>(d)</div></div></div>',1),cD={class:"flex-center"},iD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),dD={class:"formula-right flex-evenly"},rD={class:"fraction",style:{width:"270px"}},mD=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hD={class:"flex-center"},_D=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),ED={class:"formula-right flex-evenly"},yD={class:"fraction",style:{width:"270px"}},ND=i(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),VD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),fD=i(()=>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)),bD={class:"header-block flex-start",style:{"margin-top":"10px"}},gD=i(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),xD={class:"title"},kD={key:0,class:"formula-block"},DD={key:0,class:"flex-evenly"},CD=i(()=>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)),SD={class:"formula-right flex-evenly"},BD={class:"fraction",style:{width:"60px"}},wD=i(()=>e.createElementVNode("div",null,"-",-1)),AD={class:"fraction",style:{width:"60px"}},TD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),FD=i(()=>e.createElementVNode("div",null,"24",-1)),OD=i(()=>e.createElementVNode("div",null,"*",-1)),PD=i(()=>e.createElementVNode("div",null,"=",-1)),LD={class:"flex-evenly"},WD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),$D={class:"formula-right flex-evenly"},HD={class:"fraction",style:{width:"240px"}},MD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),ID=i(()=>e.createElementVNode("div",null,"x",-1)),GD={class:"fraction",style:{width:"240px"}},RD={key:0},zD=i(()=>e.createElementVNode("span",null," + ",-1)),UD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),YD=i(()=>e.createElementVNode("div",null,"=",-1)),ZD=i(()=>e.createElementVNode("div",null,"(d')",-1)),QD={class:"flex-evenly"},JD=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),uD={class:"formula-right flex-evenly"},KD={class:"fraction",style:{width:"240px"}},jD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),XD=i(()=>e.createElementVNode("div",null,"x",-1)),qD={class:"fraction",style:{width:"240px"}},vD=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),eC=i(()=>e.createElementVNode("div",null,"24",-1)),tC=i(()=>e.createElementVNode("div",null,"=",-1)),oC=i(()=>e.createElementVNode("div",null,"(e')",-1)),lC={class:"flex-evenly"},aC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nC={class:"formula-right flex-evenly"},sC={class:"fraction",style:{width:"240px"}},cC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),iC=i(()=>e.createElementVNode("div",null,"x",-1)),dC={class:"fraction",style:{width:"240px"}},rC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),mC=i(()=>e.createElementVNode("div",null,"24",-1)),pC=i(()=>e.createElementVNode("div",null,"=",-1)),hC=i(()=>e.createElementVNode("div",null,"(f')",-1)),_C={class:"formula-conclusion",style:{"margin-bottom":"0"}},EC={class:"flex-evenly",style:{width:"500px"}},yC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),NC=i(()=>e.createElementVNode("div",null,"=",-1)),VC=i(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),fC=i(()=>e.createElementVNode("div",null,"=",-1)),bC=i(()=>e.createElementVNode("div",null,"-",-1)),gC=i(()=>e.createElementVNode("div",null,"=",-1)),xC={key:0,class:"flex-evenly"},kC=i(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),DC=i(()=>e.createElementVNode("div",null,"=",-1)),CC={class:"fraction"},SC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),BC=i(()=>e.createElementVNode("div",null,"=",-1)),wC={class:"flex-evenly",style:{width:"700px"}},AC=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),TC=i(()=>e.createElementVNode("div",null,"=",-1)),FC=i(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),OC=i(()=>e.createElementVNode("div",null,"=",-1)),PC=i(()=>e.createElementVNode("div",null,"-",-1)),LC=i(()=>e.createElementVNode("div",null,"=",-1)),WC={key:0,class:"flex-evenly",style:{width:"500px"}},$C=i(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),HC=i(()=>e.createElementVNode("div",null,"=",-1)),MC={class:"fraction",style:{width:"140px"}},IC=i(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),GC=i(()=>e.createElementVNode("div",null,"=",-1)),RC=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),zC={key:1,class:"formula-conclusion"},UC={class:"header-block flex-end",style:{"margin-top":"10px"}},YC=i(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ZC={class:"title"},QC={key:0,class:"formula-block"},JC={class:"flex-evenly"},uC=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),KC={class:"formula-right flex-evenly"},jC={class:"fraction",style:{width:"240px"}},XC=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),qC=i(()=>e.createElementVNode("div",null,"x",-1)),vC={class:"fraction",style:{width:"240px"}},eS={key:0},tS=i(()=>e.createElementVNode("span",null," - ",-1)),oS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),lS=i(()=>e.createElementVNode("div",null,"=",-1)),aS=i(()=>e.createElementVNode("div",null,"(d'')",-1)),nS={class:"flex-evenly"},sS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),cS={class:"formula-right flex-evenly"},iS={class:"fraction",style:{width:"240px"}},dS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),rS=i(()=>e.createElementVNode("div",null,"x",-1)),mS={class:"fraction",style:{width:"240px"}},pS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),hS=i(()=>e.createElementVNode("div",null,"24",-1)),_S=i(()=>e.createElementVNode("div",null,"=",-1)),ES=i(()=>e.createElementVNode("div",null,"(e'')",-1)),yS={class:"flex-evenly"},NS=i(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VS={class:"formula-right flex-evenly"},fS={class:"fraction",style:{width:"240px"}},bS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),gS=i(()=>e.createElementVNode("div",null,"x",-1)),xS={class:"fraction",style:{width:"240px"}},kS=i(()=>e.createElementVNode("div",{class:"line"},null,-1)),DS=i(()=>e.createElementVNode("div",null,"24",-1)),CS=i(()=>e.createElementVNode("div",null,"=",-1)),SS=i(()=>e.createElementVNode("div",null,"(f'')",-1)),BS={class:"formula-conclusion",style:{"margin-bottom":"0"}},wS={key:0,class:"flex-evenly",style:{width:"500px"}},AS=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),TS=i(()=>e.createElementVNode("div",null,"=",-1)),FS=i(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),OS=i(()=>e.createElementVNode("div",null,"=",-1)),PS=i(()=>e.createElementVNode("div",null,"-",-1)),LS=i(()=>e.createElementVNode("div",null,"=",-1)),WS={key:1,class:"flex-evenly",style:{width:"700px"}},$S=i(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),HS=i(()=>e.createElementVNode("div",null,"=",-1)),MS=i(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),IS=i(()=>e.createElementVNode("div",null,"=",-1)),GS=i(()=>e.createElementVNode("div",null,"-",-1)),RS=i(()=>e.createElementVNode("div",null,"=",-1)),zS=i(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),US={key:1,class:"formula-conclusion"};function YS(o,s,t,r,a,n){var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",J0,[e.createElementVNode("div",u0,[e.createElementVNode("div",K0,[e.createElementVNode("div",j0,[X0,e.createElementVNode("span",q0,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",v0,[e2,e.createElementVNode("span",t2,e.toDisplayString((g=(b=t.report)==null?void 0:b.vessel)==null?void 0:g.name)+" ("+e.toDisplayString((N=(h=t.report)==null?void 0:h.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",o2,[l2,e.createElementVNode("span",a2,e.toDisplayString((x=(D=t.report)==null?void 0:D.voyage)==null?void 0:x.number),1)])]),e.createElementVNode("div",n2,[e.createElementVNode("div",s2,[c2,(k=(C=t.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",i2,e.toDisplayString((F=(T=t.report)==null?void 0:T.departure)==null?void 0:F.portName),1)):(e.openBlock(),e.createElementBlock("div",d2,[e.createVNode(E,{lat:(w=(B=t.report)==null?void 0:B.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),r2,e.createVNode(c,{lng:(f=t.report.departure)==null?void 0:f.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",m2,e.toDisplayString(n.computeUTCTime((O=t.report.departure)==null?void 0:O.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",p2,[h2,(G=(I=t.report)==null?void 0:I.arrival)!=null&&G.portName?(e.openBlock(),e.createElementBlock("span",_2,e.toDisplayString((z=(R=t.report)==null?void 0:R.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",E2,[e.createVNode(E,{lat:(L=(_=t.report)==null?void 0:_.arrival)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),y2,e.createVNode(c,{lng:(W=(H=t.report)==null?void 0:H.arrival)==null?void 0:W.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",N2,e.toDisplayString(n.computeUTCTime((M=(P=t.report)==null?void 0:P.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",V2,[f2,e.createElementVNode("span",b2,e.toDisplayString((U=(Q=t.report)==null?void 0:Q.voyage)==null?void 0:U.loadCondition),1)])])]),e.createElementVNode("div",g2,[x2,e.createElementVNode("div",k2,[e.createElementVNode("div",D2,e.toDisplayString(n.computeWeatherDef(t.report.weather)),1)])]),e.createElementVNode("div",C2,[S2,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=t.report)==null?void 0:J.segments,(l,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m;return e.openBlock(),e.createElementBlock("div",{key:"summary"+j,class:"segment-box flex-space"},[e.createElementVNode("div",B2,[e.createElementVNode("div",w2,"Seg."+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,($,Be)=>{var Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",A2,[(Me=$==null?void 0:$.departure)!=null&&Me.portName?(e.openBlock(),e.createElementBlock("span",T2,e.toDisplayString((Re=$==null?void 0:$.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",F2,e.toDisplayString(n.computeLat((pe=$==null?void 0:$.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ue=$==null?void 0:$.departure)==null?void 0:Ue.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((ot=$==null?void 0:$.departure)==null?void 0:ot.utcTime))+")",1)]),O2,e.createElementVNode("div",P2,[(lt=$==null?void 0:$.arrival)!=null&<.portName?(e.openBlock(),e.createElementBlock("span",L2,e.toDisplayString((dt=$==null?void 0:$.arrival)==null?void 0:dt.portName),1)):(e.openBlock(),e.createElementBlock("span",W2,e.toDisplayString(n.computeLat((rt=$==null?void 0:$.arrival)==null?void 0:rt.lat).pretty)+", "+e.toDisplayString(n.computeLng((mt=$==null?void 0:$.arrival)==null?void 0:mt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((pt=$==null?void 0:$.arrival)==null?void 0:pt.utcTime))+")",1)])])}),128)),$2,e.createElementVNode("div",H2,[e.createElementVNode("div",M2,[I2,e.createElementVNode("div",G2,[R2,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(ee=l==null?void 0:l.extend)==null?void 0:ee.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(le=(oe=l==null?void 0:l.extend)==null?void 0:oe.cp)==null?void 0:le.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[U2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ie=(ce=l==null?void 0:l.extend)==null?void 0:ce.cp)==null?void 0:ie.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(de=l==null?void 0:l.extend)==null?void 0:de.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[Y2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[Z2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(X=l==null?void 0:l.extend)==null?void 0:X.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[Q2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[J2,e.createElementVNode("span",null,e.toDisplayString(n.computeAbtCons(l==null?void 0:l.fuelConclusion,"Under")),1)])])])])]),u2,e.createElementVNode("div",K2,[e.createElementVNode("div",j2,[X2,e.createElementVNode("div",q2,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.time),1),v2]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",eb,[((Ee=l==null?void 0:l.timeConclusion)==null?void 0:Ee.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tb,"Time Gained")):((ye=l==null?void 0:l.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ob,"Time Lost")):(e.openBlock(),e.createElementBlock("div",lb,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",ab,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",nb,[((re=l==null?void 0:l.timeConclusion)==null?void 0:re.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",sb,[cb,e.createElementVNode("span",ib,e.toDisplayString((fe=l==null?void 0:l.timeConclusion)==null?void 0:fe.timeGain),1),db])):((be=l==null?void 0:l.timeConclusion)==null?void 0:be.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("span",pb,e.toDisplayString((ge=l==null?void 0:l.timeConclusion)==null?void 0:ge.timeLost),1),hb])):(e.openBlock(),e.createElementBlock("div",_b,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Eb,[yb,e.createElementVNode("div",Nb,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumFoCons),1),Vb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fb,[((ke=(xe=l==null?void 0:l.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",bb,"FO Saving")):((Te=(De=l==null?void 0:l.fuelConclusion)==null?void 0:De.fo)==null?void 0:Te.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",gb,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",xb,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",kb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Db,[((Oe=(Fe=l==null?void 0:l.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Oe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Cb,[Sb,e.createElementVNode("span",Bb,e.toDisplayString((Le=(Pe=l==null?void 0:l.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:Le.saving),1),wb])):(($e=(We=l==null?void 0:l.fuelConclusion)==null?void 0:We.fo)==null?void 0:$e.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Ab,[Tb,e.createElementVNode("span",Fb,e.toDisplayString((Ne=(He=l==null?void 0:l.fuelConclusion)==null?void 0:He.fo)==null?void 0:Ne.overCons),1),Ob])):(e.openBlock(),e.createElementBlock("div",Pb,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lb,[Wb,e.createElementVNode("div",$b,[e.createElementVNode("div",null,e.toDisplayString(l.allWx.sumDgoCons),1),Hb]),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mb,[((Ke=(ue=l==null?void 0:l.fuelConclusion)==null?void 0:ue.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ib,"DO/GO Saving")):((A=(je=l==null?void 0:l.fuelConclusion)==null?void 0:je.dgo)==null?void 0:A.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Gb,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Rb,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",zb,e.toDisplayString(a.noGoodWxDay),1)),l.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ub,[((Ge=(Se=l==null?void 0:l.fuelConclusion)==null?void 0:Se.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Yb,[Zb,e.createElementVNode("span",Qb,e.toDisplayString((qe=(Xe=l==null?void 0:l.fuelConclusion)==null?void 0:Xe.dgo)==null?void 0:qe.saving),1),Jb])):((et=(ve=l==null?void 0:l.fuelConclusion)==null?void 0:ve.dgo)==null?void 0:et.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",ub,[Kb,e.createElementVNode("span",jb,e.toDisplayString((m=(tt=l==null?void 0:l.fuelConclusion)==null?void 0:tt.dgo)==null?void 0:m.overCons),1),Xb])):(e.openBlock(),e.createElementBlock("div",qb,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),vb]),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((ne=t.report)==null?void 0:ne.remarks)&&!a.exclusion.length?"section remark-section print-hidden":"section remark-section")},[eg,a.exclusion.length?(e.openBlock(),e.createElementBlock("div",tg,[og,lg,e.createElementVNode("div",ag,[e.createElementVNode("table",ng,[sg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.exclusion,(l,j)=>(e.openBlock(),e.createElementBlock("tr",{key:j},[e.createElementVNode("td",null,e.toDisplayString(j+1),1),e.createElementVNode("td",null,e.toDisplayString(l.time),1),e.createElementVNode("td",null,e.toDisplayString(l.duration),1),e.createElementVNode("td",null,e.toDisplayString(l.distance),1),e.createElementVNode("td",null,e.toDisplayString(l.fo),1),e.createElementVNode("td",null,e.toDisplayString(l.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(n.computeBlankHtml((se=t.report)==null?void 0:se.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[a.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:a.remarks,"onUpdate:modelValue":s[0]||(s[0]=l=>a.remarks=l),class:"editor",height:"120px",onBlur:s[1]||(s[1]=l=>n.handleCommit(l))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...l)=>n.handleEdit&&n.handleEdit(...l)),innerHTML:a.remarks},null,40,cg))],2)],2),e.createElementVNode("div",ig,[dg,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.report.segments,(l,j)=>{var v,ee,te,oe,le,ce,ie,de,_e,X,me,Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge,Xe,qe,ve,et,tt,m,$,Be,Me,Re,pe,Ue,ot,lt,dt,rt,mt,pt,_t,Et,yt,Nt,Vt,ft,bt,gt,xt,kt,Dt,Ct,St,Bt,wt,At,Tt,Ft,Ot,Pt,no,so,co,io,ro,mo,po,ho,_o,Eo,S,Ie,at,nt,ht,Lt,Wt,$t,Ht,Mt,It,Gt,Rt,zt,Ut,Yt,Zt,Qt,Jt,ut,Kt,jt,Xt,qt,vt,eo,to,oo,lo,yo,No,Vo,fo,bo,go,xo,ko,Do,Co,So,Bo,wo,Ao,To,Fo,Oo,Po,Lo,Wo,$o,Ho,Ro,zo,Uo,Yo,Zo,Qo,Jo,uo,Ko,jo,Xo,qo,vo,el,tl,ol,ll,al,nl,sl,cl,il,dl,rl,st,pl,El,yl,Nl,Vl,fl,bl,gl,xl,kl,Dl,Cl,Sl,Bl,wl,Al,Tl,Fl,Ol,Pl,Ll,Wl,$l,Hl,Ml,Il,Gl,Rl,zl,Ul,Yl,Zl,Ql,Jl,ul,Kl,jl,Xl,ql,vl,ea,ta,oa,la,aa,na,sa,ca,ia,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ba,ga,xa,Z,ao,ka,Da,Ca,Sa,Ba,wa,Aa,Ta,Qe,Ha,Ma,Ia,Ga,K,Mo,Ra,za,Ua,Ya,Za,Qa,Ja,ua,ct,kn,Dn,Cn,Sn,Bn,wn,An,Tn,Fn,On,Pn,Ln,Wn,$n,Hn,Mn,In,Gn,Rn,zn,Un,Yn,Zn,Qn,Jn,un,Kn,jn,Xn,qn,vn,es,ts,os,ls,as,ns,ss,cs,is,ds,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,bs,gs,xs,ks,Ds,Cs,Ss,Bs,ws,As,Ts,Fs,Os,Ps,Ls,Ws,$s,Hs,Ms,Is,Gs,Rs,zs,Us,Ys,Zs,Qs,Js,us,Ks,js,Xs,qs,vs,ec,tc,oc,lc,ac,nc,sc,cc,ic,dc,rc,mc,pc,hc,_c,Ec,yc,Nc,Vc,fc,bc,gc,xc,kc,Dc,Cc;return e.openBlock(),e.createElementBlock("div",{key:j,class:"segment-block"},[e.createElementVNode("div",rg,"Voyage Analysis Seg. "+e.toDisplayString(j+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=l==null?void 0:l.extend)==null?void 0:v.segTimes,(we,gY)=>{var Sc,Bc,wc,Ac,Tc,Fc,Oc,Pc,Lc,Wc;return e.openBlock(),e.createElementBlock("div",{key:gY,class:"segment-row flex-space"},[e.createElementVNode("div",mg,[(Sc=we==null?void 0:we.departure)!=null&&Sc.portName?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString((Bc=we==null?void 0:we.departure)==null?void 0:Bc.portName),1)):(e.openBlock(),e.createElementBlock("span",hg,e.toDisplayString(n.computeLat((wc=we==null?void 0:we.departure)==null?void 0:wc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Ac=we==null?void 0:we.departure)==null?void 0:Ac.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Tc=we==null?void 0:we.departure)==null?void 0:Tc.utcTime))+")",1)]),_g,e.createElementVNode("div",Eg,[(Fc=we==null?void 0:we.arrival)!=null&&Fc.portName?(e.openBlock(),e.createElementBlock("span",yg,e.toDisplayString((Oc=we==null?void 0:we.arrival)==null?void 0:Oc.portName),1)):(e.openBlock(),e.createElementBlock("span",Ng,e.toDisplayString(n.computeLat((Pc=we==null?void 0:we.arrival)==null?void 0:Pc.lat).pretty)+", "+e.toDisplayString(n.computeLng((Lc=we==null?void 0:we.arrival)==null?void 0:Lc.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(n.computeUTCTime((Wc=we==null?void 0:we.arrival)==null?void 0:Wc.utcTime))+")",1)])])}),128)),Vg,e.createElementVNode("div",fg,[e.createElementVNode("table",null,[bg,gg,e.createElementVNode("tr",null,[xg,e.createElementVNode("td",kg,e.toDisplayString((te=(ee=l==null?void 0:l.goodWx)==null?void 0:ee.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Dg,e.toDisplayString((le=(oe=l==null?void 0:l.goodWx)==null?void 0:oe.inEca)==null?void 0:le.distance),1),e.createElementVNode("td",null,e.toDisplayString((ie=(ce=l==null?void 0:l.allWx)==null?void 0:ce.outEca)==null?void 0:ie.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(de=l==null?void 0:l.allWx)==null?void 0:de.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",Sg,e.toDisplayString((me=(X=l==null?void 0:l.goodWx)==null?void 0:X.outEca)==null?void 0:me.time),1),e.createElementVNode("td",Bg,e.toDisplayString((ye=(Ee=l==null?void 0:l.goodWx)==null?void 0:Ee.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((fe=(re=l==null?void 0:l.allWx)==null?void 0:re.outEca)==null?void 0:fe.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(be=l==null?void 0:l.allWx)==null?void 0:be.inEca)==null?void 0:ge.time),1)]),e.createElementVNode("tr",null,[wg,e.createElementVNode("td",Ag,e.toDisplayString(((ke=(xe=l==null?void 0:l.goodWx)==null?void 0:xe.outEca)==null?void 0:ke.avgSpd)||"--"),1),e.createElementVNode("td",Tg,e.toDisplayString(((Te=(De=l==null?void 0:l.goodWx)==null?void 0:De.inEca)==null?void 0:Te.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Oe=(Fe=l==null?void 0:l.allWx)==null?void 0:Fe.outEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Le=(Pe=l==null?void 0:l.allWx)==null?void 0:Pe.inEca)==null?void 0:Le.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Fg,e.createElementVNode("td",Og,e.toDisplayString((($e=(We=l==null?void 0:l.goodWx)==null?void 0:We.outEca)==null?void 0:$e.sumFoCons)||"--"),1),e.createElementVNode("td",Pg,e.toDisplayString(((Ne=(He=l==null?void 0:l.goodWx)==null?void 0:He.inEca)==null?void 0:Ne.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(ue=l==null?void 0:l.allWx)==null?void 0:ue.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((A=(je=l==null?void 0:l.allWx)==null?void 0:je.inEca)==null?void 0:A.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lg,e.createElementVNode("td",Wg,e.toDisplayString(((Ge=(Se=l==null?void 0:l.goodWx)==null?void 0:Se.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",$g,e.toDisplayString(((qe=(Xe=l==null?void 0:l.goodWx)==null?void 0:Xe.inEca)==null?void 0:qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=l==null?void 0:l.allWx)==null?void 0:ve.outEca)==null?void 0:et.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((m=(tt=l==null?void 0:l.allWx)==null?void 0:tt.inEca)==null?void 0:m.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Hg,e.createElementVNode("td",Mg,e.toDisplayString(((Be=($=l==null?void 0:l.goodWx)==null?void 0:$.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",Ig,e.toDisplayString(((Re=(Me=l==null?void 0:l.goodWx)==null?void 0:Me.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(pe=l==null?void 0:l.allWx)==null?void 0:pe.outEca)==null?void 0:Ue.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((lt=(ot=l==null?void 0:l.allWx)==null?void 0:ot.inEca)==null?void 0:lt.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",Rg,e.toDisplayString(((rt=(dt=l==null?void 0:l.goodWx)==null?void 0:dt.outEca)==null?void 0:rt.avgDgoCons)||"--"),1),e.createElementVNode("td",zg,e.toDisplayString(((pt=(mt=l==null?void 0:l.goodWx)==null?void 0:mt.inEca)==null?void 0:pt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=l==null?void 0:l.allWx)==null?void 0:_t.outEca)==null?void 0:Et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Nt=(yt=l==null?void 0:l.allWx)==null?void 0:yt.inEca)==null?void 0:Nt.avgDgoCons)||"--"),1)])])]),(Vt=a.exclusion[j])!=null&&Vt.time?(e.openBlock(),e.createElementBlock("div",Ug,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(ft=l==null?void 0:l.goodWx)!=null&&ft.distance?(e.openBlock(),e.createElementBlock("div",Yg,[e.createElementVNode("div",Zg,[Qg,e.createElementVNode("div",Jg,[(gt=(bt=t.report)==null?void 0:bt.weather)!=null&>.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ot=(Ft=t.report)==null?void 0:Ft.weather)!=null&&Ot.disableWxFactor&&((no=(Pt=t.report)==null?void 0:Pt.weather)!=null&&no.disableCFactor)?(e.openBlock(),e.createElementBlock("span",qg,e.toDisplayString((so=l==null?void 0:l.goodWx)==null?void 0:so.pfmSpd)+" (kts)",1)):(io=(co=t.report)==null?void 0:co.weather)!=null&&io.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((ro=l==null?void 0:l.goodWx)==null?void 0:ro.avgSpd),1),vg,e.createElementVNode("span",null,e.toDisplayString(((mo=l==null?void 0:l.goodWx)==null?void 0:mo.avgCf)>0?(po=l==null?void 0:l.goodWx)==null?void 0:po.avgCf:`(${(ho=l==null?void 0:l.goodWx)==null?void 0:ho.avgCf})`),1),ex,e.createElementVNode("span",tx,e.toDisplayString((_o=l==null?void 0:l.goodWx)==null?void 0:_o.pfmSpd)+" (kts)",1)],64)):(S=(Eo=t.report)==null?void 0:Eo.weather)!=null&&S.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Ie=l==null?void 0:l.goodWx)==null?void 0:Ie.avgSpd),1),ox,e.createElementVNode("span",null,e.toDisplayString(((at=l==null?void 0:l.goodWx)==null?void 0:at.avgWf)>0?(nt=l==null?void 0:l.goodWx)==null?void 0:nt.avgWf:`(${(ht=l==null?void 0:l.goodWx)==null?void 0:ht.avgWf})`),1),lx,e.createElementVNode("span",ax,e.toDisplayString((Lt=l==null?void 0:l.goodWx)==null?void 0:Lt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Wt=l==null?void 0:l.goodWx)==null?void 0:Wt.avgSpd),1),nx,e.createElementVNode("span",null,e.toDisplayString((($t=l==null?void 0:l.goodWx)==null?void 0:$t.avgWf)>0?(Ht=l==null?void 0:l.goodWx)==null?void 0:Ht.avgWf:`(${(Mt=l==null?void 0:l.goodWx)==null?void 0:Mt.avgWf})`),1),sx,e.createElementVNode("span",null,e.toDisplayString(((It=l==null?void 0:l.goodWx)==null?void 0:It.avgCf)>0?(Gt=l==null?void 0:l.goodWx)==null?void 0:Gt.avgCf:`(${(Rt=l==null?void 0:l.goodWx)==null?void 0:Rt.avgCf})`),1),cx,e.createElementVNode("span",ix,e.toDisplayString((zt=l==null?void 0:l.goodWx)==null?void 0:zt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(kt=(xt=t.report)==null?void 0:xt.weather)!=null&&kt.favorableCur&&((Dt=l==null?void 0:l.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",Xg,e.toDisplayString((Tt=l==null?void 0:l.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Ct=l==null?void 0:l.goodWx)==null?void 0:Ct.avgSpd),1),ug,e.createElementVNode("span",null,e.toDisplayString(((St=l==null?void 0:l.goodWx)==null?void 0:St.avgCf)>0?(Bt=l==null?void 0:l.goodWx)==null?void 0:Bt.avgCf:`(${(wt=l==null?void 0:l.goodWx)==null?void 0:wt.avgCf})`),1),Kg,e.createElementVNode("span",jg,e.toDisplayString((At=l==null?void 0:l.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)],64))],64)),((Ut=l==null?void 0:l.goodWx)==null?void 0:Ut.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",dx,"(Under-performance)")):e.createCommentVNode("",!0),((Yt=l==null?void 0:l.goodWx)==null?void 0:Yt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",rx,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",mx,[px,e.createElementVNode("div",hx,[(Qt=(Zt=t.report)==null?void 0:Zt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Xt=(jt=t.report)==null?void 0:jt.weather)!=null&&Xt.disableWxFactor&&((vt=(qt=t.report)==null?void 0:qt.weather)!=null&&vt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",fx,"GW Average Speed")):(to=(eo=t.report)==null?void 0:eo.weather)!=null&&to.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[bx,gx,xx],64)):(lo=(oo=t.report)==null?void 0:oo.weather)!=null&&lo.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[kx,Dx,Cx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[Sx,Bx,wx,Ax,Tx],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(ut=(Jt=t.report)==null?void 0:Jt.weather)!=null&&ut.favorableCur&&((Kt=l==null?void 0:l.goodWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Nx,Vx],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_x,Ex,yx],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",Fx,[e.createElementVNode("div",Ox,[Px,e.createElementVNode("div",Lx,[(No=(yo=t.report)==null?void 0:yo.weather)!=null&&No.favorableCur&&((Vo=l==null?void 0:l.allWx)==null?void 0:Vo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Bo=l==null?void 0:l.allWx)==null?void 0:Bo.avgSpd),1),Ix,e.createElementVNode("span",null,e.toDisplayString(((wo=l==null?void 0:l.allWx)==null?void 0:wo.avgWf)>0?(Ao=l==null?void 0:l.allWx)==null?void 0:Ao.avgWf:`(${(To=l==null?void 0:l.allWx)==null?void 0:To.avgWf})`),1),Gx,e.createElementVNode("span",Rx,e.toDisplayString((Fo=l==null?void 0:l.allWx)==null?void 0:Fo.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((fo=l==null?void 0:l.allWx)==null?void 0:fo.avgSpd),1),Wx,e.createElementVNode("span",null,e.toDisplayString(((bo=l==null?void 0:l.allWx)==null?void 0:bo.avgCf)>0?(go=l==null?void 0:l.allWx)==null?void 0:go.avgCf:`(${(xo=l==null?void 0:l.allWx)==null?void 0:xo.avgCf})`),1),$x,e.createElementVNode("span",null,e.toDisplayString(((ko=l==null?void 0:l.allWx)==null?void 0:ko.avgWf)>0?(Do=l==null?void 0:l.allWx)==null?void 0:Do.avgWf:`(${(Co=l==null?void 0:l.allWx)==null?void 0:Co.avgWf})`),1),Hx,e.createElementVNode("span",Mx,e.toDisplayString((So=l==null?void 0:l.allWx)==null?void 0:So.pfmSpd)+" (kts)",1)],64)),((Oo=l==null?void 0:l.allWx)==null?void 0:Oo.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",zx,"(Under-performance)")):e.createCommentVNode("",!0),((Po=l==null?void 0:l.allWx)==null?void 0:Po.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Ux,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Yx,[Zx,e.createElementVNode("div",Qx,[(Wo=(Lo=t.report)==null?void 0:Lo.weather)!=null&&Wo.favorableCur&&(($o=l==null?void 0:l.allWx)==null?void 0:$o.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[qx,vx,ek,tk],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jx,ux,Kx,jx,Xx],64))])])])),ok,e.createElementVNode("div",lk,[e.createElementVNode("div",ak,[nk,e.createElementVNode("div",sk,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Time Analysis",1),(Ro=(Ho=t.report)==null?void 0:Ho.weather)!=null&&Ro.noExtrapolation?(e.openBlock(),e.createElementBlock("span",ck,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ik,[e.createElementVNode("div",dk,[rk,e.createElementVNode("div",mk,[e.createElementVNode("div",pk,[e.createElementVNode("div",null,e.toDisplayString((Uo=(zo=t.report)==null?void 0:zo.weather)!=null&&Uo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hk,_k]),Ek])]),e.createElementVNode("div",yk,[e.createElementVNode("div",Nk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Zo=(Yo=l==null?void 0:l.extend)==null?void 0:Yo.cp)==null?void 0:Zo.speed,"Under"))+"kts)",1),Vk]),e.createElementVNode("div",fk,[e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=t.report)==null?void 0:Qo.weather)!=null&&Jo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),gk,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Ko=(uo=l==null?void 0:l.extend)==null?void 0:uo.cp)==null?void 0:Ko.speed,"Under"))+"kts",1)]),xk])]),e.createElementVNode("div",kk,[e.createElementVNode("div",Dk,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(Xo=(jo=l==null?void 0:l.extend)==null?void 0:jo.cp)==null?void 0:Xo.speed,"Over"))+"kts)",1),Ck]),e.createElementVNode("div",Sk,[e.createElementVNode("div",Bk,[e.createElementVNode("div",null,e.toDisplayString((vo=(qo=t.report)==null?void 0:qo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wk,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(tl=(el=l==null?void 0:l.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Over"))+"kts",1)]),Ak])]),Tk]),e.createElementVNode("div",Fk,[e.createElementVNode("div",Ok,[Pk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ll=(ol=l==null?void 0:l.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Lk,[Wk,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(nl=(al=l==null?void 0:l.extend)==null?void 0:al.cp)==null?void 0:nl.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",$k,[Hk,e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(cl=(sl=l==null?void 0:l.extend)==null?void 0:sl.cp)==null?void 0:cl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(dl=(il=l==null?void 0:l.extend)==null?void 0:il.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)])]),(rl=l==null?void 0:l.goodWx)!=null&&rl.distance?(e.openBlock(),e.createElementBlock("div",Mk,[e.createElementVNode("div",Ik,[Gk,e.createElementVNode("div",Rk,[e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((pl=(st=t.report)==null?void 0:st.weather)!=null&&pl.noExtrapolation?(El=l==null?void 0:l.goodWx)==null?void 0:El.distance:(yl=l==null?void 0:l.allWx)==null?void 0:yl.distance),1),Uk,e.createElementVNode("div",null,e.toDisplayString((Nl=l==null?void 0:l.goodWx)==null?void 0:Nl.pfmSpd),1)]),Yk,e.createElementVNode("div",null,e.toDisplayString((Vl=l==null?void 0:l.timeConclusion)==null?void 0:Vl.timeAtPfmSpd)+" (hrs)",1),Zk])]),e.createElementVNode("div",Qk,[e.createElementVNode("div",Jk,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(bl=(fl=l==null?void 0:l.extend)==null?void 0:fl.cp)==null?void 0:bl.speed,"Under"))+"kts)",1),uk]),e.createElementVNode("div",Kk,[e.createElementVNode("div",jk,[e.createElementVNode("div",null,e.toDisplayString((xl=(gl=t.report)==null?void 0:gl.weather)!=null&&xl.noExtrapolation?(kl=l==null?void 0:l.goodWx)==null?void 0:kl.distance:(Dl=l==null?void 0:l.allWx)==null?void 0:Dl.distance),1),Xk,e.createElementVNode("div",null,e.toDisplayString((Cl=l==null?void 0:l.timeConclusion)==null?void 0:Cl.minusAbtSpd),1)]),qk,e.createElementVNode("div",null,e.toDisplayString((Sl=l==null?void 0:l.timeConclusion)==null?void 0:Sl.timeAtMinusAbtSpd)+" (hrs)",1),vk])]),e.createElementVNode("div",e3,[e.createElementVNode("div",t3,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(wl=(Bl=l==null?void 0:l.extend)==null?void 0:Bl.cp)==null?void 0:wl.speed,"Over"))+"kts)",1),o3]),e.createElementVNode("div",l3,[e.createElementVNode("div",a3,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Al=t.report)==null?void 0:Al.weather)!=null&&Tl.noExtrapolation?(Fl=l==null?void 0:l.goodWx)==null?void 0:Fl.distance:(Ol=l==null?void 0:l.allWx)==null?void 0:Ol.distance),1),n3,e.createElementVNode("div",null,e.toDisplayString((Pl=l==null?void 0:l.timeConclusion)==null?void 0:Pl.plusAbtSpd),1)]),s3,e.createElementVNode("div",null,e.toDisplayString((Ll=l==null?void 0:l.timeConclusion)==null?void 0:Ll.timeAtPlusAbtSpd)+" (hrs)",1),c3])]),e.createElementVNode("div",i3,[((Wl=l==null?void 0:l.timeConclusion)==null?void 0:Wl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",d3,[r3,m3,p3,h3,e.createElementVNode("div",null,e.toDisplayString(($l=l==null?void 0:l.timeConclusion)==null?void 0:$l.timeAtPfmSpd),1),_3,e.createElementVNode("div",null,e.toDisplayString((Hl=l==null?void 0:l.timeConclusion)==null?void 0:Hl.timeAtMinusAbtSpd),1),E3,e.createElementVNode("div",null,e.toDisplayString((Ml=l==null?void 0:l.timeConclusion)==null?void 0:Ml.timeLost)+" (hrs)",1)])):((Il=l==null?void 0:l.timeConclusion)==null?void 0:Il.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",y3,[N3,V3,f3,b3,e.createElementVNode("div",null,e.toDisplayString((Gl=l==null?void 0:l.timeConclusion)==null?void 0:Gl.timeAtPlusAbtSpd),1),g3,e.createElementVNode("div",null,e.toDisplayString((Rl=l==null?void 0:l.timeConclusion)==null?void 0:Rl.timeAtPfmSpd),1),x3,e.createElementVNode("div",null,e.toDisplayString((zl=l==null?void 0:l.timeConclusion)==null?void 0:zl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ul=l==null?void 0:l.timeConclusion)==null?void 0:Ul.conclusionStatus)==="Lost"?"flex-center lost":((Yl=l==null?void 0:l.timeConclusion)==null?void 0:Yl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[k3,e.createElementVNode("div",null,e.toDisplayString(((Zl=l==null?void 0:l.timeConclusion)==null?void 0:Zl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",D3,e.toDisplayString(a.noGoodWxDay),1))]),C3,e.createElementVNode("div",S3,[e.createElementVNode("div",B3,[w3,e.createElementVNode("div",A3,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(j+1)+" Consumption Analysis",1),(Jl=(Ql=t.report)==null?void 0:Ql.weather)!=null&&Jl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",T3,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",F3,[e.createElementVNode("div",O3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[e.createElementVNode("div",null,e.toDisplayString((Kl=(ul=t.report)==null?void 0:ul.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$3,H3]),M3,I3,G3])]),e.createElementVNode("div",R3,[z3,((Xl=(jl=l.extend)==null?void 0:jl.cp)==null?void 0:Xl.dgo)>0?(e.openBlock(),e.createElementBlock("div",U3," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,[e.createElementVNode("div",J3,[e.createElementVNode("div",null,e.toDisplayString((vl=(ql=t.report)==null?void 0:ql.weather)!=null&&vl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),u3,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(ta=(ea=l==null?void 0:l.extend)==null?void 0:ea.cp)==null?void 0:ta.speed,"Under"))+"kts",1)]),K3,j3,X3])]),e.createElementVNode("div",q3,[v3,e.createElementVNode("div",eD,[e.createElementVNode("div",tD,[e.createElementVNode("div",null,e.toDisplayString((la=(oa=t.report)==null?void 0:oa.weather)!=null&&la.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oD,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(n.computeAbtSpeed(l==null?void 0:l.timeConclusion,(na=(aa=l==null?void 0:l.extend)==null?void 0:aa.cp)==null?void 0:na.speed,"Under"))+"kts",1)]),lD,aD,nD])]),sD,((ca=(sa=l.extend)==null?void 0:sa.cp)==null?void 0:ca.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",cD,[iD,e.createElementVNode("div",dD,[e.createElementVNode("div",rD,[mD,pD,e.createElementVNode("div",null,e.toDisplayString((da=(ia=t.report)==null?void 0:ia.weather)!=null&&da.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",hD,[_D,e.createElementVNode("div",ED,[e.createElementVNode("div",yD,[ND,VD,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=t.report)==null?void 0:ra.weather)!=null&&ma.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),fD,e.createElementVNode("div",bD,[gD,e.createElementVNode("div",xD,"Seg. "+e.toDisplayString(j+1)+" Fuel Oil",1)]),(pa=l==null?void 0:l.goodWx)!=null&&pa.distance?(e.openBlock(),e.createElementBlock("div",kD,[((_a=(ha=l==null?void 0:l.goodWx)==null?void 0:ha.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("div",DD,[CD,e.createElementVNode("div",SD,[e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=l==null?void 0:l.goodWx)==null?void 0:Ea.inEca)==null?void 0:ya.sumDgoCons),1)]),wD,e.createElementVNode("div",AD,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=l==null?void 0:l.extend)==null?void 0:Na.cp)==null?void 0:Va.dgo),1),TD,FD]),OD,e.createElementVNode("div",null,e.toDisplayString((ba=(fa=l==null?void 0:l.goodWx)==null?void 0:fa.inEca)==null?void 0:ba.time),1),PD,e.createElementVNode("div",null,e.toDisplayString((xa=(ga=l==null?void 0:l.fuelConclusion)==null?void 0:ga.fo)==null?void 0:xa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",LD,[WD,e.createElementVNode("div",$D,[e.createElementVNode("div",HD,[e.createElementVNode("div",null,e.toDisplayString((ao=(Z=t.report)==null?void 0:Z.weather)!=null&&ao.noExtrapolation?(ka=l==null?void 0:l.goodWx)==null?void 0:ka.distance:(Da=l==null?void 0:l.allWx)==null?void 0:Da.distance),1),MD,e.createElementVNode("div",null,e.toDisplayString((Ca=l==null?void 0:l.goodWx)==null?void 0:Ca.pfmSpd),1)]),ID,e.createElementVNode("div",GD,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Sa=l==null?void 0:l.goodWx)==null?void 0:Sa.sumFoCons),1),((wa=(Ba=l==null?void 0:l.goodWx)==null?void 0:Ba.inEca)==null?void 0:wa.distance)>0?(e.openBlock(),e.createElementBlock("span",RD,[zD,e.createElementVNode("span",null,e.toDisplayString((Ta=(Aa=l==null?void 0:l.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Ta.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),UD,e.createElementVNode("div",null,e.toDisplayString((Qe=l==null?void 0:l.goodWx)==null?void 0:Qe.time),1)]),YD,e.createElementVNode("div",null,e.toDisplayString((Ma=(Ha=l.fuelConclusion)==null?void 0:Ha.fo)==null?void 0:Ma.entireCons)+" (mt)",1),ZD])]),e.createElementVNode("div",QD,[JD,e.createElementVNode("div",uD,[e.createElementVNode("div",KD,[e.createElementVNode("div",null,e.toDisplayString((Ga=(Ia=t.report)==null?void 0:Ia.weather)!=null&&Ga.noExtrapolation?(K=l==null?void 0:l.goodWx)==null?void 0:K.distance:(Mo=l==null?void 0:l.allWx)==null?void 0:Mo.distance),1),jD,e.createElementVNode("div",null,e.toDisplayString((Ra=l==null?void 0:l.timeConclusion)==null?void 0:Ra.minusAbtSpd),1)]),XD,e.createElementVNode("div",qD,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=l==null?void 0:l.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overTolerance),1),vD,eC]),tC,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=l.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons)+" (mt)",1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[e.createElementVNode("div",null,e.toDisplayString((Ja=(Qa=t.report)==null?void 0:Qa.weather)!=null&&Ja.noExtrapolation?(ua=l==null?void 0:l.goodWx)==null?void 0:ua.distance:(ct=l==null?void 0:l.allWx)==null?void 0:ct.distance),1),cC,e.createElementVNode("div",null,e.toDisplayString((kn=l==null?void 0:l.timeConclusion)==null?void 0:kn.minusAbtSpd),1)]),iC,e.createElementVNode("div",dC,[e.createElementVNode("div",null,e.toDisplayString((Cn=(Dn=l==null?void 0:l.fuelConclusion)==null?void 0:Dn.fo)==null?void 0:Cn.underTolerance),1),rC,mC]),pC,e.createElementVNode("div",null,e.toDisplayString((Bn=(Sn=l.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:Bn.minCons)+" (mt)",1),hC])]),e.createElementVNode("div",_C,[((An=(wn=l==null?void 0:l.fuelConclusion)==null?void 0:wn.fo)==null?void 0:An.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EC,[yC,NC,VC,fC,e.createElementVNode("div",null,e.toDisplayString((Fn=(Tn=l==null?void 0:l.fuelConclusion)==null?void 0:Tn.fo)==null?void 0:Fn.entireCons),1),bC,e.createElementVNode("div",null,e.toDisplayString((Pn=(On=l==null?void 0:l.fuelConclusion)==null?void 0:On.fo)==null?void 0:Pn.maxCons),1),gC,e.createElementVNode("div",null,e.toDisplayString((Wn=(Ln=l==null?void 0:l.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Wn.overCons),1)]),(Hn=($n=l==null?void 0:l.goodWx)==null?void 0:$n.inEca)!=null&&Hn.distance?(e.openBlock(),e.createElementBlock("div",xC,[kC,DC,e.createElementVNode("div",CC,[e.createElementVNode("div",null,e.toDisplayString((In=(Mn=l==null?void 0:l.goodWx)==null?void 0:Mn.inEca)==null?void 0:In.distance)+" * "+e.toDisplayString((Rn=(Gn=l==null?void 0:l.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Rn.overCons),1),SC,e.createElementVNode("div",null,e.toDisplayString((Un=(zn=t.report)==null?void 0:zn.weather)!=null&&Un.noExtrapolation?(Yn=l==null?void 0:l.goodWx)==null?void 0:Yn.distance:(Zn=l==null?void 0:l.allWx)==null?void 0:Zn.distance),1)]),BC,e.createElementVNode("div",null,e.toDisplayString((Jn=(Qn=l==null?void 0:l.fuelConclusion)==null?void 0:Qn.fo)==null?void 0:Jn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Kn=(un=l==null?void 0:l.fuelConclusion)==null?void 0:un.fo)==null?void 0:Kn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",wC,[AC,TC,FC,OC,e.createElementVNode("div",null,e.toDisplayString((Xn=(jn=l==null?void 0:l.fuelConclusion)==null?void 0:jn.fo)==null?void 0:Xn.minCons),1),PC,e.createElementVNode("div",null,e.toDisplayString((vn=(qn=l==null?void 0:l.fuelConclusion)==null?void 0:qn.fo)==null?void 0:vn.entireCons),1),LC,e.createElementVNode("div",null,e.toDisplayString((ts=(es=l==null?void 0:l.fuelConclusion)==null?void 0:es.fo)==null?void 0:ts.saving)+" (mt)",1)]),(ls=(os=l==null?void 0:l.goodWx)==null?void 0:os.inEca)!=null&&ls.distance?(e.openBlock(),e.createElementBlock("div",WC,[$C,HC,e.createElementVNode("div",MC,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=t.report)==null?void 0:as.weather)!=null&&ns.noExtrapolation?(cs=(ss=l==null?void 0:l.goodWx)==null?void 0:ss.inEca)==null?void 0:cs.distance:(ds=(is=l==null?void 0:l.allWx)==null?void 0:is.inEca)==null?void 0:ds.distance)+" * "+e.toDisplayString((ms=(rs=l==null?void 0:l.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.saving),1),IC,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=t.report)==null?void 0:ps.weather)!=null&&hs.noExtrapolation?(_s=l==null?void 0:l.goodWx)==null?void 0:_s.distance:(Es=l==null?void 0:l.allWx)==null?void 0:Es.distance),1)]),GC,e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=l==null?void 0:l.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Ns.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((fs=(Vs=l==null?void 0:l.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusionStatus)==="Over"?"flex-center lost":((gs=(bs=l==null?void 0:l.fuelConclusion)==null?void 0:bs.fo)==null?void 0:gs.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[RC,e.createElementVNode("div",null,e.toDisplayString(((ks=(xs=l==null?void 0:l.fuelConclusion)==null?void 0:xs.fo)==null?void 0:ks.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",zC,e.toDisplayString(a.noGoodWxDay),1)),((Cs=(Ds=l==null?void 0:l.extend)==null?void 0:Ds.cp)==null?void 0:Cs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",UC,[YC,e.createElementVNode("div",ZC,"Seg. "+e.toDisplayString(j+1)+" Diesel/Gas Oil",1)]),(Ss=l==null?void 0:l.goodWx)!=null&&Ss.distance?(e.openBlock(),e.createElementBlock("div",QC,[e.createElementVNode("div",JC,[uC,e.createElementVNode("div",KC,[e.createElementVNode("div",jC,[e.createElementVNode("div",null,e.toDisplayString((ws=(Bs=t.report)==null?void 0:Bs.weather)!=null&&ws.noExtrapolation?(As=l==null?void 0:l.goodWx)==null?void 0:As.distance:(Ts=l==null?void 0:l.allWx)==null?void 0:Ts.distance),1),XC,e.createElementVNode("div",null,e.toDisplayString((Fs=l==null?void 0:l.goodWx)==null?void 0:Fs.pfmSpd),1)]),qC,e.createElementVNode("div",vC,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Os=l==null?void 0:l.goodWx)==null?void 0:Os.sumDgoCons),1),((Ls=(Ps=l==null?void 0:l.goodWx)==null?void 0:Ps.inEca)==null?void 0:Ls.distance)>0?(e.openBlock(),e.createElementBlock("span",eS,[tS,e.createElementVNode("span",null,e.toDisplayString(($s=(Ws=l==null?void 0:l.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:$s.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),oS,e.createElementVNode("div",null,e.toDisplayString((Hs=l==null?void 0:l.goodWx)==null?void 0:Hs.time),1)]),lS,e.createElementVNode("div",null,e.toDisplayString((Is=(Ms=l.fuelConclusion)==null?void 0:Ms.dgo)==null?void 0:Is.entireCons)+" (mt)",1),aS])]),e.createElementVNode("div",nS,[sS,e.createElementVNode("div",cS,[e.createElementVNode("div",iS,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Gs=t.report)==null?void 0:Gs.weather)!=null&&Rs.noExtrapolation?(zs=l==null?void 0:l.goodWx)==null?void 0:zs.distance:(Us=l==null?void 0:l.allWx)==null?void 0:Us.distance),1),dS,e.createElementVNode("div",null,e.toDisplayString((Ys=l==null?void 0:l.timeConclusion)==null?void 0:Ys.minusAbtSpd),1)]),rS,e.createElementVNode("div",mS,[e.createElementVNode("div",null,e.toDisplayString((Qs=(Zs=l==null?void 0:l.fuelConclusion)==null?void 0:Zs.dgo)==null?void 0:Qs.overTolerance),1),pS,hS]),_S,e.createElementVNode("div",null,e.toDisplayString((us=(Js=l.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:us.maxCons)+" (mt)",1),ES])]),e.createElementVNode("div",yS,[NS,e.createElementVNode("div",VS,[e.createElementVNode("div",fS,[e.createElementVNode("div",null,e.toDisplayString((js=(Ks=t.report)==null?void 0:Ks.weather)!=null&&js.noExtrapolation?(Xs=l==null?void 0:l.goodWx)==null?void 0:Xs.distance:(qs=l==null?void 0:l.allWx)==null?void 0:qs.distance),1),bS,e.createElementVNode("div",null,e.toDisplayString((vs=l==null?void 0:l.timeConclusion)==null?void 0:vs.minusAbtSpd),1)]),gS,e.createElementVNode("div",xS,[e.createElementVNode("div",null,e.toDisplayString((tc=(ec=l==null?void 0:l.fuelConclusion)==null?void 0:ec.dgo)==null?void 0:tc.underTolerance),1),kS,DS]),CS,e.createElementVNode("div",null,e.toDisplayString((lc=(oc=l.fuelConclusion)==null?void 0:oc.dgo)==null?void 0:lc.minCons)+" (mt)",1),SS])]),e.createElementVNode("div",BS,[((nc=(ac=l==null?void 0:l.fuelConclusion)==null?void 0:ac.dgo)==null?void 0:nc.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",wS,[AS,TS,FS,OS,e.createElementVNode("div",null,e.toDisplayString((cc=(sc=l==null?void 0:l.fuelConclusion)==null?void 0:sc.dgo)==null?void 0:cc.entireCons),1),PS,e.createElementVNode("div",null,e.toDisplayString((dc=(ic=l==null?void 0:l.fuelConclusion)==null?void 0:ic.dgo)==null?void 0:dc.maxCons),1),LS,e.createElementVNode("div",null,e.toDisplayString((mc=(rc=l==null?void 0:l.fuelConclusion)==null?void 0:rc.dgo)==null?void 0:mc.overCons),1)])):((hc=(pc=l==null?void 0:l.fuelConclusion)==null?void 0:pc.fo)==null?void 0:hc.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",WS,[$S,HS,MS,IS,e.createElementVNode("div",null,e.toDisplayString((Ec=(_c=l==null?void 0:l.fuelConclusion)==null?void 0:_c.dgo)==null?void 0:Ec.minCons),1),GS,e.createElementVNode("div",null,e.toDisplayString((Nc=(yc=l==null?void 0:l.fuelConclusion)==null?void 0:yc.dgo)==null?void 0:Nc.entireCons),1),RS,e.createElementVNode("div",null,e.toDisplayString((fc=(Vc=l==null?void 0:l.fuelConclusion)==null?void 0:Vc.dgo)==null?void 0:fc.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((gc=(bc=l==null?void 0:l.fuelConclusion)==null?void 0:bc.dgo)==null?void 0:gc.conclusionStatus)==="Over"?"flex-center lost":((kc=(xc=l==null?void 0:l.fuelConclusion)==null?void 0:xc.dgo)==null?void 0:kc.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[zS,e.createElementVNode("div",null,e.toDisplayString(((Cc=(Dc=l==null?void 0:l.fuelConclusion)==null?void 0:Dc.dgo)==null?void 0:Cc.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",US,e.toDisplayString(a.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const ZS=Ce(Q0,[["render",YS],["__scopeId","data-v-44fbbd8a"]]),UY="",QS={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){const s=[];return s.push(o.noonLength?"no-border-bottom":"no-border"),s.push(o.excluded?"excluded":o.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeLng(){return function(o){return ae.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return ae.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,s=2,t="0.0"){return o?ae.LngLatHelper.roundPrecision(o,s):t}}},watch:{report:{handler(o,s){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,s,t,r,a,n,E,c,p,b,g,h;this.showCF=((s=(o=this.report)==null?void 0:o.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((r=(t=this.report)==null?void 0:t.weather)==null?void 0:r.showAisDistance)??!0,this.showSig=((n=(a=this.report)==null?void 0:a.weather)==null?void 0:n.showSig)??!0,this.showSwell=((c=(E=this.report)==null?void 0:E.weather)==null?void 0:c.showSwell)??!0,this.showWave=((b=(p=this.report)==null?void 0:p.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((h=(g=this.report)==null?void 0:g.weather)==null?void 0:h.waterTempSwitch)||!1}}},q=o=>(e.pushScopeId("data-v-a18f941f"),o=o(),e.popScopeId(),o),JS={class:"report-inventory"},uS={class:"section summary-section"},KS=q(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),jS={class:"summary-block"},XS=q(()=>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)),qS={class:"label",rowspan:"4"},vS=q(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e4=q(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),t4=q(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),o4=q(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),l4={class:"section inventory-section"},a4=e.createStaticVNode('<div class="legends flex-space" data-v-a18f941f><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend good-wx" data-v-a18f941f></div><div class="label flex-end" data-v-a18f941f>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-a18f941f><div class="legend adverse-wx" data-v-a18f941f></div><div class="label" data-v-a18f941f>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-a18f941f><div class="legend excluded" data-v-a18f941f></div><div class="label" data-v-a18f941f>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-a18f941f><div data-v-a18f941f><label data-v-a18f941f>B</label><span data-v-a18f941f>BOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>N</label><span data-v-a18f941f>NOON</span></div><div data-v-a18f941f><label data-v-a18f941f>E</label><span data-v-a18f941f>EOSP</span></div><div data-v-a18f941f><label data-v-a18f941f>*</label><span data-v-a18f941f>Ship Reported Position</span></div></div></div>',1),n4={class:"inventory-block flex-center"},s4={style:{"font-size":"12px"}},c4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),i4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),d4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),r4=q(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),m4=["colspan"],p4={key:0,class:"label",colspan:"2"},h4=q(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),_4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),E4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),y4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),N4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),f4={key:0,class:"label",rowspan:"2"},b4=q(()=>e.createElementVNode("br",null,null,-1)),g4={key:1,class:"label",rowspan:"2"},x4=q(()=>e.createElementVNode("br",null,null,-1)),k4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),D4={key:2,class:"label",rowspan:"2"},C4=q(()=>e.createElementVNode("br",null,null,-1)),S4={key:3,class:"label",colspan:"2"},B4={key:4,class:"label",rowspan:"2"},w4=q(()=>e.createElementVNode("br",null,null,-1)),A4={key:5,class:"label",colspan:"2"},T4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),F4={key:6,class:"label",rowspan:"2"},O4={key:7,class:"label",rowspan:"2"},P4={key:8,class:"label",rowspan:"2"},L4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),W4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),H4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),M4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),I4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),G4=q(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),R4=q(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),z4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),U4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),Y4=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),Z4=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),Q4={key:0,class:"label"},J4={key:1,class:"label"},u4={key:2,class:"label"},K4={key:3,class:"label"},j4=q(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),X4=q(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),q4=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),v4=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),e5=q(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),t5=q(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),o5=q(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),l5=q(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),a5={class:"summary-tbody"};function n5(o,s,t,r,a,n){var E;return e.openBlock(),e.createElementBlock("div",JS,[e.createElementVNode("div",uS,[KS,e.createElementVNode("div",jS,[e.createElementVNode("table",null,[XS,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=t.report)==null?void 0:E.segments,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",qS,e.toDisplayString(p+1),1),vS,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((b=c==null?void 0:c.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((g=c==null?void 0:c.allWx)==null?void 0:g.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((h=c==null?void 0:c.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((N=c==null?void 0:c.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((D=c==null?void 0:c.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[e4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((x=c==null?void 0:c.goodWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((C=c==null?void 0:c.goodWx)==null?void 0:C.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((k=c==null?void 0:c.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((T=c==null?void 0:c.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((F=c==null?void 0:c.goodWx)==null?void 0:F.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((B=c==null?void 0:c.badWx)==null?void 0:B.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((w=c==null?void 0:c.badWx)==null?void 0:w.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((f=c==null?void 0:c.badWx)==null?void 0:f.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((O=c==null?void 0:c.badWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((I=c==null?void 0:c.badWx)==null?void 0:I.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[o4,e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((G=c==null?void 0:c.excluded)==null?void 0:G.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((R=c==null?void 0:c.excluded)==null?void 0:R.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((z=c==null?void 0:c.excluded)==null?void 0:z.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((_=c==null?void 0:c.excluded)==null?void 0:_.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(n.computePrecision((L=c==null?void 0:c.excluded)==null?void 0:L.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",l4,[a4,e.createElementVNode("div",n4,[e.createElementVNode("table",s4,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[c4,i4,d4,r4,e.createElementVNode("th",{class:"label",colspan:n.computeWxColspan},"ORM Weather Analysis",8,m4),t.showFactor?(e.openBlock(),e.createElementBlock("th",p4,"Factor")):e.createCommentVNode("",!0),h4,_4]),e.createElementVNode("tr",null,[E4,y4,N4,V4,a.showAisDistance?(e.openBlock(),e.createElementBlock("th",f4,[e.createTextVNode("Spd"),b4,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("th",g4,[e.createTextVNode("Dis"),x4,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),k4,a.showWave?(e.openBlock(),e.createElementBlock("th",D4,[e.createTextVNode("Sea HT"),C4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",S4,"Swell")):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("th",B4,[e.createTextVNode("Sig Wave"),w4,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",A4,"Current")):e.createCommentVNode("",!0),T4,t.showFactor?(e.openBlock(),e.createElementBlock("th",F4,"cFactor")):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("th",O4,"wxFactor")):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("th",P4,"Water Temp.")):e.createCommentVNode("",!0),L4,W4,$4,H4,M4,I4,G4,R4]),e.createElementVNode("tr",null,[z4,U4,Y4,Z4,a.showSwell?(e.openBlock(),e.createElementBlock("th",Q4,"Dir")):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("th",J4,"HT(m)")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",u4,"Dir")):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("th",K4,"CF(kts)")):e.createCommentVNode("",!0),j4,X4,q4,v4,e5,t5,o5,l5])]),e.createElementVNode("tbody",a5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inventory,(c,p)=>{var b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(c.segLength?"no-border-bottom":"no-border")},e.toDisplayString(c.segLength?c.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c.time),3),["B","E"].includes(c.abbrev)&&((b=c.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((g=c.noon)==null?void 0:g.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(c._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.cp.dgo:""),3),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.avgSpdCalc:""),3)):e.createCommentVNode("",!0),a.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((N=(h=c.meteo)==null?void 0:h.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((x=(D=c.meteo)==null?void 0:D.wind)==null?void 0:x.scale)??"--"),3),a.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=c.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((w=(B=(F=c.meteo)==null?void 0:F.wave)==null?void 0:B.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),a.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((I=(O=(f=c.meteo)==null?void 0:f.wave)==null?void 0:O.swell)==null?void 0:I.height)??"--"),3)):e.createCommentVNode("",!0),a.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((z=(R=(G=c.meteo)==null?void 0:G.wave)==null?void 0:R.sig)==null?void 0:z.height)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((L=(_=c.meteo)==null?void 0:_.current)==null?void 0:L.direction)??"--"),3)):e.createCommentVNode("",!0),a.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((H=c.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.dailyAvgCf:""),3),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((W=c.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),t.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((P=c.meteo)==null?void 0:P.wxFactor)??"--"),3)):e.createCommentVNode("",!0),a.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(c.excluded?"excluded":c.goodWx?"good-wx":"")},e.toDisplayString(((M=c.meteo)==null?void 0:M.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(n.computeTDClass(c))},e.toDisplayString(!["A","B"].includes(c.abbrev)&&p?c.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const s5=Ce(QS,[["render",n5],["__scopeId","data-v-a18f941f"]]),YY="",c5={name:"OrmVoyageChart",components:{Lng:Wa,Lat:$a},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}}},watch:{inventory:{handler(o,s){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Pa.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Pa.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Pa.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,b,g,h,N,D;const o=[],s=[],t={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let r=0,a=0;const n=this.inventory.filter(x=>x.noonLength)||[];n.unshift(n[0]),n.forEach((x,C)=>{var T,F,B,w,f,O,I,G,R,z,_,L,H,W;const k=this.computeUTCTime(C===0?x.utc:x.noonUtc,"MM-DD/HHmm[Z]");if(o.push(k),r=Math.ceil(((T=x.noon)==null?void 0:T.foCons)>r?(F=x.noon)==null?void 0:F.foCons:r),r=Math.ceil(((B=x.cp)==null?void 0:B.fo)>r?(w=x.cp)==null?void 0:w.fo:r),a=Math.ceil(((f=x.noon)==null?void 0:f.dgoCons)>a?(O=x.noon)==null?void 0:O.dgoCons:a),a=Math.ceil(((I=x.cp)==null?void 0:I.dgo)>a?(G=x.cp)==null?void 0:G.dgo:a),s.push([k,(R=x.noon)==null?void 0:R.avgSpd,(z=x.noon)==null?void 0:z.foCons,(_=x.noon)==null?void 0:_.dgoCons,x.avgSpdCalc,x.cp.speed,x.goodWx&&!x.excluded?100:0,x.cp.dgo,x.cp.fo,x.excluded?100:0]),C<n.length-1){const P=n[C+1];s.push([k,(L=P.noon)==null?void 0:L.avgSpd,(H=P.noon)==null?void 0:H.foCons,(W=P.noon)==null?void 0:W.dgoCons,P.avgSpdCalc,P.cp.speed,P.goodWx&&!P.excluded?100:0,P.cp.dgo,P.cp.fo,P.excluded?100:0])}});const E={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:r+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:t.dateTime,y:t.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(b=(p=this.report)==null?void 0:p.weather)!=null&&b.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:t.dateTime,y:t.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(g=this.spdFoConsChart)==null||g.setOption(E);const c={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:s,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:t.dateTime,y:t.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:(N=(h=this.report)==null?void 0:h.weather)!=null&&N.believeRptDistance?t.noonAvgSpd:t.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:t.dateTime,y:t.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(D=this.spdDgoConsChart)==null||D.setOption(c)},renderWxCurrChart(){var c;const o=[],s=[],t={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let r=4,a=0;const n=this.inventory.filter(p=>p.noonLength)||[];n.unshift(n[0]),n.forEach((p,b)=>{var h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;a=p.noonLength?p.dailyAvgCf:a;const g=this.computeUTCTime(b===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(o.push(g),r=Math.ceil(((D=(N=(h=p.meteo)==null?void 0:h.wave)==null?void 0:N.sig)==null?void 0:D.height)>r?(k=(C=(x=p.meteo)==null?void 0:x.wave)==null?void 0:C.sig)==null?void 0:k.height:r),s.push([g,(T=p.noon)==null?void 0:T.windBF,(B=(F=p.meteo)==null?void 0:F.wind)==null?void 0:B.scale,(f=(w=p.meteo)==null?void 0:w.wind)==null?void 0:f.direction,(O=p.noon)==null?void 0:O.seasHt,(R=(G=(I=p.meteo)==null?void 0:I.wave)==null?void 0:G.sig)==null?void 0:R.height,a,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),b<n.length-1){const J=n[b+1];s.push([g,(z=J.noon)==null?void 0:z.windBF,(L=(_=J.meteo)==null?void 0:_.wind)==null?void 0:L.scale,(W=(H=J.meteo)==null?void 0:H.wind)==null?void 0:W.direction,(P=J.noon)==null?void 0:P.seasHt,(U=(Q=(M=J.meteo)==null?void 0:M.wave)==null?void 0:Q.sig)==null?void 0:U.height,J.noonLength?J.dailyAvgCf:a,J.goodWx&&!J.excluded?20:0,J.excluded?20:0])}});const E={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:o,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:t.dateTime,y:t.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:s,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:t.dateTime,y:t.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(c=this.currChart)==null||c.setOption(E)}}},ml=o=>(e.pushScopeId("data-v-92ed3e90"),o=o(),e.popScopeId(),o),i5={class:"report-summary"},d5={class:"section chart-section"},r5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),m5={class:"chart-block"},p5={ref:"spdFoConsChart",class:"chart"},h5={ref:"spdDgoConsChart",class:"chart"},_5={ref:"currChart",class:"chart"},E5={class:"section map-section"},y5=ml(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),N5={class:"map-block"},V5={class:"flex-space"},f5={class:"voyage-block",style:{height:"197px"}},b5={class:"flex-space label-block",style:{width:"100%"}},g5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),x5={style:{"text-transform":"uppercase"}},k5={class:"flex-space label-block",style:{width:"100%"}},D5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),C5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},S5={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},B5={class:"flex-space label-block",style:{width:"100%"}},w5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),A5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},T5={class:"flex-space label-block",style:{width:"100%"}},F5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),O5={key:0,class:"flex-end",style:{flex:"1"}},P5={key:1,class:"flex-end",style:{flex:"1"}},L5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),W5={class:"flex-end",style:{width:"160px"}},$5={class:"flex-space label-block",style:{width:"100%"}},H5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),M5={key:0,class:"flex-end",style:{flex:"1"}},I5={key:1,class:"flex-end",style:{flex:"1"}},G5=ml(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),R5={class:"flex-end",style:{width:"160px"}},z5={class:"flex-space label-block",style:{width:"100%"}},U5=ml(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),Y5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},Z5=e.createStaticVNode('<div class="legend-block" data-v-92ed3e90><div style="position:absolute;margin-top:-8px;" data-v-92ed3e90>LEGEND</div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>0812</div><div data-v-92ed3e90><div data-v-92ed3e90>08 - Day of the month</div><div data-v-92ed3e90>12 - Hours of the day</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-92ed3e90></i></div><div data-v-92ed3e90><div data-v-92ed3e90>Wind from N (000)</div><div data-v-92ed3e90>Each bard = 10 kts</div><div data-v-92ed3e90>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-92ed3e90><div data-v-92ed3e90>W 4</div><div data-v-92ed3e90>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-92ed3e90><div class="good-wx" data-v-92ed3e90>Date</div><div data-v-92ed3e90>Good weather days</div></div></div>',1),Q5=["src"],J5=e.createStaticVNode('<div class="section method-section" data-v-92ed3e90><div class="header-block flex-center" data-v-92ed3e90><i class="iconfont" data-v-92ed3e90></i><div class="title" data-v-92ed3e90>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>1. Good Weather Method</div><div class="method-body" data-v-92ed3e90> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-92ed3e90> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-92ed3e90> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-92ed3e90><div class="method-title" data-v-92ed3e90>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>4. “About”</div><div class="method-body" data-v-92ed3e90> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-92ed3e90> 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-92ed3e90> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-92ed3e90> 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-92ed3e90><div class="method-title" data-v-92ed3e90>6. Further reference materials</div><div class="method-body" data-v-92ed3e90>Please send mail to <a href="mailto:op@ormwx.com" data-v-92ed3e90>op@ormwx.com</a>.</div></div></div></div>',1);function u5(o,s,t,r,a,n){var p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U;const E=e.resolveComponent("Lat"),c=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",i5,[e.createElementVNode("div",d5,[r5,e.createElementVNode("div",m5,[e.createElementVNode("div",p5,null,512),e.createElementVNode("div",h5,null,512),e.createElementVNode("div",_5,null,512)])]),e.createElementVNode("div",E5,[y5,e.createElementVNode("div",N5,[e.createElementVNode("div",V5,[e.createElementVNode("div",f5,[e.createElementVNode("div",b5,[g5,e.createElementVNode("span",x5,e.toDisplayString(t.report.preparedFor),1)]),e.createElementVNode("div",k5,[D5,e.createElementVNode("span",C5,e.toDisplayString((b=(p=t.report)==null?void 0:p.vessel)==null?void 0:b.name),1),e.createElementVNode("span",S5,"("+e.toDisplayString((h=(g=t.report)==null?void 0:g.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",B5,[w5,e.createElementVNode("span",A5,e.toDisplayString((D=(N=t.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",T5,[F5,(C=(x=t.report)==null?void 0:x.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",O5,e.toDisplayString((T=(k=t.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",P5,[e.createVNode(E,{lat:(B=(F=t.report)==null?void 0:F.departure)==null?void 0:B.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),L5,e.createVNode(c,{lng:(w=t.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",W5,e.toDisplayString(n.computeUTCTime((f=t.report.departure)==null?void 0:f.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",$5,[H5,(I=(O=t.report)==null?void 0:O.arrival)!=null&&I.portName?(e.openBlock(),e.createElementBlock("span",M5,e.toDisplayString((R=(G=t.report)==null?void 0:G.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",I5,[e.createVNode(E,{lat:(_=(z=t.report)==null?void 0:z.arrival)==null?void 0:_.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),G5,e.createVNode(c,{lng:(H=(L=t.report)==null?void 0:L.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",R5,e.toDisplayString(n.computeUTCTime((P=(W=t.report)==null?void 0:W.arrival)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",z5,[U5,e.createElementVNode("span",Y5,e.toDisplayString((Q=(M=t.report)==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1)])]),Z5]),e.createElementVNode("img",{src:(U=t.report)==null?void 0:U.chartUrl,alt:""},null,8,Q5)])]),J5])}const K5=Ce(c5,[["render",u5],["__scopeId","data-v-92ed3e90"]]),ZY="",QY="",j5={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,s){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((s,t)=>s.date<t.date);o==null||o.forEach((s,t)=>{var p,b;let r="<div>";s.to.includes("op@ormwx.com")||s.source==="VRT"?(((b=(p=s.body)==null?void 0:p.replace(/^"|"$/g,""))==null?void 0:b.split("\\n")).forEach(h=>{const N=`<p>${h}</p>`;r=r+N}),r=r+"</div>"):r=s.body;const a=document.getElementById("col1"),n=document.getElementById("col2"),E=(a==null?void 0:a.offsetHeight)||0,c=(n==null?void 0:n.offsetHeight)||0;if(E<=c){let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
42
|
+
<div class="vrpt-date">Date: ${s.date}</div>
|
|
43
|
+
<div class="vrpt-from">From: ${s.from}</div>
|
|
44
|
+
<div class="vrpt-to">To: ${s.to}</div>
|
|
45
|
+
<div class="vrpt-subject">Subject: ${s.subject}</div>
|
|
46
|
+
<br/>`;h=h+r+"</div>",a.insertAdjacentHTML("beforeend",h)}else{let h=`<div class="${s.to.includes("op@ormwx.com")||s.source==="VRT"?"vrpt-mail-item vrpt-item-right vrpt-inbox":"vrpt-mail-item vrpt-item-right vrpt-outbox"}">
|
|
47
|
+
<div class="vrpt-date">Date: ${s.date}</div>
|
|
48
|
+
<div class="vrpt-from">From: ${s.from}</div>
|
|
49
|
+
<div class="vrpt-to">To: ${s.to}</div>
|
|
50
|
+
<div class="vrpt-subject">Subject: ${s.subject}</div>
|
|
51
|
+
<br/>`;h=h+r+"</div>",n.insertAdjacentHTML("beforeend",h)}})}}},X5={class:"report-email"},q5=[e.createStaticVNode('<div class="section email-section" data-v-8d16153f><div class="header-block flex-center" data-v-8d16153f><i class="iconfont" data-v-8d16153f></i><div class="title" data-v-8d16153f>Emails</div></div><div class="content-box" data-v-8d16153f><div class="col col1" id="col1" data-v-8d16153f></div><div class="col col2" id="col2" data-v-8d16153f></div></div></div>',1)];function v5(o,s,t,r,a,n){return e.openBlock(),e.createElementBlock("div",X5,q5)}const eB=Ce(j5,[["render",v5],["__scopeId","data-v-8d16153f"]]),uY="",tB={name:"OrmVoyageIndex",components:{Brand:Io,VoySummary:ZS,Inventory:s5,Chart:K5,Email:eB,Loading:La},props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{inventory:[],loading:!0}},computed:{computeUTCTime(){return function(o,s="MMM-DD/HHmm[Z]"){return`${u(o).utc().format(s)}`}}},watch:{report:{handler(o,s){o!=null&&o.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},methods:{commit(o){this.$emit("commit",o)},prepare(){var s,t;const o=[];(t=(s=this.report)==null?void 0:s.segments)==null||t.forEach(r=>{const a=r.extend.cp;let n,E,c=!1;r.inventory.sample.hours.forEach((p,b)=>{n||(n=p),(!E||c)&&(E=p,c=!1),n.segIndex===p.segIndex?n.segLength=(n.segLength||0)+1:(n=p,n.segLength=1),E.noonLength=(E.noonLength||0)+1;let g=p.type.charAt(0);["N","M","E"].includes(g)&&(c=!0,E.dailyAvgCf=p.dailyAvgCf,E.avgSpdCalc=p.avgSpdCalc,E.distanceCalc=p.distanceCalc,E.noonUtc=p.utc),p.abbrev=g,g=g==="M"?"*":g==="A"?"":g,p.time=`${g} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ae.LngLatHelper.lng2pretty(p.lng),p._lat=ae.LngLatHelper.lat2pretty(p.lat),p.cp=a,o.push(p)})}),o.sort((r,a)=>r.date-a.date),this.inventory=o}}};function oB(o,s,t,r,a,n){var N,D,x;const E=e.resolveComponent("Brand"),c=e.resolveComponent("Loading"),p=e.resolveComponent("VoySummary"),b=e.resolveComponent("Inventory"),g=e.resolveComponent("Chart"),h=e.resolveComponent("Email");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(N=t.report)==null?void 0:N.weather)!=null&&D.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(E,{name:"Voyage Analysis Report",issued:t.report.createdAt},null,8,["issued"]),e.createVNode(c,{loading:a.loading,onTimeout:s[0]||(s[0]=C=>a.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:t.report,class:"main",onCommit:n.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(g,{report:t.report,inventory:a.inventory,class:"main"},null,8,["report","inventory"]),((x=t.voyageEmails)==null?void 0:x.length)>0?(e.openBlock(),e.createBlock(h,{key:0,report:t.report,voyageEmails:t.voyageEmails},null,8,["report","voyageEmails"])):e.createCommentVNode("",!0)],2)}const an=Ce(tB,[["render",oB],["__scopeId","data-v-a0a392a4"]]),lB={install(o){o.component("FliVoyageReport",ln),o.component("OrmVoyageReport",an)}},KY="",jY="",XY="",aB={name:"IdmTropical",components:{TropicalReport:Hc.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(o){this.center=o}}},nB={class:"typhoon-report-container"};function sB(o,s,t,r,a,n){const E=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",nB,[t.report?(e.openBlock(),e.createBlock(E,{key:0,report:t.report,model:t.model,ts:t.ts,token:t.token,onCenter:n.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const nn=Ce(aB,[["render",sB],["__scopeId","data-v-a14ce9ba"]]),cB={install(o){o.component("TropicalReport",nn)}},qY="",iB={name:"OrmInvoice",components:{IdmBrand:Io},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${u(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},Je=o=>(e.pushScopeId("data-v-95c80c22"),o=o(),e.popScopeId(),o),dB={class:"invoice-report"},rB={class:"section items-section"},mB={class:"flex-start"},pB=Je(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),hB=["innerHTML"],_B={class:"flex-space"},EB={class:"invoice-item"},yB={key:0,class:"invoice-item"},NB=Je(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),VB=Je(()=>e.createElementVNode("td",null,"NO.",-1)),fB=["colspan"],bB=Je(()=>e.createElementVNode("td",null,"Amounts",-1)),gB=["colspan"],xB=["colspan"],kB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],DB={class:"total"},CB=["colspan"],SB=[Je(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],BB={class:"total"},wB=["colspan"],AB={class:"total"},TB={key:1},FB=["colspan"],OB=[Je(()=>e.createElementVNode("span",null,"Total in USD",-1))],PB={class:"total"},LB={key:0,class:"memo-block"},WB=Je(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),$B=["innerHTML"],HB={class:"section company-section"},MB=Je(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),IB={class:"company-item"},GB=Je(()=>e.createElementVNode("label",null,"Bank",-1)),RB={class:"company-item"},zB=Je(()=>e.createElementVNode("label",null,"Account",-1)),UB={class:"company-item"},YB=Je(()=>e.createElementVNode("label",null,"Title",-1)),ZB={class:"company-item"},QB=Je(()=>e.createElementVNode("label",null,"Addr",-1)),JB={class:"company-item"},uB=Je(()=>e.createElementVNode("label",null,"Tel",-1)),KB={class:"company-item"},jB=Je(()=>e.createElementVNode("label",null,"Tax ID",-1)),XB={class:"company-item"},qB=Je(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),vB={class:"company-item"},e9=Je(()=>e.createElementVNode("label",null,"Bank Name",-1)),t9={class:"company-item"},o9=Je(()=>e.createElementVNode("label",null,"Bank Address",-1)),l9={class:"company-item"},a9=Je(()=>e.createElementVNode("label",null,"Account No.",-1)),n9={class:"company-item"},s9=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),c9={class:"company-item"},i9=Je(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),d9={class:"company-item"},r9=Je(()=>e.createElementVNode("label",null,"SWIFT",-1)),m9={class:"company-item"},p9=Je(()=>e.createElementVNode("label",null,"ABA NO.",-1)),h9=e.createStaticVNode('<div class="section sign-section" data-v-95c80c22><div class="flex-space" data-v-95c80c22><div class="sign-block" data-v-95c80c22><div data-v-95c80c22>Finance Team</div><div data-v-95c80c22>Ocean Right Marine Service Co., Ltd.</div><div data-v-95c80c22>Email: <a href="mailto:op@ormwx.com" data-v-95c80c22>op@ormwx.com</a></div><div data-v-95c80c22>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-95c80c22>Thank You</div></div></div>',1);function _9(o,s,t,r,a,n){var c,p,b,g,h,N,D,x,C,k,T,F,B,w,f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,j,v,ee,te,oe,le,ce,ie,de,_e;const E=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",dB,[e.createVNode(E,{name:"INVOICE",issued:t.report.createdAt},null,8,["issued"]),e.createElementVNode("div",rB,[e.createElementVNode("div",mB,[pB,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(p=(c=t.report)==null?void 0:c.invoiceTitle)==null?void 0:p.name)==null?void 0:b.replace(`
|
|
52
52
|
`,"<br/>")},null,8,hB)]),e.createElementVNode("div",_B,[e.createElementVNode("div",EB,"Invoice No. "+e.toDisplayString(t.report.number),1),(g=t.report)!=null&&g.paymentDate?(e.openBlock(),e.createElementBlock("div",yB,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=a.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[NB,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(X,me)=>{var Ee,ye,re,fe,be,ge,xe,ke,De,Te,Fe,Oe,Pe,Le,We,$e,He,Ne,ue,Ke,je,A,Se,Ge;return e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString((re=(ye=(Ee=X.props)==null?void 0:Ee[0])==null?void 0:ye.voyage)==null?void 0:re.number),1),e.createElementVNode("td",null,e.toDisplayString(((ge=(be=(fe=X.props)==null?void 0:fe[0])==null?void 0:be.voyage)==null?void 0:ge.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((De=(ke=(xe=X.props)==null?void 0:xe[0])==null?void 0:ke.vessel)==null?void 0:De.name),1),e.createElementVNode("td",null,e.toDisplayString((Oe=(Fe=(Te=X.props)==null?void 0:Te[0])==null?void 0:Fe.voyage)==null?void 0:Oe.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((We=(Le=(Pe=X.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(He=($e=X.props)==null?void 0:$e[0])==null?void 0:He.departure)==null?void 0:Ne.atd),1),e.createElementVNode("td",null,e.toDisplayString((je=(Ke=(ue=X.props)==null?void 0:ue[0])==null?void 0:Ke.destination)==null?void 0:je.name),1),e.createElementVNode("td",null,e.toDisplayString((Ge=(Se=(A=X.props)==null?void 0:A[0])==null?void 0:Se.destination)==null?void 0:Ge.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(X.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(N=a.reservations4Point)!=null&&N.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[VB,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,fB),bB])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(X,me)=>(e.openBlock(),e.createElementBlock("tr",{key:me},[e.createElementVNode("td",null,e.toDisplayString(X.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(X.items),9,gB),e.createElementVNode("td",null,"$"+e.toDisplayString(X.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((D=t.report)==null?void 0:D.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},kB,8,xB),e.createElementVNode("td",DB,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},SB,8,CB),e.createElementVNode("td",BB,[e.createElementVNode("span",null,e.toDisplayString((x=t.report)==null?void 0:x.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,wB),e.createElementVNode("td",AB,"¥"+e.toDisplayString((C=t.report)==null?void 0:C.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",TB,[e.createElementVNode("td",{colspan:a.maxColspans},OB,8,FB),e.createElementVNode("td",PB,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=t.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(T=t.report)!=null&&T.memo?(e.openBlock(),e.createElementBlock("div",LB,[WB,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(F=t.report)==null?void 0:F.memo)==null?void 0:B.replace(`
|
|
53
53
|
`,"<br/>")},null,8,$B)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",HB,[MB,((w=t.report)==null?void 0:w.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",IB,[GB,e.createElementVNode("span",null,e.toDisplayString((O=a.account[(f=t.report)==null?void 0:f.paymentType])==null?void 0:O.bank),1)]),e.createElementVNode("div",RB,[zB,e.createElementVNode("span",null,e.toDisplayString((G=a.account[(I=t.report)==null?void 0:I.paymentType])==null?void 0:G.number),1)]),e.createElementVNode("div",UB,[YB,e.createElementVNode("span",null,e.toDisplayString((z=a.account[(R=t.report)==null?void 0:R.paymentType])==null?void 0:z.title),1)]),e.createElementVNode("div",ZB,[QB,e.createElementVNode("span",null,e.toDisplayString((L=a.account[(_=t.report)==null?void 0:_.paymentType])==null?void 0:L.address),1)]),e.createElementVNode("div",JB,[uB,e.createElementVNode("span",null,e.toDisplayString((W=a.account[(H=t.report)==null?void 0:H.paymentType])==null?void 0:W.tel),1)]),e.createElementVNode("div",KB,[jB,e.createElementVNode("span",null,e.toDisplayString((M=a.account[(P=t.report)==null?void 0:P.paymentType])==null?void 0:M.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",XB,[qB,e.createElementVNode("span",null,e.toDisplayString((U=a.account[(Q=t.report)==null?void 0:Q.paymentType])==null?void 0:U.title),1)]),e.createElementVNode("div",vB,[e9,e.createElementVNode("span",null,e.toDisplayString((ne=a.account[(J=t.report)==null?void 0:J.paymentType])==null?void 0:ne.bank),1)]),e.createElementVNode("div",t9,[o9,e.createElementVNode("span",null,e.toDisplayString((l=a.account[(se=t.report)==null?void 0:se.paymentType])==null?void 0:l.bankAddr),1)]),e.createElementVNode("div",l9,[a9,e.createElementVNode("span",null,e.toDisplayString((v=a.account[(j=t.report)==null?void 0:j.paymentType])==null?void 0:v.number),1)]),e.createElementVNode("div",n9,[s9,e.createElementVNode("span",null,e.toDisplayString((te=a.account[(ee=t.report)==null?void 0:ee.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",c9,[i9,e.createElementVNode("span",null,e.toDisplayString((le=a.account[(oe=t.report)==null?void 0:oe.paymentType])==null?void 0:le.intermediaryBank),1)]),e.createElementVNode("div",d9,[r9,e.createElementVNode("span",null,e.toDisplayString((ie=a.account[(ce=t.report)==null?void 0:ce.paymentType])==null?void 0:ie.intermediaryBankSwift),1)]),e.createElementVNode("div",m9,[p9,e.createElementVNode("span",null,e.toDisplayString((_e=a.account[(de=t.report)==null?void 0:de.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),h9])}const sn=Ce(iB,[["render",_9],["__scopeId","data-v-95c80c22"]]),oZ="",E9={name:"FliInvoice",props:{report:{type:Object,default:()=>({})}},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(o,s="YYYY, MMM-DD/HHmm[LT]"){return o!=="-"?`${u(o).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var o,s,t,r,a,n,E;this.reservations4Route=(s=(o=this.report)==null?void 0:o.reservations)==null?void 0:s.filter(c=>c.props),this.reservations4Point=(r=(t=this.report)==null?void 0:t.reservations)==null?void 0:r.filter(c=>!c.props),this.totalInUS=(n=(a=this.report)==null?void 0:a.reservations)==null?void 0:n.reduce((c,p)=>Math.round((c+p.amount)*100)/100,0),(E=this.reservations4Route)!=null&&E.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},mounted(){}},_l=o=>(e.pushScopeId("data-v-c269c41c"),o=o(),e.popScopeId(),o),y9={class:"invoice-report"},N9={class:"section items-section"},V9={class:"flex-start"},f9=_l(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),b9=["innerHTML"],g9={class:"flex-space"},x9={class:"invoice-item"},k9={key:0,class:"invoice-item"},D9=_l(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),C9=_l(()=>e.createElementVNode("td",null,"NO.",-1)),S9=["colspan"],B9=_l(()=>e.createElementVNode("td",null,"Amounts",-1)),w9=["colspan"],A9=["colspan"],T9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],F9={class:"total"},O9=["colspan"],P9=[_l(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],L9={class:"total"},W9=["colspan"],$9={class:"total"},H9={key:1},M9=["colspan"],I9=[_l(()=>e.createElementVNode("span",null,"Total in USD",-1))],G9={class:"total"},R9={key:0,class:"memo-block"},z9=_l(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),U9=["innerHTML"];function Y9(o,s,t,r,a,n){var E,c,p,b,g,h,N,D,x,C,k,T,F;return e.openBlock(),e.createElementBlock("div",y9,[e.createElementVNode("div",N9,[e.createElementVNode("div",V9,[f9,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(c=(E=t.report)==null?void 0:E.invoiceTitle)==null?void 0:c.name)==null?void 0:p.replace(`
|
|
54
54
|
`,"<br/>")},null,8,b9)]),e.createElementVNode("div",g9,[e.createElementVNode("div",x9,"Invoice No. "+e.toDisplayString(t.report.number),1),(b=t.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",k9,"Paid: "+e.toDisplayString(n.computeTime(t.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(g=a.reservations4Route)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[D9,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Route,(B,w)=>{var f,O,I,G,R,z,_,L,H,W,P,M,Q,U,J,ne,se,l,j,v,ee,te,oe,le;return e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString((I=(O=(f=B.props)==null?void 0:f[0])==null?void 0:O.voyage)==null?void 0:I.number),1),e.createElementVNode("td",null,e.toDisplayString(((z=(R=(G=B.props)==null?void 0:G[0])==null?void 0:R.voyage)==null?void 0:z.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((H=(L=(_=B.props)==null?void 0:_[0])==null?void 0:L.vessel)==null?void 0:H.name),1),e.createElementVNode("td",null,e.toDisplayString((M=(P=(W=B.props)==null?void 0:W[0])==null?void 0:P.voyage)==null?void 0:M.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((J=(U=(Q=B.props)==null?void 0:Q[0])==null?void 0:U.departure)==null?void 0:J.name),1),e.createElementVNode("td",null,e.toDisplayString((l=(se=(ne=B.props)==null?void 0:ne[0])==null?void 0:se.departure)==null?void 0:l.atd),1),e.createElementVNode("td",null,e.toDisplayString((ee=(v=(j=B.props)==null?void 0:j[0])==null?void 0:v.destination)==null?void 0:ee.name),1),e.createElementVNode("td",null,e.toDisplayString((le=(oe=(te=B.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:le.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=a.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[C9,e.createElementVNode("td",{colspan:a.maxColspans-1},"Items.",8,S9),B9])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.reservations4Point,(B,w)=>(e.openBlock(),e.createElementBlock("tr",{key:w},[e.createElementVNode("td",null,e.toDisplayString(B.number),1),e.createElementVNode("td",{colspan:a.maxColspans-1},e.toDisplayString(B.items),9,w9),e.createElementVNode("td",null,"$"+e.toDisplayString(B.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((N=t.report)==null?void 0:N.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},T9,8,A9),e.createElementVNode("td",F9,[e.createElementVNode("span",null,e.toDisplayString(`$${a.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},P9,8,O9),e.createElementVNode("td",L9,[e.createElementVNode("span",null,e.toDisplayString((D=t.report)==null?void 0:D.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:a.maxColspans},"Total in CNY",8,W9),e.createElementVNode("td",$9,"¥"+e.toDisplayString((x=t.report)==null?void 0:x.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",H9,[e.createElementVNode("td",{colspan:a.maxColspans},I9,8,M9),e.createElementVNode("td",G9,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=t.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(k=t.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",R9,[z9,e.createElementVNode("div",{class:"invoice-item",innerHTML:(F=(T=t.report)==null?void 0:T.memo)==null?void 0:F.replace(`
|