"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 StyledAccordionBody () {
        return StyledAccordionBody;
    },
    get StyledAccordionBodyAnimate () {
        return StyledAccordionBodyAnimate;
    },
    get StyledAccordionContentLeft () {
        return StyledAccordionContentLeft;
    },
    get StyledAccordionContentRight () {
        return StyledAccordionContentRight;
    },
    get StyledAccordionHeader () {
        return StyledAccordionHeader;
    },
    get StyledAccordionHeaderLeft () {
        return StyledAccordionHeaderLeft;
    },
    get StyledAccordionItem () {
        return StyledAccordionItem;
    },
    get StyledAccordionTitle () {
        return StyledAccordionTitle;
    },
    get StyledArrow () {
        return StyledArrow;
    },
    get StyledMinus () {
        return StyledMinus;
    },
    get StyledPlus () {
        return StyledPlus;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
const _mixins = require("../../../../mixins");
const _Icon = require("../../../_Icon");
const _Accordiontokens = require("../../Accordion.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const StyledAccordionHeader = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionHeader",
    componentId: "sc-95f3f5c2-0"
})([
    `width:100%;border:none;padding:var(`,
    `);display:flex;gap:var(`,
    `);justify-content:space-between;align-items:center;background:none;box-sizing:border-box;cursor:pointer;&:focus{outline:none;}`,
    ``
], _Accordiontokens.tokens.accordionItemPadding, _Accordiontokens.tokens.accordionItemGap, (0, _mixins.addFocus)({
    outlineOffset: '0.125rem',
    outlineSize: '0.125rem',
    outlineRadius: `var(${_Accordiontokens.privateTokens.calculatedBorderRadius})`,
    outlineColor: `var(${_Accordiontokens.tokens.accordionItemFocus})`
}));
const StyledAccordionHeaderLeft = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionHeaderLeft",
    componentId: "sc-95f3f5c2-1"
})([
    `display:flex;gap:var(`,
    `,var(`,
    `));justify-content:space-between;align-items:center;`
], _Accordiontokens.tokens.accordionItemHeaderLeftGap, _Accordiontokens.tokens.accordionItemGap);
const StyledAccordionContentRight = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionContentRight",
    componentId: "sc-95f3f5c2-2"
})([
    `transition:0.2s;transform:rotate(90deg);&.`,
    `{transition:0.2s;transform:rotate(0deg);}`
], _Accordiontokens.classes.accordionItemShowBody);
const StyledAccordionContentLeft = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionContentLeft",
    componentId: "sc-95f3f5c2-3"
})([
    `transition:0.2s;display:flex;align-items:center;&.`,
    `{transition:0.2s;transform:rotate(180deg);}`
], _Accordiontokens.classes.accordionItemShowBody);
const StyledAccordionTitle = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionTitle",
    componentId: "sc-95f3f5c2-4"
})([
    `color:var(`,
    `);font-family:var(`,
    `);font-size:var(`,
    `);font-weight:var(`,
    `);font-style:var(`,
    `);letter-spacing:var(`,
    `);line-height:var(`,
    `);text-align:left;`
], _Accordiontokens.tokens.accordionItemTitleColor, _Accordiontokens.tokens.accordionItemTitleFontFamily, _Accordiontokens.tokens.accordionItemTitleFontSize, _Accordiontokens.tokens.accordionItemTitleFontWeight, _Accordiontokens.tokens.accordionItemTitleFontStyle, _Accordiontokens.tokens.accordionItemTitleLetterSpacing, _Accordiontokens.tokens.accordionItemTitleLineHeight);
const StyledAccordionBodyAnimate = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionBodyAnimate",
    componentId: "sc-95f3f5c2-5"
})([
    `display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.2s ease-out;overflow:hidden;&.`,
    `{grid-template-rows:1fr;padding-bottom:var(`,
    `,var(`,
    `));&.`,
    `{transition:0.2s;transform:rotate(0deg);}}`
], _Accordiontokens.classes.accordionItemShowBody, _Accordiontokens.tokens.accordionItemBodyPaddingBottom, _Accordiontokens.tokens.accordionItemPaddingVertical, _Accordiontokens.classes.accordionPlusAnimationElement);
const StyledAccordionBody = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionBody",
    componentId: "sc-95f3f5c2-6"
})([
    `color:var(`,
    `);font-family:var(`,
    `);font-size:var(`,
    `);font-weight:var(`,
    `);font-style:var(`,
    `);letter-spacing:var(`,
    `);line-height:var(`,
    `);overflow:hidden;padding-right:var(`,
    `);padding-left:var(`,
    `);text-align:left;`
], _Accordiontokens.tokens.accordionItemTextColor, _Accordiontokens.tokens.accordionItemTextFontFamily, _Accordiontokens.tokens.accordionItemTextFontSize, _Accordiontokens.tokens.accordionItemTextFontWeight, _Accordiontokens.tokens.accordionItemTextFontStyle, _Accordiontokens.tokens.accordionItemTextLetterSpacing, _Accordiontokens.tokens.accordionItemTextLineHeight, _Accordiontokens.tokens.accordionItemPaddingHorizontal, _Accordiontokens.tokens.accordionItemPaddingHorizontalLeft);
const StyledArrow = (0, _styledcomponents.default)(_Icon.IconChevronDownFill).withConfig({
    displayName: "AccordionItem.styles__StyledArrow",
    componentId: "sc-95f3f5c2-7"
})([
    `pointer-events:none;user-select:none;color:var(`,
    `);`
], _Accordiontokens.tokens.accordionItemIconColor);
const StyledMinus = (0, _styledcomponents.default)(_Icon.IconMinus).withConfig({
    displayName: "AccordionItem.styles__StyledMinus",
    componentId: "sc-95f3f5c2-8"
})([
    `pointer-events:none;user-select:none;color:var(`,
    `);display:flex;align-items:center;position:absolute;top:0;left:0;&.`,
    `{transition:0.2s;transform:rotate(90deg);}&.`,
    `{transition:0.2s;transform:rotate(0deg);color:var(`,
    `,var(`,
    `));}`
], _Accordiontokens.tokens.accordionItemIconColor, _Accordiontokens.classes.accordionPlusAnimationElement, _Accordiontokens.classes.accordionItemShowBody, _Accordiontokens.tokens.accordionItemOpenedTitleColor, _Accordiontokens.tokens.accordionItemIconColor);
const StyledPlus = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledPlus",
    componentId: "sc-95f3f5c2-9"
})([
    `position:relative;display:flex;align-items:center;justify-content:center;width:var(`,
    `,1rem);height:var(`,
    `,1rem);`
], _Accordiontokens.tokens.accordionItemIconSize, _Accordiontokens.tokens.accordionItemIconSize);
const StyledAccordionItem = _styledcomponents.default.div.withConfig({
    displayName: "AccordionItem.styles__StyledAccordionItem",
    componentId: "sc-95f3f5c2-10"
})([
    `background:var(`,
    `);border:var(`,
    `);border-bottom:var(`,
    `);box-shadow:var(`,
    `);&:last-child{border-bottom:var(`,
    `);}&.`,
    `{opacity:0.4;cursor:not-allowed;}&:hover:not(.`,
    `){background:var(`,
    `,var(`,
    `));}&.`,
    `{background:var(`,
    `,var(`,
    `));`,
    `{color:var(`,
    `,var(`,
    `));}`,
    `{color:var(`,
    `,var(`,
    `));}}`
], _Accordiontokens.tokens.accordionItemBackground, _Accordiontokens.tokens.accordionItemBorder, _Accordiontokens.tokens.accordionItemBorderBottom, _Accordiontokens.tokens.accordionItemShadow, _Accordiontokens.tokens.accordionItemBorder, _Accordiontokens.classes.accordionDisabled, _Accordiontokens.classes.accordionItemOpened, _Accordiontokens.tokens.accordionItemBackgroundHover, _Accordiontokens.tokens.accordionItemBackground, _Accordiontokens.classes.accordionItemOpened, _Accordiontokens.tokens.accordionItemOpenedBackground, _Accordiontokens.tokens.accordionItemBackground, StyledArrow, _Accordiontokens.tokens.accordionItemOpenedTitleColor, _Accordiontokens.tokens.accordionItemIconColor, StyledAccordionTitle, _Accordiontokens.tokens.accordionItemOpenedTitleColor, _Accordiontokens.tokens.accordionItemTitleColor);
