<?php

declare(strict_types=1);

namespace Numinix\SeekmodoWordPress\Elementor\Widgets;

if (!class_exists(\Elementor\Widget_Base::class)) {
    return;
}

final class ChatWidget extends AbstractSeekmodoWidget
{
    public function get_name()
    {
        return 'seekmodo-chat';
    }

    public function get_title()
    {
        return function_exists('esc_html__')
            ? esc_html__('Seekmodo Chat', 'seekmodo')
            : 'Seekmodo Chat';
    }

    public function get_icon()
    {
        return 'eicon-comments';
    }

    protected function elementSlug(): string
    {
        return 'chat';
    }
}
