"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var styled_components_1 = __importStar(require("@xstyled/styled-components"));
var system_1 = require("@xstyled/system");
var trackStyle = styled_components_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  width: 100%;\n  height: 4px;\n\n  background: ", ";\n\n  cursor: pointer;\n\n  border-top: 1;\n  border-top-color: grays.1;\n  border-right: 2;\n  border-right-color: ", ";\n  border-bottom: 1;\n  border-bottom-color: grays.0;\n  border-left: 2;\n  border-left-color: ", ";\n\n  box-shadow: 0px 1px 0px 0px ", ";\n"], ["\n  width: 100%;\n  height: 4px;\n\n  background: ", ";\n\n  cursor: pointer;\n\n  border-top: 1;\n  border-top-color: grays.1;\n  border-right: 2;\n  border-right-color: ", ";\n  border-bottom: 1;\n  border-bottom-color: grays.0;\n  border-left: 2;\n  border-left-color: ", ";\n\n  box-shadow: 0px 1px 0px 0px ", ";\n"])), system_1.th('colors.black'), system_1.th('colors.white'), system_1.th('colors.white'), system_1.th('colors.white'));
var thumbStyle = styled_components_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  width: 12px;\n  height: 20px;\n\n  background-color: bg;\n\n  cursor: pointer;\n\n  margin-top: -", "px;\n\n  border-top: 1;\n  border-top-color: ", ";\n  border-right: 1;\n  border-right-color: ", ";\n  border-bottom: 1;\n  border-bottom-color: ", ";\n  border-left: 1;\n  border-left-color: ", ";\n\n  box-shadow: inset 0px -1px 0px ", ",\n    inset -1px 0px 0px ", ",\n    inset 0px 1px 0px ", ",\n    inset 1px 0px 0px ", ";\n\n  -webkit-appearance: none;\n"], ["\n  width: 12px;\n  height: 20px;\n\n  background-color: bg;\n\n  cursor: pointer;\n\n  margin-top: -", "px;\n\n  border-top: 1;\n  border-top-color: ", ";\n  border-right: 1;\n  border-right-color: ", ";\n  border-bottom: 1;\n  border-bottom-color: ", ";\n  border-left: 1;\n  border-left-color: ", ";\n\n  box-shadow: inset 0px -1px 0px ", ",\n    inset -1px 0px 0px ", ",\n    inset 0px 1px 0px ", ",\n    inset 1px 0px 0px ", ";\n\n  -webkit-appearance: none;\n"])), system_1.th('space.8'), system_1.th('colors.white'), system_1.th('colors.black'), system_1.th('colors.black'), system_1.th('colors.white'), system_1.th('colors.grays.3'), system_1.th('colors.grays.3'), system_1.th('colors.grays.0'), system_1.th('colors.grays.0'));
var Range = styled_components_1.default.input.attrs({
    type: 'range',
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n  -webkit-appearance: none;\n  width: 100%;\n\n  &:hover,\n  &:focus,\n  &:active {\n    outline: none;\n  }\n\n  &::-webkit-slider-runnable-track {\n    ", "\n  }\n\n  &::-webkit-slider-thumb {\n    ", "\n  }\n\n  &:focus::-webkit-slider-runnable-track {\n    background: ", ";\n  }\n\n  &::-moz-range-track {\n    ", "\n  }\n\n  &::-moz-range-thumb {\n    ", "\n  }\n"], ["\n  -webkit-appearance: none;\n  width: 100%;\n\n  &:hover,\n  &:focus,\n  &:active {\n    outline: none;\n  }\n\n  &::-webkit-slider-runnable-track {\n    ", "\n  }\n\n  &::-webkit-slider-thumb {\n    ", "\n  }\n\n  &:focus::-webkit-slider-runnable-track {\n    background: ", ";\n  }\n\n  &::-moz-range-track {\n    ", "\n  }\n\n  &::-moz-range-thumb {\n    ", "\n  }\n"])), trackStyle, thumbStyle, system_1.th('colors.black'), trackStyle, thumbStyle);
exports.default = Range;
var templateObject_1, templateObject_2, templateObject_3;
//# sourceMappingURL=Range.js.map