import{resetComponent as e}from"../../style/index.mjs";import t from"../../theme/util/genComponentStyleHook.mjs";import{merge as n}from"../../theme/util/statistic.mjs";import r from"../../style/motion/collapse.mjs";import i from"./dragger.mjs";import a from"./list.mjs";import o from"./motion.mjs";import{genPictureCardStyle as s,genPictureStyle as c}from"./picture.mjs";import l from"./rtl.mjs";var u=t=>{let{componentCls:n,colorTextDisabled:r}=t;return{[`${n}-wrapper`]:{...e(t),[n]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${n}-select`]:{display:`inline-block`},[`${n}-disabled`]:{color:r,cursor:`not-allowed`}}}},d=t(`Upload`,e=>{let{fontSizeHeading3:t,fontSize:d,lineHeight:f,lineWidth:p,controlHeightLG:m}=e,h=Math.round(d*f),g=n(e,{uploadThumbnailSize:t*2,uploadProgressOffset:h/2+p,uploadPicCardSize:m*2.55});return[u(g),i(g),c(g),s(g),a(g),o(g),l(g),r(g)]});export{d as default};