"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 AccordionInfo () {
        return AccordionInfo;
    },
    get AccordionTypographyTitle () {
        return AccordionTypographyTitle;
    },
    get BreakpointSwitcher () {
        return BreakpointSwitcher;
    },
    get FontFamily () {
        return FontFamily;
    },
    get FontPropsSwitcher () {
        return FontPropsSwitcher;
    },
    get FontWeightSwitcher () {
        return FontWeightSwitcher;
    },
    get StyledAccordionItem () {
        return StyledAccordionItem;
    },
    get StyledSegmentItem () {
        return StyledSegmentItem;
    },
    get TokenInfo () {
        return TokenInfo;
    },
    get TokenInfoWrapper () {
        return TokenInfoWrapper;
    },
    get TokenPropName () {
        return TokenPropName;
    },
    get TokenPropValue () {
        return TokenPropValue;
    },
    get TokenProps () {
        return TokenProps;
    },
    get TokenPropsWrapper () {
        return TokenPropsWrapper;
    },
    get TokenShortName () {
        return TokenShortName;
    },
    get TokenText () {
        return TokenText;
    },
    get TypographyTokensWrapper () {
        return TypographyTokensWrapper;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
const _plasmanewhope = require("@salutejs/plasma-new-hope");
const _Accordion = require("../../Accordion");
const _Segment = require("../../Segment/Segment");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const TypographyTokensWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TypographyTokensWrapper",
    componentId: "sc-93225963-0"
})([
    `width:100%;margin:1.5rem auto auto 2.5rem;`
]);
const FontPropsSwitcher = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__FontPropsSwitcher",
    componentId: "sc-93225963-1"
})([
    `margin:-0.5rem 0 2.5rem;display:flex;justify-content:center;width:100%;position:relative;box-sizing:border-box;`
]);
const FontWeightSwitcher = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__FontWeightSwitcher",
    componentId: "sc-93225963-2"
})([
    `position:absolute;top:0;left:0;`
]);
const BreakpointSwitcher = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__BreakpointSwitcher",
    componentId: "sc-93225963-3"
})([
    `width:fit-content;position:relative;&:before{content:'Экран';position:absolute;top:50%;transform:translate(-100%,-50%);left:-0.75rem;color:var(--text-tertiary);`,
    `;}`
], _plasmanewhope.bodyXS);
const StyledSegmentItem = (0, _styledcomponents.default)(_Segment.SegmentItem).withConfig({
    displayName: "Typography.styles__StyledSegmentItem",
    componentId: "sc-93225963-4"
})([
    ``,
    `:1.75rem;`,
    `:0.375rem 0.5rem;`
], _plasmanewhope.segmentTokens.itemHeight, _plasmanewhope.segmentTokens.itemPilledPadding);
const AccordionTypographyTitle = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__AccordionTypographyTitle",
    componentId: "sc-93225963-5"
})([
    `color:var(--text-secondary);`,
    `;`
], _plasmanewhope.bodyM);
const FontFamily = _styledcomponents.default.span.withConfig({
    displayName: "Typography.styles__FontFamily",
    componentId: "sc-93225963-6"
})([
    `color:var(--text-tertiary);`
]);
const AccordionInfo = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__AccordionInfo",
    componentId: "sc-93225963-7"
})([
    `display:grid;grid-template-columns:16.75rem 35.75rem;grid-column-gap:1.5rem;max-width:55.5rem;`
]);
const StyledAccordionItem = (0, _styledcomponents.default)(_Accordion.AccordionItem).withConfig({
    displayName: "Typography.styles__StyledAccordionItem",
    componentId: "sc-93225963-8"
})([
    `--plasma-accordion-item-padding:0;--plasma-accordion-item-padding-vertical:0;border-bottom:unset;.accordion-item-body{margin-bottom:2rem;padding-top:0.125rem;transition:margin-bottom 0.2s,padding-top 0.2s;}[aria-expanded]{margin-bottom:1rem;}[aria-expanded='false']{margin-bottom:1.125rem;`,
    `{opacity:0;}}[aria-expanded='false'] + div > .accordion-item-body{margin:0;padding:0;}`
], AccordionInfo);
const TokenInfoWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenInfoWrapper",
    componentId: "sc-93225963-9"
})([
    `display:flex;flex-direction:column;gap:2rem;`
]);
const TokenShortName = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenShortName",
    componentId: "sc-93225963-10"
})([
    `cursor:copy;color:var(--text-paragraph);`,
    `;&:hover{color:var(--text-paragraph-hover);}&:active{color:var(--text-paragraph-active);}`
], _plasmanewhope.bodyM);
const TokenInfo = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenInfo",
    componentId: "sc-93225963-11"
})([
    `display:flex;flex-direction:column;gap:1rem;`
]);
const TokenText = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenText",
    componentId: "sc-93225963-12"
})([
    `color:var(--text-primary);font-size:`,
    `;font-weight:`,
    `;line-height:`,
    `;letter-spacing:`,
    `;font-style:`,
    `;white-space:`,
    `;`
], ({ fontSize })=>fontSize, ({ fontWeight })=>fontWeight, ({ lineHeight })=>lineHeight, ({ letterSpacing })=>letterSpacing, ({ fontStyle })=>fontStyle, ({ isDisplay })=>isDisplay ? 'nowrap' : 'normal');
const TokenPropValue = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenPropValue",
    componentId: "sc-93225963-13"
})([
    `color:var(--text-paragraph);`
]);
const TokenPropName = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenPropName",
    componentId: "sc-93225963-14"
})([
    `color:var(--text-tertiary);`
]);
const TokenPropsWrapper = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenPropsWrapper",
    componentId: "sc-93225963-15"
})([
    `cursor:copy;width:fit-content;display:flex;flex-direction:column;gap:0.5rem;`,
    `;&:hover{`,
    `{color:var(--text-paragraph-hover);}}&:active{`,
    `{color:var(--text-paragraph-active);}`,
    `{color:var(--text-tertiary-active);}}`
], _plasmanewhope.bodyXS, TokenPropValue, TokenPropValue, TokenPropName);
const TokenProps = _styledcomponents.default.div.withConfig({
    displayName: "Typography.styles__TokenProps",
    componentId: "sc-93225963-16"
})([
    `display:flex;gap:1rem;`
]);
