"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get StyledCaption () {
        return StyledCaption;
    },
    get StyledLabel () {
        return StyledLabel;
    },
    get StyledLabelContent () {
        return StyledLabelContent;
    },
    get StyledLabelWrapper () {
        return StyledLabelWrapper;
    },
    get StyledMidRow () {
        return StyledMidRow;
    },
    get StyledProgress () {
        return StyledProgress;
    },
    get StyledTopRow () {
        return StyledTopRow;
    },
    get StyledTrack () {
        return StyledTrack;
    },
    get StyledValue () {
        return StyledValue;
    },
    get base () {
        return base;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
const _Progresstokens = require("./Progress.tokens");
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
const StyledTopRow = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledTopRow",
    componentId: "sc-f0df87bb-0"
})([
    `width:100%;display:flex;justify-content:space-between;align-items:center;`
]);
const StyledMidRow = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledMidRow",
    componentId: "sc-f0df87bb-1"
})([
    `width:100%;display:flex;align-items:center;`
]);
const StyledTrack = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledTrack",
    componentId: "sc-f0df87bb-2"
})([
    `flex:1;position:relative;`
]);
const StyledProgress = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledProgress",
    componentId: "sc-f0df87bb-3"
})([
    `position:absolute;left:0;top:50%;transform:translateY(-50%);width:`,
    `;`
], ({ value })=>`${value}%`);
const StyledLabelWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledLabelWrapper",
    componentId: "sc-f0df87bb-4"
})([
    `display:flex;align-items:center;`
]);
const StyledLabel = _styledcomponents.default.span.withConfig({
    displayName: "Progress.styles__StyledLabel",
    componentId: "sc-f0df87bb-5"
})([
    ``
]);
const StyledLabelContent = _styledcomponents.default.div.withConfig({
    displayName: "Progress.styles__StyledLabelContent",
    componentId: "sc-f0df87bb-6"
})([
    `display:inline-flex;`
]);
const StyledValue = _styledcomponents.default.span.withConfig({
    displayName: "Progress.styles__StyledValue",
    componentId: "sc-f0df87bb-7"
})([
    ``
]);
const StyledCaption = _styledcomponents.default.span.withConfig({
    displayName: "Progress.styles__StyledCaption",
    componentId: "sc-f0df87bb-8"
})([
    ``
]);
const base = (0, _styledcomponents.css)([
    `display:flex;flex-direction:column;&.`,
    ` `,
    `{height:var(`,
    `);}&.`,
    ` `,
    `{height:auto;}&.`,
    ` `,
    `{justify-content:flex-start;}&.`,
    ` `,
    `{justify-content:center;}&.`,
    ` `,
    `{justify-content:flex-end;}`
], _Progresstokens.classes.hasCaption, StyledMidRow, _Progresstokens.tokens.trackHeight, _Progresstokens.classes.labelPlacementLeft, StyledMidRow, _Progresstokens.classes.valueAlignStart, StyledTopRow, _Progresstokens.classes.valueAlignCenter, StyledTopRow, _Progresstokens.classes.valueAlignEnd, StyledTopRow);
