<?php
/**
 * OrokuBlocks Item Review - Elementor Widget
 * 
 * @package OrokuBlocks
 * @author OrokuBlocks (https://orokublocks.com/)
 * 
 * @since 1.0.0
 * 
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

if ( ! class_exists( 'OrokuBlocks_ItemReview_Elementor_Widget' ) ) {
  class OrokuBlocks_ItemReview_Elementor_Widget extends OrokuBlocks_Elementor_Widget {
    /**
     * Widget constructor
     * 
     * @since 1.0.0
     */
    public function __construct( $data = [], $args = null ) {
      parent::__construct( $data, $args );

      $this->widget_id = 'item_review';
      $this->addKeywords( [ 'item', 'review' ] );
      $this->addScriptDependencies( [ 'orokublocks-widget-main-scripts' ] );
      $this->registerScripts();
    }
  }
}