// #region Imports
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { DomServiceLocator } from '../../../../Dom/Dom';
import { Component } from '../../../Decorators/ComponentDecorator';
import { SelectorItemElement } from '../Abstracts/Selector/SelectorItemElement';
import { Carousel2Element } from './Carousel2Element';
import { carouselitem2ElementTemplate } from './CarouselItem2ElementTemplate';
import { carouselItem2ElementJoyStyle } from './Themes/CarouselItem2Element.Joy';
import { carouselItem2ElementMemphisStyle } from './Themes/CarouselItem2Element.Memphis';
import { carouselItem2ElementCosmopolitanStyle } from './Themes/CarouselItem2Element.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * Carousel Item 2 - An individual slide or content panel within a Carousel 2 component.
 *
 * @description
 * The Carousel Item 2 component represents a single slide or content panel within a Carousel 2
 * slideshow. It serves as a container for any type of content including images, text, cards,
 * or complex layouts. Each item is managed by its parent carousel for positioning, visibility,
 * and navigation. The component automatically inherits accessibility attributes like aria-hidden
 * and aria-label from the parent carousel.
 *
 * @name Carousel Item 2
 * @element mosaik-carousel-item-2
 * @category Selectors
 *
 * @slot - The default slot for the carousel item content
 *
 * @dependency {Carousel2Element} - Parent carousel component (accessed via parent property)
 *
 * @fires connected {ConnectedEvent} - Fired when the carousel item is connected to the DOM
 * @fires changed {PropertyChangedEvent} - Fired when carousel item properties change
 *
 * @example
 * Basic carousel item with image:
 * ```html
 * <mosaik-carousel-item-2>
 *   <img src="slide1.jpg" alt="Slide 1" />
 * </mosaik-carousel-item-2>
 * ```
 *
 * @example
 * Carousel item with card content:
 * ```html
 * <mosaik-carousel-item-2>
 *   <mosaik-card>
 *     <h3>Product Title</h3>
 *     <p>Product description goes here.</p>
 *   </mosaik-card>
 * </mosaik-carousel-item-2>
 * ```
 *
 * @public
 */
let CarouselItem2Element = class CarouselItem2Element extends Themeable(SelectorItemElement) {
    // #region Fields
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @override
     * @readonly
     */
    static get is() {
        return 'mosaik-carousel-item-2';
    }
    /**
     * Get the item parent.
     *
     * @protected
     * @readonly
     */
    get parent() {
        return DomServiceLocator.current.findAncestor(this, Carousel2Element.is, { strict: true });
    }
};
CarouselItem2Element = __decorate([
    Component({
        selector: 'mosaik-carousel-item-2',
        template: carouselitem2ElementTemplate,
        themes: {
            joy: carouselItem2ElementJoyStyle,
            memphis: carouselItem2ElementMemphisStyle,
            cosmopolitan: carouselItem2ElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], CarouselItem2Element);
export { CarouselItem2Element };
//# sourceMappingURL=CarouselItem2Element.js.map