PageSourceSearch

https://bukitir.ru/_nuxt/B4htTM8S.js

js bukitir.ru collected 2026-10-06 07:14:49 UTC 2,170 bytes, 1 lines download raw bytes

1import{aw as h,aG as b,c0 as v,ax as x,o as l,k as n,e,n as o,h as c,p,x as _,i as k,S as C,a1 as q,z as S,j as w,m as z,aD as u}from"./Zasxx8kA.js";import B from"./X3l0Z-kK.js";const P={slots:{root:"relative my-5 group",header:"flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",filename:"text-default text-sm/6",icon:"size-4 shrink-0",copy:"absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",base:"group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap wrap-break-word overflow-x-auto focus:outline-none **:[.line]:block **:[.line.highlight]:-mx-4 **:[.line.highlight]:px-4 **:[.line.highlight]:bg-accented/50!"},variants:{filename:{true:{root:"[&>pre]:rounded-t-none [&>pre]:my-0 my-5"}}}},j={__name:"ProsePre",props:{icon:{type:null,required:!1},code:{type:String,required:!1},language:{type:String,required:!1},filename:{type:String,required:!1},highlights:{type:Array,required:!1},hideHeader:{type:Boolean,required:!1},meta:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(d){const a=h("prose.pre",d),{t:m}=b(),{copy:f,copied:g}=v(),t=x(),i=z("baseRef"),s=w(()=>u({extend:u(P),...t.ui?.prose?.pre||{}})());function y(){const r=a.code??i.value?.textContent??"";f(r)}return(r,$)=>(l(),n("div",{class:o(s.value.root({class:[e(a).ui?.root],filename:!!e(a).filename}))},[e(a).filename&&!e(a).hideHeader?(l(),n("div",{key:0,class:o(s.value.header({class:e(a).ui?.header}))},[c(B,{icon:e(a).icon,filename:e(a).filename,class:o(s.value.icon({class:e(a).ui?.icon}))},null,8,["icon","filename","class"]),p("span",{class:o(s.value.filename({class:e(a).ui?.filename}))},_(e(a).filename),3)],2)):k("",!0),c(C,{icon:e(g)?e(t).ui.icons.copyCheck:e(t).ui.icons.copy,color:"neutral",variant:"outline",size:"sm","aria-label":e(m)("prose.pre.copy"),class:o(s.value.copy({class:e(a).ui?.copy})),tabindex:"-1",onClick:y},null,8,["icon","aria-label","class"]),p("pre",S({ref_key:"baseRef",ref:i,class:s.value.base({class:[e(a).ui?.base,e(a).class]})},r.$attrs),[q(r.$slots,"default")],16)],2))}};export{j 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.