<?php
/**
 * The Pages plugin class.
 *
 * @since      1.0.0
 * @package    Boomdevs_Toc
 * @subpackage Boomdevs_Toc_Pages
 * @author     BoomDevs <admin@boomdevs.com>
 */
class Boomdevs_Toc_Ajax {
    /**
     * Register ajax hook for getting a premade layout.
     *
     * @since 1.0.0
     */
    public function get_premade_layout() {
        
        if ( ! current_user_can( 'manage_options' ) ) {
            wp_send_json_error( array( 'message' => __( 'You do not have permission to perform this action.', 'boomdevs-toc' ) ), 403 );
        }

        check_ajax_referer( 'layout_content', 'nonce' );

        $default_available_skins_data = [
            'default_layout'        => unserialize('a:148:{s:16:"select_post_type";a:1:{i:0;s:0:"";}s:19:"select_toc_position";s:6:"before";s:12:"initial_view";b:1;s:12:"width_height";a:2:{s:5:"width";s:3:"100";s:4:"unit";s:1:"%";}s:14:"layout_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"12";s:6:"bottom";s:2:"12";s:4:"left";s:2:"12";s:4:"unit";s:2:"px";}s:13:"layout_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:0:"";s:6:"bottom";s:2:"30";s:4:"left";s:0:"";s:4:"unit";s:2:"px";}s:8:"bg_color";a:1:{s:16:"background-color";s:7:"#f9f9f9";}s:13:"layout_border";a:7:{s:5:"style";s:5:"solid";s:5:"color";s:7:"#aaaaaa";s:3:"top";s:1:"1";s:5:"right";s:1:"1";s:6:"bottom";s:1:"1";s:4:"left";s:1:"1";s:4:"unit";s:2:"px";}s:24:"layout_border_radius_top";s:1:"4";s:26:"layout_border_radius_right";s:1:"4";s:27:"layout_border_radius_bottom";s:1:"4";s:25:"layout_border_radius_left";s:1:"4";s:17:"horizontal_length";i:0;s:15:"vertical_length";i:4;s:11:"blur_radius";i:16;s:13:"spread_radius";i:0;s:12:"shadow_color";s:19:"rgba(0, 0, 0, 0.03)";s:18:"number_of_headings";i:3;s:17:"heading_top_level";s:1:"1";s:11:"title_depth";s:1:"5";s:10:"title_hide";a:1:{i:0;s:1:"6";}s:24:"title_show_hide_switcher";b:1;s:5:"title";s:17:"Table of Contents";s:17:"title_font_family";a:5:{s:11:"font-family";s:0:"";s:9:"font-size";s:2:"18";s:11:"font-weight";s:3:"500";s:4:"unit";s:2:"px";s:4:"type";s:6:"google";}s:14:"title_bg_color";s:0:"";s:11:"title_color";s:7:"#2c2f32";s:17:"title_hover_color";s:7:"#2c2f32";s:13:"title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"2";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:12:"title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:23:"title_border_radius_top";i:10;s:25:"title_border_radius_right";i:10;s:26:"title_border_radius_bottom";i:10;s:24:"title_border_radius_left";i:10;s:23:"icon_show_hide_switcher";b:1;s:17:"toggle_icon_color";s:7:"#2c2f32";s:23:"toggle_icon_hover_color";s:7:"#2c2f32";s:17:"heading_list_type";s:6:"number";s:18:"heading_word_break";s:8:"truncate";s:15:"offset_from_top";i:0;s:19:"heading_font_family";a:5:{s:11:"font-family";s:0:"";s:9:"font-size";s:2:"14";s:11:"font-weight";s:3:"400";s:4:"unit";s:2:"px";s:4:"type";s:6:"google";}s:15:"heading_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:14:"heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:14:"heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:21:"active_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:25:"heading_border_radius_top";i:10;s:27:"heading_border_radius_right";i:10;s:28:"heading_border_radius_bottom";i:10;s:26:"heading_border_radius_left";i:10;s:16:"content_bg_color";a:1:{s:16:"background-color";s:7:"#f9f9f9";}s:18:"heading_background";s:7:"#f9f9f9";s:25:"active_heading_background";s:9:"#f7f7f700";s:18:"heading_font_color";s:7:"#2c2f32";s:24:"heading_font_hover_color";s:7:"#2c2f32";s:25:"heading_font_active_color";s:7:"#2c2f32";s:15:"premade_layouts";s:0:"";s:11:"sticky_mode";b:1;s:30:"sticky_sidebar_collapse_on_off";b:0;s:18:"fiexd_layout_width";a:2:{s:5:"width";s:3:"330";s:4:"unit";s:2:"px";}s:19:"fiexd_layout_zindex";i:999999;s:28:"bd_toc_sticky_Sidebar_offset";i:0;s:26:"layout_slide_button_offset";i:0;s:36:"layout_slide_button_background_color";s:7:"#FFFFFF";s:30:"layout_slide_button_icon_color";s:7:"#2c2f32";s:20:"sticky_mode_position";s:4:"left";s:24:"show_heading_toggle_icon";b:1;s:28:"heading_toggle_icon_position";s:5:"right";s:32:"heading_toggle_icon_position_top";i:13;s:34:"heading_toggle_icon_position_right";i:25;s:33:"heading_toggle_icon_position_left";i:10;s:25:"heading_toggle_icon_color";s:7:"#2c2f32";s:32:"heading_toggle_icon_active_color";s:7:"#2c2f32";s:31:"heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:28:"show_sub_heading_toggle_icon";b:1;s:32:"sub_heading_toggle_icon_position";s:5:"right";s:36:"sub_heading_toggle_icon_position_top";i:13;s:38:"sub_heading_toggle_icon_position_right";i:25;s:37:"sub_heading_toggle_icon_position_left";i:10;s:29:"sub_heading_toggle_icon_color";s:7:"#2c2f32";s:36:"sub_heading_toggle_icon_active_color";s:7:"#2c2f32";s:35:"sub_heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:23:"sub_heading_font_family";a:6:{s:11:"font-family";s:0:"";s:10:"text-align";s:4:"left";s:9:"font-size";s:2:"13";s:11:"font-weight";s:3:"400";s:4:"unit";s:2:"px";s:4:"type";s:6:"google";}s:19:"sub_heading_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:25:"active_sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:29:"sub_heading_border_radius_top";i:10;s:31:"sub_heading_border_radius_right";i:10;s:32:"sub_heading_border_radius_bottom";i:10;s:30:"sub_heading_border_radius_left";i:10;s:20:"sub_content_bg_color";a:1:{s:16:"background-color";s:7:"#f9f9f9";}s:22:"sub_heading_background";s:7:"#f9f9f9";s:29:"active_sub_heading_background";s:7:"#f9f9f9";s:22:"sub_heading_font_color";s:7:"#2c2f32";s:28:"sub_heading_font_hover_color";s:6:"7a8aa3";s:29:"sub_heading_font_active_color";s:7:"#2c2f32";s:20:"bd_toc_layout_toggle";b:1;s:16:"hide_sub_heading";b:0;s:22:"widget_floating_option";b:1;s:24:"widget_floating_position";s:3:"top";s:28:"widget_floating_position_top";i:0;s:31:"widget_floating_position_bottom";i:0;s:33:"widget_floating_position_top_left";s:0:"";s:34:"widget_floating_position_top_right";s:0:"";s:36:"widget_floating_position_bottom_left";s:0:"";s:37:"widget_floating_position_bottom_right";s:0:"";s:32:"widget_floating_title_typography";a:7:{s:11:"font-family";s:0:"";s:10:"text-align";s:4:"left";s:9:"font-size";s:2:"17";s:11:"font-weight";s:3:"700";s:11:"line_height";s:2:"45";s:4:"unit";s:2:"px";s:4:"type";s:6:"google";}s:29:"widget_floating_title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:2:"20";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:39:"widget_floating_title_border_radius_top";i:50;s:41:"widget_floating_title_border_radius_right";i:50;s:42:"widget_floating_title_border_radius_bottom";i:50;s:40:"widget_floating_title_border_radius_left";i:50;s:33:"widget_floating_horizontal_length";i:0;s:31:"widget_floating_vertical_length";i:5;s:27:"widget_floating_blur_radius";i:30;s:29:"widget_floating_spread_radius";i:0;s:28:"widget_floating_shadow_color";s:22:"rgba(21, 30, 67, 0.25)";s:30:"widget_floating_title_bg_color";s:7:"#418cfd";s:32:"widget_floating_title_font_color";s:7:"#FFFFFF";s:23:"widget_floating_content";b:1;s:34:"widget_floating_content_typography";a:6:{s:11:"font-family";s:0:"";s:10:"text-align";s:4:"left";s:9:"font-size";s:2:"14";s:11:"font-weight";s:3:"700";s:4:"unit";s:2:"px";s:4:"type";s:6:"google";}s:31:"widget_floating_content_padding";a:5:{s:3:"top";s:1:"5";s:5:"right";s:2:"10";s:6:"bottom";s:1:"5";s:4:"left";s:2:"10";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"15";s:6:"bottom";s:1:"0";s:4:"left";s:2:"15";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_border";a:7:{s:3:"top";s:1:"1";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#EFEFEF";s:4:"unit";s:2:"px";}s:41:"widget_floating_content_border_radius_top";i:0;s:43:"widget_floating_content_border_radius_right";i:0;s:44:"widget_floating_content_border_radius_bottom";i:15;s:42:"widget_floating_content_border_radius_left";i:15;s:42:"widget_floating_content_container_bg_color";s:7:"#FFFFFF";s:34:"widget_floating_content_font_color";s:7:"#2C2F32";s:40:"widget_floating_content_font_hover_color";s:7:"#2C2F32";s:41:"widget_floating_content_font_active_color";s:7:"#1140FF";s:37:"widget_floating_content_font_bg_color";s:7:"#F7F7F7";s:19:"widget_floating_nav";b:0;s:30:"widget_floating_nav_left_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"8";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:31:"widget_floating_nav_right_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_nav_bg_color";s:7:"#F0F8FF";s:30:"widget_floating_nav_icon_color";s:7:"#1140FF";s:39:"widget_floating_nav_left_arrow_position";s:1:"1";s:40:"widget_floating_nav_right_arrow_position";s:1:"2";s:30:"widget_floating_title_position";s:1:"3";s:28:"bd_toc_progress_bar_switcher";b:0;s:28:"bd_toc_progress_bar_position";s:3:"top";s:28:"bd_toc_progress_bar_bg_color";s:20:"rgba(17,64,255,0.71)";s:29:"bd_toc_progress_bar_thickness";i:5;s:39:"bd_toc_progress_bar_border_radius_right";i:10;s:40:"bd_toc_progress_bar_border_radius_bottom";i:10;}'),
            'premade_layout_one'    => unserialize('a:147:{s:16:"select_post_type";s:0:"";s:12:"initial_view";s:1:"1";s:12:"width_height";a:2:{s:5:"width";s:3:"100";s:4:"unit";s:1:"%";}s:14:"layout_padding";a:5:{s:3:"top";s:2:"20";s:5:"right";s:2:"25";s:6:"bottom";s:2:"20";s:4:"left";s:2:"25";s:4:"unit";s:2:"px";}s:13:"layout_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:0:"";s:6:"bottom";s:2:"30";s:4:"left";s:0:"";s:4:"unit";s:2:"px";}s:8:"bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:13:"layout_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"1";s:6:"bottom";s:1:"1";s:4:"left";s:1:"1";s:5:"style";s:5:"solid";s:5:"color";s:7:"#efefef";}s:24:"layout_border_radius_top";s:2:"15";s:26:"layout_border_radius_right";s:2:"15";s:27:"layout_border_radius_bottom";s:2:"15";s:25:"layout_border_radius_left";s:2:"15";s:17:"horizontal_length";s:1:"0";s:15:"vertical_length";s:1:"4";s:11:"blur_radius";s:2:"16";s:13:"spread_radius";s:1:"0";s:12:"shadow_color";s:16:"rgba(0,0,0,0.03)";s:17:"heading_top_level";s:1:"1";s:11:"title_depth";s:1:"6";s:10:"title_hide";s:0:"";s:24:"title_show_hide_switcher";s:1:"1";s:5:"title";s:17:"Table of Contents";s:17:"title_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"22";s:11:"line-height";s:2:"40";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:14:"title_bg_color";a:1:{s:16:"background-color";s:0:"";}s:11:"title_color";s:7:"#2c2f32";s:17:"title_hover_color";s:7:"#7a8aa3";s:13:"title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"2";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:12:"title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:2:"15";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:23:"title_border_radius_top";s:1:"0";s:25:"title_border_radius_right";s:1:"0";s:26:"title_border_radius_bottom";s:1:"0";s:24:"title_border_radius_left";s:1:"0";s:23:"icon_show_hide_switcher";s:1:"1";s:17:"toggle_icon_color";s:7:"#2c2f32";s:23:"toggle_icon_hover_color";s:7:"#7a8aa3";s:17:"heading_list_type";s:4:"none";s:18:"heading_word_break";s:8:"truncate";s:19:"heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:2:"20";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:15:"heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:2:"15";s:4:"unit";s:2:"px";}s:14:"heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:14:"heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:21:"active_heading_border";a:6:{s:3:"top";s:0:"";s:5:"right";s:0:"";s:6:"bottom";s:0:"";s:4:"left";s:0:"";s:5:"style";s:5:"solid";s:5:"color";s:0:"";}s:25:"heading_border_radius_top";s:2:"10";s:27:"heading_border_radius_right";s:2:"10";s:28:"heading_border_radius_bottom";s:2:"10";s:26:"heading_border_radius_left";s:2:"10";s:16:"content_bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:18:"heading_background";s:7:"#ffffff";s:25:"active_heading_background";s:7:"#f7f7f7";s:18:"heading_font_color";s:7:"#2c2f32";s:24:"heading_font_hover_color";s:7:"#7a8aa3";s:25:"heading_font_active_color";s:7:"#2c2f32";s:15:"premade_layouts";a:1:{s:14:"premade_layout";s:18:"premade_layout_one";}s:19:"select_toc_position";s:6:"before";s:23:"sub_heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"13";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:29:"sub_heading_border_radius_top";s:2:"10";s:31:"sub_heading_border_radius_right";s:2:"10";s:32:"sub_heading_border_radius_bottom";s:2:"10";s:30:"sub_heading_border_radius_left";s:2:"10";s:28:"show_sub_heading_toggle_icon";s:1:"1";s:32:"sub_heading_toggle_icon_position";s:5:"right";s:36:"sub_heading_toggle_icon_position_top";s:2:"11";s:38:"sub_heading_toggle_icon_position_right";s:2:"23";s:37:"sub_heading_toggle_icon_position_left";s:2:"10";s:29:"sub_heading_toggle_icon_color";s:7:"#2c2f32";s:35:"sub_heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:36:"sub_heading_toggle_icon_active_color";s:7:"#2c2f32";s:20:"bd_toc_layout_toggle";s:1:"1";s:24:"show_heading_toggle_icon";s:1:"1";s:28:"heading_toggle_icon_position";s:5:"right";s:32:"heading_toggle_icon_position_top";s:2:"11";s:34:"heading_toggle_icon_position_right";s:2:"25";s:33:"heading_toggle_icon_position_left";s:2:"10";s:11:"sticky_mode";s:1:"1";s:20:"sticky_mode_position";s:4:"left";s:18:"fiexd_layout_width";a:2:{s:5:"width";s:3:"330";s:4:"unit";s:2:"px";}s:19:"fiexd_layout_zindex";s:7:"9999999";s:36:"layout_slide_button_background_color";s:7:"#ffffff";s:30:"layout_slide_button_icon_color";s:7:"#2c2f32";s:25:"heading_toggle_icon_color";s:7:"#2c2f32";s:31:"heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:32:"heading_toggle_icon_active_color";s:7:"#2c2f32";s:18:"number_of_headings";s:1:"0";s:19:"sub_heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:2:"12";s:4:"unit";s:2:"px";}s:18:"sub_heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:25:"active_sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:20:"sub_content_bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:22:"sub_heading_background";s:7:"#ffffff";s:29:"active_sub_heading_background";s:7:"#f9f9f9";s:22:"sub_heading_font_color";s:7:"#2c2f32";s:28:"sub_heading_font_hover_color";s:6:"7a8aa3";s:29:"sub_heading_font_active_color";s:7:"#2c2f32";s:28:"bd_toc_sticky_Sidebar_offset";s:1:"0";s:26:"layout_slide_button_offset";s:1:"0";s:15:"offset_from_top";s:1:"0";s:19:"widget_floating_nav";s:1:"0";s:22:"widget_floating_option";s:1:"0";s:24:"widget_floating_position";s:6:"bottom";s:28:"widget_floating_position_top";s:2:"50";s:32:"widget_floating_title_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"17";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:29:"widget_floating_title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:2:"20";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:39:"widget_floating_title_border_radius_top";s:2:"50";s:41:"widget_floating_title_border_radius_right";s:2:"50";s:42:"widget_floating_title_border_radius_bottom";s:2:"50";s:40:"widget_floating_title_border_radius_left";s:2:"50";s:33:"widget_floating_horizontal_length";s:1:"0";s:31:"widget_floating_vertical_length";s:1:"4";s:27:"widget_floating_blur_radius";s:2:"30";s:29:"widget_floating_spread_radius";s:1:"0";s:28:"widget_floating_shadow_color";s:19:"rgba(21,30,67,0.25)";s:30:"widget_floating_title_bg_color";s:7:"#418cfd";s:32:"widget_floating_title_font_color";s:7:"#ffffff";s:23:"widget_floating_content";s:1:"1";s:34:"widget_floating_content_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:31:"widget_floating_content_padding";a:5:{s:3:"top";s:1:"5";s:5:"right";s:2:"10";s:6:"bottom";s:1:"5";s:4:"left";s:2:"10";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"15";s:6:"bottom";s:1:"0";s:4:"left";s:2:"15";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#efefef";}s:41:"widget_floating_content_border_radius_top";s:1:"0";s:43:"widget_floating_content_border_radius_right";s:1:"0";s:44:"widget_floating_content_border_radius_bottom";s:2:"14";s:42:"widget_floating_content_border_radius_left";s:2:"15";s:42:"widget_floating_content_container_bg_color";s:7:"#FFFFFF";s:34:"widget_floating_content_font_color";s:7:"#2c2f32";s:40:"widget_floating_content_font_hover_color";s:7:"#2c2f32";s:41:"widget_floating_content_font_active_color";s:7:"#1140ff";s:37:"widget_floating_content_font_bg_color";s:7:"#f7f7f7";s:30:"widget_floating_nav_left_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"8";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:31:"widget_floating_nav_right_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_nav_bg_color";s:7:"#f0f8ff";s:39:"widget_floating_nav_left_arrow_position";s:1:"1";s:40:"widget_floating_nav_right_arrow_position";s:1:"2";s:30:"widget_floating_title_position";s:1:"3";s:28:"bd_toc_progress_bar_switcher";s:1:"0";s:28:"bd_toc_progress_bar_position";s:3:"top";s:28:"bd_toc_progress_bar_bg_color";s:20:"rgba(17,64,255,0.71)";s:29:"bd_toc_progress_bar_thickness";s:1:"5";s:39:"bd_toc_progress_bar_border_radius_right";s:2:"10";s:40:"bd_toc_progress_bar_border_radius_bottom";s:2:"10";s:31:"widget_floating_position_bottom";s:1:"0";s:33:"widget_floating_position_top_left";s:0:"";s:34:"widget_floating_position_top_right";s:0:"";s:36:"widget_floating_position_bottom_left";s:0:"";s:37:"widget_floating_position_bottom_right";s:0:"";s:16:"hide_sub_heading";s:1:"0";s:30:"sticky_sidebar_collapse_on_off";s:1:"0";}'),
            'premade_layout_two'    => unserialize('a:148:{s:16:"select_post_type";s:0:"";s:12:"initial_view";s:1:"1";s:12:"width_height";a:2:{s:5:"width";s:3:"100";s:4:"unit";s:1:"%";}s:14:"layout_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:13:"layout_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:0:"";s:6:"bottom";s:2:"30";s:4:"left";s:0:"";s:4:"unit";s:2:"px";}s:8:"bg_color";a:1:{s:16:"background-color";s:7:"#f7f7f7";}s:13:"layout_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"1";s:6:"bottom";s:1:"1";s:4:"left";s:1:"1";s:5:"style";s:5:"solid";s:5:"color";s:7:"#f7f7f7";}s:24:"layout_border_radius_top";s:2:"15";s:26:"layout_border_radius_right";s:2:"15";s:27:"layout_border_radius_bottom";s:2:"15";s:25:"layout_border_radius_left";s:2:"15";s:17:"horizontal_length";s:1:"0";s:15:"vertical_length";s:1:"4";s:11:"blur_radius";s:2:"16";s:13:"spread_radius";s:1:"0";s:12:"shadow_color";s:19:"rgba(0, 0, 0, 0.03)";s:17:"heading_top_level";s:1:"1";s:11:"title_depth";s:1:"6";s:10:"title_hide";a:1:{i:0;s:2:"h1";}s:24:"title_show_hide_switcher";s:1:"1";s:5:"title";s:17:"Table of Contents";s:17:"title_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"20";s:11:"line-height";s:2:"25";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:14:"title_bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:11:"title_color";s:7:"#11142d";s:17:"title_hover_color";s:7:"#1140ff";s:13:"title_padding";a:5:{s:3:"top";s:2:"20";s:5:"right";s:2:"35";s:6:"bottom";s:2:"20";s:4:"left";s:2:"35";s:4:"unit";s:2:"px";}s:12:"title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:23:"title_border_radius_top";s:2:"10";s:25:"title_border_radius_right";s:2:"10";s:26:"title_border_radius_bottom";s:2:"10";s:24:"title_border_radius_left";s:2:"10";s:23:"icon_show_hide_switcher";s:1:"1";s:17:"toggle_icon_color";s:7:"#11142d";s:23:"toggle_icon_hover_color";s:7:"#1140ff";s:17:"heading_list_type";s:4:"none";s:18:"heading_word_break";s:8:"truncate";s:19:"heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:2:"20";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:15:"heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:2:"35";s:4:"unit";s:2:"px";}s:14:"heading_margin";a:5:{s:3:"top";s:0:"";s:5:"right";s:0:"";s:6:"bottom";s:0:"";s:4:"left";s:0:"";s:4:"unit";s:2:"px";}s:14:"heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:21:"active_heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:25:"heading_border_radius_top";s:1:"0";s:27:"heading_border_radius_right";s:1:"0";s:28:"heading_border_radius_bottom";s:1:"0";s:26:"heading_border_radius_left";s:1:"0";s:16:"content_bg_color";a:1:{s:16:"background-color";s:7:"#f7f7f7";}s:18:"heading_background";s:0:"";s:25:"active_heading_background";s:0:"";s:18:"heading_font_color";s:7:"#11142D";s:24:"heading_font_hover_color";s:7:"#1140ff";s:25:"heading_font_active_color";s:7:"#1140ff";s:15:"premade_layouts";a:1:{s:14:"premade_layout";s:18:"premade_layout_two";}s:11:"sticky_mode";s:1:"1";s:20:"bd_toc_layout_toggle";s:1:"1";s:24:"show_heading_toggle_icon";s:1:"1";s:28:"show_sub_heading_toggle_icon";s:1:"1";s:20:"sticky_mode_position";s:4:"left";s:28:"heading_toggle_icon_position";s:5:"right";s:32:"sub_heading_toggle_icon_position";s:5:"right";s:18:"number_of_headings";s:1:"2";s:36:"layout_slide_button_background_color";s:7:"#ffffff";s:30:"layout_slide_button_icon_color";s:7:"#2c2f32";s:25:"heading_toggle_icon_color";s:7:"#2c2f32";s:31:"heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:32:"heading_toggle_icon_active_color";s:7:"#2c2f32";s:29:"sub_heading_border_radius_top";s:2:"10";s:31:"sub_heading_border_radius_right";s:2:"10";s:32:"sub_heading_border_radius_bottom";s:2:"10";s:30:"sub_heading_border_radius_left";s:2:"10";s:29:"sub_heading_toggle_icon_color";s:7:"#2c2f32";s:35:"sub_heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:36:"sub_heading_toggle_icon_active_color";s:7:"#2c2f32";s:19:"fiexd_layout_zindex";s:7:"9999999";s:23:"sub_heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"13";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:18:"fiexd_layout_width";a:2:{s:5:"width";s:3:"330";s:4:"unit";s:2:"px";}s:32:"heading_toggle_icon_position_top";s:2:"11";s:34:"heading_toggle_icon_position_right";s:2:"25";s:36:"sub_heading_toggle_icon_position_top";s:2:"14";s:38:"sub_heading_toggle_icon_position_right";s:2:"25";s:19:"select_toc_position";s:6:"before";s:20:"sub_content_bg_color";a:1:{s:16:"background-color";s:7:"#f7f7f7";}s:22:"sub_heading_background";s:7:"#f7f7f7";s:33:"heading_toggle_icon_position_left";i:10;s:37:"sub_heading_toggle_icon_position_left";i:10;s:19:"sub_heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:2:"35";s:4:"unit";s:2:"px";}s:18:"sub_heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:25:"active_sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:29:"active_sub_heading_background";s:0:"";s:22:"sub_heading_font_color";s:7:"#2c2f32";s:28:"sub_heading_font_hover_color";s:6:"7a8aa3";s:29:"sub_heading_font_active_color";s:7:"#2c2f32";s:28:"bd_toc_sticky_Sidebar_offset";s:1:"0";s:26:"layout_slide_button_offset";s:1:"0";s:15:"offset_from_top";s:1:"0";s:22:"widget_floating_option";s:1:"0";s:24:"widget_floating_position";s:6:"bottom";s:28:"widget_floating_position_top";s:2:"50";s:31:"widget_floating_position_bottom";s:2:"50";s:32:"widget_floating_title_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"17";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:29:"widget_floating_title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:2:"20";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:39:"widget_floating_title_border_radius_top";s:2:"10";s:41:"widget_floating_title_border_radius_right";s:2:"10";s:42:"widget_floating_title_border_radius_bottom";s:2:"10";s:40:"widget_floating_title_border_radius_left";s:2:"10";s:33:"widget_floating_horizontal_length";s:1:"0";s:31:"widget_floating_vertical_length";s:1:"5";s:27:"widget_floating_blur_radius";s:2:"30";s:29:"widget_floating_spread_radius";s:1:"0";s:28:"widget_floating_shadow_color";s:19:"rgba(21,30,67,0.25)";s:30:"widget_floating_title_bg_color";s:7:"#ffffff";s:32:"widget_floating_title_font_color";s:7:"#11142d";s:23:"widget_floating_content";s:1:"1";s:34:"widget_floating_content_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:31:"widget_floating_content_padding";a:5:{s:3:"top";s:1:"5";s:5:"right";s:2:"10";s:6:"bottom";s:1:"5";s:4:"left";s:2:"10";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"15";s:6:"bottom";s:1:"0";s:4:"left";s:2:"15";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#EFEFEF";}s:41:"widget_floating_content_border_radius_top";s:1:"0";s:43:"widget_floating_content_border_radius_right";s:1:"0";s:44:"widget_floating_content_border_radius_bottom";s:2:"15";s:42:"widget_floating_content_border_radius_left";s:2:"15";s:42:"widget_floating_content_container_bg_color";s:7:"#f7f7f7";s:34:"widget_floating_content_font_color";s:7:"#11142d";s:40:"widget_floating_content_font_hover_color";s:7:"#1140ff";s:41:"widget_floating_content_font_active_color";s:7:"#1140ff";s:37:"widget_floating_content_font_bg_color";s:7:"#f7f7f7";s:19:"widget_floating_nav";s:1:"0";s:30:"widget_floating_nav_left_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"8";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:31:"widget_floating_nav_right_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_nav_bg_color";s:7:"#f0f8ff";s:30:"widget_floating_nav_icon_color";s:7:"#1140ff";s:39:"widget_floating_nav_left_arrow_position";s:1:"1";s:40:"widget_floating_nav_right_arrow_position";s:1:"2";s:30:"widget_floating_title_position";s:1:"3";s:28:"bd_toc_progress_bar_switcher";s:1:"0";s:28:"bd_toc_progress_bar_position";s:3:"top";s:28:"bd_toc_progress_bar_bg_color";s:20:"rgba(17,64,255,0.71)";s:29:"bd_toc_progress_bar_thickness";s:1:"5";s:39:"bd_toc_progress_bar_border_radius_right";s:2:"10";s:40:"bd_toc_progress_bar_border_radius_bottom";s:2:"10";s:33:"widget_floating_position_top_left";s:0:"";s:34:"widget_floating_position_top_right";s:0:"";s:36:"widget_floating_position_bottom_left";s:0:"";s:37:"widget_floating_position_bottom_right";s:0:"";s:16:"hide_sub_heading";s:1:"0";s:30:"sticky_sidebar_collapse_on_off";s:1:"0";}'),
            'premade_layout_three'  => unserialize('a:148:{s:16:"select_post_type";s:0:"";s:12:"initial_view";s:1:"1";s:12:"width_height";a:2:{s:5:"width";s:3:"100";s:4:"unit";s:1:"%";}s:14:"layout_padding";a:5:{s:3:"top";s:2:"20";s:5:"right";s:2:"25";s:6:"bottom";s:2:"20";s:4:"left";s:2:"25";s:4:"unit";s:2:"px";}s:13:"layout_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:0:"";s:6:"bottom";s:2:"30";s:4:"left";s:0:"";s:4:"unit";s:2:"px";}s:8:"bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:13:"layout_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"1";s:6:"bottom";s:1:"1";s:4:"left";s:1:"1";s:5:"style";s:5:"solid";s:5:"color";s:7:"#efefef";}s:24:"layout_border_radius_top";s:2:"15";s:26:"layout_border_radius_right";s:2:"15";s:27:"layout_border_radius_bottom";s:2:"15";s:25:"layout_border_radius_left";s:2:"15";s:17:"horizontal_length";s:2:"35";s:15:"vertical_length";s:1:"0";s:11:"blur_radius";s:2:"87";s:13:"spread_radius";s:1:"0";s:12:"shadow_color";s:21:"rgba(228,228,228,0.5)";s:17:"heading_top_level";s:1:"1";s:11:"title_depth";s:1:"6";s:10:"title_hide";a:1:{i:0;s:2:"h1";}s:24:"title_show_hide_switcher";s:1:"1";s:5:"title";s:17:"Table of Contents";s:17:"title_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"20";s:11:"line-height";s:2:"30";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:14:"title_bg_color";a:1:{s:16:"background-color";s:0:"";}s:11:"title_color";s:7:"#11142d";s:17:"title_hover_color";s:7:"#1140ff";s:13:"title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"2";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:12:"title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:2:"15";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:23:"title_border_radius_top";s:1:"0";s:25:"title_border_radius_right";s:1:"0";s:26:"title_border_radius_bottom";s:1:"0";s:24:"title_border_radius_left";s:1:"0";s:23:"icon_show_hide_switcher";s:1:"1";s:17:"toggle_icon_color";s:7:"#11142d";s:23:"toggle_icon_hover_color";s:7:"#1140ff";s:17:"heading_list_type";s:4:"none";s:18:"heading_word_break";s:8:"truncate";s:19:"heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:0:"";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:2:"20";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:15:"heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:14:"heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:14:"heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:21:"active_heading_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:25:"heading_border_radius_top";s:2:"10";s:27:"heading_border_radius_right";s:2:"10";s:28:"heading_border_radius_bottom";s:2:"10";s:26:"heading_border_radius_left";s:2:"10";s:16:"content_bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:18:"heading_background";s:7:"#ffffff";s:25:"active_heading_background";s:9:"#f7f7f700";s:18:"heading_font_color";s:7:"#11142d";s:24:"heading_font_hover_color";s:7:"#1140ff";s:25:"heading_font_active_color";s:7:"#1140ff";s:15:"premade_layouts";a:1:{s:14:"premade_layout";s:20:"premade_layout_three";}s:19:"select_toc_position";s:6:"before";s:11:"sticky_mode";s:1:"1";s:20:"sticky_mode_position";s:4:"left";s:18:"fiexd_layout_width";a:2:{s:5:"width";s:3:"330";s:4:"unit";s:2:"px";}s:19:"fiexd_layout_zindex";s:8:"99999999";s:36:"layout_slide_button_background_color";s:7:"#ffffff";s:30:"layout_slide_button_icon_color";s:7:"#2c2f32";s:18:"number_of_headings";s:1:"2";s:20:"bd_toc_layout_toggle";s:1:"1";s:24:"show_heading_toggle_icon";s:1:"1";s:28:"heading_toggle_icon_position";s:5:"right";s:32:"heading_toggle_icon_position_top";s:2:"11";s:34:"heading_toggle_icon_position_right";s:2:"25";s:33:"heading_toggle_icon_position_left";s:2:"10";s:25:"heading_toggle_icon_color";s:7:"#2c2f32";s:31:"heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:32:"heading_toggle_icon_active_color";s:7:"#2c2f32";s:28:"show_sub_heading_toggle_icon";s:1:"1";s:36:"sub_heading_toggle_icon_position_top";s:2:"11";s:38:"sub_heading_toggle_icon_position_right";s:2:"25";s:29:"sub_heading_toggle_icon_color";s:7:"#2c2f32";s:35:"sub_heading_toggle_icon_hover_color";s:7:"#7a8aa3";s:36:"sub_heading_toggle_icon_active_color";s:7:"#2c2f32";s:23:"sub_heading_font_family";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"13";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:29:"sub_heading_border_radius_top";s:2:"10";s:31:"sub_heading_border_radius_right";s:2:"10";s:32:"sub_heading_border_radius_bottom";s:2:"10";s:30:"sub_heading_border_radius_left";s:2:"10";s:32:"sub_heading_toggle_icon_position";s:5:"right";s:37:"sub_heading_toggle_icon_position_left";i:10;s:19:"sub_heading_padding";a:5:{s:3:"top";s:2:"12";s:5:"right";s:2:"45";s:6:"bottom";s:2:"12";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:18:"sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:25:"active_sub_heading_border";a:7:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";s:4:"unit";s:2:"px";}s:20:"sub_content_bg_color";a:1:{s:16:"background-color";s:7:"#ffffff";}s:22:"sub_heading_background";s:7:"#ffffff";s:29:"active_sub_heading_background";s:7:"#ffffff";s:22:"sub_heading_font_color";s:7:"#11142d";s:28:"sub_heading_font_hover_color";s:7:"#1140ff";s:29:"sub_heading_font_active_color";s:7:"#1140ff";s:28:"bd_toc_sticky_Sidebar_offset";s:1:"0";s:26:"layout_slide_button_offset";s:1:"0";s:15:"offset_from_top";s:1:"0";s:22:"widget_floating_option";s:1:"0";s:24:"widget_floating_position";s:6:"bottom";s:28:"widget_floating_position_top";s:2:"50";s:31:"widget_floating_position_bottom";s:2:"50";s:32:"widget_floating_title_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"17";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:29:"widget_floating_title_padding";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:2:"20";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_title_border";a:6:{s:3:"top";s:1:"0";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#ffffff";}s:39:"widget_floating_title_border_radius_top";s:2:"50";s:41:"widget_floating_title_border_radius_right";s:2:"50";s:40:"widget_floating_title_border_radius_left";s:2:"50";s:33:"widget_floating_horizontal_length";s:1:"0";s:31:"widget_floating_vertical_length";s:1:"4";s:27:"widget_floating_blur_radius";s:2:"30";s:29:"widget_floating_spread_radius";s:1:"0";s:28:"widget_floating_shadow_color";s:19:"rgba(21,30,67,0.25)";s:30:"widget_floating_title_bg_color";s:7:"#418cfd";s:32:"widget_floating_title_font_color";s:7:"#ffffff";s:23:"widget_floating_content";s:1:"1";s:34:"widget_floating_content_typography";a:11:{s:11:"font-family";s:0:"";s:11:"font-weight";s:0:"";s:10:"font-style";s:0:"";s:6:"subset";s:0:"";s:10:"text-align";s:4:"left";s:14:"text-transform";s:0:"";s:9:"font-size";s:2:"14";s:11:"line-height";s:0:"";s:14:"letter-spacing";s:0:"";s:4:"type";s:0:"";s:4:"unit";s:2:"px";}s:31:"widget_floating_content_padding";a:5:{s:3:"top";s:1:"5";s:5:"right";s:2:"10";s:6:"bottom";s:1:"5";s:4:"left";s:2:"10";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_margin";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"15";s:6:"bottom";s:1:"0";s:4:"left";s:2:"15";s:4:"unit";s:2:"px";}s:30:"widget_floating_content_border";a:6:{s:3:"top";s:1:"1";s:5:"right";s:1:"0";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:5:"style";s:5:"solid";s:5:"color";s:7:"#efefef";}s:41:"widget_floating_content_border_radius_top";s:1:"0";s:43:"widget_floating_content_border_radius_right";s:1:"0";s:44:"widget_floating_content_border_radius_bottom";s:2:"15";s:42:"widget_floating_content_border_radius_left";s:2:"15";s:42:"widget_floating_content_container_bg_color";s:7:"#ffffff";s:34:"widget_floating_content_font_color";s:7:"#2c2f32";s:40:"widget_floating_content_font_hover_color";s:7:"#2c2f32";s:41:"widget_floating_content_font_active_color";s:7:"#1140ff";s:37:"widget_floating_content_font_bg_color";s:7:"#f7f7f7";s:19:"widget_floating_nav";s:1:"0";s:30:"widget_floating_nav_left_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:1:"8";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:31:"widget_floating_nav_right_arrow";a:5:{s:3:"top";s:1:"0";s:5:"right";s:2:"20";s:6:"bottom";s:1:"0";s:4:"left";s:1:"0";s:4:"unit";s:2:"px";}s:28:"widget_floating_nav_bg_color";s:7:"#f0f8ff";s:30:"widget_floating_nav_icon_color";s:7:"#1140ff";s:39:"widget_floating_nav_left_arrow_position";s:1:"1";s:40:"widget_floating_nav_right_arrow_position";s:1:"2";s:30:"widget_floating_title_position";s:1:"3";s:28:"bd_toc_progress_bar_switcher";s:1:"0";s:28:"bd_toc_progress_bar_position";s:3:"top";s:28:"bd_toc_progress_bar_bg_color";s:20:"rgba(17,64,255,0.71)";s:29:"bd_toc_progress_bar_thickness";s:1:"5";s:39:"bd_toc_progress_bar_border_radius_right";s:2:"10";s:40:"bd_toc_progress_bar_border_radius_bottom";s:2:"10";s:42:"widget_floating_title_border_radius_bottom";s:2:"50";s:33:"widget_floating_position_top_left";s:0:"";s:34:"widget_floating_position_top_right";s:0:"";s:36:"widget_floating_position_bottom_left";s:0:"";s:37:"widget_floating_position_bottom_right";s:0:"";s:16:"hide_sub_heading";s:1:"0";s:30:"sticky_sidebar_collapse_on_off";s:1:"0";}'),
        ];

        $skins = apply_filters( 'boomdevs_toc_get_skins_data', $default_available_skins_data );

        if (!$skins) {
            $skins = $default_available_skins_data;
        }

        $skin = sanitize_text_field( $_POST['skin'] );

        if (array_key_exists( $skin, $skins)) {
            // Update
            update_option( 'boomdevs-toc', $skins[sanitize_text_field($_POST['skin'])] );

            $return = array(
                'status'  => 'success',
            );
        } else {
            $return = array(
                'status'  => 'failed',
                'message' => __( 'Sorry the requested skin is not available to import', 'boomdevs-toc' ),
            );
        }

        wp_send_json($return);

        exit;
    }

}