import s from "../shared/genControlHeight.mjs";
import r from "../default/index.mjs";
import c from "./genCompactSizeMapToken.mjs";
import g from "../shared/genFontMapToken.mjs";
const a = (o, t) => {
  const i = t ?? r(o), n = i.fontSizeSM, e = i.controlHeight - 4;
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, i), c(t ?? o)), g(n)), {
    // controlHeight
    controlHeight: e
  }), s(Object.assign(Object.assign({}, i), {
    controlHeight: e
  })));
}, O = a;
export {
  O as default
};
