<?php

declare(strict_types=1);

namespace Numinix\SeekmodoWordPress\Elementor\Widgets;

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

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

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

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

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