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