const e=require("../../style/index.js"),t=require("../../theme/util/genComponentStyleHook.js"),n=require("../../theme/util/statistic.js");var r=t=>{let{componentCls:n,iconCls:r}=t;return{[n]:{...e.resetComponent(t),color:t.breadcrumbBaseColor,fontSize:t.breadcrumbFontSize,[r]:{fontSize:t.breadcrumbIconFontSize},ol:{display:`flex`,flexWrap:`wrap`,margin:0,padding:0,listStyle:`none`},a:{color:t.breadcrumbLinkColor,transition:`color ${t.motionDurationMid}`,padding:`0 ${t.paddingXXS}px`,borderRadius:t.borderRadiusSM,height:t.lineHeight*t.fontSize,display:`inline-block`,marginInline:-t.marginXXS,"&:hover":{color:t.breadcrumbLinkColorHover,backgroundColor:t.colorBgTextHover},...e.genFocusStyle(t)},"li:last-child":{color:t.breadcrumbLastItemColor,[`& > ${n}-separator`]:{display:`none`}},[`${n}-separator`]:{marginInline:t.breadcrumbSeparatorMargin,color:t.breadcrumbSeparatorColor},[`${n}-link`]:{[`
          > ${r} + span,
          > ${r} + a
        `]:{marginInlineStart:t.marginXXS}},[`${n}-overlay-link`]:{borderRadius:t.borderRadiusSM,height:t.lineHeight*t.fontSize,display:`inline-block`,padding:`0 ${t.paddingXXS}px`,marginInline:-t.marginXXS,[`> ${r}`]:{marginInlineStart:t.marginXXS,fontSize:t.fontSizeIcon},"&:hover":{color:t.breadcrumbLinkColorHover,backgroundColor:t.colorBgTextHover,a:{color:t.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:`transparent`}}},[`&${t.componentCls}-rtl`]:{direction:`rtl`}}}},i=t.default(`Breadcrumb`,e=>[r(n.merge(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription}))]);exports.default=i;