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