"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyledLinearLoader = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var moveLineAnimation = function moveLineAnimation(percentage) {
  return (0, _styledComponents.keyframes)(["0%{transform:translateX(", ");}100%{transform:translateX(", ");}"], percentage === "25%" ? "-110%" : percentage === "50%" ? "-70%" : "-55%", percentage === "25%" ? "400%" : percentage === "50%" ? "220%" : "200%");
};
var StyledLinearLoader = exports.StyledLinearLoader = _styledComponents.default.div.withConfig({
  displayName: "Styles__StyledLinearLoader",
  componentId: "sc-x4ge7a-0"
})(["width:100%;height:", "px;position:relative;overflow:hidden;background-color:", ";border-radius:", "px;&::before{content:\"\";position:absolute;top:0;border-radius:", "px;left:0;width:", ";height:100%;background-color:", ";animation:", " ", "s infinite linear;}"], function (props) {
  return props.$height;
}, function (props) {
  return props.$inactiveStrokeColor;
}, function (props) {
  return props.$height;
}, function (props) {
  return props.$height;
}, function (props) {
  return props.$activeColorPercentage;
}, function (props) {
  return props.$activeStrokeColor;
}, function (props) {
  return moveLineAnimation(props.$activeColorPercentage);
}, function (props) {
  return props.$animationDuration;
});
StyledLinearLoader.displayName = "StyledLinearLoader";
//# sourceMappingURL=Styles.js.map