UNPKG

manifest

Version:

Self-hosted Manifest LLM router with embedded server, SQLite database, and dashboard

2 lines (1 loc) 1.26 kB
import{q as l,z as a,i as u,t as o,s as i}from"./vendor-C-Y5oNOq.js";var p=o('<svg viewBox="2 1 20 22"fill=none stroke=currentColor stroke-width=3 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"></path><circle cx=12 cy=7 r=4>'),d=o('<svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=3 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path d="m21 2-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0 3 3L22 7l-3-3m-3.5 3.5L19 4">'),s=o("<span aria-label=Subscription>"),h=o('<span aria-label="API Key">');const c=e=>(()=>{var r=p();return i(r,"width",e),i(r,"height",e),r})(),v=e=>(()=>{var r=d();return i(r,"width",e),i(r,"height",e),r})();function $(e){return e==="subscription"?"Subscription":"API Key"}function m(e,r){const n=r<=8?" provider-auth-badge--overlay":"";return e==="subscription"?(()=>{var t=s();return l(t,`provider-auth-badge provider-auth-badge--sub${n}`),a(t,"width",`${r}px`),a(t,"height",`${r}px`),u(t,()=>c(r*.58)),t})():e==="api_key"?(()=>{var t=h();return l(t,`provider-auth-badge provider-auth-badge--key${n}`),a(t,"width",`${r}px`),a(t,"height",`${r}px`),u(t,()=>v(r*.58)),t})():null}export{m as a,$ as b};