PageSourceSearch

https://vomoda.dz/assets/route-CT0S_TlS.js

js vomoda.dz collected 2026-10-05 23:11:30 UTC 2,372 bytes, 1 lines download raw bytes

1import{u as l,j as e,H as n,S as c,I as o,F as x,a as m,b as d,c as i}from"./index-YNsGwUAq.js";const h=()=>{const s=sessionStorage.getItem(i.CLI_TERMINAL_TOKEN);if(!s)return;const{expiry:a,data:t}=JSON.parse(s);if(new Date>new Date(a)){sessionStorage.removeItem(i.CLI_TERMINAL_TOKEN);return}return t},f=()=>{const[s,,a]=l({initialState:!1}),t=h(),r=()=>{t&&(navigator.clipboard.writeText(t),a(!0),sessionStorage.removeItem(i.CLI_TERMINAL_TOKEN))};return e.jsxs("div",{className:"flex flex-col justify-between bg-bunker-800 md:h-screen",children:[e.jsxs(n,{children:[e.jsx("title",{children:"Infisical CLI | Login Successful!"}),e.jsx("link",{rel:"icon",href:"/infisical.ico"})]}),e.jsxs("div",{className:"flex h-screen w-screen flex-col items-center justify-center space-y-4 text-gray-200",children:[e.jsx("div",{className:"mb-4 flex justify-center",children:e.jsx("img",{src:"/images/gradientLogo.svg",style:{height:"90px",width:"120px"},alt:"Infisical Logo"})}),t?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"pb-4",children:[e.jsx("p",{className:"bg-gradient-to-b from-white to-bunker-200 bg-clip-text text-center text-3xl font-medium text-transparent",children:"Unable to reach CLI"}),e.jsx("p",{className:"text-light mb-1 text-center text-lg text-mineshaft-400",children:"Your login was successful but, Infisical couldn't automatically push your login token to the CLI."}),e.jsx("p",{className:"text-light mb-1 text-center text-lg text-mineshaft-400",children:"Please copy the token below and manually provide it to your CLI."})]}),e.jsxs("div",{className:"dark relative flex max-h-36 max-w-xl flex-col items-center space-y-4 overflow-y-auto rounded-md border border-mineshaft-700 bg-mineshaft-900 p-3",children:[e.jsx(c,{value:t}),e.jsx("div",{className:"mx-1 flex",children:e.jsxs(o,{variant:"outline_bg",colorSchema:"primary",ariaLabel:"copy to clipboard",onClick:r,className:"flex items-center rounded py-2",children:[e.jsx(x,{className:"pr-2",icon:s?m:d})," Copy to clipboard"]})})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"bg-gradient-to-b from-white to-bunker-200 bg-clip-text text-center text-3xl font-medium text-transparent",children:"Head back to your terminal"}),e.jsx("p",{className:"text-light mb-1 text-lg text-mineshaft-400",children:"You've successfully logged in to the Infisical CLI"})]})]})]})},g=f;export{g as component};

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.