import"../../theme/internal.mjs";import n from"../../theme/util/genComponentStyleHook.mjs";import{merge as a}from"../../theme/util/statistic.mjs";const l=t=>{const{componentCls:e,margin:m,marginXS:g,marginXL:i,fontSize:o,lineHeight:r}=t;return{[e]:{marginInline:g,fontSize:o,lineHeight:r,textAlign:"center",[`${e}-image`]:{height:t.emptyImgHeight,marginBottom:g,opacity:t.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${e}-footer`]:{marginTop:m},"&-normal":{marginBlock:i,color:t.colorTextDisabled,[`${e}-image`]:{height:t.emptyImgHeightMD}},"&-small":{marginBlock:g,color:t.colorTextDisabled,[`${e}-image`]:{height:t.emptyImgHeightSM}}}}},y=n("Empty",t=>{const{componentCls:e,controlHeightLG:m}=t,g=a(t,{emptyImgCls:`${e}-img`,emptyImgHeight:m*2.5,emptyImgHeightMD:m,emptyImgHeightSM:m*.875});return[l(g)]});export{y as default};
