PageSourceSearch

https://argilla.io/_nuxt/GithubStars.f995d6e6.js

js argilla.io collected 2026-10-02 17:18:14 UTC 1,460 bytes, 1 lines download raw bytes

1import k from"./Spinner.983a6ef5.js";import{f as S,$ as x,o as e,c as a,u as t,g as l,N as d,t as g,Y as f,a as b,b as $,d as N}from"./entry.5974df5d.js";import{u as B}from"./fetch.e85ac4ec.js";import{I as w}from"./github.76ba8512.js";import"./client-only.d9ce27ac.js";import{_ as z}from"./_plugin-vue_export-helper.a1a6add7.js";const V={class:"github-stars"},v={key:0,style:{display:"none"}},C=["href","id"],I=["href","id"],q=S({__name:"GithubStars",props:{username:{type:String,required:!0},location:{type:String},reponame:{type:String,required:!0}},async setup(o){let r,i;const c=o,{data:s,pending:y,error:n}=([r,i]=x(()=>B(`https://api.github.com/repos/${c.username}/${c.reponame}`,{server:!1,pick:["html_url","stargazers_count"]},"$NjskOw22iW")),r=await r,i(),r);return(F,u)=>{var p,m,h;const _=k;return e(),a("div",V,[t(y)?(e(),l(_,{key:0})):(e(),a(d,{key:1},[t(n)?(e(),a("span",v,g(t(n)),1)):f("",!0),t(n)?(e(),l(_,{key:1})):t(s)?(e(),a(d,{key:2},[b("a",{class:"github-stars--left",href:(p=t(s))==null?void 0:p.html_url,target:"_blank",id:`${o.location}-github-repo-button`},[$(t(w),{height:"18",width:"18"}),u[0]||(u[0]=N(" Star "))],8,C),b("a",{class:"github-stars--right",href:`${(m=t(s))==null?void 0:m.html_url}/stargazers`,target:"_blank",id:`${o.location}-github-stargazers-button`},g((h=t(s))==null?void 0:h.stargazers_count.toLocaleString("en-US")),9,I)],64)):f("",!0)],64))])}}}),O=z(q,[["__scopeId","data-v-d0c00956"]]);export{O 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.