PageSourceSearch

https://www.jobotrak.com/assets/OrganizationReportPage-IaVFTHuY.js

js jobotrak.com collected 2026-10-02 01:33:09 UTC 8,894 bytes, 1 lines download raw bytes

1import{j as e,D as N,e as S,V as l,I as T,f as k,T as o,S as C,M as m,B as b,g as f,h as p,s as D,p as R,u as w,r as x,o as z,A as F}from"./index-c60CzkqH.js";const n=C.create({page:{backgroundColor:"#f2f3f5",padding:30,fontFamily:"Helvetica",fontSize:9.5,color:p},brandRow:{flexDirection:"row",alignItems:"center",gap:10,marginBottom:10},brandLogo:{width:46,height:26,objectFit:"contain"},tag:{borderWidth:1,borderColor:f,borderRadius:4,paddingVertical:3,paddingHorizontal:8,fontSize:8,color:f,fontFamily:"Helvetica-Bold",textTransform:"uppercase",letterSpacing:.3,alignSelf:"flex-start"},title:{fontFamily:"Helvetica-Bold",fontSize:26,color:p,marginTop:14},sub:{fontSize:10,color:m,marginTop:3},divider:{height:2,backgroundColor:p,marginVertical:14},label:{fontFamily:"Helvetica-Bold",fontSize:8,color:f,textTransform:"uppercase",letterSpacing:.3,marginBottom:8},grid:{flexDirection:"row",flexWrap:"wrap",gap:8},card:{width:"31.8%",borderWidth:1,borderColor:b,borderRadius:4,backgroundColor:"#fff",padding:10},cardValue:{fontFamily:"Helvetica-Bold",fontSize:20,color:p},cardLabel:{fontFamily:"Helvetica-Bold",fontSize:9,marginTop:3},cardSub:{fontSize:8,color:m,marginTop:1},chart:{borderWidth:1,borderColor:b,borderRadius:4,backgroundColor:"#fff",padding:12,marginTop:8},bars:{flexDirection:"row",alignItems:"flex-end",height:90,gap:3},barCol:{flex:1,alignItems:"center",justifyContent:"flex-end",height:"100%"},bar:{width:"100%",backgroundColor:f,borderRadius:2},barN:{fontSize:6.5,color:m,marginTop:2},axis:{flexDirection:"row",justifyContent:"space-between",marginTop:4},axisText:{fontSize:7.5,color:m},note:{borderWidth:1,borderColor:b,borderRadius:4,backgroundColor:"#fbfcfe",padding:12,marginTop:16},noteHead:{fontFamily:"Helvetica-Bold",fontSize:9,marginBottom:4},noteText:{fontSize:8.5,color:m,lineHeight:1.5},foot:{position:"absolute",left:30,right:30,bottom:22,flexDirection:"row",justifyContent:"space-between",borderTopWidth:1,borderTopColor:b,paddingTop:8},footText:{fontSize:7.5,color:m}});function g({value:a,label:s,sub:i}){return e.jsxs(l,{style:n.card,children:[e.jsx(o,{style:n.cardValue,children:a}),e.jsx(o,{style:n.cardLabel,children:s}),e.jsx(o,{style:n.cardSub,children:i})]})}function $({report:a,generated:s,i18n:i}){const{t:r}=i,t=Math.max(...a.trend.map(d=>d.applications),1),u=a.seatsUsed-a.consented;return e.jsx(N,{children:e.jsxs(S,{size:"LETTER",style:n.page,children:[e.jsxs(l,{style:n.brandRow,children:[e.jsx(T,{src:k,style:n.brandLogo}),e.jsx(o,{style:n.tag,children:r("org.cohort")})]}),e.jsx(o,{style:n.title,children:a.organizationName}),e.jsxs(o,{style:n.sub,children:["Last ",a.windowDays," days · generated ",s]}),e.jsx(l,{style:n.divider}),e.jsx(o,{style:n.label,children:r("org.activity")}),e.jsxs(l,{style:n.grid,children:[e.jsx(g,{value:String(a.active),label:r("org.active"),sub:`of ${a.consented} counted`}),e.jsx(g,{value:String(a.applications),label:r("org.applications"),sub:`last ${a.windowDays} days`}),e.jsx(g,{value:String(a.interviewsScheduled),label:r("org.interviews"),sub:"scheduled"}),e.jsx(g,{value:`${a.interviewRate}%`,label:r("org.reachedInterview"),sub:"of those who applied"}),e.jsx(g,{value:`${a.offerRate}%`,label:r("org.reachedOffer"),sub:"of those who applied"}),e.jsx(g,{value:`${a.placementRate}%`,label:r("org.acceptedOffer"),sub:`${a.placements} placement${a.placements===1?"":"s"}`}),e.jsx(g,{value:a.medianDaysToFirstInterview==null?"—":`${a.medianDaysToFirstInterview}d`,label:r("org.toFirstInterview"),sub:"median"})]}),a.trend.length>1&&e.jsxs(e.Fragment,{children:[e.jsx(o,{style:[n.label,{marginTop:18}],children:r("org.perWeek")}),e.jsxs(l,{style:n.chart,children:[e.jsx(l,{style:n.bars,children:a.trend.map(d=>e.jsxs(l,{style:n.barCol,children:[e.jsx(l,{style:[n.bar,{height:`${Math.max(2,d.applications/t*100)}%`}]}),e.jsx(o,{style:n.barN,children:d.applications})]},d.week))}),e.jsxs(l,{style:n.axis,children:[e.jsx(o,{style:n.axisText,children:a.trend[0].week}),e.jsx(o,{style:n.axisText,children:a.trend[a.trend.length-1].week})]})]})]}),e.jsxs(l,{style:n.note,children:[e.jsx(o,{style:n.noteHead,children:r("org.whatThese")}),e.jsxs(o,{style:n.noteText,children:["Counted from ",a.consented," member",a.consented===1?"":"s"," who agreed to be included",u>0?`, out of ${a.seatsUsed} holding a licence`:"",".",u>0?` ${u} ${u===1?"member has":"members have"} not agreed and appear in no figure above.`:""," ","Members are averaging ",a.applicationsPerActiveWeek," applications per active person per week. Figures are only produced for groups of at least ",a.minCohort," people, so no number here can identify an individual. Nobody at ",a.organizationName," — including whoever produced this report — can see which companies members applied to, their résumés, their notes, or their salary expectations."]})]}),e.jsxs(l,{style:n.foot,fixed:!0,children:[e.jsxs(o,{style:n.footText,children:["© ",new Date().getFullYear()," Jobotrak"]}),e.jsx(o,{style:n.footText,children:r("mkt.footer.made")})]})]})})}async function I(a,s){const i=s.date(new Date,{year:"numeric",month:"long",day:"numeric"});return D(e.jsx($,{report:a,generated:i,i18n:s}),R(a.organizationName,`${a.windowDays}-day-report`))}const B=[{days:30,unit:"org.days",n:30},{days:90,unit:"org.days",n:90},{days:180,unit:"org.months",n:6}];function h({value:a,label:s,sub:i}){return e.jsxs("div",{className:"org-stat",children:[e.jsx("div",{className:"org-stat-value",children:a}),e.jsx("div",{className:"org-stat-label",children:s}),i&&e.jsx("div",{className:"org-stat-sub",children:i})]})}function H({points:a}){const{t:s}=w();if(a.length<2)return null;const i=Math.max(...a.map(r=>r.applications),1);return e.jsxs("section",{className:"dashboard-card",children:[e.jsx("h2",{className:"dashboard-card-title",children:s("org.perWeek")}),e.jsx("div",{className:"org-trend",children:a.map(r=>e.jsxs("div",{className:"org-trend-col",title:s("org.weekOf",{week:r.week,n:r.applications}),children:[e.jsx("div",{className:"org-trend-bar",style:{height:`${Math.round(r.applications/i*100)}%`}}),e.jsx("span",{className:"org-trend-n",children:r.applications})]},r.week))}),e.jsxs("p",{className:"org-trend-axis",children:[e.jsx("span",{children:a[0].week}),e.jsx("span",{children:a[a.length-1].week})]})]})}function E(){const a=w(),{t:s}
1=a,[i,r]=x.useState(90),[t,u]=x.useState(null),[d,j]=x.useState(null),[y,v]=x.useState(!1);return x.useEffect(()=>{j(null),z.report(i).then(u).catch(c=>j(c instanceof F?c.message:s("org.loadFailed")))},[i]),d?e.jsxs("div",{className:"page",children:[e.jsx("h1",{children:s("org.title")}),e.jsx("p",{className:"auth-error",children:d})]}):t?e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:"page-header-row",children:[e.jsx("h1",{children:t.organizationName}),e.jsxs("div",{className:"org-window",children:[(t==null?void 0:t.reportable)&&e.jsx("button",{className:"btn btn-small btn-secondary",onClick:async()=>{v(!0);try{await I(t,a)}finally{v(!1)}},disabled:y,children:s(y?"org.preparing":"org.downloadPdf")}),B.map(c=>e.jsx("button",{className:`btn btn-small ${i===c.days?"btn-primary":"btn-secondary"}`,onClick:()=>r(c.days),children:s(c.unit,{n:c.n})},c.days))]})]}),e.jsx("p",{className:"form-step-subtitle",children:s("org.sub")}),t.reportable?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"org-stats",children:[e.jsx(h,{value:String(t.active),label:s("org.active"),sub:s("org.ofCounted",{n:t.consented})}),e.jsx(h,{value:String(t.applications),label:s("org.applications"),sub:s("org.lastDays",{n:t.windowDays})}),e.jsx(h,{value:String(t.interviewsScheduled),label:s("org.interviews"),sub:s("org.scheduled")}),e.jsx(h,{value:`${t.interviewRate}%`,label:s("org.reachedInterview"),sub:s("org.ofApplied")}),e.jsx(h,{value:`${t.offerRate}%`,label:s("org.reachedOffer"),sub:s("org.ofApplied")}),e.jsx(h,{value:`${t.placementRate}%`,label:s("org.acceptedOffer"),sub:s("org.placements",{n:t.placements})}),e.jsx(h,{value:t.medianDaysToFirstInterview==null?"—":`${t.medianDaysToFirstInterview}d`,label:s("org.toFirstInterview"),sub:s("org.median")})]}),e.jsx(H,{points:t.trend}),e.jsxs("section",{className:"dashboard-card",children:[e.jsx("h2",{className:"dashboard-card-title",children:s("org.effort")}),e.jsx("p",{children:s("org.effortBody",{n:t.applicationsPerActiveWeek})}),e.jsx("p",{className:"admin-hint",children:t.seatsUsed-t.consented>0?s("org.notCounted",{n:t.seatsUsed-t.consented}):s("org.allCounted")})]})]}):e.jsxs("section",{className:"dashboard-card org-suppressed",children:[e.jsx("h2",{className:"dashboard-card-title",children:s("org.notEnough")}),e.jsx("p",{children:s("org.suppressedBody",{consented:t.consented,seats:t.seatsUsed,min:t.minCohort})}),e.jsx("p",{className:"admin-hint",children:s("org.suppressedHint")})]})]}):e.jsx("div",{className:"page",children:e.jsx("p",{className:"admin-sub",children:s("org.loading")})})}export{E as OrganizationReportPage};

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.