"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("styled-components"),e=require("../../utils/index.js"),s=require("../../icons/Close.js");function d(t){return t&&t.__esModule?t:{default:t}}var i=d(o);const l=(t="right",a=!1,r=!1,n="25%")=>a&&r?t==="right"?o.css`
        width: ${n};
        right: 0;
        bottom: 0;
      `:o.css`
      width: ${n};
      left: 0;
      bottom: 0;
    `:t==="right"?o.css`
      top: 0;
      right: 0;
      transform: translateX(${r?"0":"100%"});
    `:o.css`
    top: 0;
    left: -${n};
    transform: translateX(${r?"100%":"0"});
  `,f=i.default.div.withConfig({shouldForwardProp:e.convertToTransientProps(["isOpen","fixed","orientation","width"])})`
  height: 100vh;
  background: ${e.getColorAlias("containerDefault")};
  color: ${e.getColorAlias("contentDefault")};
  position: fixed;
  z-index: 1200;
  width: ${t=>t.width};
  ${t=>l(t.orientation,t.fixed,t.isOpen,t.width)}
  transition: ${({theme:t})=>`all ${t.motion.speed.defaultS} ${t.motion.easing.easeDefault}`};
  box-shadow: ${t=>t.theme.elevation.e2};
  font-family: ${t=>t.theme.font.familyPrimary};
  font-size: ${e.getFontSize("size16")};
`,u=i.default.div.withConfig({shouldForwardProp:e.convertToTransientProps(["customContent"])})`
  ${t=>t.customContent?o.css`
          padding: ${e.getSpacing("s00","s00")};
        `:o.css`
          padding: ${e.getSpacing("s00","s04")};
        `};
`,c=i.default.div`
  width: 100%;
  height: 80px;
  font-family: ${t=>t.theme.font.familyPrimary};
  font-weight: ${t=>t.theme.font.weightBold};
  display: flex;
  justify-content: space-between;
  align-items: center;
`,h=i.default.div``,p=i.default.div`
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: ${e.getColorAlias("backgroundDark")};
  opacity: 0.5;
  z-index: 100;
  top: 0;
  right: 0;
`,g=i.default(s.default)`
  fill: ${e.getColorAlias("contentDefault")};
  cursor: pointer;
  padding-bottom: 4px;
  width: 25px;
  height: 25px;
`;exports.BackDrop=p;exports.CloseButton=g;exports.HeaderWrapper=c;exports.SideSheetContainer=f;exports.SideSheetContentWrapper=u;exports.TitleWrapper=h;
