import { jsx as r } from "@emotion/react/jsx-runtime";
import { forwardRef as m } from "react";
import { useFlagsPresent as n, CommonFlags as a } from "@m4l/core";
import { DynamicSortProvider as i } from "./store/DynamicSortContext.js";
import c from "./subcomponents/DynamicSortBase/DynamicSortBase.js";
const h = m(
  (o, s) => {
    const { className: t, ...e } = o;
    return n([
      a.FLAG_DICTIONARY_LOADED
    ]) ? /* @__PURE__ */ r(i, { ...e, ref: s, children: /* @__PURE__ */ r(c, { className: t }) }) : null;
  }
);
export {
  h as DynamicSort
};
