import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import Button from './Button.js';
import ChipCloudChip from './ChipCloudChip.js';
export default class ChipCloud extends YTNode {
    static type = 'ChipCloud';
    chips;
    next_button;
    previous_button;
    horizontal_scrollable;
    constructor(data) {
        super();
        this.chips = Parser.parseArray(data.chips, ChipCloudChip);
        this.next_button = Parser.parseItem(data.nextButton, Button);
        this.previous_button = Parser.parseItem(data.previousButton, Button);
        this.horizontal_scrollable = data.horizontalScrollable;
    }
}
//# sourceMappingURL=ChipCloud.js.map