1// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later 2// @source: https://gitlab.com/soapbox-pub/ditto/-/tree/main 3import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{qi as t}from"./lucide-icons-CItI72Jx.js";import{t as n}from"./jsx-runtime-CFwixLRt.js";import{t as r}from"./browser-CTb_QRCl.js";var i=e(r(),1),a=e(t(),1),o=n();function s({value:e,size:t=256,level:n=`M`,className:r}){let s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{s.current&&i.toCanvas(s.current,e,{width:t,margin:1,errorCorrectionLevel:n},e=>{e&&console.error(`QR Code generation error:`,e)})},[e,t,n]),(0,o.jsx)(`canvas`,{ref:s,className:r})}export{s as t}; 4// @license-end
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.