1import{_ as x}from"./BCzDHTK_.js";import{b,ab as P,p as v,l as $,A as I,B as s,V as m,S as T,D as n,C as l,u as a,I as g,x as C,U as A,ac as E}from"./c4dV8OUa.js";import{_ as H,b as U,I as V,n as y,R as B,d as D,u as M}from"./B8aAA9_p.js";import{P as N,a as S,U as O,H as F,R as G,u as K}from"./BmZWp1wX.js";import{c as z}from"./BPAnLMaL.js";import{u as J}from"./wiF0uji4.js";import{u as Y}from"./CeoRbLKb.js";import"./CKRAHtXK.js";import"./D0ycTcjv.js";import"./BEko4cYp.js";import"./uOIU48xU.js";import"./BsolNLhe.js";import"./ChQuLU2p.js";import"./D8r2xGSA.js";import"./DWhfCHro.js";import"./D6wECtUr.js";import"./B5lNEeDZ.js";import"./BDMGvXFu.js";import"./kxl-Y2Bp.js";import"./mtyU1Goc.js";import"./DS8x_kaM.js";import"./6Mq1o4zj.js";import"./Ca17Mzep.js";import"./DBQqkAPe.js";import"./DRTutMz9.js";import"./CDVW4PsB.js";import"./Brvr7IvJ.js";import"./DchdW6nd.js";import"./Be-MOL9o.js";import"./D66Cll6u.js";import"./Cu1uSnCT.js";import"./D-So3ybD.js";import"./DOG1Aepq.js";import"./C2O7VIEN.js";import"./CyO8hYOg.js";import"./DSqSD5rC.js";import"./CEK3dhcG.js";const j="_wrapper_x8xy3_1",q="_tabs_x8xy3_4",L={wrapper:j,tabs:q},Q={__name:"[id]",async setup(X){let o,u;const i=U(),c=b("programs");v("programType",c);const{data:t,error:k}=([o,u]=P(()=>J("program",()=>K(c.value,i.params.id))),o=await o,u(),o);v(V.PROGRAM,t.value),k.value&&y("/error",{replace:!0}),t.value.isAudit&&y(B.AUDIT_PROGRAM(i.params.id));const d=b(),_=z(parseInt(t.value.maxBounty||0));D({title:`${t.value.title}: Program Info | HackenProof`,ogTitle:`${t.value.title}: Program Info | HackenProof`,description:`Find bugs and vulnerabilities on ${t.value.title} and get paid up to ${_}`,ogDescription:`Find bugs and vulnerabilities on ${t.value.title} and get paid up to ${_}`}),M();const f=$(()=>[{label:"Program info",key:"program-info"},t.value.hackerRanksCount?{label:`Hackers (${t.value.hackerRanksCount})`,key:"hackers"}:null,{label:"Reports",key:"reports"}].filter(r=>r)),e=Y(`/programs/${i.params.id}`,"program-info",f.value),R=r=>{e.value=r,E(d.value.tabsEl).scrollIntoView({behavior:"smooth"})};return(r,p)=>{const h=x;return s(),I("div",{class:g(r.$style.wrapper)},[m(N),m(h,{ref_key:"tabsEl",ref:d,modelValue:a(e),"onUpdate:modelValue":p[0]||(p[0]=w=>C(e)?e.value=w:null),class:g(r.$style.tabs),tabs:a(f)},null,8,["modelValue","class","tabs"]),T(m(a(S),{onChangeTab:R},null,512),[[A,a(e)==="program-info"]]),a(e)==="updates"?(s(),n(a(O),{key:0})):l("",!0),a(e)==="hackers"?(s(),n(a(F),{key:1})):l("",!0),a(e)==="reports"?(s(),n(a(G),{key:2})):l("",!0)],2)}}},W={$style:L},Da=H(Q,[["__cssModules",W]]);export{Da as default};
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.