"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.styles = void 0;var _taggedTemplateLiteralLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _Emotion = require("../../lib/theming/Emotion");

var _Mixins = require("../../lib/styles/Mixins");var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53;

var styles = exports.styles = (0, _Emotion.memoizeStyle)({
  root: function root() {
    return (0, _Emotion.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteralLoose2.default)(["\n      height: 100%;\n      position: fixed;\n      top: 0;\n    "])));




  },

  overlay: function overlay() {
    return (0, _Emotion.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: fixed;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n    "])));






  },

  body: function body(t) {
    return (0, _Emotion.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteralLoose2.default)(["\n      flex: 1 0 auto;\n      z-index: 0;\n      color: ", ";\n    "])),


    t.modalBodyTextColor);

  },

  mobileBody: function mobileBody() {
    return (0, _Emotion.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: 16px;\n      line-height: 22px;\n    "])));



  },

  container: function container(t) {
    return (0, _Emotion.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-left: ", ";\n      padding-right: ", ";\n    "])),
    t.sidePagePaddingLeft,
    t.sidePagePaddingRight);

  },

  mobileContainer: function mobileContainer(t) {
    return (0, _Emotion.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-left: ", ";\n      padding-right: ", ";\n      padding-bottom: ", ";\n    "])),
    t.mobileSidePagePaddingLeft,
    t.mobileSidePagePaddingRight,
    t.mobileSidePagePaddingBottom);

  },

  containerWithoutHeader: function containerWithoutHeader(t) {
    return (0, _Emotion.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-top: ", ";\n    "])),
    t.sidePagePaddingTop);

  },

  mobileContainerWithoutHeader: function mobileContainerWithoutHeader(t) {
    return (0, _Emotion.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-top: ", ";\n    "])),
    t.mobileSidePagePaddingTop);

  },

  containerWithoutFooter: function containerWithoutFooter(t) {
    return (0, _Emotion.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-bottom: ", ";\n    "])),
    t.sidePagePaddingBottom);

  },

  containerWithPanel: function containerWithPanel(t) {
    return (0, _Emotion.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-bottom: ", ";\n    "])),
    t.sidePagePaddingBottom);

  },

  focusLock: function focusLock() {
    return (0, _Emotion.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteralLoose2.default)(["\n      height: 100%;\n    "])));


  },

  wrapper: function wrapper(t) {
    return (0, _Emotion.css)(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      float: right;\n      height: 100%;\n      width: 100%;\n      overflow-y: auto;\n      position: relative;\n      white-space: normal;\n      align-items: stretch;\n      display: flex;\n      flex-direction: column;\n    "])),
    t.sidePageBgDefault);










  },

  wrapperLeft: function wrapperLeft() {
    return (0, _Emotion.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteralLoose2.default)(["\n      float: left;\n    "])));


  },

  wrapperMarginLeft: function wrapperMarginLeft() {
    return (0, _Emotion.css)(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteralLoose2.default)(["\n      margin-left: 20px;\n    "])));


  },

  wrapperMarginRight: function wrapperMarginRight() {
    return (0, _Emotion.css)(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteralLoose2.default)(["\n      margin-right: 20px;\n    "])));


  },

  headerWrapper: function headerWrapper() {
    return (0, _Emotion.css)(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteralLoose2.default)(["\n      flex: 0 0 auto;\n    "])));


  },

  header: function header(t) {
    return (0, _Emotion.css)(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      width: 100%;\n      position: relative;\n      color: ", ";\n      font-weight: ", ";\n    "])),
    t.sidePageHeaderFontSize,
    t.sidePageHeaderLineHeight,
    t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom,


    t.sidePageHeaderTextColor,
    t.sidePageHeaderFontWeight);

  },

  mobileHeader: function mobileHeader(t) {
    return (0, _Emotion.css)(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n    "])),
    t.mobileSidePageHeaderFontSize,
    t.mobileSidePageHeaderLineHeight,
    t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom);

  },

  headerFixed: function headerFixed(t) {
    return (0, _Emotion.css)(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n\n      &:after {\n        bottom: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "])),
    t.sidePageBgDefault,









    t.sidePageFixedHeaderShadow);


  },

  headerShrink: function headerShrink(t) {
    return (0, _Emotion.css)(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0;\n    "])),
    t.sidePageHeaderFixedFontSize,
    t.sidePageHeaderFixedLineHeight,
    t.sidePageHeaderFixedPaddingY);

  },

  headerNativeStuck: function headerNativeStuck(t) {
    return (0, _Emotion.css)(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: sticky;\n      top: 0;\n      z-index: 16000;\n      background: linear-gradient(to top, transparent ", ", ", " 0px);\n    "])),



    t.sidePageHeaderPaddingBottom, t.sidePageBgDefault);

  },

  title: function title(t) {
    var paddingRight = parseInt(t.sidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);
    return (0, _Emotion.css)(_templateObject22 || (_templateObject22 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "])),
    t.sidePagePaddingLeft,
    paddingRight);

  },

  title5_1: function title5_1(t) {
    var paddingRight =
    parseInt(t.sidePageCloseButtonClickAreaLeft) +
    parseInt(t.sidePageCloseIconSize) +
    parseInt(t.sidePageCloseButtonClickAreaRight);
    return (0, _Emotion.css)(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-right: ", "px;\n    "])),
    paddingRight);

  },

  mobileTitle: function mobileTitle(t) {
    var paddingRight = parseInt(t.mobileSidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);
    return (0, _Emotion.css)(_templateObject24 || (_templateObject24 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "])),
    t.mobileSidePagePaddingLeft,
    paddingRight);

  },

  titleCut: function titleCut() {
    return (0, _Emotion.css)(_templateObject25 || (_templateObject25 = (0, _taggedTemplateLiteralLoose2.default)(["\n      overflow: hidden;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n    "])));




  },

  background: function background() {
    return (0, _Emotion.css)(_templateObject26 || (_templateObject26 = (0, _taggedTemplateLiteralLoose2.default)(["\n      height: 100%;\n      position: absolute;\n      width: 100%;\n    "])));




  },

  backgroundGray: function backgroundGray(t) {
    return (0, _Emotion.css)(_templateObject27 || (_templateObject27 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      opacity: ", ";\n    "])),
    t.sidePageBackingBg,
    t.sidePageBackingBgOpacity);

  },

  shadow: function shadow(t) {
    return (0, _Emotion.css)(_templateObject28 || (_templateObject28 = (0, _taggedTemplateLiteralLoose2.default)(["\n      box-shadow: ", ";\n    "])),
    t.sidePageContainerShadow);

  },

  close: function close(t) {
    return (0, _Emotion.css)(_templateObject29 || (_templateObject29 = (0, _taggedTemplateLiteralLoose2.default)(["\n      ", ";\n      cursor: pointer;\n      color: ", ";\n      padding: ", ";\n      margin: -", ";\n      font-size: 0;\n\n      &:focus,\n      &:hover {\n        color: ", ";\n      }\n\n      & > svg {\n        width: ", ";\n        height: ", ";\n        box-sizing: content-box;\n      }\n    "])),
    (0, _Mixins.resetButton)(),

    t.sidePageCloseButtonColor,
    t.sidePageCloseButtonClickArea,
    t.sidePageCloseButtonClickArea,




    t.sidePageCloseButtonHoverColor,



    t.sidePageCloseIconSize,
    t.sidePageCloseIconSize);



  },

  close5_1: function close5_1(t) {
    return (0, _Emotion.css)(_templateObject30 || (_templateObject30 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-right: ", ";\n      margin-right: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n      padding-left: ", ";\n      margin-left: -", ";\n    "])),
    t.sidePageCloseButtonClickAreaTop,
    t.sidePageCloseButtonClickAreaTop,
    t.sidePageCloseButtonClickAreaRight,
    t.sidePageCloseButtonClickAreaRight,
    t.sidePageCloseButtonClickAreaBottom,
    t.sidePageCloseButtonClickAreaBottom,
    t.sidePageCloseButtonClickAreaLeft,
    t.sidePageCloseButtonClickAreaLeft);

  },

  closeSticky: function closeSticky(t) {
    return (0, _Emotion.css)(_templateObject31 || (_templateObject31 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n    "])),
    t.sidePageCloseButtonFixedClickAreaTop,
    t.sidePageCloseButtonFixedClickAreaTop,
    t.sidePageCloseButtonFixedClickAreaBottom,
    t.sidePageCloseButtonFixedClickAreaBottom);

  },

  closeMobile: function closeMobile(t) {
    return (0, _Emotion.css)(_templateObject32 || (_templateObject32 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", ";\n      margin: -", ";\n      font-size: 0;\n    "])),
    t.mobileSidePageCloseButtonClickArea,
    t.mobileSidePageCloseButtonClickArea);


  },

  closeFocus: function closeFocus(t) {
    return (0, _Emotion.css)(_templateObject33 || (_templateObject33 = (0, _taggedTemplateLiteralLoose2.default)(["\n      outline: 2px solid ", ";\n    "])),
    t.borderColorFocus);

  },

  closeFocus5_1: function closeFocus5_1(t) {
    return (0, _Emotion.css)(_templateObject34 || (_templateObject34 = (0, _taggedTemplateLiteralLoose2.default)(["\n      box-shadow: inset 0 0 0 2px ", ";\n      border-radius: 4px;\n    "])),
    t.borderColorFocus);


  },

  wrapperClose: function wrapperClose(t) {
    return (0, _Emotion.css)(_templateObject35 || (_templateObject35 = (0, _taggedTemplateLiteralLoose2.default)(["\n      box-sizing: border-box;\n      height: 100%;\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      position: absolute;\n      right: ", ";\n      top: ", ";\n    "])),


    t.sidePageHeaderLineHeight,
    t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom,

    t.sidePageCloseButtonPadding,
    t.sidePageCloseButtonWrapperOffsetTop);

  },

  wrapperClose5_1: function wrapperClose5_1(t) {
    return (0, _Emotion.css)(_templateObject36 || (_templateObject36 = (0, _taggedTemplateLiteralLoose2.default)(["\n      right: ", ";\n    "])),
    t.sidePageCloseButtonClickAreaRight);

  },

  mobileWrapperClose: function mobileWrapperClose(t) {
    return (0, _Emotion.css)(_templateObject37 || (_templateObject37 = (0, _taggedTemplateLiteralLoose2.default)(["\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      right: ", ";\n    "])),
    t.mobileSidePageHeaderLineHeight,
    t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom,
    t.mobileSidePageCloseButtonRightPadding);

  },

  mobileWrapperClose5_1: function mobileWrapperClose5_1(t) {
    return (0, _Emotion.css)(_templateObject38 || (_templateObject38 = (0, _taggedTemplateLiteralLoose2.default)(["\n      right: ", ";\n    "])),
    t.mobileSidePageCloseButtonPadding);

  },

  panel: function panel(t) {
    return (0, _Emotion.css)(_templateObject39 || (_templateObject39 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      padding: ", " ", " ", "\n        ", ";\n    "])),
    t.sidePageFooterPanelBg,
    t.sidePageFooterPanelPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPanelPaddingBottom,
    t.sidePagePaddingLeft);

  },

  wrapperCloseFixed: function wrapperCloseFixed(t) {
    return (0, _Emotion.css)(_templateObject40 || (_templateObject40 = (0, _taggedTemplateLiteralLoose2.default)(["\n      line-height: ", ";\n      padding: ", " 0;\n    "])),
    t.sidePageHeaderFixedLineHeight,
    t.sidePageHeaderFixedPaddingY);

  },

  wrapperCloseFixed5_1: function wrapperCloseFixed5_1(t) {
    return (0, _Emotion.css)(_templateObject41 || (_templateObject41 = (0, _taggedTemplateLiteralLoose2.default)(["\n      top: ", ";\n    "])),
    t.sidePageCloseButtonWrapperFixedOffsetTop);

  },

  footerWrapper: function footerWrapper() {
    return (0, _Emotion.css)(_templateObject42 || (_templateObject42 = (0, _taggedTemplateLiteralLoose2.default)(["\n      flex: 0 0 auto;\n    "])));


  },

  footer: function footer(t) {
    return (0, _Emotion.css)(_templateObject43 || (_templateObject43 = (0, _taggedTemplateLiteralLoose2.default)(["\n      bottom: 0;\n      position: fixed;\n      z-index: 10;\n      color: ", ";\n    "])),



    t.sidePageFooterTextColor);

  },

  positionStatic: function positionStatic() {
    return (0, _Emotion.css)(_templateObject44 || (_templateObject44 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: static;\n    "])));


  },

  footerContent: function footerContent(t) {
    return (0, _Emotion.css)(_templateObject45 || (_templateObject45 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", " ", " ", "\n        ", ";\n    "])),
    t.sidePageFooterPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPaddingBottom,
    t.sidePagePaddingLeft);

  },

  mobileFooterContent: function mobileFooterContent(t) {
    return (0, _Emotion.css)(_templateObject46 || (_templateObject46 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: flex;\n      flex-flow: column nowrap;\n      padding: ", ";\n    "])),


    t.mobileSidePageFooterPadding);

  },

  footerFixed: function footerFixed(t) {
    return (0, _Emotion.css)(_templateObject47 || (_templateObject47 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n\n      &:before {\n        top: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "])),
    t.sidePageBgDefault,









    t.sidePageFixedFooterShadow);


  },

  panelFixed: function panelFixed(t) {
    return (0, _Emotion.css)(_templateObject48 || (_templateObject48 = (0, _taggedTemplateLiteralLoose2.default)(["\n      &:before {\n        box-shadow: ", ";\n      }\n    "])),

    t.sidePageFixedPanelShadow);


  },

  transitionLeft: function transitionLeft() {
    return (0, _Emotion.css)(_templateObject49 || (_templateObject49 = (0, _taggedTemplateLiteralLoose2.default)(["\n      transform: translateX(100px);\n    "])));


  },

  transitionRight: function transitionRight() {
    return (0, _Emotion.css)(_templateObject50 || (_templateObject50 = (0, _taggedTemplateLiteralLoose2.default)(["\n      transform: translateX(-100px);\n    "])));


  },

  transitionActive: function transitionActive() {
    return (0, _Emotion.css)(_templateObject51 || (_templateObject51 = (0, _taggedTemplateLiteralLoose2.default)(["\n      transition:\n        transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n        opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n      opacity: 1 !important;\n      transform: translate(0, 0) !important;\n    "])));






  },

  transitionLeave: function transitionLeave() {
    return (0, _Emotion.css)(_templateObject52 || (_templateObject52 = (0, _taggedTemplateLiteralLoose2.default)(["\n      opacity: 1;\n    "])));


  },

  transitionLeaveActive: function transitionLeaveActive() {
    return (0, _Emotion.css)(_templateObject53 || (_templateObject53 = (0, _taggedTemplateLiteralLoose2.default)(["\n      opacity: 0.01 !important;\n      transition: opacity 0.15s ease-out;\n    "])));



  }
});