PageSourceSearch

https://arca.uz/_nuxt/PFJB5FPa.js

js arca.uz collected 2026-10-03 22:54:14 UTC 2,989 bytes, 1 lines download raw bytes

1import{T as w,a as C,b as T,c as B,d as I}from"./h70mPYdU.js";import{aX as L,au as M,aY as q,aa as z,k as b,aw as y,r as N,H as $,b5 as D,w as h,b1 as G,X as c,Y as o,Z as d,_ as m,a6 as x,N as u,an as i,ah as _,a9 as U,ac as X,ag as S,aj as Y}from"./DV75SwYw.js";import j from"./1qtzfy1L.js";import"./DDU73Out.js";import"./C2WHOHzk.js";import"./YP72pffG.js";import"./B-4CQdhg.js";import"./B7DYFHPk.js";const A={slots:{root:"relative group *:not-first:!my-0 *:not-first:!static my-5",list:"relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",indicator:"absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs",trigger:["relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0",triggerLabel:"truncate"}},O={__name:"ProseCodeGroup",props:L({defaultValue:{type:String,required:!1,default:"0"},sync:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(f){const a=f,V=M(),s=q(f,"modelValue"),k=z(),r=b(()=>y({extend:y(A),...k.ui?.prose?.codeGroup||{}})()),p=N(1),g=b(()=>(p.value,V.default?.()?.flatMap(v).filter(Boolean)||[]));function v(e,t){return typeof e.type=="symbol"?e.children?.map(v):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}return $(()=>{if(a.sync){const e=`code-group-${a.sync}`,t=D(e,()=>localStorage.getItem(e));h(t,()=>{t.value&&(s.value=t.value)},{immediate:!0}),h(s,()=>{s.value&&(t.value=s.value,localStorage.setItem(e,s.value))})}}),G(()=>p.value++),(e,t)=>(o(),c(u(I),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=l=>s.value=l),"default-value":f.defaultValue,"unmount-on-hide":!1,class:i(r.value.root({class:[a.ui?.root,a.class]}))},{default:d(()=>[m(u(T),{class:i(r.value.list({class:a.ui?.list}))},{default:d(()=>[m(u(w),{class:i(r.value.indicator({class:a.ui?.indicator}))},null,8,["class"]),(o(!0),x(S,null,_(g.value,(l,n)=>(o(),c(u(C),{key:n,value:String(n),class:i(r.value.trigger({class:a.ui?.trigger}))},{default:d(()=>[m(j,{icon:l.icon,filename:l.label,class:i(r.value.triggerIcon({class:a.ui?.triggerIcon}))},null,8,["icon","filename","class"]),U("span",{class:i(r.value.triggerLabel({class:a.ui?.triggerLabel}))},X(l.label),3)]),_:2},1032,["value","class"]))),128))]),_:1},8,["class"]),(o(!0),x(S,null,_(g.value,(l,n)=>(o(),c(u(B),{key:n,value:String(n),"as-child":""},{default:d(()=>[(o(),c(Y(l.component),{"hide-header":"",tabindex:"-1"}))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","default-value","class"]))}};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.