@kelvininc/ui-components
Version:
Kelvin UI Components
1 lines • 511 B
JavaScript
import{D as o}from"./p-B4OowdnI.js";import{i as r}from"./p-DjSNdVAB.js";const n=()=>{if("undefined"!=typeof window){const o=window.KvUiComponents;if(!r(o)&&!r(o.config))return o.config}return o},t=o=>{var r;if(0===o.length)return;const[n,...i]=o;return e(n)?n:null!==(r=t(Array.from(n.childNodes)))&&void 0!==r?r:t(i)},e=o=>!i(o)&&!s(o)&&"ellipsis"===a(o,"text-overflow"),i=o=>"#text"===o.nodeName,s=o=>"#comment"===o.nodeName,a=(o,r)=>window.getComputedStyle(o,null).getPropertyValue(r);export{a,t as b,n as g}