     flex-direction: column;
            font-family: ${y.SVJ};
            font-size: ${y.sNp};
            line-height: ${y.vgC};
            color: ${y.CHi};
            border-top: calc(${y.Han} * 1px) solid ${y.dtw};
        }
    `});var k=i(58952);var w=i(56201),D=i(40082),C=i(87839),S=i(2658);const O=h.compose({baseName:"accordion-item",template:(e,t)=>v.d`
    <template class="${e=>e.expanded?"expanded":""}">
        <div
            class="heading"
            part="heading"
            role="heading"
            aria-level="${e=>e.headinglevel}"
        >
            <button
                class="button"
                part="button"
                ${(0,k.i)("expandbutton")}
                aria-expanded="${e=>e.expanded}"
                aria-controls="${e=>e.id}-panel"
                id="${e=>e.id}"
                @click="${(e,t)=>e.clickHandler(t.event)}"
            >
                <span class="heading-content" part="heading-content">
                    <slot name="heading"></slot>
                </span>
            </button>
            ${(0,c.m9)(e,t)}
            ${(0,c.LC)(e,t)}
            <span class="icon" part="icon" aria-hidden="true">
                <slot name="expanded-icon" part="expanded-icon">
                    ${t.expandedIcon||""}
                </slot>
                <slot name="collapsed-icon" part="collapsed-icon">
                    ${t.collapsedIcon||""}
                </slot>
            <span>
        </div>
        <div
            class="region"
            part="region"
            id="${e=>e.id}-panel"
            role="region"
            aria-labelledby="${e=>e.id}"
        >
            <slot></slot>
        </div>
    </template>
`,styles:(e,t)=>m.i`
        ${(0,x.j)("flex")} :host {
            box-sizing: border-box;
            font-family: ${y.SVJ};
            flex-direction: column;
            font-size: ${y.sNp};
            line-height: ${y.vgC};
            border-bottom: calc(${y.Han} * 1px) solid ${y.dtw};
        }

        .region {
            display: none;
            padding: calc((6 + (${y._5n} * 2 * ${y.hVk})) * 1px);
        }

        .heading {
            display: grid;
            position: relative;
            grid-template-columns: auto 1fr auto calc(${S.i} * 1px);
            z-index: 2;
        }

        .button {
            appearance: none;
            border: none;
            background: none;
            grid-column: 2;
            grid-row: 1;
            outline: none;
            padding: 0 calc((6 + (${y._5n} * 2 * ${y.hVk})) * 1px);
            text-align: left;
            height: calc(${S.i} * 1px);
            color: ${y.CHi};
            cursor: pointer;
            font-family: inherit;
        }

        .button:hover,
        .button:active {
            color: ${y.CHi};
        }

        .button::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            cursor: pointer;
        