const e=require("../_util/classNames.js"),t=require("../_util/colors.js");function n(n,r){let i=t.isPresetColor(r),a=e.default({[`${n}-${r}`]:r&&i}),o={},s={};return r&&!i&&(o.background=r,s[`--antd-arrow-background-color`]=r),{className:a,overlayStyle:o,arrowStyle:s}}exports.parseColor=n;