1import{X as g,a0 as m,p as n,d as p,o as f,a as S,q as v,U as b,n as _,u as y}from"./app-DDSQZi8b.js";/* empty css */import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={rectangle:"rectangle",circle:"circle"},h={[s.rectangle]:"rounded",[s.circle]:"rounded-full"},c="#ffffff",$=e=>{const t=e.replace("#","");return typeof e=="string"&&e.startsWith("#")&&t.length===6&&!isNaN(+("0x"+t))},E=e=>{var t;return`${(t=e.match(/\w\w/g))==null?void 0:t.map(r=>+`0x${r}`)}`},L=g({__name:"SkeletonLoader",props:{type:{type:String,default:s.rectangle,validator(e){return Object.values(s).includes(e)}},bgClass:{type:String,default:"bg-gray-300"},cssClass:{type:String,default:""},shimmerColor:{type:String,default:c}},setup(e){const t=e,{type:r,bgClass:i,cssClass:o,shimmerColor:l}=m(t),u=n(()=>{const a=$(l.value)?E(l.value):c;return{backgroundImage:`linear-gradient(90deg, rgba(${a}, 0) 0%, rgba(${a}, 0.2) 20%, rgba(${a}, 0.5) 60%, rgba(${a}, 0))`}}),d=n(()=>o.value?o.value:h[r.value]);return(a,R)=>(f(),p("div",{class:_([y(i),d.value,"relative overflow-hidden"])},[S("div",{class:"shimmer absolute top-0 right-0 bottom-0 left-0",style:b(u.value)},null,4),v(a.$slots,"default",{},void 0,!0)],2))}}),N=C(L,[["__scopeId","data-v-8e76fa65"]]);export{N as S};
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.