"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("styled-components"),t=require("../../utils/index.js"),l=require("../Spinner/styles.js");function a(e){return e&&e.__esModule?e:{default:e}}var o=a(r);const s=o.default.h2`
  ${t.getFontSize("size16")};
  margin: ${t.getSpacing("s00","s02","s00","s00")};
  padding: ${t.getSpacing("s00")};
  color: ${t.getColorAlias("contentDefault")};
  font-weight: ${e=>e.theme.font.weightExtrabold};
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
`,d=o.default.span`
  ${t.getFontSize("size14")};
  margin-right: ${t.getSpacing("s02")};
  color: ${t.getColorAlias("contentDefault")};
`,g=o.default.span`
  display: flex;
  ${t.getFontSize("size14")};
  margin-top: ${t.getSpacing("s01")};
  color: ${({messageType:e})=>e==="success"?t.getColorAlias("contentPositive"):t.getColorAlias("contentError")};
  fill: ${({messageType:e})=>e==="success"?t.getColorAlias("contentPositive"):t.getColorAlias("contentError")};

  svg {
    margin-right: ${t.getSpacing("s02")};
    ${t.getFontSize("size16")};
  }
`,c=o.default.div`
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;

  ${l.Loader} {
    margin-right: ${t.getSpacing("s02")};
  }
`,f=o.default.div`
  display: flex;
  align-items: center;
`,p=o.default.span`
  ${t.getFontSize("size14")};
  margin-top: ${t.getSpacing("s01")};
  color: ${t.getColorAlias("contentDefault")};
`,u=o.default.div`
  display: flex;
  justify-content: space-between;
  color: ${t.getColorAlias("contentDefault")};
  ${t.getFontSize("size14")};
  margin-bottom: ${t.getSpacing("s01")};

  span:nth-child(1) {
    font-weight: ${e=>e.theme.font.weightExtrabold};
    margin-right: ${t.getSpacing("s01")};
  }

  span:nth-child(2) {
    text-align: right;
    margin-left: ${t.getSpacing("s01")};
  }
`,$=o.default.div`
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: ${({width:e})=>e||"100%"};
`,h=o.default.div.withConfig({shouldForwardProp:t.convertToTransientProps(["hasFile","shouldDisplayThumbnail"])})`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: ${t.getSpacing("s04")};
  border: ${e=>`1px solid ${t.getColorAlias("borderDefault",e.theme)}`};
  border-radius: ${({theme:{radius:e},hasFile:i,shouldDisplayThumbnail:n})=>`${e.roundedB} ${e.roundedB}
    ${n&&i?e.roundedNone:e.roundedB}
    ${n&&i?e.roundedNone:e.roundedB}`};
`,x=o.default.div`
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  background-color: ${({theme:e})=>e.global.black};
  border-right: ${e=>`1px solid ${t.getColorAlias("borderDefault",e.theme)}`};
  border-left: ${e=>`1px solid ${t.getColorAlias("borderDefault",e.theme)}`};
  border-bottom: ${e=>`1px solid ${t.getColorAlias("borderDefault",e.theme)}`};
  border-radius: ${({theme:{radius:e}})=>`0 0 ${e.roundedB} ${e.roundedB}`};
  max-height: 200px;

  img {
    max-height: 199px;
    max-width: 100%;
    object-fit: contain;
  }
`,m=o.default.div`
  display: flex;
`;exports.ActionButtonsWrapper=m;exports.AssistText=p;exports.FileContainer=x;exports.FileInfo=f;exports.FileInfoContainer=c;exports.Header=u;exports.InfoSubheading=s;exports.MessageBody=g;exports.SizeBody=d;exports.UploaderContainer=$;exports.UploaderWrapper=h;
