1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/InjPieChart-OVz2nxrd.js","assets/vendor-charts-CBBNDEA4.js","assets/vendor-vuetify-U1i-P9xV.js","assets/vendor-vuetify-CiOt0XaD.css","assets/index-DazxfFOG.js","assets/vendor-sentry-CdlvO8A5.js","assets/index--IG9X3AX.css","assets/InjPieChart-Bd-N-orW.css"])))=>i.map(i=>d[i]); 2import{I as w,_ as P,d as D,c as S,A as T}from"./index-DazxfFOG.js";import{S as R,_ as A,u as B}from"./InjuriesTable.vue_vue_type_script_setup_true_lang-B6-dbmVw.js";import{_ as L}from"./EmptyPlaceholder.vue_vue_type_style_index_0_lang-DwEqO1uY.js";import{d as h,r as x,E as s,f as c,c as i,F as _,aN as g,A as r,b as m,H as p,l as e,p as V,y as C,q as d,k as u,br as E,o as N}from"./vendor-vuetify-U1i-P9xV.js";import{P as O}from"./PlayerPageHeader-hQiqpbZY.js";import{u as $}from"./pdf-OKPtvvcx.js";import{b as k}from"./route-block-BIO7NrfO.js";import"./vendor-sentry-CdlvO8A5.js";import"./pdfTitlePageConfigs-V_pjwBMI.js";import"./app-BiRTYGzc.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;
2n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="87ea36a4-a396-49f2-8d79-b5a6eede4d77",t._sentryDebugIdIdentifier="sentry-dbid-87ea36a4-a396-49f2-8d79-b5a6eede4d77")}catch{}const F={key:0,class:"base-table secondary block"},H={class:"row font-weight-bold",style:{"white-space":"nowrap"}},M={class:"value text-right"},q={key:0},z={key:1},G={key:0,class:"row"},J={class:"action"},K={class:"value"},Q={class:"value text-right"},U={key:0,class:"totals"},W={class:"total-item background block"},X={class:"value tx-header-1 text-black"},Y={class:"total-item background block"},Z={class:"value tx-header-1 text-black"},ee=h({__name:"InjuriesPdf",props:{injuriesList:{},isReport:{type:Boolean,default:!1}},setup(t){const n=E(()=>w(()=>import("./InjPieChart-OVz2nxrd.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),a=x(t.injuriesList),{totalDaysByInjury:l,totalMissed:f,seasonGroupedInjuries:I}=B(a);return(oe,o)=>a.value===void 0||a.value?.length===0?(s(),c(L,{key:0,"no-data-overlay-id":!1})):(s(),i(_,{key:1},[a.value===null?(s(),c(g,{key:0,class:"block",height:"300"})):r(l)?(s(),i("div",{key:1,class:m(["d-flex justify-space-around flex-wrap silhouette-table-wrapper",{"pdf-report":t.isReport}])},[p(R,{data:r(l)},null,8,["data"]),r(l)?(s(),i("div",F,[e("div",H,[o[1]||(o[1]=e("div",{class:"action"},"Injury",-1)),o[2]||(o[2]=e("div",{class:"value"},"Total days",-1)),e("div",M,[t.isReport?(s(),i("span",q,"/")):(s(),i("span",z,"Total")),o[0]||(o[0]=V(" games ",-1))])]),(s(!0),i(_,null,C(r(l),(v,b,j)=>(s(),i(_,{key:b},[j<12?(s(),i("div",G,[e("div",J,d(b),1),e("div",K,d(v.days),1),e("div",Q,d(v.games),1)])):u("",!0)],64))),128))])):u("",!0)],2)):u("",!0),a.value===null?(s(),c(g,{key:2,class:"block",height:"200"})):(s(),i("div",{key:3,class:m(["inj-types",{"pdf-report":t.isReport}])},[p(r(n),{class:"background block pa-3",style:{height:"200px"},"injuries-data":a.value},null,8,["injuries-data"]),a.value?(s(),i("div",U,[e("div",W,[o[3]||(o[3]=e("div",{class:"title tx-subtitle-2 text-grey2"},"Total days missed:",-1)),e("div",X,d(r(f)?.days),1)]),e("div",Y,[o[4]||(o[4]=e("div",{class:"title tx-subtitle-2 text-grey2"},"Total games missed:",-1)),e("div",Z,d(r(f)?.games),1)])])):u("",!0)],2)),o[5]||(o[5]=e("h2",{class:"tx-subtitle-2 text-center"},"Injury history",-1)),p(A,{class:"block","table-data":a.value===null?null:r(I),"is-report":t.isReport},null,8,["table-data","is-report"])],64))}}),se=P(ee,[["__scopeId","data-v-28bc06a1"]]),te={class:"main d-flex flex-column ga-3"},ae=h({__name:"injuries",setup(t){const n=D();S();const y=$(),a=x(null);return N(async()=>{const l=n.params;a.value=await T.players.tmPlayerOnDbId(l.playerId).catch(()=>{})}),(l,f)=>(s(),i("div",{class:m(["admin-report-page",r(y).pdfPageOrientation])},[p(O,{section:"Injuries","player-data":a.value,"page-orientation":r(y).pdfPageOrientation},null,8,["player-data","page-orientation"]),e("div",te,[a.value?(s(),c(se,{key:0,"is-report":"","injuries-list":a.value?.injuries},null,8,["injuries-list"])):u("",!0)])],2))}});typeof k=="function"&&k(ae);export{ae as default}; 3//# sourceMappingURL=injuries-Dgtzlpw_.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.