1import{av as b,cr as a,b3 as g,b7 as h,bU as x,aN as C,bZ as d,ae as f,ag as r,cp as k,bb as y}from"./C9Z41gEb.js";function m(t){return b(()=>{const{class:e,style:o}=S(t);return{colorClasses:e,colorStyles:o}})}function H(t){const{colorClasses:e,colorStyles:o}=m(()=>({text:a(t)}));return{textColorClasses:e,textColorStyles:o}}function W(t){const{colorClasses:e,colorStyles:o}=m(()=>({background:a(t)}));return{backgroundColorClasses:e,backgroundColorStyles:o}}function v(t){return{text:typeof t.text=="string"?t.text.replace(/^text-/,""):t.text,background:typeof t.background=="string"?t.background.replace(/^bg-/,""):t.background}}function S(t){const e=v(a(t)),o=[],n={};if(e.background)if(g(e.background)){if(n.backgroundColor=e.background,!e.text&&h(e.background)){const s=x(e.background);if(s.a==null||s.a===1){const i=C(s);n.color=i,n.caretColor=i}}}else o.push(`bg-${e.background}`);return e.text&&(g(e.text)?(n.color=e.text,n.caretColor=e.text):o.push(`text-${e.text}`)),{class:o,style:n}}const p=d({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function w(t){return{dimensionStyles:f(()=>{const o={},n=r(t.height),s=r(t.maxHeight),i=r(t.maxWidth),l=r(t.minHeight),u=r(t.minWidth),c=r(t.width);return n!=null&&(o.height=n),s!=null&&(o.maxHeight=s),i!=null&&(o.maxWidth=i),l!=null&&(o.minHeight=l),u!=null&&(o.minWidth=u),c!=null&&(o.width=c),o})}}const P=d({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function $(t){return{elevationClasses:k(()=>{const o=y(t)?t.value:t.elevation;return o==null?[]:[`elevation-${o}`]})}}export{P as a,m as b,w as c,$ as d,H as e,p as m,W as u};
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.