1import{u as h,a as f,m as k,c as x,d as y}from"./DrEatFVW.js";import{aG as S,c0 as C,cN as L,bZ as w,bm as B,ah as i,bq as P,g as V,ae as T,dn as A,bz as _}from"./C9Z41gEb.js";import{u as z}from"./nMIUYhGG.js";const D={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function E(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return i("div",{class:_(["v-skeleton-loader__bone",`v-skeleton-loader__${e}`])},[a])}function s(e){const[a,t]=e.split("@");return Array.from({length:t}).map(()=>n(a))}function n(e){let a=[];if(!e)return a;const t=D[e];if(e!==t){if(e.includes(","))return l(e);if(e.includes("@"))return s(e);t.includes(",")?a=l(t):t.includes("@")?a=s(t):t&&a.push(n(t))}return[E(e,a)]}function l(e){return e.replace(/\s/g,"").split(",").map(n)}const F=w({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...k(),...f(),...B()},"VSkeletonLoader"),q=S()({name:"VSkeletonLoader",inheritAttrs:!1,props:F(),setup(e,a){let{attrs:t,slots:r}=a;const{backgroundColorClasses:d,backgroundColorStyles:c}=h(()=>e.color),{dimensionStyles:u}=x(e),{elevationClasses:m}=y(e),{themeClasses:g}=C(e),{t:v}=L(),b=T(()=>n(A(e.type).join(",")));return z(()=>{const o=!r.default||e.loading,p=e.boilerplate||!o?{}:{ariaLive:"polite",ariaLabel:v(e.loadingText),role:"alert"};return o?i("div",P({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},g.value,d.value,m.value],style:[c.value,u.value]},p,t),[b.value]):i(V,null,[r.default?.()])}),{}}});export{q as V};
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.