/* stylelint-disable */ // TODO:
"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 CardBody1 () {
        return CardBody1;
    },
    get CardBody2 () {
        return CardBody2;
    },
    get CardFootnote1 () {
        return CardFootnote1;
    },
    get CardFootnote2 () {
        return CardFootnote2;
    },
    get CardHeadline1 () {
        return CardHeadline1;
    },
    get CardHeadline2 () {
        return CardHeadline2;
    },
    get CardHeadline3 () {
        return CardHeadline3;
    },
    get CardParagraph1 () {
        return CardParagraph1;
    },
    get CardParagraph2 () {
        return CardParagraph2;
    }
});
var _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
var _tokens = require("../../tokens");
var _Typography = require("../Typography");
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;
}
var views = {
    primary: _tokens.primary,
    secondary: _tokens.secondary,
    tertiary: _tokens.tertiary
};
var linesMixin = function linesMixin(param) {
    var _param_lines = param.lines, lines = _param_lines === void 0 ? 2 : _param_lines;
    return (0, _styledcomponents.css)([
        "display:-webkit-box;overflow:hidden;box-sizing:border-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:",
        ";"
    ], lines);
};
var viewMixin = function viewMixin(param) {
    var _param_view = param.view, view = _param_view === void 0 ? 'primary' : _param_view;
    return (0, _styledcomponents.css)([
        "transition:",
        ";color:",
        ";"
    ], function(param) {
        var theme = param.theme;
        return theme.lowPerformance ? 'unset' : 'color 0.1s ease-in-out';
    }, views[view]);
};
var CardHeadline1 = (0, _styledcomponents.default)(_Typography.Headline1).withConfig({
    displayName: "CardTypography__CardHeadline1",
    componentId: "sc-ebd1f68e-0"
})([
    "",
    ";"
], viewMixin);
var CardHeadline2 = (0, _styledcomponents.default)(_Typography.Headline2).withConfig({
    displayName: "CardTypography__CardHeadline2",
    componentId: "sc-ebd1f68e-1"
})([
    "",
    ";"
], viewMixin);
var CardHeadline3 = (0, _styledcomponents.default)(_Typography.Headline3).withConfig({
    displayName: "CardTypography__CardHeadline3",
    componentId: "sc-ebd1f68e-2"
})([
    "",
    ";"
], viewMixin);
var CardFootnote1 = (0, _styledcomponents.default)(_Typography.Footnote1).withConfig({
    displayName: "CardTypography__CardFootnote1",
    componentId: "sc-ebd1f68e-3"
})([
    "",
    ";"
], viewMixin);
var CardFootnote2 = (0, _styledcomponents.default)(_Typography.Footnote2).withConfig({
    displayName: "CardTypography__CardFootnote2",
    componentId: "sc-ebd1f68e-4"
})([
    "",
    ";"
], viewMixin);
var CardBody1 = (0, _styledcomponents.default)(_Typography.Body1).withConfig({
    displayName: "CardTypography__CardBody1",
    componentId: "sc-ebd1f68e-5"
})([
    "",
    ";",
    ";"
], linesMixin, viewMixin);
var CardBody2 = (0, _styledcomponents.default)(_Typography.Body2).withConfig({
    displayName: "CardTypography__CardBody2",
    componentId: "sc-ebd1f68e-6"
})([
    "",
    ";",
    ";"
], linesMixin, viewMixin);
var CardParagraph1 = (0, _styledcomponents.default)(_Typography.ParagraphText1).withConfig({
    displayName: "CardTypography__CardParagraph1",
    componentId: "sc-ebd1f68e-7"
})([
    "",
    ";",
    ";"
], linesMixin, viewMixin);
var CardParagraph2 = (0, _styledcomponents.default)(_Typography.ParagraphText2).withConfig({
    displayName: "CardTypography__CardParagraph2",
    componentId: "sc-ebd1f68e-8"
})([
    "",
    ";",
    ";"
], linesMixin, viewMixin);
