<?php

namespace WPTE_PRODUCT_LAYOUT\Includes;

/**
 * Plugin Installation Class
 *
 * @since 1.0.0
 */
class Installation {

	/**
	 * Installation class constructor
	 *
	 * Database
	 *
	 * @since 1.0.0
	 */
	public function __construct() {
		$this->activate();
		$this->product_layout_db();

		$is_data_exists = wpte_get_product_layouts();

		if ( ! $is_data_exists ) {
			$this->insert_first_shortcode();
		}
	}

	/**
	 * After activate Plugin
	 *
	 * @since 1.0.0
	 */
	public function activate() {

		$installed = get_option( 'WPTE_wpl_installed' );

		if ( ! $installed ) {
			update_option( 'WPTE_wpl_installed', time() );
		}

		update_option( 'WPTE_wpl_version', WPTE_WPL_VERSION );

		add_option( 'WPTE_wpl_activation_redirect', true );
	}

	/**
	 * Product Layout DB
	 *
	 * @since 1.0.0
	 */
	public function product_layout_db() {
		global $wpdb;
		$table_name      = $wpdb->prefix . 'wpte_product_layout_style';
		$charset_collate = $wpdb->get_charset_collate();

		$wpte_sql = "CREATE TABLE $table_name (
				id mediumint(5) NOT NULL AUTO_INCREMENT,
				name varchar(50) NOT NULL,
				style_name varchar(40) NOT NULL,
				rawdata longtext,
				stylesheet longtext,
				font_family text,
				PRIMARY KEY  (id)
		) $charset_collate";

		require_once ABSPATH . 'wp-admin/includes/upgrade.php';
		dbDelta( $wpte_sql );
	}

	/**
	 * Rawdata for insert in the table
	 *
	 * @since 1.2.0
	 */
	public function rawdata() {
		return '{"wpte_product_layout_col-lap":"wpte-col-lap-4","wpte_product_layout_col-tab":"wpte-col-tab-2","wpte_product_layout_col-mob":"wpte-col-mob-1","wpte_product_layout_col_gap-lap-choices":"px","wpte_product_layout_col_gap-lap-size":"20","wpte_product_layout_col_gap-tab-choices":"px","wpte_product_layout_col_gap-tab-size":"0","wpte_product_layout_col_gap-mob-choices":"px","wpte_product_layout_col_gap-mob-size":"0","wpte_product_layout_row_gap-lap-choices":"px","wpte_product_layout_row_gap-lap-size":"20","wpte_product_layout_row_gap-tab-choices":"px","wpte_product_layout_row_gap-tab-size":"0","wpte_product_layout_row_gap-mob-choices":"px","wpte_product_layout_row_gap-mob-size":"0","wpte_general_products_show_badge":"yes","wpte_general_products_show_cat":"yes","wpte_general_products_show_title":"yes","wpte_general_products_show_rating":"yes","wpte_general_products_show_image":"yes","wpte_general_products_show_price":"yes","wpte_general_products_show_icons":"yes","wpte_product_layout_product_filter":"recent-products","wpte_product_layout_product_order_by":"ID","wpte_product_layout_product_order":"asc","wpte_product_layout_product_number":"8","wpte_product_layout_cart_icon_switcher":"yes","wpte-product-cart-icon":"wpte-icon icon-cart-7","wpte-product-added-cart-icon":"wpte-icon icon-check-3","wpte-product-grouped-icon":"wpte-icon icon-setting-5","wpte-product-external-icon":"wpte-icon icon-external","wpte-product-variable-icon":"wpte-icon icon-setting-4","wpte_product_layout_cart_icon_tooltip_switcher":"yes","wpte-product-cart-tooltip":"Add to Cart","wpte-product-grouped-tooltip":"Grouped","wpte-product-external-tooltip":"External","wpte-product-variable-tooltip":"Variable","wpte_product_layout_wishlist_icon_switcher":"yes","wpte-product-wishlist-icon":"wpte-icon icon-wishlist-3","wpte-product-wishlist-added-icon":"wpte-icon icon-wishlist-11","wpte_product_layout_wishlist_icon_tooltip_switcher":"yes","wpte-product-wishlist-tooltip":"Wishlist","wpte_product_layout_quickview_icon_switcher":"yes","wpte-product-quickview-icon":"wpte-icon icon-quickview","wpte_product_layout_quickview_icon_tooltip_switcher":"yes","wpte-product-quickview-tooltip":"Quick view","wpte_product_layout_compare_icon_switcher":"yes","wpte-product-compare-icon":"wpte-icon icon-compare-1","wpte-product-compare-added-icon":"wpte-icon icon-compare-6","wpte_product_layout_compare_icon_tooltip_switcher":"yes","wpte-product-compare-tooltip":"Compare","wpte_product_general_body_bg":"","wpte_product_general_body_border-type":"","wpte_product_general_body_border-width-lap-choices":"px","wpte_product_general_body_border-width-lap-top":"","wpte_product_general_body_border-width-lap-right":"","wpte_product_general_body_border-width-lap-bottom":"","wpte_product_general_body_border-width-lap-left":"","wpte_product_general_body_border-width-tab-choices":"px","wpte_product_general_body_border-width-tab-top":"","wpte_product_general_body_border-width-tab-right":"","wpte_product_general_body_border-width-tab-bottom":"","wpte_product_general_body_border-width-tab-left":"","wpte_product_general_body_border-width-mob-choices":"px","wpte_product_general_body_border-width-mob-top":"","wpte_product_general_body_border-width-mob-right":"","wpte_product_general_body_border-width-mob-bottom":"","wpte_product_general_body_border-width-mob-left":"","wpte_product_general_body_border-color":"","wpte_product_general_body_boxshadow-type":"","wpte_product_general_body_boxshadow-horizontal-size":"0","wpte_product_general_body_boxshadow-vertical-size":"0","wpte_product_general_body_boxshadow-blur-size":"0","wpte_product_general_body_boxshadow-spread-size":"0","wpte_product_general_body_boxshadow-color":"#cccccc","wpte_product_general_body_bg_hover":"","wpte_product_general_body_border_hover-type":"","wpte_product_general_body_border_hover-width-lap-choices":"px","wpte_product_general_body_border_hover-width-lap-top":"","wpte_product_general_body_border_hover-width-lap-right":"","wpte_product_general_body_border_hover-width-lap-bottom":"","wpte_product_general_body_border_hover-width-lap-left":"","wpte_product_general_body_border_hover-width-tab-choices":"px","wpte_product_general_body_border_hover-width-tab-top":"","wpte_product_general_body_border_hover-width-tab-right":"","wpte_product_general_body_border_hover-width-tab-bottom":"","wpte_product_general_body_border_hover-width-tab-left":"","wpte_product_general_body_border_hover-width-mob-choices":"px","wpte_product_general_body_border_hover-width-mob-top":"","wpte_product_general_body_border_hover-width-mob-right":"","wpte_product_general_body_border_hover-width-mob-bottom":"","wpte_product_general_body_border_hover-width-mob-left":"","wpte_product_general_body_border_hover-color":"","wpte_product_general_body_boxshadow_hover-type":"","wpte_product_general_body_boxshadow_hover-horizontal-size":"0","wpte_product_general_body_boxshadow_hover-vertical-size":"0","wpte_product_general_body_boxshadow_hover-blur-size":"0","wpte_product_general_body_boxshadow_hover-spread-size":"0","wpte_product_general_body_boxshadow_hover-color":"#cccccc","wpte_product_general_body_border_radius-lap-choices":"px","wpte_product_general_body_border_radius-lap-top":"","wpte_product_general_body_border_radius-lap-right":"","wpte_product_general_body_border_radius-lap-bottom":"","wpte_product_general_body_border_radius-lap-left":"","wpte_product_general_body_border_radius-tab-choices":"px","wpte_product_general_body_border_radius-tab-top":"","wpte_product_general_body_border_radius-tab-right":"","wpte_product_general_body_border_radius-tab-bottom":"","wpte_product_general_body_border_radius-tab-left":"","wpte_product_general_body_border_radius-mob-choices":"px","wpte_product_general_body_border_radius-mob-top":"","wpte_product_general_body_border_radius-mob-right":"","wpte_product_general_body_border_radius-mob-bottom":"","wpte_product_general_body_border_radius-mob-left":"","wpte_product_general_body_padding-lap-choices":"px","wpte_product_general_body_padding-lap-top":"","wpte_product_general_body_padding-lap-right":"","wpte_product_general_body_padding-lap-bottom":"","wpte_product_general_body_padding-lap-left":"","wpte_product_general_body_padding-tab-choices":"px","wpte_product_general_body_padding-tab-top":"","wpte_product_general_body_padding-tab-right":"","wpte_product_general_body_padding-tab-bottom":"","wpte_product_general_body_padding-tab-left":"","wpte_product_general_body_padding-mob-choices":"px","wpte_product_general_body_padding-mob-top":"","wpte_product_general_body_padding-mob-right":"","wpte_product_general_body_padding-mob-bottom":"","wpte_product_general_body_padding-mob-left":"","wpte_product_layout_general_badge_onsale_bg":"","wpte_product_layout_general_badge_onsale_color":"","wpte_product_layout_general_badge_hot_bg":"","wpte_product_layout_general_badge_hot_color":"","wpte_product_layout_general_badge_out_stock_bg":"","wpte_product_layout_general_badge_out_stock_color":"","wpte_product_layout_general_badge_min_width-lap-choices":"px","wpte_product_layout_general_badge_min_width-lap-size":"","wpte_product_layout_general_badge_min_width-tab-choices":"px","wpte_product_layout_general_badge_min_width-tab-size":"","wpte_product_layout_general_badge_min_width-mob-choices":"px","wpte_product_layout_general_badge_min_width-mob-size":"","wpte_product_layout_general_badge_min_height-lap-choices":"px","wpte_product_layout_general_badge_min_height-lap-size":"","wpte_product_layout_general_badge_min_height-tab-choices":"px","wpte_product_layout_general_badge_min_height-tab-size":"","wpte_product_layout_general_badge_min_height-mob-choices":"px","wpte_product_layout_general_badge_min_height-mob-size":"","wpte_product_layout_general_badge_typho-font":"","wpte_product_layout_general_badge_typho-size-lap-choices":"px","wpte_product_layout_general_badge_typho-size-lap-size":"","wpte_product_layout_general_badge_typho-size-tab-choices":"px","wpte_product_layout_general_badge_typho-size-tab-size":"","wpte_product_layout_general_badge_typho-size-mob-choices":"px","wpte_product_layout_general_badge_typho-size-mob-size":"","wpte_product_layout_general_badge_typho-weight":"","wpte_product_layout_general_badge_typho-transform":"","wpte_product_layout_general_badge_typho-style":"","wpte_product_layout_general_badge_typho-decoration":"","wpte_product_layout_general_badge_typho-l-height-lap-choices":"px","wpte_product_layout_general_badge_typho-l-height-lap-size":"","wpte_product_layout_general_badge_typho-l-height-tab-choices":"px","wpte_product_layout_general_badge_typho-l-height-tab-size":"","wpte_product_layout_general_badge_typho-l-height-mob-choices":"px","wpte_product_layout_general_badge_typho-l-height-mob-size":"","wpte_product_layout_general_badge_typho-l-spacing-lap-choices":"px","wpte_product_layout_general_badge_typho-l-spacing-lap-size":"","wpte_product_layout_general_badge_typho-l-spacing-tab-choices":"px","wpte_product_layout_general_badge_typho-l-spacing-tab-size":"","wpte_product_layout_general_badge_typho-l-spacing-mob-choices":"px","wpte_product_layout_general_badge_typho-l-spacing-mob-size":"","wpte_product_layout_general_badge_border-type":"","wpte_product_layout_general_badge_border-width-lap-choices":"px","wpte_product_layout_general_badge_border-width-lap-top":"","wpte_product_layout_general_badge_border-width-lap-right":"","wpte_product_layout_general_badge_border-width-lap-bottom":"","wpte_product_layout_general_badge_border-width-lap-left":"","wpte_product_layout_general_badge_border-width-tab-choices":"px","wpte_product_layout_general_badge_border-width-tab-top":"","wpte_product_layout_general_badge_border-width-tab-right":"","wpte_product_layout_general_badge_border-width-tab-bottom":"","wpte_product_layout_general_badge_border-width-tab-left":"","wpte_product_layout_general_badge_border-width-mob-choices":"px","wpte_product_layout_general_badge_border-width-mob-top":"","wpte_product_layout_general_badge_border-width-mob-right":"","wpte_product_layout_general_badge_border-width-mob-bottom":"","wpte_product_layout_general_badge_border-width-mob-left":"","wpte_product_layout_general_badge_border-color":"","wpte_product_layout_general_badge_border_radius-lap-choices":"px","wpte_product_layout_general_badge_border_radius-lap-top":"","wpte_product_layout_general_badge_border_radius-lap-right":"","wpte_product_layout_general_badge_border_radius-lap-bottom":"","wpte_product_layout_general_badge_border_radius-lap-left":"","wpte_product_layout_general_badge_border_radius-tab-choices":"px","wpte_product_layout_general_badge_border_radius-tab-top":"","wpte_product_layout_general_badge_border_radius-tab-right":"","wpte_product_layout_general_badge_border_radius-tab-bottom":"","wpte_product_layout_general_badge_border_radius-tab-left":"","wpte_product_layout_general_badge_border_radius-mob-choices":"px","wpte_product_layout_general_badge_border_radius-mob-top":"","wpte_product_layout_general_badge_border_radius-mob-right":"","wpte_product_layout_general_badge_border_radius-mob-bottom":"","wpte_product_layout_general_badge_border_radius-mob-left":"","wpte_product_layout_general_badge_space-lap-choices":"px","wpte_product_layout_general_badge_space-lap-size":"","wpte_product_layout_general_badge_space-tab-choices":"px","wpte_product_layout_general_badge_space-tab-size":"","wpte_product_layout_general_badge_space-mob-choices":"px","wpte_product_layout_general_badge_space-mob-size":"","wpte_product_layout_general_badge_padding-lap-choices":"px","wpte_product_layout_general_badge_padding-lap-top":"","wpte_product_layout_general_badge_padding-lap-right":"","wpte_product_layout_general_badge_padding-lap-bottom":"","wpte_product_layout_general_badge_padding-lap-left":"","wpte_product_layout_general_badge_padding-tab-choices":"px","wpte_product_layout_general_badge_padding-tab-top":"","wpte_product_layout_general_badge_padding-tab-right":"","wpte_product_layout_general_badge_padding-tab-bottom":"","wpte_product_layout_general_badge_padding-tab-left":"","wpte_product_layout_general_badge_padding-mob-choices":"px","wpte_product_layout_general_badge_padding-mob-top":"","wpte_product_layout_general_badge_padding-mob-right":"","wpte_product_layout_general_badge_padding-mob-bottom":"","wpte_product_layout_general_badge_padding-mob-left":"","wpte_product_layout_general_badge_margin-lap-choices":"px","wpte_product_layout_general_badge_margin-lap-top":"","wpte_product_layout_general_badge_margin-lap-right":"","wpte_product_layout_general_badge_margin-lap-bottom":"","wpte_product_layout_general_badge_margin-lap-left":"","wpte_product_layout_general_badge_margin-tab-choices":"px","wpte_product_layout_general_badge_margin-tab-top":"","wpte_product_layout_general_badge_margin-tab-right":"","wpte_product_layout_general_badge_margin-tab-bottom":"","wpte_product_layout_general_badge_margin-tab-left":"","wpte_product_layout_general_badge_margin-mob-choices":"px","wpte_product_layout_general_badge_margin-mob-top":"","wpte_product_layout_general_badge_margin-mob-right":"","wpte_product_layout_general_badge_margin-mob-bottom":"","wpte_product_layout_general_badge_margin-mob-left":"","wpte-product-general-image-hyperlink":"yes","wpte_product_layout_general_image_size":"woocommerce_single","wpte_product_layout_general_icon_min_width-lap-choices":"px","wpte_product_layout_general_icon_min_width-lap-size":"","wpte_product_layout_general_icon_min_width-tab-choices":"px","wpte_product_layout_general_icon_min_width-tab-size":"","wpte_product_layout_general_icon_min_width-mob-choices":"px","wpte_product_layout_general_icon_min_width-mob-size":"","wpte_product_layout_general_icon_min_height-lap-choices":"px","wpte_product_layout_general_icon_min_height-lap-size":"","wpte_product_layout_general_icon_min_height-tab-choices":"px","wpte_product_layout_general_icon_min_height-tab-size":"","wpte_product_layout_general_icon_min_height-mob-choices":"px","wpte_product_layout_general_icon_min_height-mob-size":"","wpte_product_layout_general_icon_bg":"","wpte_product_layout_general_icon_color":"","wpte_product_layout_general_icon_bg_hover":"","wpte_product_layout_general_icon_hover_color":"","wpte_product_layout_general_icon_size-lap-choices":"px","wpte_product_layout_general_icon_size-lap-size":"","wpte_product_layout_general_icon_size-tab-choices":"px","wpte_product_layout_general_icon_size-tab-size":"","wpte_product_layout_general_icon_size-mob-choices":"px","wpte_product_layout_general_icon_size-mob-size":"","wpte_product_layout_general_icon_gap-lap-choices":"px","wpte_product_layout_general_icon_gap-lap-size":"","wpte_product_layout_general_icon_gap-tab-choices":"px","wpte_product_layout_general_icon_gap-tab-size":"","wpte_product_layout_general_icon_gap-mob-choices":"px","wpte_product_layout_general_icon_gap-mob-size":"","wpte_product_layout_general_icon_boxshadow-type":"","wpte_product_layout_general_icon_boxshadow-horizontal-size":"0","wpte_product_layout_general_icon_boxshadow-vertical-size":"0","wpte_product_layout_general_icon_boxshadow-blur-size":"0","wpte_product_layout_general_icon_boxshadow-spread-size":"0","wpte_product_layout_general_icon_boxshadow-color":"#cccccc","wpte_product_layout_general_icon_border_radius-lap-choices":"px","wpte_product_layout_general_icon_border_radius-lap-top":"","wpte_product_layout_general_icon_border_radius-lap-right":"","wpte_product_layout_general_icon_border_radius-lap-bottom":"","wpte_product_layout_general_icon_border_radius-lap-left":"","wpte_product_layout_general_icon_border_radius-tab-choices":"px","wpte_product_layout_general_icon_border_radius-tab-top":"","wpte_product_layout_general_icon_border_radius-tab-right":"","wpte_product_layout_general_icon_border_radius-tab-bottom":"","wpte_product_layout_general_icon_border_radius-tab-left":"","wpte_product_layout_general_icon_border_radius-mob-choices":"px","wpte_product_layout_general_icon_border_radius-mob-top":"","wpte_product_layout_general_icon_border_radius-mob-right":"","wpte_product_layout_general_icon_border_radius-mob-bottom":"","wpte_product_layout_general_icon_border_radius-mob-left":"","wpte_product_layout_general_icon_margin-lap-choices":"px","wpte_product_layout_general_icon_margin-lap-top":"","wpte_product_layout_general_icon_margin-lap-right":"","wpte_product_layout_general_icon_margin-lap-bottom":"","wpte_product_layout_general_icon_margin-lap-left":"","wpte_product_layout_general_icon_margin-tab-choices":"px","wpte_product_layout_general_icon_margin-tab-top":"","wpte_product_layout_general_icon_margin-tab-right":"","wpte_product_layout_general_icon_margin-tab-bottom":"","wpte_product_layout_general_icon_margin-tab-left":"","wpte_product_layout_general_icon_margin-mob-choices":"px","wpte_product_layout_general_icon_margin-mob-top":"","wpte_product_layout_general_icon_margin-mob-right":"","wpte_product_layout_general_icon_margin-mob-bottom":"","wpte_product_layout_general_icon_margin-mob-left":"","wpte_product_layout_general_tooltip_typho-font":"","wpte_product_layout_general_tooltip_typho-size-lap-choices":"px","wpte_product_layout_general_tooltip_typho-size-lap-size":"","wpte_product_layout_general_tooltip_typho-size-tab-choices":"px","wpte_product_layout_general_tooltip_typho-size-tab-size":"","wpte_product_layout_general_tooltip_typho-size-mob-choices":"px","wpte_product_layout_general_tooltip_typho-size-mob-size":"","wpte_product_layout_general_tooltip_typho-weight":"","wpte_product_layout_general_tooltip_typho-transform":"","wpte_product_layout_general_tooltip_typho-style":"","wpte_product_layout_general_tooltip_typho-decoration":"","wpte_product_layout_general_tooltip_typho-l-height-lap-choices":"px","wpte_product_layout_general_tooltip_typho-l-height-lap-size":"","wpte_product_layout_general_tooltip_typho-l-height-tab-choices":"px","wpte_product_layout_general_tooltip_typho-l-height-tab-size":"","wpte_product_layout_general_tooltip_typho-l-height-mob-choices":"px","wpte_product_layout_general_tooltip_typho-l-height-mob-size":"","wpte_product_layout_general_tooltip_typho-l-spacing-lap-choices":"px","wpte_product_layout_general_tooltip_typho-l-spacing-lap-size":"","wpte_product_layout_general_tooltip_typho-l-spacing-tab-choices":"px","wpte_product_layout_general_tooltip_typho-l-spacing-tab-size":"","wpte_product_layout_general_tooltip_typho-l-spacing-mob-choices":"px","wpte_product_layout_general_tooltip_typho-l-spacing-mob-size":"","wpte_product_layout_general_tooltip_color":"#36b6d9","wpte_product_layout_general_tooltip_indigator_color":"#36b6d9","wpte_product_layout_general_tooltip_bg":"rgba(255,255,255,1.00)","wpte_product_general_tooltip_border-type":"solid","wpte_product_general_tooltip_border-width-lap-choices":"px","wpte_product_general_tooltip_border-width-lap-top":"1","wpte_product_general_tooltip_border-width-lap-right":"1","wpte_product_general_tooltip_border-width-lap-bottom":"1","wpte_product_general_tooltip_border-width-lap-left":"1","wpte_product_general_tooltip_border-width-tab-choices":"px","wpte_product_general_tooltip_border-width-tab-top":"","wpte_product_general_tooltip_border-width-tab-right":"","wpte_product_general_tooltip_border-width-tab-bottom":"","wpte_product_general_tooltip_border-width-tab-left":"","wpte_product_general_tooltip_border-width-mob-choices":"px","wpte_product_general_tooltip_border-width-mob-top":"","wpte_product_general_tooltip_border-width-mob-right":"","wpte_product_general_tooltip_border-width-mob-bottom":"","wpte_product_general_tooltip_border-width-mob-left":"","wpte_product_general_tooltip_border-color":"#36b6d9","wpte_product_general_tooltip_border_radius-choices":"px","wpte_product_general_tooltip_border_radius-top":"","wpte_product_general_tooltip_border_radius-right":"","wpte_product_general_tooltip_border_radius-bottom":"","wpte_product_general_tooltip_border_radius-left":"","wpte_product_general_tooltip_padding-choices":"px","wpte_product_general_tooltip_padding-top":"","wpte_product_general_tooltip_padding-right":"","wpte_product_general_tooltip_padding-bottom":"","wpte_product_general_tooltip_padding-left":"","wpte_product_layout_general_category_typho-font":"","wpte_product_layout_general_category_typho-size-lap-choices":"px","wpte_product_layout_general_category_typho-size-lap-size":"","wpte_product_layout_general_category_typho-size-tab-choices":"px","wpte_product_layout_general_category_typho-size-tab-size":"","wpte_product_layout_general_category_typho-size-mob-choices":"px","wpte_product_layout_general_category_typho-size-mob-size":"","wpte_product_layout_general_category_typho-weight":"","wpte_product_layout_general_category_typho-transform":"","wpte_product_layout_general_category_typho-style":"","wpte_product_layout_general_category_typho-decoration":"","wpte_product_layout_general_category_typho-l-height-lap-choices":"px","wpte_product_layout_general_category_typho-l-height-lap-size":"","wpte_product_layout_general_category_typho-l-height-tab-choices":"px","wpte_product_layout_general_category_typho-l-height-tab-size":"","wpte_product_layout_general_category_typho-l-height-mob-choices":"px","wpte_product_layout_general_category_typho-l-height-mob-size":"","wpte_product_layout_general_category_typho-l-spacing-lap-choices":"px","wpte_product_layout_general_category_typho-l-spacing-lap-size":"","wpte_product_layout_general_category_typho-l-spacing-tab-choices":"px","wpte_product_layout_general_category_typho-l-spacing-tab-size":"","wpte_product_layout_general_category_typho-l-spacing-mob-choices":"px","wpte_product_layout_general_category_typho-l-spacing-mob-size":"","wpte_product_layout_general_category_color":"","wpte_product_layout_general_category_margin-lap-choices":"px","wpte_product_layout_general_category_margin-lap-top":"","wpte_product_layout_general_category_margin-lap-right":"","wpte_product_layout_general_category_margin-lap-bottom":"","wpte_product_layout_general_category_margin-lap-left":"","wpte_product_layout_general_category_margin-tab-choices":"px","wpte_product_layout_general_category_margin-tab-top":"","wpte_product_layout_general_category_margin-tab-right":"","wpte_product_layout_general_category_margin-tab-bottom":"","wpte_product_layout_general_category_margin-tab-left":"","wpte_product_layout_general_category_margin-mob-choices":"px","wpte_product_layout_general_category_margin-mob-top":"","wpte_product_layout_general_category_margin-mob-right":"","wpte_product_layout_general_category_margin-mob-bottom":"","wpte_product_layout_general_category_margin-mob-left":"","wpte_product_layout_general_title_tag":"h2","wpte_product_layout_general_title_typho-font":"Arial","wpte_product_layout_general_title_typho-size-lap-choices":"px","wpte_product_layout_general_title_typho-size-lap-size":"","wpte_product_layout_general_title_typho-size-tab-choices":"px","wpte_product_layout_general_title_typho-size-tab-size":"","wpte_product_layout_general_title_typho-size-mob-choices":"px","wpte_product_layout_general_title_typho-size-mob-size":"","wpte_product_layout_general_title_typho-weight":"","wpte_product_layout_general_title_typho-transform":"","wpte_product_layout_general_title_typho-style":"","wpte_product_layout_general_title_typho-decoration":"","wpte_product_layout_general_title_typho-l-height-lap-choices":"px","wpte_product_layout_general_title_typho-l-height-lap-size":"","wpte_product_layout_general_title_typho-l-height-tab-choices":"px","wpte_product_layout_general_title_typho-l-height-tab-size":"","wpte_product_layout_general_title_typho-l-height-mob-choices":"px","wpte_product_layout_general_title_typho-l-height-mob-size":"","wpte_product_layout_general_title_typho-l-spacing-lap-choices":"px","wpte_product_layout_general_title_typho-l-spacing-lap-size":"","wpte_product_layout_general_title_typho-l-spacing-tab-choices":"px","wpte_product_layout_general_title_typho-l-spacing-tab-size":"","wpte_product_layout_general_title_typho-l-spacing-mob-choices":"px","wpte_product_layout_general_title_typho-l-spacing-mob-size":"","wpte_product_layout_general_title_color":"","wpte_product_layout_general_title_hover_color":"","wpte_product_layout_general_title_margin-lap-choices":"px","wpte_product_layout_general_title_margin-lap-top":"","wpte_product_layout_general_title_margin-lap-right":"","wpte_product_layout_general_title_margin-lap-bottom":"","wpte_product_layout_general_title_margin-lap-left":"","wpte_product_layout_general_title_margin-tab-choices":"px","wpte_product_layout_general_title_margin-tab-top":"","wpte_product_layout_general_title_margin-tab-right":"","wpte_product_layout_general_title_margin-tab-bottom":"","wpte_product_layout_general_title_margin-tab-left":"","wpte_product_layout_general_title_margin-mob-choices":"px","wpte_product_layout_general_title_margin-mob-top":"","wpte_product_layout_general_title_margin-mob-right":"","wpte_product_layout_general_title_margin-mob-bottom":"","wpte_product_layout_general_title_margin-mob-left":"","wpte_product_layout_general_rating_color":"#36b6d9","wpte_product_layout_general_rating_size-lap-choices":"px","wpte_product_layout_general_rating_size-lap-size":"","wpte_product_layout_general_rating_size-tab-choices":"px","wpte_product_layout_general_rating_size-tab-size":"","wpte_product_layout_general_rating_size-mob-choices":"px","wpte_product_layout_general_rating_size-mob-size":"","wpte_product_layout_general_rating_margin-lap-choices":"px","wpte_product_layout_general_rating_margin-lap-top":"","wpte_product_layout_general_rating_margin-lap-right":"","wpte_product_layout_general_rating_margin-lap-bottom":"","wpte_product_layout_general_rating_margin-lap-left":"","wpte_product_layout_general_rating_margin-tab-choices":"px","wpte_product_layout_general_rating_margin-tab-top":"","wpte_product_layout_general_rating_margin-tab-right":"","wpte_product_layout_general_rating_margin-tab-bottom":"","wpte_product_layout_general_rating_margin-tab-left":"","wpte_product_layout_general_rating_margin-mob-choices":"px","wpte_product_layout_general_rating_margin-mob-top":"","wpte_product_layout_general_rating_margin-mob-right":"","wpte_product_layout_general_rating_margin-mob-bottom":"","wpte_product_layout_general_rating_margin-mob-left":"","wpte_product_layout_general_price_typho-font":"","wpte_product_layout_general_price_typho-size-lap-choices":"px","wpte_product_layout_general_price_typho-size-lap-size":"","wpte_product_layout_general_price_typho-size-tab-choices":"px","wpte_product_layout_general_price_typho-size-tab-size":"","wpte_product_layout_general_price_typho-size-mob-choices":"px","wpte_product_layout_general_price_typho-size-mob-size":"","wpte_product_layout_general_price_typho-weight":"","wpte_product_layout_general_price_typho-transform":"","wpte_product_layout_general_price_typho-style":"","wpte_product_layout_general_price_typho-decoration":"","wpte_product_layout_general_price_typho-l-height-lap-choices":"px","wpte_product_layout_general_price_typho-l-height-lap-size":"","wpte_product_layout_general_price_typho-l-height-tab-choices":"px","wpte_product_layout_general_price_typho-l-height-tab-size":"","wpte_product_layout_general_price_typho-l-height-mob-choices":"px","wpte_product_layout_general_price_typho-l-height-mob-size":"","wpte_product_layout_general_price_typho-l-spacing-lap-choices":"px","wpte_product_layout_general_price_typho-l-spacing-lap-size":"","wpte_product_layout_general_price_typho-l-spacing-tab-choices":"px","wpte_product_layout_general_price_typho-l-spacing-tab-size":"","wpte_product_layout_general_price_typho-l-spacing-mob-choices":"px","wpte_product_layout_general_price_typho-l-spacing-mob-size":"","wpte_product_layout_general_price_color":"","wpte_product_layout_general_price_margin-lap-choices":"px","wpte_product_layout_general_price_margin-lap-top":"","wpte_product_layout_general_price_margin-lap-right":"","wpte_product_layout_general_price_margin-lap-bottom":"","wpte_product_layout_general_price_margin-lap-left":"","wpte_product_layout_general_price_margin-tab-choices":"px","wpte_product_layout_general_price_margin-tab-top":"","wpte_product_layout_general_price_margin-tab-right":"","wpte_product_layout_general_price_margin-tab-bottom":"","wpte_product_layout_general_price_margin-tab-left":"","wpte_product_layout_general_price_margin-mob-choices":"px","wpte_product_layout_general_price_margin-mob-top":"","wpte_product_layout_general_price_margin-mob-right":"","wpte_product_layout_general_price_margin-mob-bottom":"","wpte_product_layout_general_price_margin-mob-left":"","wpte_product_layout_advanced_margin-lap-choices":"px","wpte_product_layout_advanced_margin-lap-top":"","wpte_product_layout_advanced_margin-lap-right":"","wpte_product_layout_advanced_margin-lap-bottom":"","wpte_product_layout_advanced_margin-lap-left":"","wpte_product_layout_advanced_margin-tab-choices":"px","wpte_product_layout_advanced_margin-tab-top":"","wpte_product_layout_advanced_margin-tab-right":"","wpte_product_layout_advanced_margin-tab-bottom":"","wpte_product_layout_advanced_margin-tab-left":"","wpte_product_layout_advanced_margin-mob-choices":"px","wpte_product_layout_advanced_margin-mob-top":"","wpte_product_layout_advanced_margin-mob-right":"","wpte_product_layout_advanced_margin-mob-bottom":"","wpte_product_layout_advanced_margin-mob-left":"","wpte_product_layout_advanced_padding-lap-choices":"px","wpte_product_layout_advanced_padding-lap-top":"","wpte_product_layout_advanced_padding-lap-right":"","wpte_product_layout_advanced_padding-lap-bottom":"","wpte_product_layout_advanced_padding-lap-left":"","wpte_product_layout_advanced_padding-tab-choices":"px","wpte_product_layout_advanced_padding-tab-top":"","wpte_product_layout_advanced_padding-tab-right":"","wpte_product_layout_advanced_padding-tab-bottom":"","wpte_product_layout_advanced_padding-tab-left":"","wpte_product_layout_advanced_padding-mob-choices":"px","wpte_product_layout_advanced_padding-mob-top":"","wpte_product_layout_advanced_padding-mob-right":"","wpte_product_layout_advanced_padding-mob-bottom":"","wpte_product_layout_advanced_padding-mob-left":"","wpte_product_layout_pagination_global_display":"none","wpte_product_layout_pagination_preset":"preset_1","wpte_product_pagination_global_typography-font":"","wpte_product_pagination_global_typography-size-lap-choices":"px","wpte_product_pagination_global_typography-size-lap-size":"","wpte_product_pagination_global_typography-size-tab-choices":"px","wpte_product_pagination_global_typography-size-tab-size":"","wpte_product_pagination_global_typography-size-mob-choices":"px","wpte_product_pagination_global_typography-size-mob-size":"","wpte_product_pagination_global_typography-weight":"","wpte_product_pagination_global_typography-transform":"","wpte_product_pagination_global_typography-style":"","wpte_product_pagination_global_typography-decoration":"","wpte_product_pagination_global_typography-l-height-lap-choices":"px","wpte_product_pagination_global_typography-l-height-lap-size":"","wpte_product_pagination_global_typography-l-height-tab-choices":"px","wpte_product_pagination_global_typography-l-height-tab-size":"","wpte_product_pagination_global_typography-l-height-mob-choices":"px","wpte_product_pagination_global_typography-l-height-mob-size":"","wpte_product_pagination_global_typography-l-spacing-lap-choices":"px","wpte_product_pagination_global_typography-l-spacing-lap-size":"","wpte_product_pagination_global_typography-l-spacing-tab-choices":"px","wpte_product_pagination_global_typography-l-spacing-tab-size":"","wpte_product_pagination_global_typography-l-spacing-mob-choices":"px","wpte_product_pagination_global_typography-l-spacing-mob-size":"","wpte_product_pagination_min_width-lap-choices":"px","wpte_product_pagination_min_width-lap-size":"30","wpte_product_pagination_min_width-tab-choices":"px","wpte_product_pagination_min_width-tab-size":"30","wpte_product_pagination_min_width-mob-choices":"px","wpte_product_pagination_min_width-mob-size":"30","wpte_product_pagination_min_height-lap-choices":"px","wpte_product_pagination_min_height-lap-size":"30","wpte_product_pagination_min_height-tab-choices":"px","wpte_product_pagination_min_height-tab-size":"30","wpte_product_pagination_min_height-mob-choices":"px","wpte_product_pagination_min_height-mob-size":"30","wpte_product_pagination_normal_bg_color":"","wpte_product_pagination_normal_color":"","wpte_product_pagination_normal_border-type":"","wpte_product_pagination_normal_border-width-lap-choices":"px","wpte_product_pagination_normal_border-width-lap-top":"","wpte_product_pagination_normal_border-width-lap-right":"","wpte_product_pagination_normal_border-width-lap-bottom":"","wpte_product_pagination_normal_border-width-lap-left":"","wpte_product_pagination_normal_border-width-tab-choices":"px","wpte_product_pagination_normal_border-width-tab-top":"","wpte_product_pagination_normal_border-width-tab-right":"","wpte_product_pagination_normal_border-width-tab-bottom":"","wpte_product_pagination_normal_border-width-tab-left":"","wpte_product_pagination_normal_border-width-mob-choices":"px","wpte_product_pagination_normal_border-width-mob-top":"","wpte_product_pagination_normal_border-width-mob-right":"","wpte_product_pagination_normal_border-width-mob-bottom":"","wpte_product_pagination_normal_border-width-mob-left":"","wpte_product_pagination_normal_border-color":"","wpte_product_pagination_normal_boxshadow-type":"","wpte_product_pagination_normal_boxshadow-horizontal-size":"0","wpte_product_pagination_normal_boxshadow-vertical-size":"0","wpte_product_pagination_normal_boxshadow-blur-size":"0","wpte_product_pagination_normal_boxshadow-spread-size":"0","wpte_product_pagination_normal_boxshadow-color":"#cccccc","wpte_product_pagination_normal_border_radius-lap-choices":"px","wpte_product_pagination_normal_border_radius-lap-top":"","wpte_product_pagination_normal_border_radius-lap-right":"","wpte_product_pagination_normal_border_radius-lap-bottom":"","wpte_product_pagination_normal_border_radius-lap-left":"","wpte_product_pagination_normal_border_radius-tab-choices":"px","wpte_product_pagination_normal_border_radius-tab-top":"","wpte_product_pagination_normal_border_radius-tab-right":"","wpte_product_pagination_normal_border_radius-tab-bottom":"","wpte_product_pagination_normal_border_radius-tab-left":"","wpte_product_pagination_normal_border_radius-mob-choices":"px","wpte_product_pagination_normal_border_radius-mob-top":"","wpte_product_pagination_normal_border_radius-mob-right":"","wpte_product_pagination_normal_border_radius-mob-bottom":"","wpte_product_pagination_normal_border_radius-mob-left":"","wpte_product_pagination_hover_bg_color":"","wpte_product_pagination_hover_color":"","wpte_product_pagination_hover_border-type":"","wpte_product_pagination_hover_border-width-lap-choices":"px","wpte_product_pagination_hover_border-width-lap-top":"","wpte_product_pagination_hover_border-width-lap-right":"","wpte_product_pagination_hover_border-width-lap-bottom":"","wpte_product_pagination_hover_border-width-lap-left":"","wpte_product_pagination_hover_border-width-tab-choices":"px","wpte_product_pagination_hover_border-width-tab-top":"","wpte_product_pagination_hover_border-width-tab-right":"","wpte_product_pagination_hover_border-width-tab-bottom":"","wpte_product_pagination_hover_border-width-tab-left":"","wpte_product_pagination_hover_border-width-mob-choices":"px","wpte_product_pagination_hover_border-width-mob-top":"","wpte_product_pagination_hover_border-width-mob-right":"","wpte_product_pagination_hover_border-width-mob-bottom":"","wpte_product_pagination_hover_border-width-mob-left":"","wpte_product_pagination_hover_border-color":"","wpte_product_pagination_hover_boxshadow-type":"","wpte_product_pagination_hover_boxshadow-horizontal-size":"0","wpte_product_pagination_hover_boxshadow-vertical-size":"0","wpte_product_pagination_hover_boxshadow-blur-size":"0","wpte_product_pagination_hover_boxshadow-spread-size":"0","wpte_product_pagination_hover_boxshadow-color":"#cccccc","wpte_product_pagination_hover_border_radius-lap-choices":"px","wpte_product_pagination_hover_border_radius-lap-top":"","wpte_product_pagination_hover_border_radius-lap-right":"","wpte_product_pagination_hover_border_radius-lap-bottom":"","wpte_product_pagination_hover_border_radius-lap-left":"","wpte_product_pagination_hover_border_radius-tab-choices":"px","wpte_product_pagination_hover_border_radius-tab-top":"","wpte_product_pagination_hover_border_radius-tab-right":"","wpte_product_pagination_hover_border_radius-tab-bottom":"","wpte_product_pagination_hover_border_radius-tab-left":"","wpte_product_pagination_hover_border_radius-mob-choices":"px","wpte_product_pagination_hover_border_radius-mob-top":"","wpte_product_pagination_hover_border_radius-mob-right":"","wpte_product_pagination_hover_border_radius-mob-bottom":"","wpte_product_pagination_hover_border_radius-mob-left":"","wpte_product_pagination_active_bg_color":"","wpte_product_pagination_active_color":"","wpte_product_pagination_active_border-type":"","wpte_product_pagination_active_border-width-lap-choices":"px","wpte_product_pagination_active_border-width-lap-top":"","wpte_product_pagination_active_border-width-lap-right":"","wpte_product_pagination_active_border-width-lap-bottom":"","wpte_product_pagination_active_border-width-lap-left":"","wpte_product_pagination_active_border-width-tab-choices":"px","wpte_product_pagination_active_border-width-tab-top":"","wpte_product_pagination_active_border-width-tab-right":"","wpte_product_pagination_active_border-width-tab-bottom":"","wpte_product_pagination_active_border-width-tab-left":"","wpte_product_pagination_active_border-width-mob-choices":"px","wpte_product_pagination_active_border-width-mob-top":"","wpte_product_pagination_active_border-width-mob-right":"","wpte_product_pagination_active_border-width-mob-bottom":"","wpte_product_pagination_active_border-width-mob-left":"","wpte_product_pagination_active_border-color":"","wpte_product_pagination_active_boxshadow-type":"","wpte_product_pagination_active_boxshadow-horizontal-size":"0","wpte_product_pagination_active_boxshadow-vertical-size":"0","wpte_product_pagination_active_boxshadow-blur-size":"0","wpte_product_pagination_active_boxshadow-spread-size":"0","wpte_product_pagination_active_boxshadow-color":"#cccccc","wpte_product_pagination_active_border_radius-lap-choices":"px","wpte_product_pagination_active_border_radius-lap-top":"","wpte_product_pagination_active_border_radius-lap-right":"","wpte_product_pagination_active_border_radius-lap-bottom":"","wpte_product_pagination_active_border_radius-lap-left":"","wpte_product_pagination_active_border_radius-tab-choices":"px","wpte_product_pagination_active_border_radius-tab-top":"","wpte_product_pagination_active_border_radius-tab-right":"","wpte_product_pagination_active_border_radius-tab-bottom":"","wpte_product_pagination_active_border_radius-tab-left":"","wpte_product_pagination_active_border_radius-mob-choices":"px","wpte_product_pagination_active_border_radius-mob-top":"","wpte_product_pagination_active_border_radius-mob-right":"","wpte_product_pagination_active_border_radius-mob-bottom":"","wpte_product_pagination_active_border_radius-mob-left":"","wpte_product_pagination_margin-lap-choices":"px","wpte_product_pagination_margin-lap-top":"","wpte_product_pagination_margin-lap-right":"","wpte_product_pagination_margin-lap-bottom":"","wpte_product_pagination_margin-lap-left":"","wpte_product_pagination_margin-tab-choices":"px","wpte_product_pagination_margin-tab-top":"","wpte_product_pagination_margin-tab-right":"","wpte_product_pagination_margin-tab-bottom":"","wpte_product_pagination_margin-tab-left":"","wpte_product_pagination_margin-mob-choices":"px","wpte_product_pagination_margin-mob-top":"","wpte_product_pagination_margin-mob-right":"","wpte_product_pagination_margin-mob-bottom":"","wpte_product_pagination_margin-mob-left":"","wpte_product_pagination_prev_icon":"wpte-icon icon-arrow-10","wpte_product_pagination_prev_text":"Previus","wpte_product_pagination_next_icon":"wpte-icon icon-arrow-11","wpte_product_pagination_next_text":"Next","wpte_product_pagination_icon_spacing-lap-choices":"px","wpte_product_pagination_icon_spacing-lap-size":"5","wpte_product_pagination_icon_spacing-tab-choices":"px","wpte_product_pagination_icon_spacing-tab-size":"5","wpte_product_pagination_icon_spacing-mob-choices":"px","wpte_product_pagination_icon_spacing-mob-size":"5","wpte_product_pagination_load_more_text":"Load More","wpte_product_load_more_typography-font":"","wpte_product_load_more_typography-size-lap-choices":"px","wpte_product_load_more_typography-size-lap-size":"","wpte_product_load_more_typography-size-tab-choices":"px","wpte_product_load_more_typography-size-tab-size":"","wpte_product_load_more_typography-size-mob-choices":"px","wpte_product_load_more_typography-size-mob-size":"","wpte_product_load_more_typography-weight":"","wpte_product_load_more_typography-transform":"","wpte_product_load_more_typography-style":"","wpte_product_load_more_typography-decoration":"","wpte_product_load_more_typography-l-height-lap-choices":"px","wpte_product_load_more_typography-l-height-lap-size":"","wpte_product_load_more_typography-l-height-tab-choices":"px","wpte_product_load_more_typography-l-height-tab-size":"","wpte_product_load_more_typography-l-height-mob-choices":"px","wpte_product_load_more_typography-l-height-mob-size":"","wpte_product_load_more_typography-l-spacing-lap-choices":"px","wpte_product_load_more_typography-l-spacing-lap-size":"","wpte_product_load_more_typography-l-spacing-tab-choices":"px","wpte_product_load_more_typography-l-spacing-tab-size":"","wpte_product_load_more_typography-l-spacing-mob-choices":"px","wpte_product_load_more_typography-l-spacing-mob-size":"","wpte_product_load_more_normal_bg_color":"","wpte_product_load_more_normal_color":"","wpte_product_load_more_normal_border-type":"","wpte_product_load_more_normal_border-width-lap-choices":"px","wpte_product_load_more_normal_border-width-lap-top":"","wpte_product_load_more_normal_border-width-lap-right":"","wpte_product_load_more_normal_border-width-lap-bottom":"","wpte_product_load_more_normal_border-width-lap-left":"","wpte_product_load_more_normal_border-width-tab-choices":"px","wpte_product_load_more_normal_border-width-tab-top":"","wpte_product_load_more_normal_border-width-tab-right":"","wpte_product_load_more_normal_border-width-tab-bottom":"","wpte_product_load_more_normal_border-width-tab-left":"","wpte_product_load_more_normal_border-width-mob-choices":"px","wpte_product_load_more_normal_border-width-mob-top":"","wpte_product_load_more_normal_border-width-mob-right":"","wpte_product_load_more_normal_border-width-mob-bottom":"","wpte_product_load_more_normal_border-width-mob-left":"","wpte_product_load_more_normal_border-color":"","wpte_product_load_more_normal_boxshadow-type":"","wpte_product_load_more_normal_boxshadow-horizontal-size":"0","wpte_product_load_more_normal_boxshadow-vertical-size":"0","wpte_product_load_more_normal_boxshadow-blur-size":"0","wpte_product_load_more_normal_boxshadow-spread-size":"0","wpte_product_load_more_normal_boxshadow-color":"#cccccc","wpte_product_load_more_normal_border_radius-lap-choices":"px","wpte_product_load_more_normal_border_radius-lap-top":"","wpte_product_load_more_normal_border_radius-lap-right":"","wpte_product_load_more_normal_border_radius-lap-bottom":"","wpte_product_load_more_normal_border_radius-lap-left":"","wpte_product_load_more_normal_border_radius-tab-choices":"px","wpte_product_load_more_normal_border_radius-tab-top":"","wpte_product_load_more_normal_border_radius-tab-right":"","wpte_product_load_more_normal_border_radius-tab-bottom":"","wpte_product_load_more_normal_border_radius-tab-left":"","wpte_product_load_more_normal_border_radius-mob-choices":"px","wpte_product_load_more_normal_border_radius-mob-top":"","wpte_product_load_more_normal_border_radius-mob-right":"","wpte_product_load_more_normal_border_radius-mob-bottom":"","wpte_product_load_more_normal_border_radius-mob-left":"","wpte_product_load_more_hover_bg_color":"","wpte_product_load_more_hover_color":"","wpte_product_load_more_hover_border-type":"","wpte_product_load_more_hover_border-width-lap-choices":"px","wpte_product_load_more_hover_border-width-lap-top":"","wpte_product_load_more_hover_border-width-lap-right":"","wpte_product_load_more_hover_border-width-lap-bottom":"","wpte_product_load_more_hover_border-width-lap-left":"","wpte_product_load_more_hover_border-width-tab-choices":"px","wpte_product_load_more_hover_border-width-tab-top":"","wpte_product_load_more_hover_border-width-tab-right":"","wpte_product_load_more_hover_border-width-tab-bottom":"","wpte_product_load_more_hover_border-width-tab-left":"","wpte_product_load_more_hover_border-width-mob-choices":"px","wpte_product_load_more_hover_border-width-mob-top":"","wpte_product_load_more_hover_border-width-mob-right":"","wpte_product_load_more_hover_border-width-mob-bottom":"","wpte_product_load_more_hover_border-width-mob-left":"","wpte_product_load_more_hover_border-color":"","wpte_product_load_more_hover_boxshadow-type":"","wpte_product_load_more_hover_boxshadow-horizontal-size":"0","wpte_product_load_more_hover_boxshadow-vertical-size":"0","wpte_product_load_more_hover_boxshadow-blur-size":"0","wpte_product_load_more_hover_boxshadow-spread-size":"0","wpte_product_load_more_hover_boxshadow-color":"#cccccc","wpte_product_load_more_hover_border_radius-lap-choices":"px","wpte_product_load_more_hover_border_radius-lap-top":"","wpte_product_load_more_hover_border_radius-lap-right":"","wpte_product_load_more_hover_border_radius-lap-bottom":"","wpte_product_load_more_hover_border_radius-lap-left":"","wpte_product_load_more_hover_border_radius-tab-choices":"px","wpte_product_load_more_hover_border_radius-tab-top":"","wpte_product_load_more_hover_border_radius-tab-right":"","wpte_product_load_more_hover_border_radius-tab-bottom":"","wpte_product_load_more_hover_border_radius-tab-left":"","wpte_product_load_more_hover_border_radius-mob-choices":"px","wpte_product_load_more_hover_border_radius-mob-top":"","wpte_product_load_more_hover_border_radius-mob-right":"","wpte_product_load_more_hover_border_radius-mob-bottom":"","wpte_product_load_more_hover_border_radius-mob-left":"","wpte_product_load_more_padding-lap-choices":"px","wpte_product_load_more_padding-lap-top":"","wpte_product_load_more_padding-lap-right":"","wpte_product_load_more_padding-lap-bottom":"","wpte_product_load_more_padding-lap-left":"","wpte_product_load_more_padding-tab-choices":"px","wpte_product_load_more_padding-tab-top":"","wpte_product_load_more_padding-tab-right":"","wpte_product_load_more_padding-tab-bottom":"","wpte_product_load_more_padding-tab-left":"","wpte_product_load_more_padding-mob-choices":"px","wpte_product_load_more_padding-mob-top":"","wpte_product_load_more_padding-mob-right":"","wpte_product_load_more_padding-mob-bottom":"","wpte_product_load_more_padding-mob-left":"","wpte_product_load_more_margin-lap-choices":"px","wpte_product_load_more_margin-lap-top":"","wpte_product_load_more_margin-lap-right":"","wpte_product_load_more_margin-lap-bottom":"","wpte_product_load_more_margin-lap-left":"","wpte_product_load_more_margin-tab-choices":"px","wpte_product_load_more_margin-tab-top":"","wpte_product_load_more_margin-tab-right":"","wpte_product_load_more_margin-tab-bottom":"","wpte_product_load_more_margin-tab-left":"","wpte_product_load_more_margin-mob-choices":"px","wpte_product_load_more_margin-mob-top":"","wpte_product_load_more_margin-mob-right":"","wpte_product_load_more_margin-mob-bottom":"","wpte_product_load_more_margin-mob-left":"","wpte_product_layout_advanced_padding_bg_color":"","wpte_product_layout_advanced_border-type":"","wpte_product_layout_advanced_border-width-lap-choices":"px","wpte_product_layout_advanced_border-width-lap-top":"","wpte_product_layout_advanced_border-width-lap-right":"","wpte_product_layout_advanced_border-width-lap-bottom":"","wpte_product_layout_advanced_border-width-lap-left":"","wpte_product_layout_advanced_border-width-tab-choices":"px","wpte_product_layout_advanced_border-width-tab-top":"","wpte_product_layout_advanced_border-width-tab-right":"","wpte_product_layout_advanced_border-width-tab-bottom":"","wpte_product_layout_advanced_border-width-tab-left":"","wpte_product_layout_advanced_border-width-mob-choices":"px","wpte_product_layout_advanced_border-width-mob-top":"","wpte_product_layout_advanced_border-width-mob-right":"","wpte_product_layout_advanced_border-width-mob-bottom":"","wpte_product_layout_advanced_border-width-mob-left":"","wpte_product_layout_advanced_border-color":"","wpte_product_layout_advanced_border_radius-lap-choices":"px","wpte_product_layout_advanced_border_radius-lap-top":"","wpte_product_layout_advanced_border_radius-lap-right":"","wpte_product_layout_advanced_border_radius-lap-bottom":"","wpte_product_layout_advanced_border_radius-lap-left":"","wpte_product_layout_advanced_border_radius-tab-choices":"px","wpte_product_layout_advanced_border_radius-tab-top":"","wpte_product_layout_advanced_border_radius-tab-right":"","wpte_product_layout_advanced_border_radius-tab-bottom":"","wpte_product_layout_advanced_border_radius-tab-left":"","wpte_product_layout_advanced_border_radius-mob-choices":"px","wpte_product_layout_advanced_border_radius-mob-top":"","wpte_product_layout_advanced_border_radius-mob-right":"","wpte_product_layout_advanced_border_radius-mob-bottom":"","wpte_product_layout_advanced_border_radius-mob-left":"","wpte_product_layout_advanced_boxshadow-type":"","wpte_product_layout_advanced_boxshadow-horizontal-size":"0","wpte_product_layout_advanced_boxshadow-vertical-size":"0","wpte_product_layout_advanced_boxshadow-blur-size":"19","wpte_product_layout_advanced_boxshadow-spread-size":"0","wpte_product_layout_advanced_boxshadow-color":"rgba(245, 41, 41, 1)"}';
	}

	/**
	 * Style sheet data for insert in the table
	 *
	 * @since 1.2.0
	 */
	public function style_sheet_data() {
		return '.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-column{grid-column-gap: 20px;grid-row-gap: 20px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-row{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-row:hover{}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul li{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons a, .wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons .button{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-icons{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-tooltip{color: #36b6d9;background: rgba(255,255,255,1.00);border-style: solid;border-width: 1px 1px 1px 1px;border-color: #36b6d9;border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-tooltip:after{border-left-color: #36b6d9;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-category-area a{margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-general-layout-title-area .wpte-general-layout-product-title, .wpte-product-layout-wrapper-1 .wpte-general-layout-title-area .wpte-general-layout-product-title a{font-family:Arial;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-title{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-rating-area .wpte-icons{color: #36b6d9;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-price-area{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load{margin:px px px px;padding:px px px px;border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li{min-width: 30px;min-height: 30px;border-radius:px px px px;margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination .pagination-active{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_next_icon{padding-left: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_prev_icon{padding-right: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more{padding:px px px px;}@media only screen and (min-width : 669px) and (max-width : 993px){.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-row{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul li{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons a, .wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons .button{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-icons{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-tooltip{border-width: px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-category-area a{margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-title{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-rating-area .wpte-icons{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-price-area{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load{margin:px px px px;padding:px px px px;border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li{min-width: 30px;min-height: 30px;border-radius:px px px px;margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination .pagination-active{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_next_icon{padding-left: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_prev_icon{padding-right: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more{padding:px px px px;}}@media only screen and (max-width : 668px){.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-row{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul li{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-image-area ul{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons a, .wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-icons .button{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-icons{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-tooltip{border-width: px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-category-area a{margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-product-title{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-rating-area .wpte-icons{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-general-layout-price-area{padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load{margin:px px px px;padding:px px px px;border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li{min-width: 30px;min-height: 30px;border-radius:px px px px;margin:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination .pagination-active{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_next_icon{padding-left: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-layout-pagination li .wpte_product_pagination_prev_icon{padding-right: 5px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button{border-radius:px px px px;padding:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more button.wpte-product-layout-load-more-button:hover{border-radius:px px px px;}.wpte-product-layout-wrapper-1 .wpte-product-row .wpte-product-load-more{padding:px px px px;}}';
	}

	/**
	 * Insert first shortcode after plugin activation
	 *
	 * @since 1.2.0
	 */
	public function insert_first_shortcode() {
		if ( ! current_user_can( 'manage_options' ) ) {
			return;
		}

		$name        = 'General 1';
		$style_name  = 'general-1';
		$rawdata     = $this->rawdata();
		$stylesheet  = $this->style_sheet_data();
		$font_family = sanitize_text_field( '' );

		$insert_id = wpte_layout_insert(
            [
				'name'        => $name,
				'style_name'  => $style_name,
				'rawdata'     => $rawdata,
				'stylesheet'  => $stylesheet,
				'font_family' => $font_family,
			]
        );

		$names       = [];
		$is_match    = preg_match_all( '/(wpte-product-layout-wrapper-)[0-9]+/', $stylesheet, $names );
		$replaceData = "wpte-product-layout-wrapper-$insert_id";
		$get_match   = $names[0][0];
		$finalData   = preg_replace( "/$get_match/i", $replaceData, $stylesheet );
		wpte_layout_update_style( $insert_id, $finalData );
	}
}
