const m = (e, n) => (window.customElements.get(e) || window.customElements.define(e, n), n), u = (e, n) => {
  const { elements: t, kind: o } = n;
  return {
    elements: t,
    // This callback is called once the class is otherwise fully defined
    finisher(s) {
      window.customElements.get(e) || window.customElements.define(e, s);
    },
    kind: o
  };
}, i = (e) => (n) => typeof n == "function" ? m(e, n) : u(e, n);
export {
  i as c
};
