"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../../utils/cssinjs/index.js"),r=e=>({normal:{position:"absolute",content:'""',left:0,top:"50%",transform:"translateY(-50%)",width:"3px",height:"14px",backgroundColor:e.colorPrimary,borderRadius:"0px 4px 4px 0px",zIndex:1},admin:{top:"50%",transform:"translateY(-50%)",width:"8px",height:"8px",borderRadius:"50%",borderWidth:"2px",borderStyle:"solid",borderColor:e.colorPrimary,background:"#fff",zIndex:1}}),o=e=>{const{componentCls:t}=e,{admin:i,normal:l}=r(e);return{[t]:{position:"relative",width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInlineStart:e.calc(e.spaceSM).add("3px").equal(),fontSize:e.fontSize,"&::before":l,[`${t}__prefix`]:{fontWeight:"bold",color:e.textColor1,display:"flex",alignItems:"center",".anticon-question-circle":{fontSize:e.fontSizeLG,marginInlineStart:e.spaceXS,color:e.textColor3}},"&--admin":{paddingLeft:e.calc(e.spaceSM).add("8px").equal(),"&::before":i},[`${t}__suffix`]:{color:e.textColor2}}}},a=n.genComponentStyleHook("ApTitle",e=>[o(e)]);exports.default=a;exports.genApTitleStyle=o;exports.genTitlePrefix=r;
