import{Aa as e,B_ as t,Hy as n,Zv as r,ap as i,cn as a,d as o,dg as s,dv as c,fv as l,jg as u,m_ as d,pv as f,sn as p,ty as m}from"./index-DDwwBb9e.js";var h=n();function g(){let{organizations:e,project:n}=i();return(0,h.jsx)(p,{children:(0,h.jsx)(t,{maxWidth:`600px`,paddingTop:`200px`,children:(0,h.jsxs)(f,{children:[(0,h.jsx)(l,{children:(0,h.jsxs)(d,{width:`full`,align:`center`,children:[(0,h.jsx)(m,{as:`h1`,size:`md`,children:`Authorize`}),(0,h.jsx)(u,{}),e&&n&&(0,h.jsx)(a,{organizations:e,project:n})]})}),(0,h.jsx)(c,{children:(0,h.jsxs)(s,{align:`start`,gap:6,children:[(0,h.jsx)(r,{children:`Copy your LangWatch API key below and paste it into your command line or notebook to authorize it.`}),(0,h.jsx)(_,{})]})})]})})})}function _(){let{project:t}=i();return(0,h.jsx)(o,{value:t?.apiKey??``,label:`API key`,onClick:()=>e(`api_key_copy`,{project_id:t?.id})})}export{_ as APIKeyCopyInput,g as default};
//# sourceMappingURL=authorize-Cip_U2sR.js.map