const e=require("../../style/operationUnit.js"),t=require("../../theme/util/genComponentStyleHook.js"),n=require("./mixins.js");var r=t=>{let{componentCls:r,sizeMarginHeadingVerticalStart:i}=t;return{[r]:{color:t.colorText,wordBreak:`break-word`,lineHeight:t.lineHeight,[`&${r}-secondary`]:{color:t.colorTextDescription},[`&${r}-success`]:{color:t.colorSuccess},[`&${r}-warning`]:{color:t.colorWarning},[`&${r}-danger`]:{color:t.colorError,"a&:active, a&:focus":{color:t.colorErrorActive},"a&:hover":{color:t.colorErrorHover}},[`&${r}-disabled`]:{color:t.colorTextDisabled,cursor:`not-allowed`,userSelect:`none`},"\n        div&,\n        p\n      ":{marginBottom:`1em`},...n.getTitleStyles(t),[`
      & + h1${r},
      & + h2${r},
      & + h3${r},
      & + h4${r},
      & + h5${r}
      `]:{marginTop:i},"\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5":{"\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ":{marginTop:i}},...n.getResetStyles(),...n.getLinkStyles(t),[`
        ${r}-expand,
        ${r}-edit,
        ${r}-copy
      `]:{...e.operationUnit(t),marginInlineStart:t.marginXXS},...n.getEditableStyles(t),...n.getCopiableStyles(t),...n.getEllipsisStyles(),"&-rtl":{direction:`rtl`}}}},i=t.default(`Typography`,e=>[r(e)],{sizeMarginHeadingVerticalStart:`1.2em`,sizeMarginHeadingVerticalEnd:`0.5em`});exports.default=i;