"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("styled-components"),r=require("../../utils/index.js");function a(e){return e===void 0||e<0?null:e===0?"00":e<10?"0"+e:e.toString()}function g(e,n){const i=a(n),s=i?`/${i}`:"";return`${a(e)}${s}`}function d(e,n){return!e&&n?r.getColorAlias("supportError"):r.getColorAlias("interactiveForm")}const c=e=>{switch(e){case"small":return t.css`
        padding: ${r.getSpacing("s02","s04")};
      `;case"medium":return t.css`
        padding: ${r.getSpacing("s03","s04")};
      `;case"large":return t.css`
        padding: ${r.getSpacing("s04")};
      `;default:return t.css`
        padding: ${r.getSpacing("s03","s04")};
      `}},o=e=>{switch(e){case"small":return t.css`
        padding: ${r.getSpacing("s02","s04")};
        min-height: 64px;
      `;case"medium":return t.css`
        padding: ${r.getSpacing("s03","s04")};
        min-height: 72px;
      `;case"large":return t.css`
        padding: ${r.getSpacing("s04")};
        min-height: 80px;
      `;default:return t.css`
        padding: ${r.getSpacing("s03","s04")};
        min-height: 72px;
      `}},u=e=>e?"8C999B":"ffffff";exports.formatCharCount=a;exports.getBorderColor=d;exports.getCharacterCount=g;exports.getCheckRadioIconColor=u;exports.getFieldPadding=c;exports.getTextAreaPadding=o;
