PageSourceSearch

https://swetrix.com/assets/SwetrixLogo-B6H7EqCn.js

js swetrix.com collected 2026-09-24 18:59:50 UTC 1,627 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{t as n}from"./useTranslation-B-X6_4DZ.js";import{ht as r,t as i}from"./jsx-runtime-BNAwhg6S.js";import{Q as a,t as o}from"./Text-D0KbJur_.js";import{n as s}from"./ThemeProvider-lRYGWbAo.js";var c=e(t(),1),l=i(),u=({className:e,theme:t})=>{let{theme:i}=s(),{t:u}=n(),d=(0,c.useId)(),f=t||i;return(0,l.jsxs)(`div`,{className:a(`flex -translate-y-[2px] items-center gap-2 select-none`,e),children:[(0,l.jsxs)(`svg`,{height:`28`,width:`24`,viewBox:`0 0 24 28`,"aria-hidden":`true`,children:[(0,l.jsx)(`defs`,{children:(0,l.jsx)(`linearGradient`,{id:d,x1:`20`,y1:`4`,x2:`4`,y2:`24`,gradientUnits:`userSpaceOnUse`,children:f===`dark`?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(`stop`,{offset:`0%`,stopColor:`#f9fafb`}),(0,l.jsx)(`stop`,{offset:`100%`,stopColor:`#4f46e5`})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(`stop`,{offset:`0%`,stopColor:`#0f172a`}),(0,l.jsx)(`stop`,{offset:`100%`,stopColor:`#4f46e5`})]})})}),(0,l.jsxs)(`g`,{fill:`url(#${d})`,children:[(0,l.jsx)(`circle`,{cx:`4`,cy:`22`,r:`3`}),(0,l.jsx)(`circle`,{cx:`12`,cy:`22`,r:`3`}),(0,l.jsx)(`circle`,{cx:`12`,cy:`14`,r:`3`}),(0,l.jsx)(`circle`,{cx:`20`,cy:`14`,r:`3`}),(0,l.jsx)(`circle`,{cx:`12`,cy:`6`,r:`3`})]})]}),(0,l.jsxs)(`div`,{className:`flex flex-col`,children:[(0,l.jsx)(`span`,{className:a(`text-2xl leading-5 font-bold`,f===`dark`?`text-white`:`text-slate-900`),children:`Swetrix`}),r?(0,l.jsx)(o,{as:`span`,size:`xs`,weight:`medium`,className:a(f===`dark`?`text-white`:`text-slate-900`),children:u(`common.communityEdition`)}):null]})]})};export{u as t};

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.