"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components");const s=t=>`
    top: ${t.spacing.s04};
    flex-flow: column nowrap;
  `,r=t=>`
    bottom: ${t.spacing.s04};
    flex-flow: column-reverse nowrap;
  `,n=t=>`
    left: ${t.spacing.s02};
  `,i=()=>`
    left: 50%;
    transform: translateX(-50%);
  `,c=t=>`
    right: ${t.spacing.s02};
  `,a=(t,o)=>{switch(t){case"top":case"bottom":return i();case"top-left":case"bottom-left":return n(o);case"top-right":case"bottom-right":return c(o);default:return"Invalid position!"}},l=(t,o)=>{switch(t){case"top":case"top-left":case"top-right":return s(o);case"bottom":case"bottom-left":case"bottom-right":return r(o);default:return"Invalid position!"}},u=(t,o)=>e.css`
    ${l(t,o)}
    ${a(t,o)}
  `;exports.getToastPosition=u;
