"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Tips = exports.TextareaWrapper = exports.Textarea = exports.RightBtnGroupWrapper = exports.RightBtn = exports.PreviewBox = exports.MblogActionWrapper = exports.MBlogBox = exports.LeftBtnGroupWrapper = exports.LeftBtn = exports.LabelWrapper = exports.Label = exports.IconSpan = exports.DragEffect = exports.DivMblogContent = exports.BtnPrivate = exports.BtnConfirm = exports.BtnCancel = void 0;

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18;

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var MBlogBox = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  position: relative;\n  flex: 1;\n\n  .uploadFile__preview__list {\n    padding-bottom: 10px;\n    background: #ffffff;\n    display: flex;\n    flex-wrap: wrap;\n    max-height: 300px;\n    overflow-y: auto;\n\n    .preview__content {\n      margin-top: 10px;\n      margin-right: 10px;\n      border-radius: 8px;\n    }\n  }\n"]))); // MblogContent


exports.MBlogBox = MBlogBox;

var DivMblogContent = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n  padding: 8px 10px 6px;\n  border: 1px solid #DFE3EA;\n  border-radius: 12px;\n  background-color: #fff;\n  position: relative;\n  transition: all .2s ease-in-out;\n  height: 120px;\n  box-sizing: border-box;\n\n  &.input_default-active {\n    box-shadow: inset 0px 0px 4px 0px rgba(40, 121, 255, 0.3);\n    border-color: #2879ff;\n  }\n"])));

exports.DivMblogContent = DivMblogContent;

var LabelWrapper = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n  visibility: ", ";\n"])), function (p) {
  return p.visibility;
});

exports.LabelWrapper = LabelWrapper;

var Label = _styledComponents["default"].label(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n  position: absolute;\n  top: 8px;\n  left: 10px;\n  color: #BFC7D5;\n  font-size: 14px;\n  cursor: text;\n"])));

exports.Label = Label;

var TextareaWrapper = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n  min-height: 48px;\n  max-height: 90px;\n  position: relative;\n"])));

exports.TextareaWrapper = TextareaWrapper;

var Textarea = _styledComponents["default"].textarea(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n  width: 100%;\n  padding: 0;\n  border: 0 none;\n  background-color: transparent;\n  color: #3F4755;\n  resize: none;\n  word-break: break-all;\n  word-wrap: break-word;\n  height: 90px;\n  font-size: 14px;\n  line-height: 22px;\n\n  &.textarea-setheight {\n    visibility: hidden;\n    position: absolute;\n  }\n"])));

exports.Textarea = Textarea;

var Tips = _styledComponents["default"].div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n  font-size: 14px;\n  line-height: 22px;\n  color: ", ";\n  text-align: right;\n"])), function (p) {
  return p.color;
}); // MblogAction


exports.Tips = Tips;

var MblogActionWrapper = _styledComponents["default"].div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n  height: 30px;\n  padding: 16px 0 2px 0;\n  font-size: 13px;\n  line-height: 20px;\n  color: #565E66;\n  background-color: #ffffff;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n"]))); // 左侧按钮


exports.MblogActionWrapper = MblogActionWrapper;

var LeftBtnGroupWrapper = _styledComponents["default"].div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n  height: 100%;\n  display: flex;\n  align-items: center;\n"])));

exports.LeftBtnGroupWrapper = LeftBtnGroupWrapper;

var LeftBtn = _styledComponents["default"].div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n  height: 100%;\n  margin-right: 12px;\n  display: flex;\n  align-items: center;\n  white-space: nowrap;\n  cursor: pointer;\n  position: relative;\n\n  &:last-child {\n    margin-right: 0;\n  }\n\n  &:hover {\n    color: #2879FF;\n    cursor: pointer;\n  }\n\n  &.action__tips {\n    position: relative;\n    &:hover {\n      &::before,\n      &::after {\n        opacity: 1;\n        visibility: visible;\n      }\n    }\n\n    &::before,\n    &::after {\n      opacity: 0;\n      visibility: hidden;\n      transition: all .3 ease-in-out;\n      position: absolute;\n      left: 50%;\n      transform: translateX(-50%);\n    }\n\n    &::before {\n      content: '';\n      border: 6px solid;\n      border-color: #3e4e59 transparent transparent;\n      top: -9px;\n    }\n\n    &::after {\n      content: '", "';\n      white-space: nowrap;\n      color: #fff;\n      background: #3e4e59;\n      padding: 4px 10px;\n      border-radius: 4px;\n      top: -37px;\n    }\n  }\n"])), function (p) {
  return p.tips;
});

exports.LeftBtn = LeftBtn;

var IconSpan = _styledComponents["default"].span(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n  margin-right: 4px;\n  position: relative;\n  line-height: 20px;\n  vertical-align: middle;\n"])));

exports.IconSpan = IconSpan;

var RightBtnGroupWrapper = _styledComponents["default"].div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n  height: 100%;\n  display: flex;\n  align-items: center;\n\n  button {\n    min-width: 80px;\n    height: 32px;\n    box-sizing: border-box;\n    border-radius: 18px;\n    border: none;\n  }\n"])));

exports.RightBtnGroupWrapper = RightBtnGroupWrapper;

var RightBtn = _styledComponents["default"].div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n  height: 100%;\n  margin-right: 12px;\n  padding: 0 5px;\n  display: flex;\n  align-items: center;\n  white-space: nowrap;\n  cursor: pointer;\n\n  &:last-child {\n    margin-right: 0;\n  }\n\n  &:hover {\n    color: #2879ff;\n  }\n\n  .checkbox-icon {\n    margin-right: 4px;\n    font-size: 13px;\n    position: relative;\n    /* top: -1px; */\n  }\n  .tu-icon-check-active{\n      color: #2879ff;\n    }\n  .tu-icon-xuan{\n    color: #2879ff;\n  }\n\n  .tu-icon-sort-down {\n    margin-top: 4px;\n  }\n"])));

exports.RightBtn = RightBtn;

var BtnCancel = _styledComponents["default"].button(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n  color: #647481;\n  background-color: #FAFBFC;\n  text-align: center;\n  vertical-align: middle;\n"])));

exports.BtnCancel = BtnCancel;

var BtnConfirm = _styledComponents["default"].button(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n  color: #ffffff;\n  background: #2879FF;\n  white-space: nowrap;\n  border-radius: 18px;\n\n  &.disabled {\n    color: #ffffff;\n    background: #93BCFF;\n    cursor: default;\n  }\n"])));

exports.BtnConfirm = BtnConfirm;

var BtnPrivate = _styledComponents["default"].button(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n  \n  color: #565E66;\n  background: #ffffff;\n  cursor: pointer;\n\n  &.disabled {\n    cursor: not-allowed;\n    .mblog-visiblity-range {\n      color: #A4ACB9;\n    }\n  }\n  .mblog-visiblity-range {\n    display: flex;\n    align-items: center;\n    color: #3F4755;\n    justify-content: flex-end;\n  }\n  .range-cont-icon {\n    font-size: 16px;\n    display: inline-block;\n    transform: scale(0.5);\n  }\n"])));

exports.BtnPrivate = BtnPrivate;

var PreviewBox = _styledComponents["default"].div(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n"])));

exports.PreviewBox = PreviewBox;

var DragEffect = _styledComponents["default"].div(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n  width: 100%;\n  height: 100%;\n  font-size: 65px;\n  border: 2px dashed #859199;\n  border-radius: 4px;\n  color: #667580;\n  background: rgba(250, 251, 252, 1);\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  position: absolute;\n  top: 0;\n  left: 0;\n  opacity: 0.8;\n  z-index: 1010;\n"])));

exports.DragEffect = DragEffect;