import { text as o } from "@universityofmaryland/web-elements-library/atomic";
import { Slots as s, Register as i, Attributes as e } from "@universityofmaryland/web-model-library";
const r = "umd-element-stat", l = {
  stat: s.element.allowed.subHeadline,
  "sub-text": s.element.allowed.text
}, n = (t) => {
  const a = e.isDisplay.block({ element: t });
  return o.stat({
    isThemeDark: e.isTheme.dark({ element: t }),
    isDisplayBlock: a,
    isSizeLarge: a || e.isVisual.sizeLarge({ element: t }),
    hasLine: e.hasDecoration.line({ element: t }) || !1,
    stat: s.text.stat({ element: t }),
    text: s.text.default({ element: t }),
    subText: s.text.subText({ element: t })
  });
}, u = i.webComponent({
  tagName: r,
  slots: l,
  createComponent: n
});
var d = u;
export {
  d
};
//# sourceMappingURL=display-Dt1OomBK.js.map
