PageSourceSearch

https://wesleysmits.com/_nuxt/C5cXPuEu.js

js wesleysmits.com collected 2026-10-03 19:21:40 UTC 1,985 bytes, 1 lines download raw bytes

1import{d as m,c as n,o as a,e as t,i as _,h as r,t as u,w as p,g as i,an as y,Y as f,k,l as C,x as v,$ as w,q as b}from"./UZP9aXPs.js";import{e as x}from"./BDtflmmi.js";const B={class:"code-block-wrapper"},P={class:"code-header"},$={class:"code-info"},S={key:0,class:"code-filename"},V={key:1,class:"code-language"},j=["aria-label"],N={key:0,class:"copy-text"},O={key:1,class:"copy-icon"},z={class:"code-content"},q=m({__name:"CodeBlock",props:{code:{},language:{},filename:{}},setup(e){const{copy:c,copied:l,isSupported:o}=x({source:e.code});function s(){c(e.code)}return(h,d)=>{const g=y;return a(),n("div",B,[t("div",P,[t("div",$,[e.filename?(a(),n("span",S,u(e.filename),1)):e.language?(a(),n("span",V,u(e.language),1)):r("",!0)]),_(g,null,{default:p(()=>[i(o)?(a(),n("button",{key:0,class:"copy-button",onClick:s,"aria-label":i(l)?"Copied":"Copy code"},[i(l)?(a(),n("span",N,"Copied!")):(a(),n("span",O,[...d[0]||(d[0]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),t("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])]))],8,j)):r("",!0)]),_:1})]),t("div",z,[f(h.$slots,"default",{},void 0,!0)])])}}}),D=Object.assign(k(q,[["__scopeId","data-v-76f45d1c"]]),{__name:"CodeBlock"}),E=m({__name:"ProsePre",props:{code:{},language:{},filename:{},highlights:{},meta:{},class:{},style:{}},setup(e){const c=e,l=C(()=>
1{if(c.filename)return c.filename;const o=c.meta;if(!o)return;const s=o.match(/filename=(?:"([^"]+)"|'([^']+)'|([^\s]+))/);return s?s[1]||s[2]||s[3]:void 0});return(o,s)=>(a(),v(D,{code:e.code,language:e.language,filename:l.value},{default:p(()=>[t("pre",{class:b(o.$props.class),style:w(o.$props.style)},[f(o.$slots,"default")],6)]),_:3},8,["code","language","filename"]))}}),I=Object.assign(E,{__name:"ProsePre"});export{I 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.